Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/rd003/dotnetcoremvccrud

DotNet Core MVC (8.0) CRUD with EF Core
https://github.com/rd003/dotnetcoremvccrud

aspnetcoremvc csharp dotnet8 dotnetcoremvc entity-framework-core

Last synced: about 1 month ago
JSON representation

DotNet Core MVC (8.0) CRUD with EF Core

Awesome Lists containing this project

README

        

# DotNetCoreMvcCrud

CRUD app with .net core mvc

## Tech stack

- .Net Core MVC (.net 8.0)
- Microsoft Sql Server
- Entity Framework Core

## How to run this Project?

- Open command prompt. Go to a directory where you want to clone this project. Use this command to clone the project.

`git clone https://github.com/rd003/DotNetCoreMvcCrud`

- Go to the directory where you have cloned this project, open the directory `BookShoppingCart-Mvc`. You will find a file with name `BookShoppingCartMvc.sln`. Double click on this file and this project will be opened in Visual Studio.

- Open `appsettings.json` file and update connection string

```
"ConnectionStrings": {
"conn": "data source=your_server_name;initial catalog=MovieStoreMvc; integrated security=true;encrypt=false"
}
```

- Delete Migrations folder

- Open `Tools > Package Manager > Package manager console`.

Run these 2 commands

```
(i) add-migration init
(ii) update-database
```

- Now you can run this project

Thank's for ⭐ 😅