Wenlong Dong's Blog

WCF/WF performance

WCF for the web

Two bloggers for performance

Dustin Metzgar and Sajay Antony, our performance developers, have all started up their blogs on...

Author: Wenlong Dong1 Date: 01/05/2011

Why does machine.config contain invalid Xml content after installing .Net 3.5 patches?

For quite a few times, I heard customers would hit this issue after installing .Net 3.5 patches or...

Author: Wenlong Dong1 Date: 11/23/2010

WF 4 Performance Whitepaper Published

We have just published the performance whitepaper for WF 4 at the following location:...

Author: Wenlong Dong1 Date: 11/10/2010

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...

Author: wdong Date: 02/20/2010

Why Does WCF Become Slow After Being Idle For 15 Seconds?

Customers reported the following WCF performance issue recently: · A WCF service over TCP or Named...

Author: wdong Date: 02/11/2010

Why Are WCF Responses Slow and SetMinThreads Does Not Work?

Customers reported the following WCF performance issue recently: · A WCF client sends 10 requests...

Author: wdong Date: 02/10/2010

Crack Throttling: Debugging WCF TimeoutException for a Middle-Tier Application

Recently I helped a customer with a few friends to debug a TimeoutException issue happened in their...

Author: wdong Date: 09/06/2009

WCF 4: Higher Default Throttling Settings for WCF Services

It has been quite a while that I did not write anything. This is because I was fully focusing on WCF...

Author: wdong Date: 07/26/2009

Scale WCF Application Better with Asynchronous Programming

WCF is a framework that is asynchronous inside out. Internally, asynchronous patterns are used to...

Author: wdong Date: 02/09/2009

Why Only Two Concurrent Requests for WCF Load Testing?

This is not a new topic in the world of traditional web service usage. But I was still asked by...

Author: wdong Date: 02/08/2009

Top WF/WCF Sessions in PDC2008

There are still 21 days to go until the PDC. Are you excited to attend those fascinating technical...

Author: wdong Date: 10/06/2008

.NET 4.0, WF/WCF, and Oslo

Lately I have been quite busy working on .NET 4.0 which will be the next major side-by-side release...

Author: wdong Date: 09/07/2008

Orcas SP1 Improvement: Asynchronous WCF HTTP Module/Handler for IIS7 for Better Server Scalability

Introduction As mentioned in my last blog entry, for IIS-hosted WCF services, WCF holds the worker...

Author: wdong Date: 08/13/2008

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...

Author: wdong Date: 04/21/2008

Patterns and Practices: WCF Security Guidance available online

Here is some good news for people who are looking for WCF Security guidance. The Microsoft Patterns...

Author: wdong Date: 03/27/2008

Why changing SendTimeout does not help for hosted WCF services?

In .NET 3.0, you would handle two different timeouts: · Binding.SendTimeout This is the timeout that...

Author: wdong Date: 03/10/2008

Profiling WCF/WF Applications with VS Performance Profiler

There are tons of good articles and blogs out there regarding how to use Visual Studio Team System...

Author: wdong Date: 12/04/2007

Comparison of Different WCF Encoders

Kenny wrote an excellent blog entry to compare the three WCF encoders (Binary, MTOM, and Text) from...

Author: wdong Date: 11/14/2007

A Sample for WCF Client Proxy Pooling

Introduction Ideally we should not need to pool WCF client proxies as I mentioned in my previous...

Author: wdong Date: 11/14/2007

How to Use a Singleton WCF Proxy to Call Different Workflow Service Instances in .NET 3.5?

In .NET 3.5, a new type WorkflowServiceHost is introduced to provide the integration of WF and WCF....

Author: wdong Date: 11/07/2007

Come and join the Connected Framework development team!

Do you want to work on Microsoft's next generation of the distributed application framework? Do you...

Author: wdong Date: 11/07/2007

Performance Improvement for WCF Client Proxy Creation in .NET 3.5 and Best Practices

Introduction In .NET 3.0 SP1, which will be shipped together with .NET 3.5, there is significant...

