Posted on May 20 2010 by Sachin Jain
Following are the 3 new Key features in .net 4.0
1) Windows work flow and WCF 4.0:- This is a major change in 4.0.
In WCF they have given following features :-
Dynamic Service and End Point discovery – The problem was faced in earlier version of WCF that if theend point has been changed at service [...]
Posted on October 22 2009 by Sachin Jain
Custom application error tracking through global.asax file. Here you can track querystrings, post data and whole exception message with url
Posted on October 20 2009 by Sachin Jain
1) Use Pascal casing for type and method names and constants:
public class YourClass
{
const int ConstantVariable = 100;
public YourMethod( )
{}
}
2) Use camel casing for local variable names and method arguments. Use p prefix for parameterized vairables:
int intNumber;
void MyMethod(int pintNumber)
{}
Posted on October 20 2009 by Sachin Jain
Here it goes
private int mstrPageSize = 1;
private int mstrTotalRecords = 1;
private int mstrCurrentPage = 1;
public int PageSize
{
get
{
return mstrPageSize;
}
Posted on October 20 2009 by Sachin Jain
Here is the few line code
try
{
int intCount = 1;
EventLog EventLog1 = new EventLog();
EventLog1.Log = “Application”
Posted on October 15 2009 by Sachin Jain
Following are the 6 differences between abstract classes and interfaces :-
1) A class can implement as many interfaces, but an subclass at most one abstract class.