Introduction of WEB API
ASP.NET Web API is a framework for building http based services using .Net Framework. these services reach a broad range of clients, including browsers , mobile devices and desktop applications.
Asp.net web-api is widely used to create Rest full Services but asp.net web api is not depend upon any constraint , we can create any type of services using asp.net web-api.
Restful Services
REST (Representational State Transfer) is an architectural pattern of creating services , it specifies set of constraints
and these constraints should be followed by restful services
REST Constraints
ASP.NET Web API is a framework for building http based services using .Net Framework. these services reach a broad range of clients, including browsers , mobile devices and desktop applications.
Asp.net web-api is widely used to create Rest full Services but asp.net web api is not depend upon any constraint , we can create any type of services using asp.net web-api.
Restful Services
REST (Representational State Transfer) is an architectural pattern of creating services , it specifies set of constraints
and these constraints should be followed by restful services
REST Constraints
- Client Server
- Stateless
- Cacheable
- Uniform Interface
HATEOS (Hypermedia as the engine of application state) - Layered System
- Code on Demand (optional)