Rubalema  Sonia

Rubalema Sonia


Build an ASP.NET Core 3.1 Web API and MVC (ICustomerRepository Interface) - [Part 7]

Latest: (Unit Testing Blazor ASP.NET 5) Welcome to this seventh episode of the Built a Web Api in ASP.NET Core 3.1 and Consume it using an MVC Client also in ASP.NET Core.

In my previous (sixth) episode, I walked through the creation of the Order Model, which together with the Customer Model are mapped in a One-Many relationship with the Customer entity representing the One and the Order entity representing the many sides of this relationship. Since we are following the repository pattern in this project, In this episode,

In this episode, I shall create the ICustomerRepositoryInterface which will be implemented by the CustomerRepository class later. I shall build the project from scratch and walk you through the code explaining everything in the process. All the episodes will be in continuation from the previous ones, so it is highly recommended to be up to date with all the previous episodes before viewing this one.

Watch Part 6:
Watch Part 5:
Watch Part 4:
Watch Part 3:
Watch Part 2:
Watch Part 1:

This is part 7 of a multi-part series of tutorials on How to Build a Web API and Consume it in ASP.NET Core MVC using SQL Server and ADO.NET. In this tutorial, I shall explain the creation of the ICustomerRepositoryInterface.

The finished project will use client and server-side form validation techniques used in core by the MVC client. The Web API project will use Serilog for logging errors.

Like || Share || Spread || Love

Make sure you subscribe to our YouTube Channel and never miss our latest video:-

For more updates Follow us on:-






#KaushikRoyChowdhaury #AspNetTutorials #WebAPITutorials #MVC #RepositoryPattern GitHub Source Code:
Source Code (ver ASP.NET 5.0):

#kaushikroychowdhaury #aspnettutorials #webapitutorials #mvc #repositorypattern #dotnet

Build an ASP.NET Core 3.1 Web API and MVC (ICustomerRepository Interface) - [Part 7]