Archive for March, 2009
A few weeks ago, I wrote a post describing how to detect that a 404 error had occurred in your error handler rather than just detecting that any error had occurred.
This past weekend Alaa Ali asked, “So how do you retrieve the wrong requested URL?”
One of the core features of ASP.NET MVC that makes everything “just work” is the concept of routing. By specifying ahead of time what a route looks like, we can create links that look like regular URLs with no parameters that behave like parameterized URLs on the server.
The magic for this all happens in Global.asax.cs (or .vb if you are using Visual Basic)
Today I’m going to start a series on Internationalization. Today’s post will start with the basics, but I plan to cover such issues as:
- Using Resources
- Detecting the language of the browser
- What about images?
- Dealing with Search Engine Spiders
- Internationalizing your database.
Question from Yuhsin:
I would like to make the jquery steps slider to do auto-increment when the window loads. Is there an easy way to trigger the slide to move by itself ?
I’m assuming this question is looking for the content to auto scroll as well. So let’s pull up the code from last week and take a look at this issue.
Unless you only read my blog, you probably already know that MVC 1.0 released yesterday. So it’s time to install it into visual studio.
Now, you are supposed to be able to install it using the Microsoft Web Platform Installer, but when I try that, the only option I have is to install RC2, which isn’t what we want, so let’s head on over to the Microsoft download location and install it from there: