Browse by Tags

All Tags » ASP.NET (RSS)

EntityDataSource control for Entity Framework 6 Preview by Ken Cox [MVP]

It took a while but we now have a preview version of the EntityDataSource control for Entity Framework 6. This will really help those of us who want to move ASP.NET 3.5 sites to a later version of the framework without going back over those legacy (but...

Explained: EF 6 and “Could not determine storage version; a valid storage connection or a version hint is required.” by Ken Cox [MVP]

I have a legacy ASP.NET 3.5 web site that I’ve upgraded to a .NET 4 web application. At the same time, I upgraded to Entity Framework 6. Suddenly one of the pages returned the following error: [ArgumentException: Could not determine storage version; a...

Creating a SQL Azure Database Should be Easier by Ken Cox [MVP]

Every time I try to create a database + tables + data for Windows Azure SQL I get errors.  One of them is 'Filegroup reference and partitioning scheme' is not supported in this version of SQL Server.' It’s partly due to my poor memory (since I’ve...

Assemblies Go Missing in MVC 2 Project! by Ken Cox [MVP]

Sometimes, my MVC 2 project fails during development because an assembly has disappeared from the /bin folder. I have no idea what gremlin is messing with my project, but I wish it would stop! For quite a while, AntiXssLibrary.dll was the target. In the...

Deleting a Project From TFS.visualstudio.com by Ken Cox [MVP]

I really appreciate having the online Team Foundation Service ( http://tfs.visualstudio.com/ ) as free source control for my personal projects. It has saved my bacon more than once when I’ve needed to roll back my code to a known good point, regroup,...

Fix: The type 'System.Data.Objects.ObjectContext' is defined in an assembly that is not referenced. by Ken Cox [MVP]

I got this message in a class that inherits from  DbContext.  It made no sense, because System.Data.Entity was definitely referenced in my ASP.NET project. The fix was to select the reference in the properties page and change Copy Local to True...

Entity Framework Code First–Magic SQL Tool by Ken Cox [MVP]

Having written the plain old  classes (POCO) for my latest Web application, I wasn’t looking forward to creating the corresponding tables in SQL Server. I’m not a database guy really. Just a guy who needs to use databases.   Faced with a lot...

Fix: Orchard Error ‘The controller for path '/OrchardLocal/' was not found or does not implement IController. by Ken Cox [MVP]

Suddenly, in a local Orchard 1.6 project, I started getting this error in ShellRoute.cs: The controller for path '/OrchardLocal/' was not found or does not implement IController. Obviously I had changed something, but the error wasn’t helping much. ...

Free Team Foundation Service a Boon for Play Projects by Ken Cox [MVP]

My ‘jump in and sink or swim’ learning style leads me to create dozens of unbillable ‘play’ projects in Visual Studio 2012.  For example, I’m currently learning to customize the powerful auction/fixed price/classifieds software called AuctionWorx...

Tell Visual Studio 2012 UI Designers What to Fix by Ken Cox [MVP]

If you hate the default interface themes in Visual Studio 2012 as much as I do, you have another outlet to vent. The UI designers have posted a survey where you can tell them how distracting and annoying you find the gray themes and black icons. You even...
More Posts Next page »