Items By Type: Tutorial

Entity Framework 6 Recipe - Alphabetical Paging In ASP.NET MVC

Wednesday, October 29, 2014 8:53 PM

ASP.NET MVC Entity Framework

This article looks at using the alphabet for paging data in MVC 5 with Entity Framework 6. Where it differs from most existing articles on alphabetical paging is that this article looks at generating paging links from the data instead of the alphabet. It also features a Bootstrap-friendly helper for generating the paging links.

Click to read more about Entity Framework 6 Recipe - Alphabetical Paging In ASP.NET MVC ...

Viewed 4534 times

9 Comments for this item

Entity Framework 6 Recipe - Hierarchical Data Management

Friday, October 24, 2014 10:20 PM

ASP.NET MVC Entity Framework

This article explores how to use Entity Framework 6 to manage the retrieval and display of hierarchical data such as you might find in a menu system. There are a number of existing items on the Internet that cover the same topic, but most of them seem unnecessarily complex and don't include any information about displaying the data once it has been retrieved.

Click to read more about Entity Framework 6 Recipe - Hierarchical Data Management ...

Viewed 2987 times

2 Comments for this item

Scheduled Tasks In ASP.NET With Quartz.Net

Thursday, August 7, 2014 8:34 AM

General ASP.NET MVC ASP.NET Web Forms ASP.NET Web Pages

A perennial question on the ASP.NET forums concerns how to schedule regular tasks as part of a web application. Typically, the requirement is to send emails once every 24 hours at a particular time each day, but it could actually be anything from tweeting on a schedule to performing maintenance tasks. Equally typically, half a dozen members on the forum dive in with recommendations to install Windows Services or schedule batch files with the Task Scheduler - regardless of the fact that most web site owners are not afforded such privileges as part of their shared hosting plan.

Click to read more about Scheduled Tasks In ASP.NET With Quartz.Net ...

Viewed 21093 times

17 Comments for this item

Using ASP.NET Identity with Razor Web Pages

Friday, July 4, 2014 7:27 AM

ASP.NET Web Pages WebMatrix Razor

ASP.NET Identity is the new membership system for ASP.NET applications and is the recommended system for new MVC 5 and Web Forms projects. Among other things, it moves membership away from being dependent on System.Web, which is the general direction that the next version of ASP.NET is taking. News on how the Web Pages framework will be impacted by this evolution in ASP.NET is scarce at the moment, and so is information on how to incorporate ASP.NET Identity into a Razor Web Pages site. This article demonstrates the steps required to make use of the ASP.NET Identity framework in your Web Pages application.

Click to read more about Using ASP.NET Identity with Razor Web Pages ...

Viewed 27410 times

9 Comments for this item

MVC 5 with EF 6 in Visual Basic - Advanced Entity Framework Scenarios

Friday, June 13, 2014 1:42 PM

VB.Net ASP.NET MVC Entity Framework

This tutorial is the last in a series of 12 that teach you how to build MVC 5 applications using Entity Framework for data access and Visual Basic. This final tutorial  introduces several topics that are useful to be aware of when you go beyond the basics of developing ASP.NET web applications that use Entity Framework Code First. Step-by-step instructions walk you through the code and using Visual Studio Express For Web for the following topics:

Click to read more about MVC 5 with EF 6 in Visual Basic - Advanced Entity Framework Scenarios ...

Viewed 12613 times

1 Comment for this item

MVC 5 with EF 6 in Visual Basic - Implementing Inheritance

Friday, June 13, 2014 1:42 PM

VB.Net ASP.NET MVC Entity Framework

This tutorial is the eleventh in a series of 12 that teach you how to build MVC 5 applications using Entity Framework for data access and Visual Basic. In the previous tutorial you handled concurrency exceptions. This tutorial will show you how to implement inheritance in the data model.

Click to read more about MVC 5 with EF 6 in Visual Basic - Implementing Inheritance ...

Viewed 4101 times

