Hi,
Can we call view directly from URL or a AJAX request IN MVC?
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Shakti Singh DulawatRank #668 · 3.6K reputationPosted Apr 21, 2016, 2:18 AM EDT
Francis SusaimichaelRank #466 · 5.4K reputationPosted Apr 21, 2016, 4:12 AM EDT
AFAIK, No. You can't call the view directly. Normally, you will call the "Action" methods in the form of www.yoursitename.com/Controller/ActionMethod. At the end the action method returns a view. This is the convention in ASP.Net MVC.
Shakti Singh DulawatRank #668 · 3.6K reputationPosted Apr 21, 2016, 4:31 AM EDT