Regular Expression MapRoute With ASP.NET MVC(blog.sb2.fr)

submitted by ethilikethilik(1855) 3 years, 1 month ago

In this article I’ll talk about ASP.NET MVC Routes and Regular Expression. I based my article from the Fredrik Kalseth’s Blog about Defining Routes using Regular Expressions in ASP.NET MVC. Fredrik provides a Custom Implementation of Route in order to be able to use Regular Expression Patterns with MVC Routing. However we are not able to use that with the MapRoute Extension Method of RouteCollection. So Here is a Custom Implementation of the MapRoute Extension Method which takes advantage of RegexRoute Implementation made by Fredrik.

add a comment |category: |Views: 327

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

No comments so far

information Login or create an account to comment on this story