2 Comments for this item

MVC 5 with EF 6 in Visual Basic - Handling Concurrency

Friday, June 13, 2014 1:41 PM

VB.Net ASP.NET MVC Entity Framework

This tutorial is the tenth in a series of 12 that teach you how to build MVC 5 applications using Entity Framework for data access and Visual Basic. In earlier tutorials you learned how to update data. This tutorial shows how to handle conflicts when multiple users update the same entity at the same time. You'll change the web pages that work with the Department entity so that they handle concurrency errors.

Click to read more about MVC 5 with EF 6 in Visual Basic - Handling Concurrency ...

Viewed 5268 times

0 Comments for this item

MVC 5 with EF 6 in Visual Basic - Async and Stored Procedures with the Entity Framework

Friday, June 13, 2014 1:40 PM

VB.Net ASP.NET MVC Entity Framework

This tutorial is the ninth in a series of 12 that teach you how to build MVC 5 applications using Entity Framework for data access and Visual Basic. In earlier tutorials you learned how to read and update data using the synchronous programming model. In this tutorial you see how to implement the asynchronous programming model. Asynchronous code can help an application perform better because it makes better use of server resources.

Click to read more about MVC 5 with EF 6 in Visual Basic - Async and Stored Procedures with the Entity Framework ...

Viewed 6032 times

2 Comments for this item

MVC 5 with EF 6 in Visual Basic - Updating Related Data

Friday, June 13, 2014 1:39 PM

VB.Net ASP.NET MVC Entity Framework

This tutorial is the eighth in a series of 12 that teach you how to build MVC 5 applications using Entity Framework for data access and Visual Basic. In the previous tutorial you displayed related data; in this tutorial you'll update related data. For most relationships, this can be done by updating either foreign key fields or navigation properties. For many-to-many relationships, the Entity Framework doesn't expose the join table directly, so you add and remove entities to and from the appropriate navigation properties.

Click to read more about MVC 5 with EF 6 in Visual Basic - Updating Related Data ...

Viewed 4362 times

0 Comments for this item

MVC 5 with EF 6 in Visual Basic - Reading Related Data

Friday, June 13, 2014 1:39 PM

VB.Net ASP.NET MVC Entity Framework

This tutorial is the seventh in a series of 12 that teach you how to build MVC 5 applications using Entity Framework for data access and Visual Basic. In the previous tutorial you completed the School data model. In this tutorial you'll read and display related data — that is, data that the Entity Framework loads into navigation properties.

Click to read more about MVC 5 with EF 6 in Visual Basic - Reading Related Data ...

Viewed 3920 times

0 Comments for this item

MVC 5 with EF 6 in Visual Basic - Creating a More Complex Data Model

Friday, June 13, 2014 1:38 PM

VB.Net ASP.NET MVC Entity Framework

This tutorial is the sixth in a series of 12 that teach you how to build MVC 5 applications using Entity Framework for data access and Visual Basic. In the previous tutorials you worked with a simple data model that was composed of three entities. In this tutorial you'll add more entities and relationships, and you'll customize the data model by specifying formatting, validation, and database mapping rules. You'll see two ways to customize the data model:  by adding attributes to entity classes and by adding code to the database context class.

Click to read more about MVC 5 with EF 6 in Visual Basic - Creating a More Complex Data Model ...

Viewed 6965 times

2 Comments for this item

MVC 5 with EF 6 in Visual Basic - Code First Migrations and Deployment

Friday, June 13, 2014 1:37 PM

VB.Net ASP.NET MVC Entity Framework

This tutorial is the fifth in a series of 12 that teach you how to build MVC 5 applications using Entity Framework for data access and Visual Basic. This tutorial covers how to enable Code First Migrations and then deploy your database to Windows Azure. The Migrations feature enables you to change the data model and deploy your changes to production by updating the database schema without having to drop and re-create the database. The section covering deployment to Azure is optional; you can continue with the remaining tutorials without having deployed the project.

