Hey gang, just a quickie today. I have been working recently on setting up server side and client side model validation “by the book” in ASP.NET MVC 2 complete with data annotations and the first question that hit me when I was declaring attributes on my LINQ to SQL partial classes to determine model validation [...]
Howdy everyone, firstly I would like to apologise for the lack of blog updates, I have seriously been flat out on development with our new online start-up, Fotochimp and have not had much time for blogging. However today I am taking a few minutes time-out to share some links with you I found for a [...]
Filed in .NET
|
Also tagged C#
|
Hi guys, I posted this question on stackoverflow.com today, feel free to join in and post if you have any thoughts on the topic. I am interested to know what you guys feel should be deemed “correct behaviour” in terms of the UpdateModel method in ASP.NET MVC. The reason I ask here is perhaps if [...]
I just wanted to do a “refresher” post regarding ASP.NET MVC validation as many things have changed over the last couple of months and there is a lot of information out there. I wanted to aggregate my known validation options and recommend them in one tabular list. Whilst I’m scared to write “best practice” now [...]
The long anticipated ASP.NET MVC book entitled “Professional ASP.NET MVC 1.0” has just been released and available over at Amazon.com right now. Published by Wrox and content put together by some of our greatest names in the .NET community, Scott Guthrie, Rob Conery, Scott Hanselman and Phil Haack. I also published in a previous post [...]
Scott Gu has announced that Microsoft is open sourcing the ASP.NET MVC Framework to be released under the Microsoft Public License (MS-PL). Very cool. As quoted “The MS-PL contains no platform restrictions and provides broad rights to modify and redistribute the source code.”. http://tech.slashdot.org/article.pl?sid=09/04/02/1845214 I’ve linked to Slashdot.org rather than directly to Scott Gu’s post [...]
Well some updates to my old article on ASP.NET MVC Validation today. The bad news, I had to drop “Solution B” which was to allow you to define validation rules on a metadata type “buddy” class of your model, in cases where you may be using something like LINQ2SQL and are unable to make changes [...]
The Release Candidate of ASP.NET MVC 1.0 has just been released, you can read about it on these two important blogs: http://haacked.com/archive/2009/01/27/aspnetmvc-release-candidate.aspx http://weblogs.asp.net/scottgu/archive/2009/01/27/asp-net-mvc-1-0-release-candidate-now-available.aspx Release Notes: http://go.microsoft.com/fwlink/?LinkID=137661&clcid=0×409 Horray! Lots of delicious new stuff.
Please see my newer article here.
For anybody interesting in having ruby on rails style routes; or follow a lowercase URL pattern (mysite.com/member/profile/goneale) which most web 2.0 sites seem to be following, check out the below code cited and enhanced from this article (http://www.makiwa.com/index.php/2008/05/31/lowercase-mvc-route-urls/). Firstly you will need a RouteExtensions.cs file, or named anything you like with the following (compatible as [...]