ASP.NET MVC Areas: Are they important to a large application?

前端 未结 3 1265
有刺的猬
有刺的猬 2020-12-08 07:04

I am in the process of developing a large ASP.NET MVC application. I am currently working through the mechanisms I\'ll use to structure my controllers/views. I have see so

3条回答
  •  不思量自难忘°
    2020-12-08 07:57

    Me and my team are currently developing a very large application using the ASP.NET MVC framework as the underlying technology. We are using Areas, Strongly Typed View Names and our own version of Localisation. So far it is working together very well.

    The deal breaker with ASP.NET MVC for me was going to be that the controller names had to be unique. It was perfectly foreseeable to require a controller for managing stock within inventory and dispatching areas of my application and sorting these was going to be too hard. With areas this is no longer a problem. I would highly recommend using them as Phil Haack has outlined.

    Alternatively you could look at Steven Sanderson's implementation where he has taken it a little further, though for us it was not something we needed.

    I wouldn't be surprised to see Areas implemented into ASP.NET MVC very soon.

    Good luck with your application, I don't think you'll regret choosing ASP.NET MVC.

提交回复
热议问题