Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

csharp

MVC non entity framework project (MVC)-> controller-> empty-> Product view-> add view-> razor view empty-> same name View->shared-> Product->Index.cshtml copy from home ->Index.cshtml last part and paste in product->Index.cshtml shared->_layout -> make nav app controller = Product action= Index

bootwatch -> bootstrap.css-> change name -> copy wwwroot-> lib->css-> paste change the name in _layout.cshtml

MVC entity framework Model ---- add --- new item ----- class ------ user ( write down the code) System.componentmodel.dataannotation Controller ---- add --- controller ----- mvc entity framework Go on tools nugpacket and type in console Add-migration innit Update-database Views ---- shared ----html ( copy paste the nav thingy) Program.cs (copy paste the last code ) Views--- layout.html (for any changes)

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages