Browse by Tags

All Tags » Visual Studio 2010 (RSS)

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...

We Need a Capped Plan for MSDN Azure Benefits by Ken Cox [MVP]

Like many developers, I’d like to play more with Windows Azure.  Microsoft recently improved the MSDN Azure benefits – extending them to MSDN Professional subscribers. The trouble is, the onus is on the subscriber to avoid hefty charges caused by...

Extracting the Date from a DateTime in Entity Framework 4 and LINQ by Ken Cox [MVP]

In my current ASP.NET 4 project, I’m displaying dates in a GridDateTimeColumn of Telerik’s ASP.NET Radgrid control. I don’t care about the time stuff, so my DataFormatString shows only the date bits: <telerik:GridDateTimeColumn FilterControlWidth=...

Fix: CSS Problems in IE 8 With Over 31 StyleSheets by Ken Cox [MVP]

In my latest Web application, I went crazy trying to find out why a popup/overlay window style was acting up in IE 8 but was fine in the latest version of FireFox. After too many hours of frustration and dead ends, I took the issue to my friends at Telerik...

Entity Framework Code-First to Provide Replacement for ASP.NET Profile Provider by Ken Cox [MVP]

A while back, I coordinated a project to add support for the SQL Table Profile Provider in ASP.NET 4 Web Applications.  We urged Microsoft to improve ASP.NET’s built-in Profile support so our workaround wouldn’t be necessary. Instead, Microsoft plans...

Using the SQL Table Profile Provider in ASP.NET 4 Web Applications (C# & VB) by Ken Cox [MVP]

This post and accompanying projects demonstrate how to use Microsoft's SQL Table Profile Provider with an ASP.NET Web application. ASP.NET's built-in Profile provider (SqlProfileProvider) stores Profile data in an oddball, serialized format that’s hard...

Stupid web.config mistake: Sections must only appear once per config file by Ken Cox [MVP]

Today’s stupid mistake comes to you via the web.config file in an ASP.NET 4 Web application project. At runtime, when navigating to default.aspx, ASP.NET choked with this error message: Parser Error Message: Sections must only appear once per config file...

‘Schema specified is not valid’ error on Upgrading to ASP.NET 4 by Ken Cox [MVP]

To take advantage of improvements in ASP.NET 4 and Entity Framework 4, I decided to upgrade my ASP.NET 3.5 site to 4.0. Most everything went smoothly except for the following error: Schema specified is not valid. Errors: error 0194: All artifacts loaded...

Using a Stored Procedure in Entity Framework 4 by Ken Cox [MVP]

In my latest contract, the DBA has opted to use SQL Server stored procedures for all data access. Preventing direct table access may ensure maximum security and performance - but it sure reduces the fun for the front-end guy (me). I’d been doing my screen...

Publishers Prepare for Year End .NET 4.0 Release by Ken Cox [MVP]

While Microsoft is coy about product release plans (“When it’s ready” is a common evasive answer to the question), book publishers frequently reveal their (and Microsoft’s) plans online. If you’re curious about when software like .NET 4.0 and Visual Studio...
More Posts