Posted on October 23 2009 by Sachin Jain
1) Home Group – Now you can share pictures, documents , videos , music in network with ease. Home Group is a feature that allows you to join any one in a network by just clicking to “join now”. Yes, ofcourse privacy has been maintained, you can set the password while sharing your documents over [...]
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 21 2009 by Sachin Jain
Communication without words plays an very important role in communication. It is surprising that the words you are delivering is not as much effective, it is
the non verbal communication which makes your communication more effective. For example eye contact, Your tone (loud , low , polite).
Lets categorized it :-
1) Kinesics or body language – It [...]
Posted on October 20 2009 by Sachin Jain
Following is the diagram for WCF architecture
1. Contracts – It contains information about what service does and type of information it will make available.
a) Data – A data contract includes the data that will be exchanged by the service. The service and the client do not need to agree on the types, but they [...]
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 19 2009 by Sachin Jain
1) Permanent redirect – for HTTP 301 Moved Permanently you can now use RedirectPermanent(”yourpage.aspx”);
2) Meta Properties- Now you can use page.MetaKeywords and page.metaDescription for setting up meta tags.
Posted on October 15 2009 by Sachin Jain
Singelton pattern is required where we need single instance of class. Example in financial domain applications there is major requirement of security and class need to have single instance and no other can use same instance of the class.
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.