ASP.NET News from Blogger:
WebLog of Ken Cox [MVP]
Total News: 202
Heres an issue that cost me several hours and I suspect that theres something in Visual Studio 2010 and the size of my solution thats to blame. I was quite happily working in the MsmqToWcf example ...
I see by the Visual Studio Blog that Microsoft has backed out the worst of the darkness in the default Visual Studio 11 interface. Many of the ALL CAPS headings are gone and theyve even added some col...
A few weeks ago, fellow ASPInsider Steve Smith of NimblePros passed a client to me. Its a part-time tweaks and maintenance gig for a small startup. I was quite happy to take this on. Im mostly retired...
Despite great strides in ASP.NET Design View, CSS float remains problematic for Visual Studio. A simple two column CSS float can be unintelligible at design time. You often have to scroll way to the r...
I cant wait for a third-party to come out with tools to return some colour to the flat, monochrome look of Visual Studio 11 (beta). What bugs me most are the icons. I feel like a newbie when I have ...
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(RuntimeModul...
In my previous post about the new, free Telerik JustDecompile beta, I made fun of the license terms that specifically forbade you from decompiling their decompiler. As you might expect, this was a cop...
Telerik has released a beta version of its new always free .NET decompiler, JustDecompile. These guys really know their marketing and community support. (Redgate recently disappointed the community by...
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 d...
In my current ASP.NET 4 project, Im displaying dates in a GridDateTimeColumn of Teleriks ASP.NET Radgrid control. I dont care about the time stuff, so my DataFormatString shows only the date bits:
<...
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 frustra...
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.NETs built-in Profile support so our work...
The announcement of another Windows megapatch reminded me of a WikiLeaks story about Microsoft Windows that hasnt attracted much attention.
Alarmingly, we learn that the hackers have the Windows sourc...
This message appeared today after posting a new build to our ASP.NET 4 web app: The version of SQL Server in use does not support datatype 'datetime2'. The DBA doesnt use datetime2 because its new in ...
I guess we all like it when others validate our opinions. I was part of Visual Studio Magazines Editors Choice panel this year. My choice for Top Component Vendor was Telerik and I added this: Telerik...
This one had me going for a while until I found the tip in Julie Lermans essential book, Programming Entity Framework, 2nd Edition . In my ASP.NET 4 project, I create an Entity SQL query to look...
From the reviews - and my experience developing a tiny app on the emulator - Windows Phone 7 is looking good as another .NET platform. Unfortunately, the touted WP7 interface exacerbates simulation (m...
Hey folks, Im proud to say Im still a Microsoft Most Valuable Professional! Ive now been an ASP/ASP.NET MVP for 13 years straight. I just got the notification: Dear Ken Cox, Congratulations! We ...
Hey folks, the permanent fix has been released for the ASP.NET vulnerability. Download and install your copy now before the bad guys mess with your Web server and its sites! http://support.microsoft.c...
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 Profi...
Todays 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 Me...
Have hundreds of ASP.NET developers been wasting dozens of hours each on something that cant be made to work in ASP.NET? This is too weird! Ive scoured the Web in vain looking for an example where som...
I couldnt figure out why the LinkButtons in my former ASP.NET 3.5 site suddenly wouldnt look disabled even though I was setting lnkbtn.Enabled = False The quick fix was to check the web.config ...
Im fed up with the random errors Im getting on my ASP.NET 4, Entity Framework 4 web application lately. It seems to stem from something that System.Data.Metadata.Edm is doing with a call to System.Ref...
Entity Framework is wonderful for non-SQL developers like me. I can implement data access code in VB-like object syntax or with dragndrop datasource controls and then let EF turn it into T-SQL. For th...
Since I upgraded my file-based web site from ASP.NET 3.5 to 4.0 (including Entity Framework 4), Ive been getting the following error message far too often: Unable to load one or more of the requested ...
There are a lot of people in business who are wizards with tools like Excel, even though their primary job isnt software development. Sometimes their apps become essential to the business process. Lig...
Writers and authors are regularly asked to write and submit a bio to accompany their work. Although written in the third person, these blurbs frequently reveal what the individuals think of them...
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 i...
Want to have a say in what goes into the ASP.NET bits of service pack 1 for VS 2010? Well, spend a few minutes filling out the online survey posted by the ASP.NET team: http://www.surveymonkey.com/s/M...
Heres todays dumb mistake: A value that was supposedly updated by a routine on one page, wasnt changing on another ASP.NET screen. I carefully traced the progress of the update and everything looked r...
I wanted to expose some raw data to users in my current ASP.NET 3.5 web site project. I created a subdirectory called datafeeds and added a WCF Data Service. I wired the dataservice up to the Entity F...
In my latest ASP.NET project, I refresh the sample data using an Excel spreadsheet from the client. After upgrading to Windows Server 2008 R2, I suddenly discovered this error: The 'Microsoft.Jet.OLED...
I previously wrote about playing with EF 4s PluralizationService class . Now that OrcsWeb is running ASP.NET 4, you can play with my little pluralization page and its WCF service online. The source co...
A purchaser of my book writes: I would like a drop down list to display the text: "-Select-" initially instead of the first value of the data it is bound to. Here you go <%@ Page L...
Whats your speculation on the big announcements to come from MIX10 ? A date for VS 2010 availability on MSDN? A release candidate for Silverlight 4 on the desktop? An SDK for Silverlight on Windows Mo...
Since the launch of Windows Azure, Ive been using my complimentary Microsoft MVP MSDN Premium subscription to play with Azure and enter some deployment contests. Unfortunately, I left up those trivial...
I think you'll find the performance of the Visual Studio 2010 and .NET Framework 4 Release Candidate to be vastly improved over Beta 2. Microsoft showed wisdom and courage when it chose to delay the r...
We heard a while back about the delay in the Visual Studio 2010 launch. I dont recall seeing a formal announcement of the rescheduled date. DevConnections is billing its April 12-14 2010 event as the ...
Our friends at Telligent have made the ASP.NET 3.5 source code for their Graffiti CMS (content management system) available on CodePlex . This open source project is a huge gift to the community. Wow!...
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 f...
Microsoft Canadas Adam Gallant gave an excellent presentation today on Whats New with Visual Studio Team System and MSDN. Among Adams demonstrations were the new APIs to support so-called manycore arc...
While watching Scott Guthrie, Scott Hanselman, and Brian Goldfarb demonstrate Silverlight 4, I had a range of reactions: Wow! Ive got to play with this stuff! Im feeling overwhelmed by the avalanche o...
I don't recall Microsoft announcing a Visual Studio release date this far in advance. The official launch is March 22, 2010 . In the past there have been two product release dates for Visual Studio. T...
I may be fighting a losing battle against the Silverlight/Flash animation gurus. The Visual Basic Developer site on MSDN is showing off a preview of its proposed redesign . One of the features is a fl...
I really like working with the Telerik ASP.NET AJAX controls. However, I keep forgetting about a problem in the RadGrid that occurs when trying to add a new record using EntityDataSource. If there are...
Heres todays episode of Losing Time on Something Dumb In my ASP.NET 3.5 project (using Teleriks AJAX controls) I filled a RadComboBox with Items and needed to set the selected item to the current valu...
While Microsoft is coy about product release plans (When its ready is a common evasive answer to the question), book publishers frequently reveal their (and Microsofts) plans online. If youre curious ...
Heres another in my never-ending series of fixes for dumb mistakes. In this episode we lose time with an Entity Framework error. Heres the error message: System.Data.UpdateException was unhandled by u...
In my current contract, I need to generate database-driven PDFs on the fly. Ive done the first prototypes with my copy of Aspose.Pdf for .NET *. Its an enterprise-ready, robust, and extremely function...
View Other bloggers