Skip to content

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

Notifications You must be signed in to change notification settings

vivekkarnatiharness/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

Packages

No packages published

Languages

  • JavaScript 77.9%
  • HTML 15.5%
  • C# 6.5%
  • Other 0.1%