Search code examples
pythonasp.net-mvcbottle

Equivalent of bottle.get() in ASP.NET MVC


Using bottle we can @bottle.get("/post/<permalink>") to fire an action based on the url request. What would be the equivalent of that in ASP.NET MVC? Are there any attributes available to apply same behavior?


Solution

  • Unknowingly I was referring to Attribute Routing in ASP.NET MVC.