Awesome Open Source
Awesome Open Source

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

Options

Database script is located at Tables.sql.

Database Diagram

Database Diagram

User Login

User Login

User Dashboard

User Dashboard

Admin Dashboard

Admin Dashboard

Admin Application Logs

Admin Application Logs

Admin Application Log Detail

Admin Application Log Detail

Admin Email Templates

Admin Email Templates

Admin Email Template Edit

Admin Dashboard

Admin User List

Admin User List

Admin User Create

Admin User Create

Admin Settings

Admin Settings

Admin Setting Edit

Admin Setting Edit

Session Expire Notification

Session Expire Notification

Toaster

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

Toaster

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

Offline Nuget Packages Location

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

Offline Nuget Configuration

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

Offline Nuget Packages

ASP.NET Core

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

ASP.NET Core

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.

Debug without Active Directory


Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
html (11,153
selenium (216
asp-net-core (196
sql-server (79
entity-framework-core (68
active-directory (59
nlog (21
xunit (21