You must Sign In to post a response.
  • Category: ASP.Net MVC

    Advantages of MVC compared to .NET


    We are regularly facing this questions in any interview or technical quiz like what is advantages in MVC when compared to .NET, So what answer will make them satisfy?
  • #767987
    Hey Manigandan,

    I Suggest you to follow This link and you have definetly get your Answer for MVC Comapred to the .NET

    Hope it Help,

    Best of Luck for Carrier,

    Vaibhav Shah

  • #768032
    [Response removed by Admin. Read forum policies.]

  • #768069
    Hai Manigandan,
    That's true that in almost all the interviews, this is quite general question, interviewer are focusing upon. Also its is difficult to tell the exactly what they are looking for. Below I am providing few things which might be helpful.
    In the interviews, if you say that it contains 3 layers- Model, View and Controller, the next and immediate question from interviewer will be 3-tier architecture also have the same- Application Layer, data Access later and Business Logic layer and then how they are different.
    So below points will give you some idea, how to respond to those questions:

    1. In the traditional ASP.Net with 3-tier architecture the request and response is like below:
    Application Layer <-------> Business logic Layer <-----------> Data Access layer
    It means the request will flow from the Application Layer and then will pass through the Business Logic layer and then to the data Access Layer and once the data s processed, it will come back in the same way. That is the reason the arrow is in both direction.
    So all the three layers are tightly bound to each other. if there is any error in any layer, still the processing will be same which makes the delay in response time.

    2. Whole application needs to be loaded upfront to use: it means all the dll's and files must be available before calling them. Which also makes delay so processing is slow.

    3. Unit testing is not easy without UI. it means we cant do unit testing for each other component separately like test the business logic and Data access without UI.

    All these are the advantage in ASP.Net MVC. In MVC, the processing is :
    Controller ----> Model ----> View (No back arrow here), Unit testing is easy. Each component can be tested independently as they are not dependent to each other. No tightly bounded components.

    For more details, you can go through the below link:

    Hope it will be helpful to you.

    Pawan Awasthi(DNS MVM)
    +91 8123489140 (whatsApp), +60 14365 1476(Malaysia)

  • #768123
    ASP.NET MVC is lightweight and faster than, as it does not have code behind, you can check below features of ASP.NET MVC over ASP.NET
    The main advantages of MVC are:
    1.Enables the full control over the rendered HTML.
    2.Provides clean separation of concerns(SoC).
    3.Enables Test Driven Development (TDD).
    4.Easy integration with JavaScript frameworks.
    5.Following the design of stateless nature of the web.
    6.RESTful urls that enables SEO.
    7.No ViewState and PostBack events
    8. Separation of concerns (SoC)
    9.Easier integration with client side tools

    The main advantage of Web Form are:
    1.It provides RAD development
    2.Easy development model for developers those coming from winform development.

    Editor, DotNetSpider MVM
    Microsoft MVP 2014 [ASP.NET/IIS]

  • Sign In to post your comments