Which pattern does the MVC Application follow?
I want to know by Default, which pattern does the MVC Application follow?
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.
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
Jignesh TrivediRank #16 · 50.3K reputationPosted Feb 19, 2013, 11:17 PM EST
Hi,
as per my knowledge, MVC itself architectural pattern.
The Model-View-Controller (MVC) architectural pattern separates an application into three main components: the model, the view, and the controller.
please refer
http://msdn.microsoft.com/en-us/library/ff649643.aspx
now microsoft built in support to MVC architecture
please refer
http://msdn.microsoft.com/en-us/library/dd381412%28v=vs.108%29.aspx
hope this will help you.
Vijay YadavRank #1,637 · 943 reputationPosted Feb 19, 2013, 11:45 PM EST
Thanks for your reply.
I got your point and would go through the link provided by you. As you said MVC itself is a architectural pattern then why we use repository pattern for that? Please forgive me as I don't have any knowledge about Pattern.
Jignesh TrivediRank #16 · 50.3K reputationPosted Feb 20, 2013, 1:08 AM EST
hi,
we can also use repository pattern with asp.net application as well as window base application.
it is not complasory to use repository pattern with MVC
it depend on your type of application and need of application we can use any pattern like dependacy injection pattren, single ton etc...
hope this will help you.