Category Archives: REST

API Best Practices

By | March 25, 2023

Introduction APIs (Application Programming Interfaces) are essential tools for developers who want to integrate third-party services or data into their applications. However, working with APIs can be challenging, especially for those who are new to this field. In this document, we’ll discuss some best practices for working with APIs. Conclusion APIs are powerful tools for… Read More »

Upload image to ASP.NET Web API 2

By | October 8, 2020

Introduction This post will provide detail on uploading image from a web application (ASP.NET MVC5 web application) to a web service (ASP.NET WebAPI2). We will use Visual Studio 2012 (.NET framework 4.5) to build web application and web service. Web Application Web application is written using Microsoft ASP.NET MVC5 and Razor views. The below given… Read More »

Creating RESTful Web API

By | October 20, 2015

Introduction This post is about creating a RESTful web API using Microsoft technology stack. We will be using Visual Studio 2012 to build this REST service in C#. Entity Framework will be used for persistence in SQL Server database. REST Project Structure Open Visual Studio and click on File –> New –> Project (Shortcut : Ctrl… Read More »