ASP.NET News from Blogger:
Wenlong Dongs Blog
Total News: 50
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 ...
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 i...
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 measure...
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 followin...
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 t...
Customers reported the following WCF performance issue recently:
A WCF client sends 10 requests concurrently to a self-hosted WCF service on 10 different thr...
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 i...
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. Startin...
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 asynchronou...
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 aske...
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 o...
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 shipp...
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) at...
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 th...
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/archiv...
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 trans...
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 ...
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....
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 becau...
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 thi...
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...
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...
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 s...
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 ...
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...
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 ...
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...
I feel that its 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.
S...
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 ...
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 Saurab...
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">
...
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/Aa97380...
Saurabh, our Program Manager, published a useful whitepaper a few months ago. It provides some performance comparisons between WCF and other existing .NET distributed computing technologies:
http://ms...
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 t...
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 ...
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 Informati...
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 is introduced in Windows ...
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-2...
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. This means that when IIS is running, the defau...
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 remove...
In my blog entry ASP.NET Compatibility Mode, I showed how to do impersonation with ASP.NET approach. WCF provides more flexible operation-level impersonation. Here is a common question:
Questio...
In Dmitrys 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 serv...
GOOD 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 big b...
Virtual Applications and Directories
Process Management model
Application Management model
Web.config...
Table of Content:
Introduction
ASP.NET HTTP Pipeline
Two Modes
Mixed Transports Mode
Under the Hood
AS...
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) ...
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 eac...
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...
Let me start with something simple as my first blog. I first make a few assumptions here:
You have used Microsoft Internet Information Services (IIS).
You are familiar with .NET Programming with Comm...
Hi, I am a software design engineer (SDE) in Microsoft. Before I joined the cool Indigo team, I had been playing with the page navigation, data storage, security, and search engine features for the He...
View Other bloggers