FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[Original HTTPS Page]
jorneycr/School-App-ASP.NET-Core-MVC: ASP.NET Core 7 MVC · GitHub
jorneycr
/
School-App-ASP.NET-Core-MVC
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
2
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Branches
Tags
Open more actions menu
Latest commit
History
29 Commits
29 Commits
Folders and files
Name
Name
Last commit message
Last commit date
.vscode
.vscode
Controllers
Controllers
Data
Data
Models
Models
Properties
Properties
SQL
SQL
Views
Views
wwwroot
wwwroot
.gitignore
.gitignore
Program.cs
Program.cs
README.md
README.md
SchoolManagementApp.MVC.csproj
SchoolManagementApp.MVC.csproj
SchoolManagementApp.MVC.sln
SchoolManagementApp.MVC.sln
appsettings.Development.json
appsettings.Development.json
appsettings.json
appsettings.json
Repository files navigation
README
SchoolManagementApp
Create a dotnet project
dotnet new mvc -o SchoolManagementApp.MVC
Run project
dotnet run
Change of profile
dotnet run --launch-profile https
Watch
dotnet watch
Install Package
dotnet add package Microsoft.EntityFrameworkCore.SqlServer
dotnet add package Microsoft.EntityFrameworkCore.Design
dotnet add package Microsoft.VisualStudio.Web.CodeGeneration.Design
dotnet add package Auth0.AspNetCore.Authentication
Install Tool
dotnet tool install --global dotnet-ef
dotnet tool install -g dotnet-aspnet-codegenerator
Generate scaffolded database with entity Framework its Context DB, and also generate the file Data
dotnet ef dbcontext scaffold "Server=localhost, 1433;Database=SchoolManagementDb;Trusted_Connection=false;MultipleActiveResultSets=true;Encrypt=false;user id=sa;password=Password1234*" Microsoft.EntityFrameworkCore.SqlServer -o Data -f --no-onconfiguring
Generate controllers
dotnet aspnet-codegenerator controller -name CoursesController -m Course -dc SchoolManagementDbContext --relativeFolderPath Controllers --useDefaultLayout --referenceScriptLibraries -f
About
ASP.NET Core 7 MVC
Topics
asp-net-core
entity-framework-core
mvc-architecture
v7
Resources
Readme
Activity
Stars
2
stars
Watchers
1
watching
Forks
0
forks
Report repository
Releases
Packages
Contributors
Languages
Back
|
FazBrowse Home
|
New Git URL