Showing posts with label Web API. Show all posts
Showing posts with label Web API. Show all posts

Thursday, August 24, 2017

Visual Studio 2017 Community edition download & installation.

Visual Studio is one of famous IDE for Windows and Mac to develop apps for Android, iOS,Mac, Windows , Web and Cloud. Using this IDE we can write our code fast,Debug and Diagnose with ease.
Please get more details about Visual Studio here : Visual Studio

Visual Studio Community is free for all developers or students and in this post we will see step by step instructions to install Visual Studio Community 2017.

Step 1 : Go to link https://www.visualstudio.com/downloads/  to download VS 2017 community edition.

Step 2 : Click on Free Download button of Visual Studio Community 2017 IDE

Step 3: Run the downloaded setup executable file vs_community_xxx.exe

Step 4: Accept the Microsoft Terms and Conditions and click Continue


Step 5: Select VS 2017 different components as per your development preferences. I have selected following as per my preferences

  1. Universal Windows Platform Development
  2. .NET desktop development
  3. ASP.NET and Web development
  4. Mobile development with .NET using Xamarin
  5. Mobile development with JavaScript 
  6. Click on Install



Step 6: Once you click Install it will start installation as per your selection and necessary files will be copied to your system.


Step 7 : After successful installation please Launch the IDE.


Post your questions or comments bellow. Thank You!

Tuesday, August 15, 2017

What is Web API and why to use it ? What is REST?

The API is stand for "Application Program Interface" and web we commonly use for internet application so Web API means the service or interface or endpoint which available on internet to retrieve and update application data for the client.

Here client means general it can be Web Client , Mobile Client  etc etc possible on all available operating system.

Web Clients means all browsers like Internet Explorer, Google Chrome , Safari, Opera etc
Mobile Client means iPhone,iPad , Android Phones and tablets or Windows Phones and tablets

Today creating web application is not enough because Mobile devices like Phones and Tablets are so popular to reach maximum people so you need to design application which make data available across all possible clients.

Let's consider modern application architecture which has several clients on different platforms including Mobile and Web Clients.



If you can notice all client apps are having it's own bussiness logic to connect with database and process data accordingly. This architecture is complex to scale and enhance application. Adding single business rule change  also we need to add in all available business logic which introduce more defects,bugs and expensive also.

Now let's consider same application with central API along with common business layer.


Each clients are using common Application Program Interface and common business layers which will advantage over previous modern architecture.Now days creating Web API we are creating with one architecture pattern called REST and services which are following these pattern called as RESTfull services.

What is REST?
REST stands for ‘Representational State Transfer’ and it is an architectural pattern for creating an API that uses HTTP as its underlying communication method.

Almost every device that is connected to the internet already uses HTTP; it is the base protocol that the internet is built on which is why it makes such a great platform for an API.

HTTP is a request and response system; a calling client sends a request to an endpoint and the endpoint responds. The client and endpoint can be anything but a typical example is a browser accessing a web server or an app accessing and API.