Posts

Showing posts from June, 2020

Structural Pattern for ASP.NET API

Image
A very common problem that every beginner faces while they start a project. The question on their mind is how to arrange, name, group the files in my project. Yes, I faced this problem too, that’s why Today I will write about the repository pattern or the Structural Pattern I follow while developing an API ( application programming interface ). First, we learn what is an API in short. API just in short how the back end of an application handles the HTTP request and Response. API also defines the formation of data that will be received and sent by it. We can Develop API as we want but there are many good outlines or architecture which gives an API a good share. Recently REST API architecture is very famous. REST API can handle many Request or calls from different end points, above all It is very flexible.  My project structure will be based on REST API with ASP.NET , so if you have some prior knowledge in ASP.NET then you will fill more comfortable about Let's dig into it… Fir