Browse by Tags

All Tags » .NET 4.0 (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...

Visual Studio 2012 Downloads Start August 15th by Ken Cox [MVP]

I see from Jason Zander’s blog that MSDN subscribers can download Visual Studio 2012 starting August 15th. We’ll be officially in the Metro UI design era that bans gradients, rounded corners, shadows, and anything that looks rich or has texture. At the...

Fix: IIS and This page contains both secure and nonsecure items by Ken Cox [MVP]

After moving a production site to use HTTPS exclusively (using the excellent IIS URL rewrite module), Internet Explorer 9 drove me nuts with the “Security Information” warning: “This page contains both secure and nonsecure items. Do you want to display...

Fix: 'Unable to load one or more of the requested types' Errors by Ken Cox [MVP]

A long time ago, I reported on an intermittent ‘Could not load file or assembly‘ bug where ASP.NET 4 was encountering a bizarre error on start-up in System.Reflection.RuntimeModule.GetTypes(RuntimeModule module). I neglected to post a follow-up here....

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

Fix: ASP.NET 4 Page on IIS 7 Misbehaves When Browser URL Doesn’t Include Default Page by Ken Cox [MVP]

After deploying an ASP.NET 4 application to the production server, data submitted in a form on the default page went nowhere. I discovered that the page worked normally if I included the name of the default document as in http://mydomain.com/default.aspx...

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

Help A Hacker: Give ‘Em The Windows Source Code by Ken Cox [MVP]

The announcement of another Windows megapatch reminded me of a WikiLeaks story about Microsoft Windows that hasn’t attracted much attention. Alarmingly, we learn that the hackers have the Windows source code to study and test for vulnerabilities. Chinese...
More Posts Next page »