Overloading Controller Actions in ASP.NET MVC
Posted by: Bipin Joshi.com :: Thoughts on .NET, Life, Yoga and more,
on 05 Oct 2015 |
View original | Bookmarked: 0 time(s)
Method overloading is very common technique used in C# code. Although it works great for normal C# classes, the same can't be said about ASP.NET MVC controller classes. Unlike an ordinary C# class, a controller is dealing with HTTP protocol. And HTTP doesn't understand overloading as C# does. So, in case you wish to use method overloading in a controller you need to consider the ways as discussed in the remainder of this article....