Click here to Skip to main content
15,894,546 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Developers,

I am working on url rewritting,
where I want to run .html extension pages

eg. www.xyz.com/abc.html

Here, I am able to run the page with the pattern
{controller}/{action}/{parameter}

But I want to run the page with extension and
exact in the above example manner.

domain/{name}.html

{name} - could be anything.

And I want this {name} in controller's ActionResult,
so I can call the store procedure to find appropriate result.

Please help developers....

Thanks in advance.
Posted

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900