Building a REST API for mobile apps(Android & iOS) for an C# asp.net ecommerce website

10,127

Here is Tutorial to build RESTFUL API in .NET.

Share:
10,127
KS7
Author by

KS7

Updated on June 29, 2022

Comments

  • KS7
    KS7 almost 2 years

    I am new to APIs development and have to start building a REST API for the e-commerce website to be built and can be used by 3rd party: mobile app development company.

    The eCommerce site is written in C#, ASP.net. I have read about SOAP, REST, RESTFul on google.

    My doubts are :

    1. Where do I start? I have never created any API's before. Please mention the steps to start over.
    2. The REST API is to be used with both Android and iOS mobile app. So, do we have to create a different client application for both?
    3. Do we use some frameworks? If yes, then which frameworks to use?
    4. As the website is written in dot net. Do we use Java or dotnet for REST API development?
    5. What is the best way to create the REST API for mobile apps?

    Please help me with my doubts. Thanks in advance.

  • KS7
    KS7 over 9 years
    Hi,I have already gone through the link you have provided. But, as i have mentioned that our website is not using MVC architecture, It is of no help. Please provide me steps to start over.
  • Manish Goswami
    Manish Goswami over 9 years
    Web API is a feature of ASP.NET MVC 4 you can do it without using it for that Select Microsoft.AspNet.WebApi.SelfHost from Nutgat pakage and insatall (Web API Self Host package). and in visual studio select project as console applcation. add your .cs file from the templates ie in insatalled template you will find Web API Controller
  • sumitkanoje
    sumitkanoje almost 8 years
    this is not a good way to answer this question..this question needs a good descriptive answer.