The solution is created via Visual Studio 2019.
- Database project contains database scheme and seed script. MS SQL database.
- Api is backend project based on dapper ORM. ASP NET MVC Framework 4.7.2.
- There are two UI projects: MVC.UI and UI.ReactJS
- XUnitTests contains integration tests for repository and unit tests for user controller. FakeItEasy and XUnit frameworks are used.
Figure 0 - Solution structure
Web.config contains DbConnection string. Don't forget to setup it properly. ASP.NET MVC Framework is chosen in accordance with technical requirements.
Web.config contains ServiceUrl app setting. Don't forget to setup it properly. ASP.NET MVC Framework is chosen in accordance with technical requirements.
Figure 1 - Razor Pages UI
- Web.config contains ServiceUrl app setting. Don't forget to setup it properly.
- ASP.NET MVC Framework as hosting of ReactJS UI is chosen in accordance with technical requirements.
- Apply "npm install" for package.json file to download all dependencies.
- React components are located here: WebUserManagement.UI.ReactJS/Scripts/Home/react/
Figure 2 - How to install dependencies using Visual Studio
Figure 3 - React UI