Welcome to MSDN Blogs Sign in | Join | Help

Wenlong Dong's Blog


WCF/WF performance
WCF for the web

Browse by Tags

All Tags » WCF WebHost   (RSS)
WCF Request Throttling and Server Scalability
Two Threads per Request In .NET 3.0 and 3.5, there is a special behavior that you would observe for IIS-hosted WCF services. Whenever a request comes in, the system would use two threads to process the request: · One thread is the CLR ThreadPool thread Read More...
How to redirect a Url in IIS6/IIS7 and in ASP.NET?
Sometimes you want to redirect users request to a different one when you want to retire old ones but still provide backward-compatibility. David Wang has a good summary on different redirects for IIS in his blog entry . Here I just want to add a few points Read More...
How to use .asmx extension to handle WCF requests?
For backward compatibility, WCF supports easy server-side migration from ASMX to WCF. This is good news for existing ASMX customers. Generally, the clients of ASMX may have server Urls hard-coded with the extension “.asmx”. For example, here is a sample Read More...
How to change HostName in WSDL for an IIS-hosted service?
If you have a web-hosted service “simple.svc” under the virtual application “/simple”, you would probably get the following service address in the WSDL: < wsdl:service name =" SimpleService "> < wsdl:port name =" BasicHttpBinding_ISimpleContract Read More...
Impersonation with Double Identities
There are two different levels of security that you can use for WCF services: Message level and Transport level. For Transport level, in HTTP case, you can use different IIS Authentication mechanisms to perform client authentication. If you do not carefully Read More...
Virtual Application vs Virtual Directory
People are always confused by these two IIS concepts, especially for the new IIS7/WAS. These are not new concepts. They are available since IIS6 on Windows 2003 Server. However the terms were misused in IIS6 and they are corrected in IIS7 in Windows Vista Read More...
IIS7/WAS Installation
IIS7 has a modular design which allows you to selectively install components that are needed. This design is based on the new manifest-driven Componentization technology that was first introduced in Windows Vista. As the IIS site claimed, there are more Read More...
What is IIS7?
What is IIS7? What is the difference between IIS6 and IIS7? Here are the simple answers: § IIS7 is a new revision (version 7.0) of the Internet Information Services that is shipped on Windows Vista and the next Windows Server version. § The most attractive Read More...
.NET Framework 3.0 and SDK are shipped
Finally, we made it! .NET Framework 3.0 (was called "WinFX") is shipped today. Here is the download link: http://www.microsoft.com/downloads/details.aspx?FamilyId=10CC340B-F857-4A14-83F5-25634C3BF043&displaylang=en . Here is the SDK download link: Read More...
How to use WSDualHttpBinding on Windows XP for Hosted Services
On Windows XP, Internet Information Service (IIS) does not use HTTP.sys which is the HTTP driver that can be used to share HTTP traffic on the same port by multiple applications. This means that when IIS is running, the default port 80 is taken by IIS Read More...
Cannot Find Server (404) or Get Plain Text for WCF .svc Files From IIS?
Question After upgrading WCF (or NetFx-3.0) from an older beta version to RC1, I get “Page Not Found” (404) error or get the plain text content of the .svc file for .svc files. Is .svc extension removed from IIS? Why ? If you installed WCF or NetFx-3.0 Read More...
WCF Impersonation for Hosted Services
In my blog entry “ ASP.NET Compatibility Mode ”, I showed how to perform impersonation with ASP.NET. WCF provides more flexible service operation level impersonation. Here is a common question that I heard: Question : How can I use WCF impersonation for Read More...
ASP.NET Async Pages vs Async WCF Service Operation
In Dmitry’s blog , he mentioned about how to write ASP.NET async pages with ASP.NET 2.0. Basically, the server page can handle the request asynchronously without blocking the request thread and the server thread can be returned to the thread pool to handle Read More...
WinFX February CTP is released!
GREAT NEWS! The WinFX February CTP has just been released today and can be downloaded from here . Here is the readme document. This CTP has consumed a lot of customer feedback and thus brings quite a lot of breaking changes over the January one. The detailed Read More...
Hosting an “Indigo” (WCF) Service
Table of Contents: Introduction Hosting Environments · ASMX Services · WCF Services · Different Hosting Environments WAS Hosting Environment · A Simple Hosted Service · Service Configuration · Service Addressing · Service Activation · Service Recycling Read More...
Page view tracker