January 27, 2009 by
ryan
I had a great time tonight at the Findlay .NET User group! Thanks everyone that battled the weather to come out and hear me talk about the ASP.NET MVC Framework. As promised, I have posted the route constraint to allow only alphabetical values to be accepted as valid input for the display named message.
routes.MapRoute("Message",
"Message/{action}/name/{Name}/",
new { controller = "Message", action = "HelloWorld", name = "" },
new {name="[a-zA-Z]+"}
);
I apologize about the lapse in memory -- The regular expression needed a + at the end to signify that it was more than one character whoops :) For more information on Routes check out
Justin Etheredge's post on routing
January 23, 2009 by
ryan
I will be giving a talk on the ASP.NET MVC Framework at the
Findlay .NET User Group on Tuesday, January 27th (5:30pm - 7:30pm). If you're in NW Ohio and want to learn more about the MVC framework and how to get up and running with it you might be interested. The talk is taking place at the Marathon building downtown -- 539 S. Main St., Findlay, OH - Room 106M. More information is available at the
User Group site. Hope to see you there!