Muhammad Adyl's Blog

  • Home
  • About
  • Slides
  • Categories
    • ASP.Net MVC
    • Web API
    • Node.js
    • Angular.js
    • Android Development
    • NoSQLs
  • Contact

A basic guide to RESTful Web Service Using Web API 2

by Muhammad Adyl Monday, August 17, 2015 .net 4.5 Code first easy web service EF Fiddler JSON Jump Start MVC RESTful Visual Studio 2013 VS 2013 Web API XML
Its being long time after my last post, I hope you people missed me. I am writing this tutorial especially for my newbies programming students, who wants to know the basics of Web service as well as some tutorials to kick start with their Projects.

Before starting tutorial I would first like to take you on background tour of web service and the importance of the web service in today's world. As we all know, we are in an era in which everything is a part of cloud service and every thing is connected to each other, where laptops, tablets, PC, mobiles and all the portable devices are the main consumer of  Cloud. When we talk about Cloud we mean some unknown place where your data stores and you consume it, and its available everywhere.

For making things more digestible I would like to give you an example of Facebook, we can access it from anywhere, and from any device. The first thing that pops in your mind will be "hey wait, isn't fb is a website?, not a cloud?" , and my answer will be "No its a Cloud". Why cloud? because it provides you service and not 100% users use it as a website, they have applications in their tablets, phones, some people use its chatting app from desktop. Facebook have built in Cloud service that provides service to website, mobiles, tablets, desktop app and so on.

Bored?, Lets Get Started with web service, there are certain things that you must know, web service can be created through any language, platform and there are certain types of services that we use know days 1) RESTful and 2) SOAP, there are more but I don't want to go to much deep.

In the last we have web service languages in which JSON (JavaScript Object Notation) and XML (eXtensible Markup Language) Commonly used for data transferring.

Just remember to go through my Jump Start tutorial for MVC this will help you understanding MVC Architecture and Web API works on MVC.

Now, start your Visual Studio and create yourself a New Project and named it something nice, I named it MvcApiWebApplication. 




READ MORE
SHARE :

Welcome To Blog








Muhammad Adyl


Microsoft Certified Trainer, and Technical Evangelist in AUC Technologies. Currently working as a Senior Software Engineer @ Afiniti.


Blog Archive

  • ►  2016 (2)
    • ►  March (1)
    • ►  January (1)
  • ▼  2015 (1)
    • ▼  August (1)
      • A basic guide to RESTful Web Service Using Web API 2
  • ►  2014 (1)
    • ►  January (1)
  • ►  2013 (3)
    • ►  May (2)
    • ►  March (1)

Follow Me

Labels

  • .net 4.5
  • .Net Core
  • ASP.NET5
  • Basic CRUD
  • Bower
  • Cloud optimized
  • Cloud-Optimized
  • Code first
  • Create View
  • Cross-Platform
  • Data Annotation
  • Data annotation Schema
  • Dependency Injection
  • DNX
  • easy web service
  • EF
  • EF 5
  • EF 7
  • EF without EF Data Context Scoffolding
  • Fiddler
  • Grunt
  • Gulp
  • Initializer
  • JIT
  • JSON
  • Jump Start
  • Linux
  • MacOS
  • Microsoft
  • MVC
  • MVC 4
  • MVC6
  • npm
  • NuGet
  • OpenSource
  • OWIN
  • POCO
  • Razor
  • RC1
  • Relation Less Model
  • RESTful
  • Roslyn
  • Seeding
  • SignalR 3
  • Visual Studio 2013
  • vNext
  • VS 2012
  • VS 2013
  • VS 2015
  • Web API
  • Web API 3
  • XML
  • Popular
  • Recent
  • Comments
    Implementing Data Annotation with Entity Framework
    Entity Framework 5: Code First Approach
    Jump Start MVC 4
    A basic guide to RESTful Web Service Using Web API 2
    Exploring MVC 6
    Creating Simple CRUD (Create Retrieve Update Delete) MVC Application Through Model
    vNext and ASP.NET 5, Microsoft's OpenSource and Cross-Platform technology.

About Me

My photo
Muhammad Adyl
· More than 5 years’ experience in Development · Proficient and Certified in Microsoft Technology, with some random experience over Android, Node.js, Angular.js, NoSQL, PHP, HTML5, CSS3 and JavaScript. · 2 publication · Volunteer Technology Speaker and Blogger.
View my complete profile

Popular Posts

  • Entity Framework 5: Code First Approach
    This is my first article of MVC 4 Development series, which is based on basic guidance of implementation of the code first approach, initi...
  • Creating Simple CRUD (Create Retrieve Update Delete) MVC Application Through Model
    For beginners, CRUD Applications are the applications that uses 4 operations for manipulating data. Those 4 operations are Inserting data, ...
  • Implementing Data Annotation with Entity Framework
    This post is a second part of the MVC 4 series that discusses implementation of Data Annotation . Before proceeding to the drill, I would f...

Labels

.net 4.5 .Net Core ASP.NET5 Basic CRUD Bower Cloud optimized Cloud-Optimized Code first Create View Cross-Platform Data Annotation Data annotation Schema Dependency Injection DNX easy web service EF EF 5 EF 7 EF without EF Data Context Scoffolding Fiddler Grunt Gulp Initializer JIT JSON Jump Start Linux MacOS Microsoft MVC MVC 4 MVC6 npm NuGet OpenSource OWIN POCO Razor RC1 Relation Less Model RESTful Roslyn Seeding SignalR 3 Visual Studio 2013 vNext VS 2012 VS 2013 VS 2015 Web API Web API 3 XML

Template Created By ThemeXpose & Blogger Templates