Posts

Showing posts from 2010

Web Services - It's Not As Easy After All

As I need to deal with servers' services for my company, I have to think of solution that's not only able to cope with the expansion of the service, but also able to handle most unwanted scenario gracefully that would not cost the services to break down just because of one failure. On top of that, I do have to find out solution as well on how to improve the throughput of the service. 1. Database Related Issue Lately I've been trying to look into the reason behind the reason why one of our services have become so slow in producing and output. So in order to do so, I tried to capture some information and display them in the log file. This is not really efficient at all because if possible, I'd prefer the log file to be able to be exported into e.g. an Excel worksheet so that I could use the data to create some statistic. The captured information shows that one of the reason for such a delay (over 10 seconds to process 1 request, which is not very acceptable at all) was

Another day with AJAX ModalPopupExtender

I reckon that I'll have to face this one day, and here it comes. Recently I tried to find ways to make the ModalPopupExtender to be shown dynamically because I foreseen that my current project would require such feature soon, and it came very soon for my boss asking for it. After some finding, it isn't very hard to implement it, but it's not that straight forward either. I found an example on the net that would require the pop-up to be registered with the JavaScript on the client side, which isn't what I really wanted because I'd prefer code behind since everything has been written behind the code and there's a lot of database related stuff, which I don't really want to expose it on the client side. Plus, I'm not really familiar with registering code behind method with the JavaScript, so I opted not to go down that path. So how to do it? First, add in the ModalPopupExtender and the pop-up controls like how I did before. Then, this is the part where I

AJAX Control Toolkit - ModalPopupExt

I'm working on a new website that requires a lot of dynamic changes in its display. It is written using the .NET Framework 2.0 (yes, still 2.0, not anything beyond that) with the back end code written in C#. So far it has been a challenge because writing a page that requires a lot of dynamic changes/updates to its display really requires a fundamental understanding to how the ASP.NET page life-cycle works plus some understanding on the request posting as well. Until now it has been a great pleasure to accomplish so many difficult task. Today, it is no different from the usual mind cracking to think of a solution or more so to learn how to use something new. Although in the past I've tried to use AJAX Control Toolkit to extend the website, I'd try to avoid using them if I could because there are customers complaining that certain feature that utilizes AJAX Control Toolkit just doesn't work. This time however, it's an exception because I really need to use it, and

Win XP IIS 5 & Ajax's Update Panel

Came across a problem yesterday, where all of a sudden a website that I was working on behave wildly. The website that I'm working on has a page that would utilize UpdatePanel to add dynamic web control that will be triggered with a click on a node of a TreeView control. I was trying to add control to the page, and all of a sudden I received an error message stating HTTP 403: Resouce forbidden, or some other unknown codes. This is the first time I encounter this kind of issue, which really bugging me because I know that IIS on Windows XP has a limitation on its connection pool(maximum 10). I've never encounter this kind of issue before, so it took me a while to try to do some research with the help of the Internet to see if I could find any solution to this kind of problem. According to one article, it will help by lower down the connection timeout and disable the HTTP Keep-Alive under IIS, which it does help, but then again it will cause Visual Studio 2005 not able to log