NET MVC 5** I want urls like this http://borntoprogram.com/.Net/.Net-Core/
I know i can achieve it using Attribute routing as shown below
[RoutePrefix(".Net")]
[Route("{action=Index}")]
public class NetController : Controller
{
[Route(".Net-Core")]
public ActionResult NetCore()
{
return View();
}
}
but i want to Generate Controllers and Actions methods dynamically. And use Attribute routing with that.
I want to use Dots (.) in URL ,
second thing i want the urls to be very simple having just 3 parts like
DomainName/CategoryOfArticle/ArticleName
as in the URL DomainName -BornToProgram.com , CategoryofArticle -.Net , ArticleName -.Net-Core
IN all I WANT to allow admin to Decide parts of the URL For new articles that he can submit on monthly or daily basis. Like Category of Article (.Net in example) and Then Name of the Article( .Net-Core , .Net-Framework) The ADMIN want full control on the URLs