4 items found in the Visual Studio Category

Code First Migrations With ASP.NET Web Pages Sites

Wednesday, August 28, 2013 8:14 PM

Visual Studio Entity Framework ASP.NET Web Pages WebMatrix

Entity Framework Code First Migrations enable changes to your model to be propagated to your database through code. Prior to the introduction of migrations, changes to the model resulted in the database being recreated from scratch with attendant loss of data. During development, this may not cause too many problems, but once the database has been deployed into production, it's another story. Migrations solve the problem in that changes are applied to the database schema without loss of data.

Click to read more about Code First Migrations With ASP.NET Web Pages Sites ...

Viewed 47469 times

5 Comments for this item

WebMatrix Opens Wrong Version Of Visual Studio

Sunday, May 1, 2011 8:56 AM

Visual Studio WebMatrix

A number of people have complained that clicking the Visual Studio Launch button in WebMatrix opens an older version of Visual Studio instead of the latest version. There is an easy fix to this.

Click to read more about WebMatrix Opens Wrong Version Of Visual Studio ...

Viewed 14528 times

7 Comments for this item

Using gacutil.exe and Reflection to generate the Exceptions Cheat Sheet

Wednesday, February 10, 2010 7:28 AM

C# Visual Studio General ASP.NET 3.5

The most recent addition to my Cheat Sheets features details of all the Exceptions that can be found in the most commonly used assemblies within ASP.NET development. Compiling this information was an interesting challenge. I could have simply copy-pasted from MSDN, but that would have been extremely tedious. Instead, I ended up with a blend of Linq to XML, Reflection, a dash of Regex and the Global Assembly Cache Tool - gacutil.exe. Here's the full story.

Click to read more about Using gacutil.exe and Reflection to generate the Exceptions Cheat Sheet ...

Viewed 7623 times

3 Comments for this item

Debugging Classic ASP pages in Visual Studio 2005 on Windows XP Pro

Friday, August 17, 2007 10:28 AM

Classic ASP Visual Studio

As an ardent Dreamweaver user for classic ASP, I used to debug my scripts with a plethora of Response.Write and Response.End statements, outputting the values of various values to the browser to check that logic was working as intended. However, I recently discovered how to use the VS 2005 debugger to make debugging classic ASP (almost) a joy.

Click to read more about Debugging Classic ASP pages in Visual Studio 2005 on Windows XP Pro ...

Viewed 17620 times

2 Comments for this item