Donut Hole Caching in ASP.NET MVC
A while back, I wrote about Donut Caching in ASP.NET
MVC
for the scenario where you want to cache an entire view except for a
small bit of it. The more technical term for this technique is probably
“cache substitution” as it makes use of the Response.WriteSubstitution
method, but I think “Donut Caching” really describes it well — you want
to cache everything but the hole in the middle.
I am a Web Developer At Heart
A while back a young developer emailed me asking for advice on what it takes to become a successful developer. I started to respond,
Read MorePut Your Pages and Views on Lockdown
As
I’m sure you know, we developers are very particular people and we like
to have things exactly our way. How else can you explain long winded
impassioned debates over curly brace
placement?
ASP.NET MVC NerdDinner Walkthrough
At
long last, the book that I worked on with Scott
Hanselman, Rob
Conery, and Scott
Guthrie is in
stock at
Amazon.com.
Scripting ASP.NET MVC Views Stored In The Database
Say you’re building a web application and you want, against your better judgment perhaps, to allow end users to easily customize the look and feel – a common scenario within a blog engine or any hosted application.
Read MoreNext Stop, Norway!
Because of all the travel I did last year as well as the impending new addition to the family this year, I drastically cut down on my travel this year. There are only two conferences outside of Redmond I planned to speak at, one was Mix (see the links to videos of my talks) and the next one is the Norwegian Developer Conference also known as the NDC.
Read MoreCode Sample Taxonomy
What responsibility do we have as software professionals when we post code out there for public consumption?
Read MoreUsing jQuery Grid With ASP.NET MVC
Tim Davis posted an updated version of this solution on his blog. His includes the following:
Read MoreMy Little World Domination Backup
Every good developer knows to always have a backup. For example, over two years ago, I announced my world domination plans. But there was a single point of failure in me putting all my world domination plans on the tiny shoulders of just one progeny. My boy needs a partner in crime.
Read MoreTipJar: Title Tags and Master Pages
There are a couple of peculiarities worth understanding when dealing
with title tags and master pages within Web Forms and ASP.NET
MVC. These assume you are using the
HtmlHead
control, aka <head runat="server"
/>.
CSRF Attacks and Web Forms
In my last blog post, I walked step by step through a Cross-site request forgery (CSRF) attack against an ASP.NET MVC web application. This attack is the result of how browsers handle cookies and cross domain form posts and is not specific to any one web platform. Many web platforms thus include their own mitigations to the problem.
Read MoreAnatomy of a Cross-site Request Forgery Attack
A Cross-site request forgery attack, also known as CSRF or XSRF (pronounced sea-surf) is the less well known, but equally dangerous, cousin of the Cross Site Scripting (XSS) attack. Yeah, they come from a rough family.
Read MoreBetter String Input Handling
I’ve been relatively quiet on my blog lately in part because of all the work on ASP.NET MVC. However, the ASP.NET team is a relatively small team so we often are required to work on multiple features at the same time. So part of the reason I’ve been so busy is that while we were wrapping up ASP.NET MVC, I was also busy working on a core .NET Framework feature we plan to get into the next version (it was a feature that originated with our team, but we realized it belongs in the BCL).
Read MoreOpen Source License For System.Web.Mvc
First let me begin by assuring you, this is not an April Fool’s joke.
Read MoreSubtext Is On The Move
Simo beat me to the punch in writing about this, After many long years being hosted on SourceForge, the Subtext submarine is moving into a new project hosting port.
Read MoreSimple Usability
Recently, I tried to accomplish a simple task on a website which frustrated me because what should have been simple, was not. All I wanted to do was go to the Mix website and quickly find links to my sessions so I could post them here. Even I should be able to figure this out.
Read MoreASP.NET MVC Sessions At Mix
After my critical post of the Mix website, I found this other site, http://sessions.visitmix.com/, which should have been prominently linked to from the main site because it has a working search bar and is fairly usable and flashy!
Read MoreSubtext 2.1.1 Available Via the Web Platform Installer
One
of the cool products that I’m personally excited about announced at Mix
is the updated Web Platform Installer.
ASP.NET MVC 1.0 Released!
Today I’m happy to write that ASP.NET MVC 1.0 RTW (Release To Web) is
now officially
released.
Learn About ASP.NET MVC Via NerdDinner
I don’t know about you, but a great way to learn a new technology is to start using it. But to even start using it, it helps to be able to look at a real-world running application built on that technology. Combine that with source code and a walkthrough, and I think you have a winning combination.
Read More