Wenlong Dong's Blog

WCF/WF performance WCF for the web

  • Wenlong Dong's Blog

    How to use performance counters to diagnose performance of WCF applications

    • 5 Comments
    There are many ways to diagnose the performance of WCF applications. Here is a simple one that uses performance counters to get some rough ideas. There are two categories of performance counters that you can use: · ASP.NET counters: http://msdn2.microsoft...
  • Wenlong Dong's Blog

    A simple config-less IIS-hosted WCF service

    • 1 Comments
    I feel that it’s pretty handy to have a simple config-less IIS-hosted WCF service when I want to check whether WCF is correctly configured in IIS. So I post such a service here just for convenience. Simple.svc : <% @ServiceHost Language= "c#...
  • Wenlong Dong's Blog

    How to skip server certificate validation error when using HTTPS?

    • 2 Comments
    When you are developing a WCF service with an HTTPS endpoint (i.e., you enabled Transport security), you would want to test it with a test certificate or a certificate which has some invalid data. The former can happen when you create the certificate...
  • Wenlong Dong's Blog

    Trade Benchmark: .NET 3.0 vs IBM WebSphere 6.1

    • 1 Comments
    Microsoft designed WCF seriously with all major basics taken into account: performance, security, and robustness/stress. I am proud as being part of the team. You might have seen the data that Saurabh, our performance Program Manager, posted in his whitepaper...
  • Wenlong Dong's Blog

    Service Instances and Concurrent Execution

    • 1 Comments
    Kenny has a very good blog entry on this topic. I want to add some more points to this from performance perspective. InstanceContextMode By default, the default value of InstanceContextMode for a WCF service is PerSession. This means different things...
  • Wenlong Dong's Blog

    How to change HostName in WSDL for an IIS-hosted service?

    • 6 Comments
    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...
  • Wenlong Dong's Blog

    WF Performance Test Sample: SimpleStateMachineWorkflow

    • 0 Comments
    As promised, here I attach the sample code for the “SimpleStateMachineWorkflow” performance test. It is not the same one that is used for the whitepaper ( http://msdn2.microsoft.com/en-us/library/Aa973808.aspx ). But the testing logic is very close. If...
  • Wenlong Dong's Blog

    WF Performance Test Sample: EmptyWorkflow

    • 1 Comments
    As promised, here I attach the sample code for the “EmptyWorkflow” performance test. It is not the same one that is used for the whitepaper ( http://msdn2.microsoft.com/en-us/library/Aa973808.aspx ). But the testing logic is very close. If you find any...
  • Wenlong Dong's Blog

    Pointers to WCF and WF Performance Data

    • 1 Comments
    Saurabh Gupta, our performance Program Manager, published a white paper a few months ago. It provides some performance comparisons between WCF and other existing .NET distributed computing technologies: http://msdn2.microsoft.com/en-us/library/bb310550...
  • Wenlong Dong's Blog

    Impersonation with Double Identities

    • 2 Comments
    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...
  • Wenlong Dong's Blog

    Virtual Application vs Virtual Directory

    • 10 Comments
    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...
  • Wenlong Dong's Blog

    IIS7/WAS Installation

    • 2 Comments
    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...
  • Wenlong Dong's Blog

    What is IIS7?

    • 4 Comments
    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...
  • Wenlong Dong's Blog

    .NET Framework 3.0 and SDK are shipped

    • 1 Comments
    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...
  • Wenlong Dong's Blog

    How to use WSDualHttpBinding on Windows XP for Hosted Services

    • 1 Comments
    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...
  • Wenlong Dong's Blog

    Cannot Find Server (404) or Get Plain Text for WCF .svc Files From IIS?

    • 4 Comments
    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...
  • Wenlong Dong's Blog

    WCF Impersonation for Hosted Services

    • 3 Comments
    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...
  • Wenlong Dong's Blog

    ASP.NET Async Pages vs Async WCF Service Operation

    • 1 Comments
    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...
  • Wenlong Dong's Blog

    WinFX February CTP is released!

    • 2 Comments
    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...
  • Wenlong Dong's Blog

    Read Configuration Data from Hosted WCF Services

    • 2 Comments
    Virtual Applications and Directories · Process Management model · Application Management model Web.config Hierarchy · Configuration Roots · Merged View Reading Configuration Data · VirtualPathExtension · AppSettings · General...
  • Wenlong Dong's Blog

    WCF Go Live and New Web Site!

    • 1 Comments
    Last week, there were some exciting announcements for WCF customers: 1) WCF Go Live release: http://msdn.microsoft.com/winfx/getthebeta/golive/default.aspx 2) WCF web site: http://windowscommunication.net/ . You can find the web site of another...
  • Wenlong Dong's Blog

    ASP.NET Compatibility Mode

    • 29 Comments
    Table of Content: Introduction ASP.NET HTTP Pipeline Two Modes · Mixed Transports Mode · Under the Hood ASP.NET Compatibility Mode · Opt-In for the Mode · HttpContext.Current · Globalization · Impersonation · Session State...
  • Wenlong Dong's Blog

    How to Initialize Hosted WCF Services

    • 7 Comments
    There are different mechanisms to perform custom initialization for hosted WCF services in an ASP.NET application. ASP.NET provides ways to perform general initialization at application-level. For each WCF ServiceHost, we can also register and handle...
  • Wenlong Dong's Blog

    WCF Service Hosting Common Issues

    • 2 Comments
    Page Not Found (404) Error for WCF Service Hosted in IIS On Windows 2003 Server, after installing IIS and WinFX , you may get this error when you navigate a .svc file from the browser. This is normally because the ASP.NET ISAPI filter is not enabled...
  • Wenlong Dong's Blog

    Hosting an “Indigo” (WCF) Service

    • 1 Comments
    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...
Page 2 of 2 (50 items) 12