ASP.NET
I was trawling through new posts on the ASP.NET blog site and came across this one from Tess (who is someone I should probably know but don’t…). What I found interesting (as well as the post which is excellent) was the first comment: “When will MS simply drop the Viewstate completely? This is a good example of a solution to a problem that shouldn't be a problem to begin with. “ This got me to thinking, ViewState has gotten a really bad rap over the years (with notable exceptions). Let’s look at what ViewState actually is and...
UPDATE 08/27: Found a couple of more changes We’re using this forum post to track our Breaking Changes / Known issues in the SP1 release. Initial text is below but please feel free to link to this forum post from any blogs etc...to track these changes. I'll also keep this blog post updated with any changes... With the release of ASP.NET in .NET 3.5 Service Pack 1 some breaking changes have been introduced. This post will be used to list those changes and any workarounds / fixes for these issues. Issue: Dynamic Data fails...
One of the themes I'm looking at for vNext of ASP.NET is the optimization of sites by reducing the number of server requests required for a single page.
A new classic in the area of improving the perceived performance of your sites by reducing the number of server roundtrips is Steven Sounders book 'High Performance Websites'. Steven's book is very small, very readable and probably the best book on anything to do with the web that I've read in years.
This book was a huge revelation for me...I spent most of my coding career writing the slickest, highest performing code I could...and frankly...
This site is increasing in subscriber numbers (literally doubled in a single day on the feedburner feed...not sure why!).I've also finally gotten my act together and got my old domain pointing back here again (only took me umm...a year). I guess it's time I got more serious abut this site again. I've held off posting any more articles for a long time (read the blog, I suffer from a chronic lack of self confidence) but I guess it's time to get back on the bike. What I do want to post about is the more basic stuff,...
Doing some app building and I needed to use FindControl to manipulate a control in the OnItemCreated event in a Repeater...well, to save a bit of typing I came up with this extension method: namespace Presentation { public static class ControlHelper { public static T FindControl<T>(this System.Web.UI.Control root, string controlId, bool recursive) where T: System.Web.UI.Control { if(root.Controls!=null && root.Controls.Count>0 && root.FindControl(controlId) != null) { ...
I should have made this a better post but anyway. Brad Abrams just posted about the .NET 3.5 SP1 Beta release . We've also posted a bunch of new Screencasts covering the new features for ASP.NET in this release, as well as a readme which has some getting started and upgrade information for migrating from the previous release...
One of the nice things about being on the ASP.NET team is that I finally get to scratch the various itches (on that topic, Poison Oak...very itchy!) that have been bugging me for a few years. I finally get to play around with the source and see what effect changing various bits and bobs has on how stuff works. I really do recommend spending some time spelunking in the .NET Source code. You can actually get this source (in a very non-official and non-supported way) using .NET Mass Downloader. This is just such an awesome resource...want to see how a...
What about Code Gallery? I'm changing this post slightly. The consensus right now is that Codeplex releases must have source, the ASP.NET site is the right place for release (mainstream, public stuff). What about the non-mainstream, early preview, binary only releases? Would you prefer these to stay on Code Gallery (e.g., like Dynamic Data) and just link to the site from somewhere on ASP.NET site or should we create a 'special area' on the ASP.NET site (like 'thelab' or somesuch) and provide details and link to specific downloads...or do you prefer these stay on Connect? So, dear customer I...
Inspired by this post, only covers simple cases but it's a start. Essentially this is an extended version of Response which only allows redirection to pages within the same site...so allows /default.aspx, does not allow http://www.evildomain.com/default.aspx. I've also ripped off a member of my team's excellent work on Response.Redirecting to a new window. This method uses extension methods, to use it just drop the file in App_Code and Response gets two new members. Oh and it's incomplete because I didn't account for encoded / obfuscated URLs...I'll update when I do... using System; ...
I've posted about this before but one of my main functions on my new team is managing all of our releases. We have a large number of these both public and private (to closed groups like ASPInsiders). Of course I really just do the bit at the end, people like Phil, Eilon, Scott and David (to name but a few) do 99.9% of the actual work. Anyway, I mention this by way of an opening to our latest release of the MVC source code complete with Unit Tests, Visual Studio Templates and just some great changes which my boss3 Scott...
Full ASP.NET Archive