CustomerWeb is an ASP.NET MVC Core case solution create to implement a login/ authorization pages using Json Web Token (JWT) and to demonstrate the behavior of a page list with filters in MVC/ Razor.
Model-View-Controller Dependency Injection Inversion of Control
Project | Application Layer |
---|---|
CustomerWeb | (all) |
Dependency | Version |
---|---|
.NET Core | 3.1 |
ASP.NET MVC Core | 2.2.5 |
AutoMapper | 10.1.1 |
Bootstrap | 4.3.1 |
C# | 8 |
jQuery | 3.3.1 |
jQuery Validation | 1.17.0 |
Microsoft jQuery Unobtrusive Validation | 3.2.11 |
Microsoft VisualStudio Web CodeGeneration Design | 3.1.4 |
- Download or clone this repository.
- Open the solution in Visual Studio 2017 or higher.
- Select the CustomerWeb project.
- Open the appsettings.Development.json file in the project root and update the value of
EndPointUrl
for theCustomerAPI
URL to point to a API that exists on your local machine. - Run the application.
For run the Rest API uses in this project you need to download or clone the project CustomerAPI.
-
The project contains a configuration which may require modification for the developer's specific environment:
Project File CustomerWeb appsettings.json CustomerWeb appsettings.Development.json -
The configuration string specifies the target of API Rest:
https://localhost:44341/api
. Developers using a different target will have to change the EndPointUrl of CustomerAPI.