Author: wdong Date: 10/26/2007

Best Practice: Always open WCF client proxy explicitly when it is shared

In order to provide symmetric programming model for the client-side as for the server-side, WCF...

Author: wdong Date: 10/25/2007

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...

Author: wdong Date: 09/18/2007

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...

Author: wdong Date: 09/17/2007

How to use performance counters to diagnose performance of WCF applications

There are many ways to diagnose the performance of WCF applications. Here is a simple one that uses...

Author: wdong Date: 09/06/2007

A simple config-less IIS-hosted WCF service

I feel that it’s pretty handy to have a simple config-less IIS-hosted WCF service when I want to...

Author: wdong Date: 08/17/2007

How to skip server certificate validation error when using HTTPS?

When you are developing a WCF service with an HTTPS endpoint (i.e., you enabled Transport security),...

Author: wdong Date: 08/16/2007

Trade Benchmark: .NET 3.0 vs IBM WebSphere 6.1

Microsoft designed WCF seriously with all major basics taken into account: performance, security,...

Author: wdong Date: 08/10/2007

Service Instances and Concurrent Execution

Kenny has a very good blog entry on this topic. I want to add some more points to this from...

Author: wdong Date: 08/10/2007

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...

Author: wdong Date: 08/01/2007

WF Performance Test Sample: SimpleStateMachineWorkflow

As promised, here I attach the sample code for the “SimpleStateMachineWorkflow” performance test. It...

Author: wdong Date: 07/06/2007

WF Performance Test Sample: EmptyWorkflow

As promised, here I attach the sample code for the “EmptyWorkflow” performance test. It is not the...

Author: wdong Date: 07/06/2007

Pointers to WCF and WF Performance Data

Saurabh Gupta, our performance Program Manager, published a white paper a few months ago. It...

Author: wdong Date: 05/11/2007

Impersonation with Double Identities

There are two different levels of security that you can use for WCF services: Message level and...

Author: wdong Date: 11/30/2006

Virtual Application vs Virtual Directory

People are always confused by these two IIS concepts, especially for the new IIS7/WAS. These are not...

Author: wdong Date: 11/22/2006

IIS7/WAS Installation

IIS7 has a modular design which allows you to selectively install components that are needed. This...

Author: wdong Date: 11/22/2006

What is IIS7?

What is IIS7? What is the difference between IIS6 and IIS7? Here are the simple answers: § IIS7 is a...

Author: wdong Date: 11/22/2006

.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...

Author: wdong Date: 11/07/2006

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...

Author: wdong Date: 10/19/2006

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...

Author: wdong Date: 09/09/2006

WCF Impersonation for Hosted Services

In my blog entry “ASP.NET Compatibility Mode”, I showed how to perform impersonation with ASP.NET....

Author: wdong Date: 05/18/2006

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,...

Author: wdong Date: 05/07/2006

WinFX February CTP is released!

GREAT NEWS! The WinFX February CTP has just been released today and can be downloaded from here....

Author: wdong Date: 02/22/2006

Read Configuration Data from Hosted WCF Services

Virtual Applications and Directories · Process Management model · Application Management model...

Author: wdong Date: 02/21/2006

WCF Go Live and New Web Site!

Last week, there were some exciting announcements for WCF customers: 1) WCF Go Live release:...

Author: wdong Date: 01/22/2006

ASP.NET Compatibility Mode

Table of Content: Introduction ASP.NET HTTP Pipeline Two Modes · Mixed Transports Mode · Under the...

Author: wdong Date: 01/22/2006

How to Initialize Hosted WCF Services

There are different mechanisms to perform custom initialization for hosted WCF services in an...

Author: wdong Date: 01/11/2006

WCF Service Hosting Common Issues

Page Not Found (404) Error for WCF Service Hosted in IIS On Windows 2003 Server, after installing...

Author: wdong Date: 12/15/2005

Hosting an “Indigo” (WCF) Service

Table of Contents: Introduction Hosting Environments · ASMX Services · WCF Services · Different...

Author: wdong Date: 11/14/2005

Next>