Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sk-azraf-sami/asp.net-mvc-vs-me
It provides a simple guide for setting up ASP.NET MVC projects, including steps to initialize, add required packages, and run the application. It also includes additional instructions for installing packages and making necessary configurations, with visual aids for better understanding.
https://github.com/sk-azraf-sami/asp.net-mvc-vs-me
asp-net asp-net-mvc visual-studio
Last synced: about 1 month ago
JSON representation
It provides a simple guide for setting up ASP.NET MVC projects, including steps to initialize, add required packages, and run the application. It also includes additional instructions for installing packages and making necessary configurations, with visual aids for better understanding.
- Host: GitHub
- URL: https://github.com/sk-azraf-sami/asp.net-mvc-vs-me
- Owner: Sk-Azraf-Sami
- Created: 2023-04-06T18:59:41.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-24T20:19:02.000Z (10 months ago)
- Last Synced: 2024-04-18T11:23:48.880Z (8 months ago)
- Topics: asp-net, asp-net-mvc, visual-studio
- Homepage:
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ASP.net-MVC VS Me
step 1: $`dotnet new mvc`
step 2: $`dotnet add package Microsoft.EntityFrameworkCore.SqlServer`
step 3: $`dotnet add package Microsoft.EntityFrameworkCore.Tools --version 2.1.1`
step 4: $`dotnet restore`
step 5: $`dotnet run`
```cs
```
``Source: [YouTube](https://youtu.be/yH0-LGKvVpc)
install some packages:
![img1](https://user-images.githubusercontent.com/106574604/231245634-05c5232b-49b4-4c90-b76f-80b1cec4f089.png)
![img2](https://user-images.githubusercontent.com/106574604/231246126-8f4c374d-3939-406f-9253-2c4d8904879c.png)install package `"Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation->Version=6.0.16"` by `"nuget package install gui".`
You will be notice a change in `"[project_name].cproj"` like this " `"`
You will also add this line `builder.Services.AddRazorPages().AddRazorRuntimeCompilation();` in `Program.cs` file after this line `builder.Services.AddControllersWithViews();`