hongmeig's WebLog
There is a cool WCF feature instroduced in dev10 called configless activation. You don't have to...
Date: 04/16/2010
The default value of MaxReceiveMessageSize in WCF is 65,536. When you choose streaming as...
Date: 03/13/2010
There are a lot of timeouts in WCF. let us summarize it here. Timeouts on binding These are the most...
Date: 03/05/2010
Missing a trailing slash is a common error people make when browsing the web. For better usability,...
Date: 03/02/2010
How to solve System.InvalidOperationException: For request in operation Test to be a stream the operation must have a single parameter whose type is Stream
You are getting this error because the default WCF stream formatter does not support this. You are...
Date: 03/02/2010
Let us say i want to connect my laptop to my office machine, which uses dual monitors. I can see...
Date: 07/06/2008
If you happen to get the following sql error: An error has occurred while establishing a connection...
Date: 02/26/2008
1920 X 1200 is the resolution you wanted for the 24" monitor. The old 1600 X 1200 would make...
Date: 02/25/2008
If you are getting an error like : Cannot resolve KeyInfo for unwrapping key: KeyInfo...
Date: 09/28/2007
I am going to attend Tech Ed China 2007 again. I am very excited about it....
Date: 09/26/2007
There are two options: 1. OperationContext.Current. Pros: This is pretty straightforward and...
Date: 09/12/2007
Generating user instances in SQL Server is disabled. Use sp_configure 'user instances enabled' to generate user instances
If you are getting the following error: “Generating user instances in SQL Server is disabled. Use...
Date: 08/31/2007
First let me explain why it does not work. There are three string comparisons done by card space....
Date: 08/29/2007
By default findstr does the comparison with regular expression. However, what surprised me is that...
Date: 08/29/2007
There are three steps you need to take to make it work. 1. Modify your hosts file under...
Date: 08/29/2007
In IIS 6, you can start the IIS manager by typing the inetmgr at the Start->Run windows, and...
Date: 08/20/2007
You need to make sure that your personal card contains the required claim types you specified in...
Date: 07/30/2007
One possibility is that your binding does not contains required claim types. In your client binding,...
Date: 07/30/2007
The common error that users will run into for the personal card scenario is that the WCF service...
Date: 07/30/2007
If you are using Https, this might fix it. ServicePointManager.ServerCertificateValidationCallback =...
Date: 05/01/2007
First you need to download some windows sdk tools. You can get those from...
Date: 05/01/2007
I kept getting "your temp directory is read only" error when i tried to install Adobe Reader 8.0 on...
Date: 04/11/2007
After migrating to IE 7, if you are getting some error like: A dialog box pops up saying “Logging...
Date: 04/11/2007
It took me a while to find it. It is that logo that you need to click, which will pop up the usual...
Date: 03/08/2007
What could go wrong when cardspace UI is not popping up? You can see if you have card space UI...
Date: 02/20/2007
This is a forum question, and here is a very sneaky way to do so. protected override bool...
Date: 02/16/2007
IIS 7 has a new UI which is different from the previous version. Here I am going to talk about how...
Date: 01/23/2007
Yes, i am sure quite a lot of people have already seen the great card space UI. But if you are like...
Date: 01/04/2007
"Simple WPF based Smartclient application" sample from...
Date: 01/04/2007
A clean installation of Vista, download the card space sample from https://cardspace.netfx3.com, and...
Date: 01/04/2007
I want to serialize something similar to this format: <Body> <Response>...
Date: 01/03/2007
If you are getting error from the client saying something like this: Cannot find a token...
Date: 12/06/2006
Getting identity verifier error? Here is one way to work around it....
Date: 12/06/2006
Go to the Tools, click on External Tools ... On the pop up dialogue, you can add some commands which...
Date: 11/16/2006
Say i have a huge VS solution with quite a lot files which might exist under a lot of directories....
Date: 11/14/2006
For presentation, start VS, go to Tools->Options, under Environment/Fonts and colors, choose...
Date: 10/25/2006
Distributing x.509 is always a painful thing, and using WCF, it no long is. In the WCF...
Date: 10/24/2006
If you are going to request one certificate from a cert authority, then you probably need to...
Date: 10/23/2006
Wondering how do you ever get intellisense while writing configuration files using VS? Here is why?...
Date: 10/16/2006
Your IIS needs to link the .svc extension to the aspnet_isapi.dll. You can this by right click on...
Date: 10/16/2006
If you are getting 403.1 error while hosting WCF using IIS, then you might be using the wrong...
Date: 10/16/2006
Delivered two talks at the Tech Ed China Beijing stop. One on WCF security and the other one on WSE...
Date: 10/03/2006
Make sure that you don't have any reference in your code which still refer to the WSE 2 dll. VS 2005...
Date: 09/13/2006
To see the complete list of users who have access to the private key of a certain cert, for example,...
Date: 09/06/2006
If you are running into some perf issue with using X509 certificate in WSE 3.0 or .NET Framework...
Date: 08/22/2006
WSE 3.0 was released last year, and here is the download link:...
Date: 08/22/2006
Please visit https://www.microsoft.com/china/technet/teched/ for more informations, and sign up now.
Date: 08/22/2006
I have tested it against Everrette. If an xmlelement you are working with doesn't contain any...
Date: 04/04/2005
I have been working on the performance these days, and I want to share some tricks that you can do...
Date: 04/04/2005
This release fixes some top customer issues and provide a new security token, KerberosToken2, which...
Date: 12/03/2004