Skip to content
This repository has been archived by the owner on Jul 29, 2023. It is now read-only.

muratbaseren/nuget-codefirst-sampler

Repository files navigation

Code First Sampler

Build server Platform Status
AppVeyor Windows Build status

This project includes sample controllers, models, views for asp.net mvc codefirst project. Also it will generate sample data for database. This project is applied SampleCodeFirstCodes from nuget.org.

Firstly, you should create Empty Aspnet MVC Project and install package from Nuget on Visual Studio.

Package includes;

  1. Models of Customer, Category and Product.
  2. Controllers of Customer, Category and Product.
  3. Views of Customer, Category and Product.
  4. Also DatabaseContext and Initializer that has generate sample data when database created.

Views are modified. They have bootstrap 4 icons for create, edit, delete. Page links are added to layout menu and have modal.

Nuget

You can use Nuget Package Manager. Write the below code to package manager console after created project on visual studio.

Install-Package SampleCodeFirstCodes

ScreenShots

Home page : Migration tricks

Index page

Modal Details into Index Page

Create Page

Edit Page

Details Page

Delete Page

About

This project includes sample controllers, models, views for asp.net mvc codefirst project. Also it will generate sample data for database.

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published