Asp.Net Mvc Web Application
- IDE : Jetbrains Rider on Macos(Can be use Visual Studio or other stuffs)
- Tech : Asp.Net Web Application
- Framework : .Net Framework v4.7.2
- Database : Postgresql
- Theme : adminlte (https://adminlte.io/)
- AspNetWebApp
- AspNetWebApp.Entities
- AspNetWebApp.Dal
- AspNetWebApp.Bll
You can migrate of datase with Code First Entity Framework. Basic CLI commands for using Entitiy Framework on Visual Studio is down below.
After clone the project;
Enable-Migrations
Add-Migration MigrationName
update-database
<system.web>
<compilation debug="true" targetFramework="4.7.2" />
<httpRuntime targetFramework="4.5" />
<authentication mode="Forms">
<forms loginUrl="/Login/Index/">
</forms>
</authentication>
</system.web>
For all pages security
GlobalFilters.Filters.Add(new AuthorizeAttribute());
Exclude control security
[AllowAnonymous]
public class LoginController : Controller
{