Skip to content

Tag Archives: asp.net

Lowercase Route URL's in ASP.NET MVC

19-Dec-08

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 [...]

Best. Post. Ever.

15-Dec-08

MAJOR thanks to Phil Haack for sharing information on ASP.NET MVC complex model binding. Perfect if you ever need mass form field / or ‘grid-style’ updating by posting to an IList instead of just singular. Check it out today! http://haacked.com/archive/2008/10/23/model-binding-to-a-list.aspx THANK YOU PHIL! THANK YOU!

Ajax.BeginForm pass action method parameter

11-Dec-08

If you have looked at the Ajax.BeginForm() method on ASP.NET MVC Beta 1 you will notice there is no way to specify input parameters to your action as you could do with the lambda extension method Html.BeginForm with Futures. This is how I got around it: [sourcecode language='html'] … My action method accepting “typeId”: [AcceptVerbs(HttpVerbs.Post)] [...]

My name is Graham O'Neale and I'm a software architect from Gold Coast, Australia. I am an overtime thinker, full time coder and awake part time in the real world. I have a keen interest in software development, particularly in the realm of programming (C#, ASP.NET, ASP.NET MVC, LINQ (2 SQL), Entity Framework, Silverlight, Blend, WCF, WPF) and a keen interest in the cutting edge and innovation. I have a new found love for design patterns, ALT.NET practices and well crafted software architecture. The purpose of this blog is to express any thoughts, findings, tips and gripes along my travels in the wonderful world of coding and technology...