Thursday, November 15, 2007

Visual Studio 2005 Keyboard Short Cuts

Visual Studio 2005 is a great IDE to develop .NET applications. But If we don't know the keyboard shortcut for some function we have to do it with mouse and it will take lots of time.

I have found a great link which contains almost all the short cut for keyboards.

Here is the link for that article...
http://www.codinghorror.com/blog/files/Visual%20Studio%20.NET%202005%20Keyboard%20Shortcuts.htm
Share:
Thursday, November 8, 2007

Enabling Java script debugging + visual studio 2005

You can debug java script in visual studio 2005 by default. If your browser support java script debugging. For example Internet Explorer 7 provides this support.

You can go tools->Options-> Advance tab where you have two tick boxes.

1) Disable Script Debugging(Internet Explorer)
2) Disable Script Debugging(other).

Untick the tick box and then you can directly debug your java script via visual studio 2005 directly just as you do with your asp.net server side code.
Share:

ASP.NET,Visual Studio 2008 and .Net Framework 3.5

ASP.NET is a great platform to develop web base application. It always been pleasure to develop application in asp.net. Microsoft has recently launched the new .net framework 3.5. There are some new features provided in asp.net 3.5. I have found a great link that will discuss and have information you want to know about asp.net 3.5 framework version.

Following are the some of the new feature that are included in .net framework 3.5 and described in the article.

  1. ASP.NET and Ajax
  2. New list and data pager controls
  3. Linq and other .net 3.5 enhancements
  4. WCF Support for RSS, JSON, POX and Partial Trust

Following are some new features that are described in article for visual studio 2008

  1. New Design Interface
  2. Javascript debugging and intelisense
  3. Multitargetting support.

Here it the link for that article...

http://www.asp.net/downloads/vs2008/

Share:
Tuesday, October 16, 2007

Master pages and child pages -Page Excecution.

Lots of people are in confusion whether the master pages are loaded first or content page(child page is loaded first.I want to make it more clear.

Following is page execution structure of the master page and child pages.

First the controls of the master page will instantiated and then control of the child page is instantiated.

Then the first the page_load event of the child page is executed and then page_load of event is executed.
Share:
Monday, October 15, 2007

What is the diffrence between abstract(must inherit) class and inteface

Following are the main difference between abstract class and interface.

1. Abstract class can contain abstract method while interface does not.
2. Abstract class can contain method body while interface does not.
3. Methods in abstract class can contain any valid access specifier while in interface public access specifier is only allowed.
4. Abstract class can contain methods with body while interface can contain only method signature.

For VB.NET abtract class is must inherit class.
Share:

Overriding static member in child class with C#.NET,VB.NET

Static member are accessible without creating the objects of the class so you don't need to create a object for that class.

Micorosft CLR does not permit the static methods to be override in child class. But off course you can hide the static method of parent method with new keyword in child class. Here is the example of that.


public class A
{
public static virtual void Test()
{
}
}
public class B : A
{
public new override static void Test()
{
}
}
Share:

What is diffrence between string and String in C#.net

There is no diffrence between string and String. string is a alias created by microsoft for System.string.

There are some other datatypes for which microsoft has created the alias.

These are the aliases defined:

string->System.String

sbyte->System.SByte

byte->System.Byte

short->System.Int16

ushort->System.UInt16

int->System.Int32

uint->System.UInt32

long->System.Int64

ulong->System.UInt64

char->System.Char

float->System.Single

double->System.Double

bool->System.Boolean

decimal->System.Decimal
Share:

Support this blog-Buy me a coffee

Buy me a coffeeBuy me a coffee
Search This Blog
Subscribe to my blog

  

My Mvp Profile
Follow us on facebook
Blog Archive
Total Pageviews