-
ASP.NET MVC 3 & MongoDB: CRUD operations in NoSQL database using FluentMongo
This blog post shows how to use the open-source NoSQL database MongoDB in an ASP.NET MVC 3 web application. The showcase web application uses FluentMongo that adds LINQ-support for the 10gen MongoDB C# driver. Summarized the application demonstrates how to perform the basic CRUD (create, read, update and delete) database operations. Before running the example […]
-
ASP.NET MVC 3: Validate complex Types (Objects & Lists) in Ajax Form using jQuery and JSON on Client Side and Server Side
This blog post shows how to validate models containing complex types such as Objects and Lists in ASP.NET MVC 3. We start with the source code described in one of my previous posts “ASP.NET MVC 3: Using JSON result for jQuery Ajax Forms validation” (you can download the Visual Studio 2010 project here). Summarized this […]
-
ASP.NET MVC 3: Use re-mix library to add controller actions with mixins – Part 2
This is an update to my previous post “ASP.NET MVC 3: Use re-mix library to add controller actions with mixins”. In November last year I implemented a prototypical approach that uses mixins to add actions to ASP.NET MVC 3 controllers. Since .NET does not support the mixin concept out of the box, I used the […]
-
ASP.NET MVC 3: Support multiple submit buttons in one form with HTML Helper MultiSubmitButton
Out of the box ASP.NET MVC 3 only supports one submit button for each form. To be more precise: The MVC 3 framework only supports one submit action for each form, i.e. all submit buttons in the form post the data to the same URL (the URL that is defined in the action attribute of […]
-
ASP.NET MVC 3: Async jQuery progress indicator for long running tasks
If you have long running (server side) tasks in your ASP.NET MVC 3 web application it could be reasonable to provide the user with information about the current progress of this task. In this blog post I will show how such a progress indicator could be implemented using jQuery and AJAX. The basic idea is […]
-
ASP.NET MVC 3: Set up custom error pages to handle errors in “non-AJAX” requests and jQuery AJAX requests
In this blog post I will show how to set up custom error pages in ASP.NET MVC 3 applications to create user-friendly error messages instead of the (yellow) IIS default error pages for both “normal” (non-AJAX) requests and jQuery AJAX requests. In this showcase we will implement custom error pages to handle the HTTP error […]