Category: WCF

Reducing ASP.Net site initial delay time

By Ashish Khandelwal, November 12, 2009

Reducing the delay time upon first requests to a DotNetNuke or other ASP.NET website is something that I see asked quite often.  This delay is due to the ASP.NET Worker Process compling a website, this articles will discuss the solutions available to prevent this delay from occuring.   I personally find that the simplest solution is the best; the even better part is that it is free! First of all before I talk about the different solutions available let me first explain the issue and why it happens.

Depending on your specific setup and hosting environment this initial load time can be quite lengthy. I have noticed initial load times of anywhere from 4-5 seconds to over 25 depending on the server configuration and load. What is actually happening is that your DNN site is being compiled after the ASP.NET worker process has restarted. The worker process can restart for many reasons, however the most troubling one is due to site traffic. By default IIS will shut down the ASP.NET worker process after 20 minutes of inactivity meaning that the next request will restart the worker process and cause the compilation to occur. Read more »

VN:F [1.7.2_963]
Rating: 0.0/5 (0 votes cast)

Socket programming vs. WCF

By Ashish Khandelwal, July 29, 2009

A very simple scenario where client sends a request to server to perform certain action. There is no much data transfer between two parties – Probably no more than 50 bytes. We need to decide whether we go with Socket programming or use WCF (request-reply messaging pattern).

The analysis says: Read more »

VN:F [1.7.2_963]
Rating: 4.0/5 (2 votes cast)

Monitor the system execution flow using Log or WCF

By Ashish Khandelwal, July 29, 2009

I am thinking about kind of system which keep provide us information about what is processing and what is the execution flow method to method as well as useful values. This kind of tool will be useful to track the execution of system, analyze the system that whether it is performing as per expected flow and also will be helpful to improve the logic.

I am also thinking that the UI should be graphical and should give better idea about flow in first look.

 There are two ways: Read more »

VN:F [1.7.2_963]
Rating: 3.0/5 (1 vote cast)