plz help me i am confuse in asp.net mvc . what is different between controller class and simple class . what is partial class .
What is different between controller class and simple class
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.


Shakti Singh DulawatRank #668 · 3.6K reputationPosted May 27, 2016, 1:12 AM EDT
If you want to define separate routes to cordon off your action methods that don't return View results, then go for it. It's up to you how to organize your application. Asking "Which way is now the preferred one to create web apps?" is pointless, since that's up to you to decide for your application, and there's not going to be a more common way of doing things until after MVC 6 has been in production use for a good length of time.