Improving Performance with Output Caching
I’ve been spending most of my spare time over the past few weeks refactoring the code for my site, cocktailsrus.com, in the Visual Studio 11 beta–partly to play with the new stuff, but mostly just to...
View ArticleOutput Caching and Authenticated Users
In a recent post, I looked at using a custom parameter with OutputCache to provide different versions of an ASP.NET MVC view to different clients (mobile/traditional devices, AJAX / no-AJAX clients)....
View ArticleValidation Issues with jQuery Mobile and ASP.NET MVC
I’ve written before about the peculiarities of ASP.NET MVC validation. It’s a great technology 90% of the time, but can cause issues if you do something a little out of the ordinary. I came across...
View ArticleManaging jQuery Mobile and ASP.NET MVC Compatibility Issues
jQuery Mobile is a great technology for producing mobile-friendly applications that work on multiple devices. ASP.NET MVC is a great technology for creating elegant, scalable Web applications. The two...
View ArticleDependency Injection with Ninject and MVC 4
This week I uploaded a new version of www.cocktailsrus.com. I didn’t change all that much… just upgraded the server to .NET 4.5, upgraded MVC4 from beta to release, Entity Framework to 5.0, jQuery to...
View ArticleEditing Collections in ASP.NET MVC
A recent comment on one of my earlier articles got me thinking again about ASP.NET MVC model binding and validation. The comment was from Bart Calixto, and was to the effect that my concern over MVC...
View ArticleInternationalizing ASP.NET MVC Applications
A couple of weeks ago I posted about internationalization with ASP.NET Web Forms. In this post, I’m going to look at how ASP.NET MVC handles internationalization. The good news is that you can localize...
View ArticleAllowing Users to Select Mobile or Desktop Views
My jQuery Mobile/ASP.NET MVC site, cocktailsrus.com, began as a pure jQuery Mobile site. I then added a desktop view and automatically switched users to the appropriate view depending on their device....
View ArticleSupporting Multiple Versions of jQuery
I was in New York recently teaching my ASP.NET Web Forms class while one of my colleagues was teaching my jQuery class a couple of doors away. One of the students in the jQuery class asked an...
View ArticleUsing Web Forms in an MVC Site
I’m teaching an HTML5 course this week, but one of my students had an ASP.NET question: how do you combine Web Form pages with ASP.NET MVC? It’s an interesting question, and not one that’s covered in...
View Article