-
Recent Posts
Archives
- April 2012
- March 2012
- February 2012
- December 2011
- October 2011
- September 2011
- August 2011
- June 2011
- May 2011
- February 2011
- January 2011
- December 2010
- September 2010
- August 2010
- June 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- June 2009
- January 2009
- December 2008
- October 2008
- September 2008
- August 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- November 2007
- September 2007
- August 2006
- January 2006
- December 2005
- November 2005
Categories
Meta
Category Archives: .NET development
Microsoft .NET Framework 1.1 on Windows Server 2008 R2 64 bit
It is not supported to run .NET Framework 1.1 on Windows Server 2008 R2, but it seems to work. What I did was to install: .NET Framework 1.1 .NET Framework 1.1. SP1 ASP.NET Security Update for Microsoft .NET Framework 1.1 … Continue reading
Upgrading old Visual Studio Solutions
I recently had to upgrade some old Visual Studio 2003 (!) solutions and projects to Visual Studio 2010. I tried to do that just by opening the solution and let the conversion wizard to its job. I had some challenges … Continue reading
Error Upgrading Database Project Using Visual Studio 2010
I recently upgraded a database project (.dbp file) to Visual Studio 2010. All I got was an error saying “database project not converted” and “Illegal characters in path”. I turned out that the project file was in ANSI encoding and … Continue reading
Non-blocking Read of Console Input that Works with Visual Studio Test
I had a console program and wanted to be able to exit that when the user pressed X. I couldn’t just use Console.Read or Console.ReadKey because they block. So I used Console.KeyAvailable to check if the user typed something before … Continue reading
Posted in .NET development
Leave a comment
Funny error message while running a test in Visual Studio
ContextSwitchDeadlock was detectedMessage: The CLR has been unable to transition from COM context 0x51e238 to COM context 0x51e2f0 for 60 seconds. The thread that owns the destination context/apartment is most likely either doing a non pumping wait or processing a … Continue reading
Posted in .NET development
Leave a comment
WCF Web Service Hosting Part 2 – netTcpBinding and IIS
This post is about how to host WCF services in IIS with netTcpBinding. I use the same test service and test client as in the previous post. WCF Service Host First, let us try it with the WCF Service Host. … Continue reading
Posted in .NET development
Leave a comment
WCF Web Service Hosting Part 1 – wsHttpBinding and IIS
This, and follow up posts, is about hosting WCF web services in IIS using different bindings. This post deals with the simplest scenario – wsHttpBinding. Create Test Service and Test Client The first step is to create a web service … Continue reading
Posted in .NET development
Leave a comment
Copying an XML document in a streaming fashion
I wanted to modify large XML documents slightly. Since they are large, I didn’t want to read them into memory using XmlDocument, but use XmlTextReader and XmlTextWriter to read and write in a streaming fashion. It turned out to be … Continue reading
Posted in .NET development
Leave a comment
Web test config file
If you tried to change your web test configuration settings by editing app.config, you discovered that it had no effect. That is because the web test runs inside Visual Studio Test Host, so you must edit C:Program FilesMicrosoft Visual Studio … Continue reading
Posted in .NET development
Leave a comment
Can’t find PInvoke DLL ‘sqlceme35.dll’
I was working with a Windows mobile application that uses SQL Server Compact. After upgrading to Visual Studio 2008 SP1 and SQL Server Comapct 3.5 SP1 I got MissingMethodException, Can’t find PInvoke DLL ‘sqlceme35.dll’. The problem is that the native … Continue reading
Posted in .NET development
1 Comment