Wenlong Dong's Blog

WCF/WF performance WCF for the web

Browse by Tags

Tagged Content List
  • Blog Post: Using ASP.NET Sessions from WCF

    This is not a new topic. But interestingly I could not find a good example on the web while I wanted to find one for some other investigation. So I decided to create a sample here to show the following scenario: · A WCF service has the access to a ASP.NET session. Different WCF client proxies can...
  • Blog Post: 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 which is the worker thread that comes from...
  • Blog Post: 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 which have helped people to resolve tricky problems...
  • Blog Post: 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 Url: http://www.myserver.com/foo/MyService.asmx...
  • Blog Post: 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 " binding =" tns:BasicHttpBinding_ISimpleContract...
  • Blog Post: 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 set the settings of the WCF binding, you may...
  • Blog Post: 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 and higher versions of Windows. Virtual Application...
  • Blog Post: 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 than 40 standalone feature components of IIS7 which...
  • Blog Post: 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 features of IIS7 are: modular design ...
  • Blog Post: .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: http://www.microsoft.com/downloads/details.aspx...
  • Blog Post: 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 and no other applications can use it. So if...
  • Blog Post: 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 RC1 or later versions, you may get this...
  • Blog Post: 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 hosted services with BasicHttpBinding...
  • Blog Post: 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 other requests. WCF is quite flexible...
  • Blog Post: 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 WCF breaking changes can be found here . The...
  • Blog Post: 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 Let me start...
Page 1 of 1 (16 items)