Friday, December 15, 2006

.Net 3.0 --New from MS

.Net 3.0 ?

Whats this ?

This article gives a list on info on the latest 3.0 and what it is...

Here we go !

.Net 3.0 === .Net 2.0 + Few Base class libraries

The New base class Libraries are:

1. WCF --windows communication foundation
2. WPF -- windows Presenttaion foundation
3. WF --- windows work flow foundation

So the base is .Net 2.0 and the extra foundation libraries.

Let me extend this post as a series of .Net 3.0 posts !!!


Friday, October 27, 2006



This is a new namespace introduced from CLR 2.0.

How can you use this ? This namespace can be used when your client and the Remotable components are present in the same machine.

IPC stands for interprocess communications in the same windows OS.

.Net 1.1 had only TCP channel--which means the remotable components were using TCP channel for remoting , but from .Net 2.0 we have the option of deciding between IPC or TCP..

So according to your remoting requirements and if you use .Net 2.0 you can use IPC communications.


Thursday, October 26, 2006

Partial Classes???

Partial Classes, what are they ? are they New ?

Yes CLR2.0 provides the new concept of Partial class---- A single class can be split in to many classes in same name , but with the indicator partial.

Partial classes are a new feature to the .NET Framework 2.0 and again C# takes advantage of this addition.
Partial classes allow you to divide up a single class into multiple class files, which are later combined into a single class when compiled.
To create a partial class, you simply need to use the partial keyword for any classes that are to be joined together with a different class.
The partial keyword precedes the class keyword for the classes that are to be combined with the original class.

For instance, you might have a simple class called Calculator as shown here:

public class Calculator{

public int Add(int a, int b) {
return a + b;
From here, you can create a second class that attaches itself to this first class as shown here in the following example:

public partial class Calculator{

public int Subtract(int a, int b) {

return a - b;

When compiled, these classes will be brought together into a single Calculator class instance as if they were built together to begin with.

Tuesday, October 17, 2006

Windows Service in VS2005 ??

Had you ever stuck up in creating windows Service in vs2005 ??
Like any other Person , you must have also wondered why the template for creating Windows Service is absent in VS2005.
I was also the one.
But after some research i found that , VS2005 is not provided with the Template for creating windows service in VS2005.
In order to create a Windows Service in VS2005 , follow the Below steps:
1. Create an empty project.
2. Save the project.
3. Add system.ServiceProess and System.Configuration.Install Dll references.
4.Now you need to add 2 class files to ur project.
5.windowsServcie.cs and windowsServiceInstaller.cs
6.Add the below code using statement to windowsService.cs:
using System.Diagnostics;using System.ServiceProcess;
namespace WindowsService{ class WindowsService : ServiceBase { }
7. add the below using statements code to windowsserviceinstaller.cs:
using System;
using System.ComponentModel;using System.Configuration.Install;using System.ServiceProcess;
namespace WindowsService{ [RunInstaller(true)] public class WindowsServiceInstaller : Installer { /// /// Public Constructor for WindowsServiceInstaller. /// - Put all of your Initialization code here. /// public WindowsServiceInstaller() { } }

8. Now add all the code as like VS2003 , which u like to add for the windows service.


Wednesday, September 27, 2006

Dotnetnuke ! whats this ?

I recentlly came across this key word Dotnetnuke !!

i was curiuos to know about this ....

finally i came to know : Dotnetnuke is a Open Source Framework which can be used to build ASP.Net web applications.

This framework provides advanced features of developing projects.

"DotNetNuke is an open-source Web Application Framework ideal for creating and deploying projects such as commercial websites, corporate intranets and extranets, online publishing portals, and custom vertical applications. "

Home Page:


Friday, September 22, 2006

Complete List of Methods and APS's changed in CLR2.0


when i moved my project from CLR1.1 to 2.0 , i used this web site from MS as the base to know what are the methods \ API's which have changed .


Scott Gu Link for Migration


At times when i need help regarding Migration i get this from Scott Gu and his posting for migration projects is present at :


Wednesday, September 20, 2006

Tips and Steps for .Net Migration From 1.1 to 2.0 CLR

Hi ,
When you plan to migrate your existing Dotnet Project from 1.1 CLR to 2.0 CLR have the below check list:

1.Ensure that you have VS2005 in all the machines you are using for migration.

2. Do not only download CLR2.0 for migration install VS2005.

3.Use NAnt Rc4 from to get a compile list of warnings which you get when you compile your existing code built in 1.1 CLR.

4.Have NAnt RC4 version installed in your machine.

5.Get a complete list of Warnings , errors when you build your existing code with NAnt RC4 with CLR 2.0

6.Open up each project in VS2005 and then go for the Migration steps .VS2005 will ask for conversion with a Wizard and go for conversion.

7. Open the project and have a build. CLR 2.0 will throw warnings if there Deprecated , Obsolete and Ambogous namings done. Resolve one by one.

8. Have the individual builds for each projects seperatelly in VS2005 IDE.

9. For web Projects apart from installing Vs2005 you will also need to download this Path from Microsoft.

10.Once each project is compiled in VS 2005 IDE. have the NAnt RC4 Build.

Tuesday, September 19, 2006