Posts by this author

Apr 8, 2014
1
0

EF Code First Migrations Deployment to an Azure Cloud Service

To deploy a Code First database to an Azure Web Site, you can use the Execute Code First Migrations check box in the Publish Web wizard: When you select that check box, Visual Studio configures the destination web site so that Entity Framework automatically deploys the database or updates it by running the MigrateDatabaseToLatestVersion initial...

ASP.NET
Mar 3, 2014
0
0

Tutorial Series for Entity Framework 6 MVC 5 Published

We have published the final 3 tutorials in the series on the Entity Framework 6 Code First / MVC 5. At the same time, we updated the first 9 tutorials, adding new material and responding to customer suggestions.New Entity Framework 6 features covered in this series include: The 3 newly published tutorials are these: Th...

ASP.NET
Nov 1, 2013
0
0

Tutorial series updated for Entity Framework 6 Code First with MVC 5

We have updated our EF Code First / MVC tutorial series to use Visual Studio 2013, Entity Framework 6, and MVC 5. New Entity Framework 6 features covered in these tutorials include: The series includes the following tutorials: The old EF 5 / MVC 4 series is still available at a new URL: The o...

ASP.NET
Jul 16, 2013
0
0

Tracing in ASP.NET MVC Razor Views

System.Diagnostics.Trace can be a useful tool for logging and debugging, and sometimes it would be handy to be able to call one of the tracing methods from a Razor view. For example, when an MVC application runs in production, by default MVC catches most application exceptions for you and routes them to Views/Shared/Error.cshtml. That view doesn’...

ASP.NET
Apr 30, 2013
0
0

Seeking Feedback on Alternative Formats for ASP.NET MVC and Deployment Content Maps

The ASP.NET content maps are lists of resources that we have reviewed and recommend. The content maps have been popular in their present form, but we’re looking at ways to improve them, such as by publishing more lists but with a narrower focus to each one, by providing more information for each link, and by formatting them differently. Here ...

ASP.NET
Jan 25, 2013
0
0

ASP.NET MVC, Data Access, and Deployment Content Maps Published

We are pleased to announce the publication on the ASP.NET site of three guides to ASP.NET documentation resources: The content maps provide links to good quality up-to-date tutorials, articles, blogs, videos, and forum and StackOverflow threads. The guides exist on MSDN, but we’re publishing updated versions on the ASP.NET site no...

ASP.NET
Sep 13, 2012
0
0

How to use the EntityDataSource control with the DbContext API

The EntityDataSource control is designed to work with the ObjectContext API because that's all that existed when the control was created. The DbContext API was introduced later, in Entity Framework 4.1 alongside the Code First development workflow.  Since Code First and DbContext were introduced together you might be accustomed to associating the t...

ASP.NET