Articles : Page 1 of 1
- Filter:
- .NET4
-
The history of ASP.NET MVC, so far
Jun 1129This post is a mile high overview of the history of ASP.NET MVC, the features it brought with the various versions and the extensibility points introduced. I am starting to work on both a series of webcasts and articles and I was doing some preparatory work, collecting information on the various features and extensibility points that got into the various (official) releases of ASP.NET MVC, so I thought it could have been useful to share my little summary. There have been 3 major official r...
-
Regex [x-y] range in reverse order
Feb 1115I started receiving a 'System.ArgumentException' error with a decription of 'parsing "[A-Za-z0-9_- %]+\.(bmp|jpg|jpeg|gif|png)" - [x-y] range in reverse order' after I wrote a C# Regex in my ASP.NET MVC web application. I was using a RegularExpression Validator in my ASP.NET MVC app but it wasn't having any of it. I was looking at "A-Z" etc thinking IT IS THE RIGHT ORDER! Turns out it is because I have a hyphen in another part of my regex expression. The one after the underscore. SolutionTurn...
-
How was my 2010?
Jan 1113It’s the beginning of the year again, and exactly as last year, on the 13th of January I’m reviewing the year that passed against the my 2010 resolutions, and see how it went. Who did 2010 go? Before starting the list I want to add a resolutions that I didn’t disclose with my 2010 resolutions: I wanted to move out of Italy in 2010. And since now I’m living in Belgium I think the biggest goal form 2010 was accomplished. But all the other resolutions where a bit shadowed by the big effort need...
-
How to move you posts from Subtext to WordPress
Jan 1105A few weeks ago, I finally finished the migration of Daniela’s old blog to a new domain and a new blogging platform: we moved from Subtext to WordPress. The reasons of the move There are two reason behind that move: the big ecosystem around WordPress, and the lack of a real desktop blogging tool on the Mac (combined to the outdated FCKeditor 2 that is used by Subtext). During the migration Daniela thought about a different Information Architecture of her content spread around in the web, d...
-
ASP.NET MVC 3 Preview 1 is out
Jul 1027Still not officially announced by anybody inside Microsoft, but quietly this morning the first preview of ASP.NET MVC 3 appeared on Microsoft Download. And it’s exactly what everyone was expecting after last month’s announcement of Scott Guthrie of Razor, the new view engine for ASP.NET MVC. What else does this new version bring to the table? First of all it takes a dependency on .NET4. It means that you cannot be able to use it unless you migrate you applications to the latest version o...
-
How to add an ASP.NET MVC 2 project to an existing ASP.NET Web forms application
May 1026In this 'how to' I will demonstrate how to integrate an ASP.NET MVC 2 project to an ASP.NET WebForms application that already exists. There are many weird ungoogleable issues and extra tips that haven't been covered elsewhere. I hope this guide helps you get started. 1. Add referencesRight click on your web root project in Visual Studio (2010 in my case) and add the following references: System.Web.Routing System.Web.Abstractions System.Web.Mvc 2. ConfigurationMake your web.config look like...
-
There is a duplicate 'system.web.extensions/scripting/scriptResourceHandler' section defined
Mar 1029I managed to get "The requested page cannot be accessed because the related configuration data for the page is invalid." errors with a config error of "There is a duplicate 'system.web.extensions/scripting/scriptResourceHandler' section defined" after trying to be clever. Here is the problem and solution. Keen to try .NET4's new arsenal but trying to create physical separation from my current .NET3.5 (.NET2 runtime)solution, I decided to create a new ASP.NET MVC2 project and use a virtual app...
-
10-4 Episode 37: Leveraging Model Metadata and Validation with ASP.NET MVC2
Jan 1007In this episode of 10-4, we discuss a new feature coming in the next release of ASP.NET MVC: model metadata and validation. This allows you to associate validation rules and metadata with your model and have the runtime perform validation automatically. In addition, you can also have JavaScript emitted that will provide client-side validation as well, making it dead simple to achieve a rich client and server validation experience with any web application. For more 10-4 episodes, be sure to visit...
- 1

