Contents tagged with ASP.NET
-
Repository Pattern with Entity Framework Core is obsolete
-
Display Data using a Stored Procedure in an ASP.Net MVC 5.0 application with Entity Framework 6.0
In this post I will be looking into EF 6.0 using the Code First Workflow and its support for stored procedures and more particularly how to display data using a stored procedure. I have posted something similar in this post https://weblogs.asp.net/dotnetstories/using-stored-procedures-in-an-asp-net-mvc-5-0-application-using-entity-framework-6-0 but this post described in detail how to insert, update and delete data in an ASP.Net MVC 6.0 application using stored procedures but not how to display data using a stored procedure.
-
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.
-
Entity Framework Performance optimization patterns-part II
This is the second post in a series of posts where I talk about good coding practices when it comes to using Entity Framework as our data access layer when building our applications.
-
Entity Framework Performance optimization patterns
In this post I am going to provide you with a hands-on example on how to avoid writing your LINQ to Entities queries in a way that will hinder performance of your application. The aim of this post (hopefully a series of posts on performance and Entity Framework) is to highlight bad coding practices when architecting an applications that uses EF as the ORM to fetch and manipulate data from the data store. I am going to point out some practises and patterns that very often developers use and cause EF to create poor-performing T-SQL statements.
-
Localizing an ASP.Net MVC 4.0 application
In this post I will demonstrate with a hands on demo how to localise your ASP.Net MVC applications.
-
Using the Repository Pattern in an ASP.Net MVC 4.0 application
In this post I will demonstrate with a hands-on demo the importance of using patterns in an ASP.Net MVC application. I will use the Repository Pattern to create an additional abstract layer between my domain classes and the data layer.
-
Looking into Fluent API in an ASP.Net MVC 4.0 Code First application
In this post I will demonstrate with a hands-on example how to use the Fluent API to map POCO classes (set configurations) to SQL Server tables without using the set of conventions Entity Framework Code First expects.