ASP.NET MVC5: Entity Framework Simple Code First Database Approach


There has been a lot of buzz about entity framework in tech world. The reason is simple entity framework is an overwhelming development communicator between our physical database engines and our code base. Entity framework in ASP.NET MVC5 platform offers following three approaches to connect with database i.e.

  1. Code First Approach.
  2. Model First Approach.
  3. Database First Approach.

Today, I shall be demonstrating a simple code first approach using entity framework in ASP.NET MVC5 platform.

Continue reading ASP.NET MVC5: Entity Framework Simple Code First Database Approach

ASP.NET MVC5: Integrating Existing Database with Logins using ADO.NET Database First Approach

Microsoft MVC paradigm claims to ease out a lot of basic web application processes such as local login work flow, user registration work flow, sign in work flow, using external logins such as facebook, twitter, linkedin etc. We all can already test that with the built-in templates for MVC type web application. But, when we talk about converting existing classic ASP.NET webform application to MVC entity framework paradigm, the first thing that comes to mind is that how will we going to integrate our existing database with new MVC paradigm? More importantly, how the basic login flow will be done even if database is successfully integrated? In such situations, code first approach is never favored rather database first approach is favorable, why? Because large enterprise applications have huge amount of investment towards data science that is generally done on database level rather than code level.

Continue reading ASP.NET MVC5: Integrating Existing Database with Logins using ADO.NET Database First Approach