Ask your technical questions on forums or here :
ASP.NET or MVC | C# | Windows Phone
Microsoft Technology Journals by Abhimanyu K Vatsa
HOME ABOUT RAZOR BOOK SPEAKING MVC ASP.NET JQUERY VIDEOS EBOOK ARCHIVE
Showing posts with label Entity Framework. Show all posts
Showing posts with label Entity Framework. Show all posts

6 Apr 2015

Open .NET Discussion in Jubli Park Jamshedpur on 05/04/2015 Executed

So this was another good time discussing about .NET with developers down the tree in Jubli Park, Jamshedpur.

7 Dec 2013

Logging Database Operations in Entity Framework 6 - EF6 New Feature

In this blog post you will learn a new feature ‘Logging Database Operations’ introduced with Entity Framework 6. This features works for models created with Code First or the EF Designer.

24 Nov 2013

Customizing User's Profile to add new fields in brand new database table

In this post you will learn how to customize User’s Profile and add new fields/properties/columns (FirstName, LastName and EmailID) in a brand new table with ASP.NET Identity System.

19 Nov 2013

ASP.NET Identity System in Visual Studio 2013 - New Feature

In this post you will learn about a very new enhancement in ASP.NET Framework technologies (MVC, Web Forms, Web Pages, Web API and SignalR) known as ‘ASP.NET Identity System’ with the release of Visual Studio 2013. This enhancement well defines the meaning of ‘One ASP.NET’, because this can be used with all ASP.NET Framework technologies more easily than before.

25 Oct 2013

Custom Code First Conventions - EF 6 New Feature

In this blog post you will learn a new feature ‘Custom Code First Conventions’ introduced with Entity Framework 6. This is 'Code First' only improvement. EF 6 comes with number of cool new features and improvements, so I decided to write blog posts and cover some of the new features.

20 Oct 2013

Entity Framework 6: New Features

In this blog post you will see the list of cool things available with Entity Framework 6. Entity Framework is Microsoft's recommended data access technology for new applications. EF team recently announced the release of EF6 and it is now available for download on NuGet. EF6 comes with number of features and performance improvements, I have listed some of them below and I will cover most of the cool things of EF6 in coming blog posts.

22 Sep 2013

Scaffold your ASP.NET MVC project with the MvcScaffolding package: Video

In this video you will learn how to scaffold the CRUD/Controller/DbContext using MvcScaffolding package developed by Scott Hanselman and Steve Sanderson.

17 Jun 2013

What is Eager Loading and what is Lazy Loading and what is N+1 Problem in Entity Framework

In this post you will learn what Eager Loading is and what Lazy Loading is and how this works in the application, and how you can take its advantages.

27 May 2013

I Am Now The Published Author of Instant Razor View Engine How-To

I am happy to announce the release of my book ‘Instant Razor View Engine How-To’, published by PACKT; and now available at Amazon for purchase.

Click on the image to enlarge.



Like us on Facebook here: https://www.facebook.com/RazorViewEngine

31 Oct 2012

Example on View to Controller (HttpPost) & warn on duplicate entry & delete duplicates in MVC

This is a quick response post to the blog reader ‘V Patel’ who asked this question yesterday. Here is the question:

28 Oct 2012

Filter Records in MVC

In this quick post you will learn various ways to filter records in MVC. Before starting let’s have a quick look at a controller and view page that I will use in this article. I will be using the SQL Server Northwind sample database in this article, you can download it from the Microsoft website and set up the same project to explore it.

23 Oct 2012

Html Helper for Image (@Html.Image): Developing Extension in MVC

Today I worked on a project where I required to display image on the web page. As you know there is not a Html Helper for Images yet. Look at the screen, we can’t see an image here.

17 Oct 2012

What happens when database doesn't match conventions / using OnModelCreating() feature?

This is just basic article and I’m not going to say anything new here but I will say things in my way. The very well-known question newbies ask about MVC and Entity Framework is, how does a conceptual database model target the names?

16 Oct 2012

MVC Bind Attribute like [Bind(Exclude = "Name")] or [Bind(Include = "Address, Payment, EmailID")]

When we have an ASP.NET MVC View that accepts user input and posts those inputs to a server we have the option to use the built-in Model-binding features to provide more control and security, we can restrict the properties that are allowed to be bound automatically.

The name 'Scripts' does not exist in the current context

There is a very small bug in the MVC 4 Empty Template that can be seen when you create a new MVC 4 Application with an "Empty" template and start adding views for CRUD operations (using scaffolding). And when you run the application and try to navigate (to http://localhost:port/controller/Create or http://localhost:port/controller/Edit) in "Edit.cshtml" and "Create.cshtml" views, you get the following error:

8 Oct 2012

Entity Framework Console Applications with SQL Server Compact

Microsoft SQL Server Compact Edition is an embedded database system that allows us to integrate it in our Web, Desktop and Mobile applications.

Entity Framework's Database Seed Method

The Entity Framework can automatically create/update/drop databases when the application runs. We can specify that, this should be done every time application runs or only when the model is out of sync with the existing database or in other word it runs whenever model changes. You spent time to insert records in database and when you made any changes in model, Entity Framework deletes your database as well as records.

5 Oct 2012

Mapping Table-Valued Functions (TVFs) using Entity Framework Database First

Entity Framework 5 brings number of improvements and Mapping Table-Valued Functions (TVFs) Support is one of them.

Spatial Data Type Support in Entity Framework 5

Entity Framework 5 brings number of improvements and Spatial Data Type Support is one of them.

28 Sep 2012

Playing with Entity Framework's Code First Database Migration

In this video you will learn how to use Entity Framework's Code First Database Migration. I'll create simple console application and will add 'Student' model and then a DbContext in the project.