Archives
-
Understanding Dependency Injection in ASP.Net MVC applications
In this post I am going to discuss Dependency Injection pattern, explain why we need it and how to use it in our modern web applications based on the ASP.Net MVC paradigm.
-
Returning IQueryable from Repository Pattern
In this post I am going to make the case why returning IQueryable from a Repository Pattern is an anti-pattern and why you should not do it.
-
Entity Framework and Repository Pattern
In this post I will try to explain why the Repository Pattern is not redundant when we use an ORM like Entity Framework in our application.
-
Explaining the Repository Pattern
In this post I will try to define the Repository Pattern, explain what it is and how we must use it in my own words and according to my experience as a software engineer.
-
Using ViewModels in ASP.Net MVC 5.0 applications
In this post I am going to create a hands on example, a sample ASP.Net MVC application where I will demonstrate the concept of ViewModels.
-
Using Jquery Ajax method in ASP.Net MVC
In this post I will use a simple ASP.Net 5.0 MVC application to implement a jQuery Ajax call to an ASP.Net MVC controller.
-
Looking into the Generic Repository Pattern, Entity Framework and ASP.Net MVC
When developing/architecting our custom ASP.Net MVC applications we do use the Repository Pattern/Generic Repository Pattern.
-
Building a simple ASP.NET MVC 6 application using Entity Framework 7 & ASP.NET 5 RC
In this post I will article shows you how to build a simple web application in ASP.NET MVC 6 & Entity Framework 7 using ASP.NET 5-ASP.Net Core.
-
Passing multiple models to a view using Tuples in an ASP.Net MVC 5.0 application
This is the second post in a series of posts regarding passing multiple models in a view.You can find the first one here
-
Passing multiple models to a view in an ASP.Net MVC 5.0 application
We do know that in any MVC application we cannot pass multiple models from a controller to a single view.
-
Handling concurrency in Code First ASP.Net 5.0 MVC applications
In this post I am going to provide you with a hands on example on how to handle concurrency in an EF Code First ASP.Net MVC 5.0 application. Basically I want to show you how to handle conflicts when multiple users update the same entity at the same time.
-
Caching an ASP.Net MVC 5.0 application
In this post I am going to provide you with a hands on example on using caching in an ASP.Net MVC 5.0 application using Visual Studio 2015 and C#.