How to reserve the URLs to host the WCF service

Run into this error when running your WCF service? This is because you have not reserve the url to host your WCF service.Try this solution:1. Open a Command Prompt as Administrator2. Execute this command :netsh http add urlacl url=htpp://+:8080/ user=User where User is your user name


Visual Studio 2008 is RTM!!

Yesterday at TechEd Europe we announced that Visual Studio 2008 and the .NET Framework 3.5 will be released by the end of November.There are some video recordings on the Channel 9: Lap around Visual Studio 2008 & .NET Framework 3.5 What’s new in C# 3.0?  What’s new in Visual Basic 9.0? .NET Framework 3.5 Enhancements…


Read / Write XML in Memory Stream

Use the XmlWriter to write XML to Memory Stream:MemoryStream stream = new MemoryStream();XmlWriter writer = XmlWriter.Create(stream);  or you can use the XmlDocument to save xml document to specific stream:MemoryStream stream = new MemoryStream();XmlDocument xDocument = new XmlDocument();xDocument.Save(stream); Read the xml document from tream:MemoryStream stream = new MemoryStream();XmlDocument xDocument = new XmlDocument();xDocument.Load(stream); Remember to add the following…


Migrate Application from .Net 1.1 to .Net 2.0

There are numerous API changes on .net framework 2.0 compare to .net framework 1.1. Therefore, the application that target on .net framework 1.1 might not work properly on .net framework 2.0.You have fix some of the issues that occur in the application in order for the application to work on or use the new…


Installing .net framework 2.0 will ovewrite the version 1.1?

When you install the .NET Framework, two different types of configuration files are installed, machine configuration files and security policy configuration files. In a side-by-side installation environment, you can install multiple versions of the .NET Framework on the same computer. Each installed version has its own set of machine configuration files and security policy configuration…


Mark your way to becoming a .NET Expert TODAY!!

Interested in learning the latest programming language that drives the industry today? Develop the latest games, the coolest applications and much more with Microsoft’s .NET platform!It doesn’t matter if you’ve been tooling around with Java, PHP, COBOL, PASCAL, RPG or Macromedia all this while. If you’ve got the will, we’ve got the means to help…


Tips & Tricks on Visual Studio 2008 - I

Tip 1: Multi Target Framework In Visual Studio 2008, you have the option to choose which target framework for your application, either version 2.0 [Shipped with Visual Studio 2005], 3.0 [Shipped with Vista] or 3.5 [shipped with Visual studio 2008].You can change your target framework at Project > [Projectname] Properties Tip 2: Import & Export Development…


COM+ Event System detected a bad return code during its internal processing

What does this error message mean?”The COM+ Event System detected a bad return code during its internal processing. HRESULT was C0000005 from line 44 of d:\qxp_slp\com\com1x\src\events\tier1\eventsystemobj.cpp.”The weird thing is that there is no d drive…If you happen that received this error message, try this solution: I came across this article KB909444, saying that this problem…


Download DinnerNow.NET Sample Application

DinnerNow.NET is a cool sample application demonstrates how you can develop a connected application using several new Microsoft technologies including: .NET Framework 3.0 technologies – WF, WCF, WPF, and CardSpace Core technologies native to Windows Vista and Windows Server “Longhorn” such as IIS7, Windows Eventing 6, and the Transactional File System. User experience technologies such as…


can I install .net 3.0 extensions on Visual Studio 2003?

The extensions for .net framework 3.0 (templates to create .net 3.0 applications, like WPF, WCF, WF) only work with Visual Studio 2005. You may look at this site under the system requirements.