Articles : Page 1 of 1

  • How was my 2010?

    How was my 2010?

    Jan 11
    13

    It’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 add an ASP.NET MVC 2 project to an existing ASP.NET Web forms application

    How to add an ASP.NET MVC 2 project to an existing ASP.NET Web forms application

    May 10
    26

    In 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

    There is a duplicate 'system.web.extensions/scripting/scriptResourceHandler' section defined

    Mar 10
    29

    I 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...

    • MVC2
    • T4
    • .NET4

  • 10-4 Episode 37: Leveraging Model Metadata and Validation with ASP.NET MVC2

    10-4 Episode 37: Leveraging Model Metadata and Validation with ASP.NET MVC2

    Jan 10
    07

    In 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