Please Like and Share

I have 4+ experience and working as software Engineer with Hytech professionals India PVT ltd and also working as Consultant,Trainer,Blogger and Author on Microsoft technologies,Also I have Trained more than 500+ IT professionals.I have knowledge about Asp.net,C#,SQL,Project management,replication,MVC,WebApi,SSRS,PostMan,TFS,SVN,Swagger,WMI,Agile,SignalR,Angularjs,IIS configuration.

In this part of article
we will learn about asp.net web API and why we need asp.net web API.Most of
developers are think about use to web API but they are not aware about that
,that's why i have decided to write complete topic for asp.net web API.If you want
to learn all about REST web API you should visit my all part of article.I am
also going to explain about basic definition of web service ,WCF,and difference
between them because of most of developers are confused why i am using if we
have already WCF and web service is available in market.

Agenda:

What is web service ?

What is WCF ?

What is REST ?

What difference between SOAP and REST based services ?

What is difference between web service,WCF and Web API
?

Introduction of web API and why web API become popular
?

What is web
services(.asmx) ?

Before web services
remoting is used but there are many cons that's why web services replace
remoting."Web
service is like a web based application which is normally a class containing
methods that could be used by other web based or window based
applications. It also follows a code-behind layer such as the web
pages, although its not containing a user interface."

Web services is
way to communicate between two different or same web based application using
"webmethod".web services can be accessible from web based or window
based applications.Web services is soap based and transforming data via xml.

For more details
about web services you can go through best article which is written by Vithal Wadje .

Preceding WCF, a .NET
2.0 web reference was made in the clients that went about as an intermediary
that encouraged the correspondence with a Web Service. .NET3.5 acquainted
another instrument with make these intermediaries that are likewise perfect
with WCF server-side technologies.

"Windows
Communication Foundation (Code named Indigo) is a programming stage and runtime
framework for building, arranging and conveying system appropriated
administrations. It is the most recent administration arranged innovation;
Interoperability is the major qualities of WCF. It is bound together
programming model gave in .Net Framework 3.0. WCF is a joined element of Web
Service, Remoting, MSMQ and COM+. WCF gives a typical stage to all .NET
correspondence. you
can transfer information as asynchronous messages from one endpoint to another
endpoint."

RESTis stand
for Representational State Transfer. (Sometime we can say "ReST".)
Its a stateless, client-server, cacheable based protocol to communicate -- and
in virtually all points, the HTTP protocol is using.RESTis an architecture style
for designing networked applications.

Web Api
stands for "Application programming interface" its a
open source and rich framework of ASP.NET. Asp.net WebApi is following MVC
pattern architecture like controller,routing,action,filter,model
binder,etc...Web API area is so broad because it can be consumed from anywhere
any plateform any browser.Its totally independent like can be accessible from
Mobile,tablet,android,window.etc..

According this image we
can easily understand Web API can be consumed from anywhere.

I hope you all learn lot
of thinks why we are using web API and some drawback of web services and wcf
,So actually i have decided to write all about web API from a-z step by step in different different part.

In this article i have
written only introduction part of Web api ,To more about web api wait.. for
part 2 with example.