Questions tagged [asp.net-mvc-areas]

An organizational concept present in ASP.NET MVC, that allows the developer to partition a large web application into smaller units.

An organizational concept present in ASP.NET MVC, that allows the developer to partition a large web application into smaller, distinct units. Areas might be used to, for instance, divide an application into inventory, review, storefront, and administration modules.

More information

575 questions
2
votes
1 answer

ASP.NET MVC Multi Project Areas Questions with setup

For those who setup muli project areas in ASP.NET MVC 2 in VS 2010, I have a few questions for you: Can other project areas use one master page? Or does each have to have their own master page? What about the web.config file? Does each area need…
Brian Mains
  • 50,520
  • 35
  • 148
  • 257
2
votes
2 answers

Sharing partial views between MVC projects - Do Areas Help?

We have some partial views which need to be used in several MVC projects. Has anyone done this successfully? Could Areas in MVC 2 be of any use ? Could a sub area project use a partial view from the parent project or the other way around? Thank you…
Steve Ward
  • 1,207
  • 3
  • 16
  • 42
2
votes
3 answers

ASP.Net MVC: Creating an Area for json requests

Just wondering what people think about creating an area to hold/manage json based requests (note I am thinking mostly get data not post data). I know its not your typical use of an area (i.e. normally you would create a different area for blog vs…
vdh_ant
  • 12,720
  • 13
  • 66
  • 86
2
votes
1 answer

ASP.NET MVC 2 area namespace assignment

Suppose the root project has My.Root.Project namespace. I wonder what namespace should be assigned to an area classes? Possible alternatives: My.Root.Project.Areas.Area1 My.Root.Project.Area1 Esthetically, I prefer second one. However, since I use…
2
votes
2 answers

Ajax Request issue with ASP.NET MVC 4 Area

Today i discovered something weird, i have regular asp.net mvc 4 project with no such ajax (just post, get). so today i need ajax request, i did an ajax action with jquery in controller and it didn't work out. Here is my…
alim
  • 677
  • 5
  • 19
2
votes
2 answers

Adding @Html.Action to _layout errors with "No route in the route table matches the supplied values."

My end goal is to have a