AspNetCoreActiveDirectoryStarterKit
AspNetCoreActiveDirectoryStarterKit copied to clipboard
Starter kit to quickly create ASP.NET Core with On-Premises Active Directory Authentication.
ASP.NET Core with On-Premises Active Directory Authentication
Starter kit to quickly create ASP.NET Core 2.0 with On-Premises Active Directory Authentication.
Requirements
- ASP.NET Core SDK 2.0
- Visual Studio 2017
- Telerik Kendo UI for AspNet Core 2017.3.913
Options
Database script is located at Tables.sql.
Database Diagram

User Login

User Dashboard

Admin Dashboard

Admin Application Logs

Admin Application Log Detail

Admin Email Templates

Admin Email Template Edit

Admin User List

Admin User Create

Admin Settings

Admin Setting Edit

Session Expire Notification

Toaster
Toaster will disappear after 10 seconds. You can configure it at site.js.

Troubleshooting
Offline Nuget Packages
The application uses Telerik UI for ASP.NET Core that allows using the Kendo UI widgets from C# server-side wrappers.
Download Trial version of Kendo UI from Telerik, and add Kendo UI as OfflineNugetPackages by following the instruction below. Note: I am not affiliated with neither Telerik or Kendo UI.
Extract Telerik.UI.for.AspNet.Core.xxx.nupkg from the downloaded Zip file to a local folder. For example, C:\OfflineNuGetPackages\telerik.ui.for.aspnet.core

In Visual Studio, go to Tools > Options > NuGet Package Manager > Package Sources, and add a new package source.

Then you can select OfflineNuGetPackages from Package source, select projects, and click Install.

ASP.NET Core
Please make sure you have correct ASP.NET Core version under C:\Program Files\dotnet\sdk

Testing
Debug without Active Directory
If you would like to view the demo of the application without Active Directory, you could use the following steps -
Create database tables in SQL Server using the provided sql script inside doc folder. Replace the connection string inside appsettings.json.
Return true value at if statement of Account Controller line 71. At Login Screen, enter johndoe and anything in the password.
Note: Please make sure to revert those changes after you've done the demo.
