Tuesday, June 24, 2014

Deploying ASP.NET site in IIS

Deploying your web application into  IIS is one of the major tasks for  a developer before moving into UAT or testin. I found the following link useful

http://www.codeproject.com/Articles/28693/Deploying-ASP-NET-Websites-on-IIS

It has  a lot of screenshot to help your to easily understand the process. It talk of deploying asp.net site into IIS 7.0 server but also applicable to later versions of IIS servers.

For creating new website in IIS 7.5 below is the link :-
http://www.dotnetfunda.com/articles/show/1247/how-to-host-aspnet-application-on-the-web-server-iis

Friday, June 13, 2014

Reflection and Attributes

Attributes describe the behavior of .net objects like class, method, function, interface etc to the runtime.
There predefined attributes and custom attributes that can be defined by user. The custom attributes are used to store the information.

Here is link on simple use of custom attributes :-
http://www.tutorialspoint.com/csharp/csharp_attributes.htm

Reflection is a set of classes that one uses to explore the .net objects during the runtime itself.

Below link gets the example of how reflection can be used to explore on custom attributes :-
http://www.tutorialspoint.com/csharp/csharp_attributes.htm

Thursday, June 12, 2014

Working with Generics

Generics in C# help you to create light weight class that can take any type of parameter as input. This sort of helps in maximum code reuse.
I came across an excellent explanation on Generics and its uses on MSDN.

Below is the link :-
http://msdn.microsoft.com/en-us/library/ms379564(v=vs.80).aspx

Here is a brief tutorial on using generics :-
http://www.tutorialspoint.com/csharp/csharp_generics.htm

Monday, June 9, 2014

Isolation Levels in SQL server 2008 onwards

There are 5 isolation levels supported in SQL server 2008:-
  1. Read Uncommitted
  2. Read Committed 
  3. Repeatable Read
  4. Serializable
  5. Snapshot  
Isolation levels protect data during sql server transaction against dirty reads.
Found an excellent and simple post on this:- 

Delegates and its uses

I came across a very interestiong topic on the MSDN site itself. It talks about delegate uses and multicast delegates and the relationship of delegates with events.
Here is the link for you to read :-
http://msdn.microsoft.com/en-us/library/ms173172(v=vs.100).aspx

The below link also provides a good undertanding of delegates and how it can be used in event based senarios :-
http://www.akadia.com/services/dotnet_delegates_and_events.html