Custom Login Using Entity Framework in asp.net MVC using Razor
Step 1: First Create new Project in Visual studio. Step 2: create new asp.net web application Step 3: Create new MVC Empty Project Step 4: First We will write connection string into web.config. In this example I have created a database named MVCEx and a table Login...
Controllers Programming in AngularJS with example
Controllers Programming in AngularJS What is MVC ARCHITECTURE? Model : Logic that deals with storing or retrieving data is part of the model. View : Logic that deals with formatting the data to display to the user is part of the view. Controller The controller sits...
ViewModel Example in asp.net MVC using Razor C#
View Model: View Model is middle layer of view and model. Some Question are emerge which are following Where I should put my presentation logic Where I should put my Data transmission logic How I can create a view with multiple models. Practical Implementation: Step...
Inheritance in Entity framework with example
Inheritance in EF Inheritance in entity framework ,it is a way to create relationships between database tables.For example primary key and foreign key relationship. Types of Inheritance TPH(Table per Hierarchy) TPC(Table per concrete) TPT(Table per Type) 1. TPH: It...