How to route requests to a method in a class in WebForms?
<p>In MVC one can write a custom route that points to a method on a controller, i would like to achieve the same functionality with WebForms.</p>

<p>If i have a route like;</p>

<pre><code>Admin/{Controller}/{Action}
</code></pre>

<p>I would like to user a Url like the one below to invoke the Register method on a User class/controller.</p>

<pre><code>http://[domain]/Admin/User/Register
</code></pre>

<p>How do i go about doing something like this.</p>

<p><strong>NOTE</strong> </p>

<p>I've found an answer to my question elsewhere;<br>
<a href="http://www.west-wind.com/weblog/posts/2011/Mar/28/Custom-ASPNET-Routing-to-an-HttpHandler" rel="nofollow">http://www.west-wind.com/weblog/posts/2011/Mar/28/Custom-ASPNET-Routing-to-an-HttpHandler</a></p>

<p>Basically, i am using WebForms to develop an app, however wanted the controller concept of the MVC - the ability to execute methods that exist on a controller. I've been able to achieve my goal, thanks to that article.</p>
