Quantcast
Browsing all 12 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Working With the Entity Framework and the Web API

In my last post, I talked about the new Web API controllers in MVC and showed how they work with simple data. In the real world, of course, I want them to work with my existing data, which uses Entity...

View Article


Image may be NSFW.
Clik here to view.

Exposing IQueryable/oData Endpoints With Web API

This is a follow on from my post on Web API and the Entity Framework. In that post, I showed a couple of approaches to dealing with JSON serialization problems in the Visual Studio 11 beta. Now I want...

View Article


Image may be NSFW.
Clik here to view.

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 Article

Image may be NSFW.
Clik here to view.

Output 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 Article

Image may be NSFW.
Clik here to view.

Validation 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 Article


Image may be NSFW.
Clik here to view.

Managing 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 Article

Image may be NSFW.
Clik here to view.

Dependency 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 Article

Image may be NSFW.
Clik here to view.

Editing 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 Article


Image may be NSFW.
Clik here to view.

Internationalizing 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 Article


Image may be NSFW.
Clik here to view.

Allowing 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 Article

Image may be NSFW.
Clik here to view.

Supporting 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 Article

Image may be NSFW.
Clik here to view.

Using 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
Browsing all 12 articles
Browse latest View live