Clean Web App - ASP.NET Core 7 Web App StarterClean Web App - ASP.NET Core 7 Web App Starter
A solid foundation for building web app using ASP.NET Core, Web API, Razor PageClean Web App - ASP.NET Core 7 Web App Starter
A solid foundation for building web app using ASP.NET Core, Web API, Razor PageOverview
The project aims to develop a robust, secure and scalable web application
foundation, serving as a boilerplate or starter kit, that incorporates
various ASP.NET Core 7 related modern technologies and best practices. This
foundation is built using Clean Architecture principles, leveraging Razor
Pages, Web API, Identity, JWT authentication, AdminLTE, Entity Framework ,
Dapper, SQL Server and xUnit.
» C#
» ASP.NET Core 7
» Web API
» Razor Pages
» Clean Architecture
» Identity, JWT
» Entity Framework, Dapper
» Bootstrap, AdminLTE
» xUnit
» SQL Server 2019
» Visual Studio 2022
API Project: http://108.181.173.241/Demo/We...
User Panel: http://108.181.173.241/Demo/We...
Admin Panel: http://108.181.173.241/Demo/We... ([email protected] / 123456)
Features
» Serilog for Logging
» Fluent for Server Side Validation
» jQuery for Client Side Validation
» In-memory Caching
» Server Side Paging
» Global Exception Handling using MIddleware
» IHttpClientFactory to Consume API
» Polly to Express Fault Policy
» JWT Authentication for Web API
» Implementation of Refresh Token
» Hash Verification
» Policy/Claim Based Authorization
» Async Programming
» Fire & Forget for Long Running Task
» Rate Limiting
» Generic Repository Pattern
» Integration Testing using xUnit
» CRUD Implementation with Parent/Child Relationship
» User Management
» User Activity Tracking
» Logging and Exception Handling
» Email Template Management
» Email Notification using Sendgrid
» SMS Notification using SMS API
» Searching/Filtering
» Export Data to CSV
Requirements
» ASP.NET Core 7
» SQL Server 2019
» Visual Studio 2022
Instructions
The solution has three separate execuable projects; WebApp.API.Endpoint, WebApp.User.UI and WebApp.Admin.UI. Make sure to run API project first, then the UI projects. Also make sure to change the settings in appsettings files according to your Hash settings, JWT settings, ConnectionStrings, Site settings, Email settings, SMS settings, BaseAPIAddress, UserRootURL, UserRootPath etc.
Other items by this author
Category | Scripts & Code / C# |
First release | 4 August 2023 |
Last update | 4 August 2023 |
Files included | .aspx, .css, .sql, .cs, .csproj |
Tags | C#, bootstrap, identity, adminlte, SQL Server, asp.net core, entity framework, clean architecture, jwt authentication, dapper, xunit, web api, razor pages |