The virtual keyword is used to modify a method, property, indexer, or event declaration and allow for it to be overridden in a derived class. For example, this method can be overridden by any class that inherits it:
Tuesday, 24 September 2013
Get next N rows from sql server .. and some other use full sql queries ..
Friday, 6 September 2013
MVC Interview Questions and Answers (All about MVC)
Friday, 30 August 2013
Tuesday, 27 August 2013
Here I have used Visual Studio 2012 and ASP.net MVC 4 Web Application
Sunday, 30 June 2013
Try this , enjoy it
Wednesday, 5 June 2013
Thursday, 28 March 2013
ASP.NET Web API is a framework that makes it easy to build HTTP services that reach a broad range of clients, including browsers and mobile devices. With WebAPI content negotiation, one can return data based on the client requests. What I mean is, if the client is requesting the data to be returned as JSON or XML, the WebAPI framework deals with the request type and returns the data appropriately based on the media type. By default WebAPI provides JSON and XML based responses.
WebAPI is an ideal platform for building pure HTTP based services where the request and response happens with HTTP protocol. The client can make a GET, PUT, POST, and DELETE request and get the WebAPI response appropriately.
In Summary, the WebAPI is
- An HTTP Service
- Designed for broad reach
- Uses HTTP as an Application protocol, not a transport protocol
Web API Architecture .
We shall see below the Web API architecture when you are hosting the WebAPI in ASP.NET and self-hosting through console or windows service.
Follow this link for the detail article ....