Click to read more about MVC 5 with EF 6 in Visual Basic - Code First Migrations and Deployment ...

Viewed 4210 times

0 Comments for this item

MVC 5 with EF 6 in Visual Basic - Connection Resiliency and Command Interception

Friday, June 13, 2014 1:36 PM

VB.Net ASP.NET MVC Entity Framework

This tutorial is the fourth in a series of 12 which teach you how to build MVC 5 applications using Entity Framework for data access and Visual Basic. This tutorial covers how to use two features of Entity Framework 6 that are especially valuable when you are deploying to the cloud environment: connection resiliency (automatic retries for transient errors) and command interception (catch all SQL queries sent to the database in order to log or change them).

Click to read more about MVC 5 with EF 6 in Visual Basic - Connection Resiliency and Command Interception ...

Viewed 3457 times

0 Comments for this item

MVC 5 with EF 6 in Visual Basic - Sorting, Filtering and Paging

Friday, June 13, 2014 1:35 PM

VB.Net ASP.NET MVC Entity Framework

This tutorial is the third in a series of 12 which teach you how to build MVC 5 applications using Entity Framework for data access and Visual Basic. This tutorial explores how to add sorting, filtering and paging to MVC 5 Views using the Entity Framework. You will also look at implementing simple Grouping.

Click to read more about MVC 5 with EF 6 in Visual Basic - Sorting, Filtering and Paging ...

Viewed 6621 times

3 Comments for this item

MVC 5 with EF 6 in Visual Basic - Implementing Basic CRUD Functionality

Friday, June 13, 2014 1:34 PM

VB.Net ASP.NET MVC Entity Framework

This tutorial is the second in a series of 12 which teach you how to build MVC 5 applications using Entity Framework for data access and Visual Basic. Here, we look at implementing basic CRUD (Create, Read, Update and Delete) using the scaffolding that ASP.NET MVC provides, as well as customising the resulting code.

Click to read more about MVC 5 with EF 6 in Visual Basic - Implementing Basic CRUD Functionality ...

Viewed 5182 times

1 Comment for this item

Recent Comments

Bino 11/27/2014 7:05 PM
In response to MVC 5 with EF 6 in Visual Basic - Async and Stored Procedures with the Entity Framework
Copy +...

Manas 11/27/2014 5:30 AM
In response to Scheduled Tasks In ASP.NET With Quartz.Net
Hi Mike, Thank you for awesome article. My concern is it might impact website if we use or is...

priya 11/26/2014 6:50 PM
In response to Create PDFs in ASP.NET - getting started with iTextSharp
very nice.....its save my time...

ransems 11/24/2014 12:29 AM
In response to Adding A Controller
Love the article. I dislike that the world thinks c# articles are the way to go. Love the VB, keep...

Gautam 11/20/2014 8:01 AM
In response to I'm Writing A Book On WebMatrix
Hello Mike, I read your book, loved it! However, I have a few request/suggestions: 1) an example...

Bret Dev 11/19/2014 8:39 PM
In response to The Difference Between @Helpers and @Functions In WebMatrix
Excellent post! One concern - where can you place global @Functions code within an MVC project to Is...

Rob Farquharson 11/19/2014 4:28 PM
In response to iTextSharp - Links and Bookmarks
How can I place text at an absolute position on the page? Also, how can I rotate text?...

Andy 11/17/2014 8:08 PM
In response to MVC 5 with EF 6 in Visual Basic - Sorting, Filtering and Paging
Hello I'm testing your sorting instructions above. This is great and I was able to get it to work...

Gautam 11/17/2014 5:51 PM
In response to WebMatrix - Database Helpers for IN Clauses
Hi Mike, I am very new to programming: In the above example if I want to use a delete button the...

donramon 11/17/2014 3:22 PM
In response to Entity Framework 6 Recipe - Alphabetical Paging In ASP.NET MVC
Congratulations on your new website look and the excellent articles. Thank you!...