Sign in
Wenlong Dong's Blog
WCF/WF performance WCF for the web
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Tags
Performance
WCF General
WCF WebHost
Archive
Archives
January 2011
(1)
November 2010
(2)
February 2010
(3)
September 2009
(1)
July 2009
(1)
February 2009
(2)
October 2008
(1)
September 2008
(1)
August 2008
(1)
April 2008
(1)
March 2008
(2)
December 2007
(1)
November 2007
(4)
October 2007
(2)
September 2007
(3)
August 2007
(5)
July 2007
(2)
May 2007
(1)
December 2006
(1)
November 2006
(4)
October 2006
(1)
September 2006
(1)
May 2006
(2)
February 2006
(2)
January 2006
(3)
December 2005
(1)
November 2005
(1)
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Wenlong Dong's Blog
Two bloggers for performance
Posted
over 2 years ago
by
Wenlong Dong1
0
Comments
Dustin Metzgar and Sajay Antony , our performance developers, have all started up their blogs on MSDN, which is great news to developers who are interested in WCF/WF/AppFabric performance or other fun things covered by their blogs. Dustin has just...
Wenlong Dong's Blog
Why does machine.config contain invalid Xml content after installing .Net 3.5 patches?
Posted
over 3 years ago
by
Wenlong Dong1
6
Comments
For quite a few times, I heard customers would hit this issue after installing .Net 3.5 patches or repair 3.5 on Windows Vista or Windows 2008 Server. Basically the machine.config file contains some invalid Xml content and applications using configuration...
Wenlong Dong's Blog
WF 4 Performance Whitepaper Published
Posted
over 3 years ago
by
Wenlong Dong1
0
Comments
We have just published the performance whitepaper for WF 4 at the following location: http://msdn.microsoft.com/en-us/library/gg281645.aspx We have done quite some component-level performance measurement for different activities and scenarios. Here...
Wenlong Dong's Blog
Using ASP.NET Sessions from WCF
Posted
over 3 years ago
by
wdong
5
Comments
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...
Wenlong Dong's Blog
Why Does WCF Become Slow After Being Idle For 15 Seconds?
Posted
over 3 years ago
by
wdong
14
Comments
Customers reported the following WCF performance issue recently: · A WCF service over TCP or Named Pipe idles for over 15 seconds and the first request after that becomes very slow. Why? This can be easily reproduced. Basically, if you send two...
Wenlong Dong's Blog
Why Are WCF Responses Slow and SetMinThreads Does Not Work?
Posted
over 3 years ago
by
wdong
2
Comments
Customers reported the following WCF performance issue recently: · A WCF client sends 10 requests concurrently to a self-hosted WCF service on 10 different threads. The service operation is very simple and it simply sleeps for 1 second. But the latencies...
Wenlong Dong's Blog
Crack Throttling: Debugging WCF TimeoutException for a Middle-Tier Application
Posted
over 4 years ago
by
wdong
0
Comments
Recently I helped a customer with a few friends to debug a TimeoutException issue happened in their middle-tier which uses WCF proxies. The issue turned out to be simple but the experience was quite interesting and I would like to tell you how we proceeded...
Wenlong Dong's Blog
WCF 4: Higher Default Throttling Settings for WCF Services
Posted
over 4 years ago
by
wdong
6
Comments
It has been quite a while that I did not write anything. This is because I was fully focusing on WCF 4. Now that we have got most of the work done, it is good time to continue my writing. Starting from this blog entry, I will show you performance related...
Wenlong Dong's Blog
Scale WCF Application Better with Asynchronous Programming
Posted
over 4 years ago
by
wdong
7
Comments
WCF is a framework that is asynchronous inside out. Internally, asynchronous patterns are used to achieve non-blocking calls between different layers inside WCF. Externally WCF exposes the asynchronous patterns for both client and service programming...
Wenlong Dong's Blog
Why Only Two Concurrent Requests for WCF Load Testing?
Posted
over 4 years ago
by
wdong
1
Comments
This is not a new topic in the world of traditional web service usage. But I was still asked by people who use WCF. So I think it would be valuable to post a blog entry here. One of our customers asked me the following question: “We are using WCF in...
Wenlong Dong's Blog
Top WF/WCF Sessions in PDC2008
Posted
over 5 years ago
by
wdong
1
Comments
There are still 21 days to go until the PDC . Are you excited to attend those fascinating technical sessions ? You might have noticed that we have the following interesting sessions for WF/WCF as part of .NET Framework 4.0: · WF 4.0: A First Look ...
Wenlong Dong's Blog
.NET 4.0, WF/WCF, and Oslo
Posted
over 5 years ago
by
wdong
2
Comments
Lately I have been quite busy working on .NET 4.0 which will be the next major side-by-side release of .NET Framework since .NET 2.0. It will be unveiled at PDC on October 27th. .NET 4.0 will be shipped together with the next version of Visual Studio...
Wenlong Dong's Blog
Orcas SP1 Improvement: Asynchronous WCF HTTP Module/Handler for IIS7 for Better Server Scalability
Posted
over 5 years ago
by
wdong
11
Comments
Introduction As mentioned in my last blog entry , for IIS-hosted WCF services, WCF holds the worker thread coming from ASP.NET until the whole request is completed to avoid a Denial of Service (DOS) attack. I also mentioned that on Windows 2008 Server...
Wenlong Dong's Blog
WCF Request Throttling and Server Scalability
Posted
over 5 years ago
by
wdong
12
Comments
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...
Wenlong Dong's Blog
Patterns and Practices: WCF Security Guidance available online
Posted
over 5 years ago
by
wdong
1
Comments
Here is some good news for people who are looking for WCF Security guidance. The Microsoft Patterns and Practices team has just created the following blog for this: http://blogs.msdn.com/jmeier/archive/2008/03/27/patterns-and-practices-wcf-security...
Wenlong Dong's Blog
Why changing SendTimeout does not help for hosted WCF services?
Posted
over 5 years ago
by
wdong
2
Comments
In .NET 3.0, you would handle two different timeouts: · Binding.SendTimeout This is the timeout that specifies how long the client can wait for the transport to complete data writing until throwing exception. It is client side setting. If the request...
Wenlong Dong's Blog
Profiling WCF/WF Applications with VS Performance Profiler
Posted
over 6 years ago
by
wdong
2
Comments
There are tons of good articles and blogs out there regarding how to use Visual Studio Team System ( VSTS ) performance tools ( vsperfcmd.exe etc under "%ProgramFiles%\Microsoft Visual Studio 8\Team Tools\Performance Tools" if you have installed VSTS...
Wenlong Dong's Blog
Comparison of Different WCF Encoders
Posted
over 6 years ago
by
wdong
1
Comments
Kenny wrote an excellent blog entry to compare the three WCF encoders (Binary, MTOM, and Text) from performance perspective. It is quite helpful for you to decide when to use which encoder.
Wenlong Dong's Blog
A Sample for WCF Client Proxy Pooling
Posted
over 6 years ago
by
wdong
5
Comments
Introduction Ideally we should not need to pool WCF client proxies as I mentioned in my previous blog entry . From some customer feedback, however, I got to know that reusing proxies is not ideal because: · There may be some unknown contention cost...
Wenlong Dong's Blog
How to Use a Singleton WCF Proxy to Call Different Workflow Service Instances in .NET 3.5?
Posted
over 6 years ago
by
wdong
8
Comments
In .NET 3.5, a new type WorkflowServiceHost is introduced to provide the integration of WF and WCF. On the server-side, ReceiveActivty plays the main role to implement WCF service operations. With this, you can have WCF clients to talk to WF services...
Wenlong Dong's Blog
Come and join the Connected Framework development team!
Posted
over 6 years ago
by
wdong
1
Comments
Do you want to work on Microsoft's next generation of the distributed application framework? Do you enjoy the thrill of shipping a great product? Do you want to join the team that has shipped WCF + WF in .NET 3.0? Are you up to the challenge of improving...
Wenlong Dong's Blog
Performance Improvement for WCF Client Proxy Creation in .NET 3.5 and Best Practices
Posted
over 6 years ago
by
wdong
20
Comments
Introduction In .NET 3.0 SP1, which will be shipped together with .NET 3.5, there is significant performance improvement in WCF client proxy creation. For BasicHttpBinding, the performance is close to that of ASMX proxy creation. ASMX Proxy vs WCF...
Wenlong Dong's Blog
Best Practice: Always open WCF client proxy explicitly when it is shared
Posted
over 6 years ago
by
wdong
6
Comments
In order to provide symmetric programming model for the client-side as for the server-side, WCF leverages .NET Remoting transparent proxy technique so that the service contract interface can be used seamlessly as on the server-side. The svcutil.exe tool...
Wenlong Dong's Blog
How to redirect a Url in IIS6/IIS7 and in ASP.NET?
Posted
over 6 years ago
by
wdong
4
Comments
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...
Wenlong Dong's Blog
How to use .asmx extension to handle WCF requests?
Posted
over 6 years ago
by
wdong
2
Comments
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...
Page 1 of 2 (50 items)
1
2