Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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();`