Browse by Tags

All Tags » ASP.NET (RSS)

Migrating ASP.NET MVC 1.0 applications to ASP.NET MVC 2

To help our customers adopt ASP.NET MVC 2 I built an application that helps upgrade Visual Studio 2008 solutions that use ASP.NET MVC 1.0 to use ASP.NET MVC 2 Preview 2 . This application is inspired by Scott Hanselman’s blog post on updating ASP.NET...
Posted by Eilon | 22 comment(s)
Filed under: , ,

Introducing SmartyRoute: A smarty-ier way to do routing in ASP.NET applications

Inspired by ideas I have heard from people on my team (ideas that apparently I misunderstood!), I am introducing the new SmartyRoute, which provides a smarty-ier way to do routing in ASP.NET applications. The basic idea is that you can make a request...
Posted by Eilon | 7 comment(s)
Filed under: , ,

The String or the Cat: A New .NET Framework Library

For years applications have been built that accept user input. Most user input starts out as a string. Strings are a universal representation of arbitrary data coming into a computer. However, most data does not remain as a string for very long. User...
Posted by Eilon | 48 comment(s)
Filed under: , ,

ASP.NET MVC Release Candidate 2: I declare myself to be declarative!

Today is a happy day: we released ASP.NET MVC Release Candidate 2 . We're getting ever-so-close to the final (RTM/RTW) release of ASP.NET MVC - it won't be long! We think we fixed all the highest priority issues so that everyone out there can build ASP...
Posted by Eilon | 35 comment(s)
Filed under: , ,

Opening an ASP.NET MVC project without having ASP.NET MVC installed: The project type is not supported by this installation

Projects built with ASP.NET MVC are what are known as " flavored projects ." This means that instead of being an entirely new project type, ASP.NET MVC projects merely extend a different kind of existing project type. Specifically, the projects...
Posted by Eilon | 9 comment(s)
Filed under: , ,

Optimizing your route collection for URL generation in ASP.NET MVC (and more!)

If you're used ASP.NET MVC or ASP.NET Dynamic Data , you've using ASP.NET's new Routing feature. ASP.NET Routing is the feature that lets you easily create so-called "pretty" URLs. Pretty URLs are the ones that look the way you want them to...
Posted by Eilon | 5 comment(s)
Filed under: , ,

Upcoming talks: Microsoft Tech Ed South Africa

In just a couple of weeks I'll be in Durban, South Africa presenting three sessions at Tech Ed . These are the sessions: WEB304: Introduction to MVC Web Development Day: Monday, 04 August 2008, 09:15 - 10:30 Location: Session Room 07 One of the benefits...
Posted by Eilon | with no comments
Filed under: , , ,

HttpContext.IsCustomErrorEnabled - One of ASP.NET's hidden gems

Calling a property a gem might be a bit of an exaggeration, but this particular property is still rather valuable. In many situations a developer wants to enable a feature or part of a feature only for debugging and testing purposes. The IsCustomErrorEnabled...
Posted by Eilon | 7 comment(s)
Filed under:

MVC: Unit testing controller actions that use TempData

Part of the "big deal" about ASP.NET MVC , and of course MVC in general, is that the code you write is more easily unit tested as compared to traditional ASP.NET WebForms. However, if you've used ASP.NET MVC and tried to write a unit test for...
Posted by Eilon | 11 comment(s)
Filed under: , , ,

MVC: Locking the RouteCollection

Since the advent of multithreaded programming, the responsibility of locking collections has always been a contentious issue. Who should lock the collection? When should it be locked? And for how long? The ASP.NET Routing feature that is used by the MVC...
Posted by Eilon | 12 comment(s)
Filed under: , ,
More Posts Next page »