asp.net-mvc-areas Questions

3

Solved

Is there a way I can get the names of the areas in an MVC project? Here's a few ways I can think of: a) If I had the source, I could browse through the project folder structure and enumerate the ...
Woodall asked 1/9, 2010 at 15:56

1

Solved

I know in MVC at the top of a controller you can use the [Authorize()] attribute to restrict access to that entire controller to certain authenticated users and/or roles, but not by IP, but this mu...
Alloy asked 5/8, 2013 at 16:34

8

Solved

My question may be obvious but I'd like to build a well-designed web application. As for any administration area, the admin should be able to list/create/delete/modify users, articles, posts, etc.....
Nimmons asked 25/5, 2009 at 6:52

3

Solved

I'm working on a new project where I want to use Phil Haack Areas (1) idea + Steve Sanderson's tweak (2). I have a simple root view with an action link to a view an area (Foo). The URL that is gene...
Bannasch asked 19/5, 2009 at 14:49

1

Solved

I had the following piece of code in my Razor Layout view (which is shared by all views in my application): @using (Html.BeginForm("Logout", "Account", FormMethod.Post, new { id = ViewIDs.Shared._...
Loire asked 6/6, 2013 at 19:51

1

I'm trying to create an MVC4 web app using a number of plugins, i.e. essentially controllers exported via MEF plus content files unpacked into their proper locations. I found a lot of material abou...
Fango asked 12/12, 2012 at 9:31

6

Solved

I have added a new Area to my MVC3 project and I am trying to link from the _Layout page to the new Area. I have added an Area called 'Admin' that has a controller 'Meets'. I used the visual studi...
Heidi asked 25/3, 2011 at 12:4

4

Solved

I have deployed a mvc3 application in web. How can i add Virtual directory name in Url.Action() method ? for eg : my application is in mydomain.com\app now when i do Url.Action returns action...
Ptyalism asked 21/2, 2013 at 13:29

1

Solved

I've a site in MVC4 using areas. In some area (lets call it Area), I have a controller (Controller) with this actions: public ActionResult Index() { return View(); } public ActionResult OtherAct...
Cocci asked 10/4, 2013 at 19:48

2

Solved

I have a internet application mvc4 with areas, for my organization each area represent a SPA and through "Manage NuGet Package" I installed "Durandal 1.2.0", "Durandal Transitions 1.2.0" and "Duran...
Bohemian asked 18/3, 2013 at 16:27

4

I am trying to set up an MVC3 solution using areas, but I want to have my areas in different assemblies. For example, I want a parent assembly that contains shared resources like master pages, styl...
Grope asked 21/3, 2011 at 19:23

4

Areas, in ASP.NET MVC, are handy for breaking a site into smaller, manageable components at a higher level than controllers. They are like mini-MVC pieces within a web application. Is there an equ...
Questionless asked 7/8, 2012 at 21:13

2

Solved

Within a single project solution introducing Areas when you have a lot of controllers does improve separation and allows modules to easily be copied in or out of the solution. However in a la...
Capua asked 30/1, 2012 at 8:29

1

This is a strange one. They always are when I get to this point. I have an MVC app. It's a single page app so all routes are ajax calls but I don't think this is relevant. Strangely and all of a ...

5

I have just deployed an MVC4 .NET 4.0 app to my web host, for 'live' deployed testing. Non -area routes are working fine, e.g. my @Html.ActionLink("Register as a Client", "Register", "Account", n...

2

Solved

I have question about benefit of using areas and necessity of them. I see some opposites: MVC patterns have routes, and they need for escaping out of folder structure. But when we using areas w...
Napkin asked 25/10, 2012 at 12:50

1

Solved

I'm playing a little catch up here as I went straight from MVC2 to MVC4, so learning Razor and everything else all at once. I'm using an admin area in this new application, and I noticed when I we...
Heliocentric asked 24/10, 2012 at 22:19

2

Solved

I am currently experimenting with dynamically loaded areas with ASP.NET MVC 3 RC. I've seen it written in many places that this is not what areas are intended for, and (at least pre-MVC 2) not poss...
Arvind asked 22/11, 2010 at 0:56

1

Solved

I am currently figuring out how to restructure the architecture of an existing not very modular ASP.NET MVC 3.0 application. I have a plugin like structure in mind to make the existing project exte...

1

Solved

I have a separate section (route) of my website that I would like to use a different layout/css etc. So when users at the main section of my website they get the default layout. But when they log ...

1

Solved

I am currently working on a ASP.NET MVC 4 Web Application project that must adhere to the following design decisions: The main MVC application resides in the root of the solution. All administrato...
Inamorata asked 19/8, 2012 at 8:52

1

Solved

I have an ASP.net MVC application that has been in Production for a while. I would like to add a new Admin section to the application which I wanted to do by creating a new Area. I'm just curious w...
Cheng asked 26/3, 2012 at 19:8

3

Solved

Possible Duplicate: How do I register a controller that has been created in an AREA I have the question - is it possible to do the next? I have three Areas: _Default SiteOne SiteTwo...
Periphrastic asked 23/3, 2012 at 8:29

1

Solved

I have simple HttpApplication class: public class MvcApplication : HttpApplication { public void Application_Start() { // register areas AreaRegistration.RegisterAllAreas(); // register othe...

5

Solved

I found this question Can't use relative paths with areas in ASP.NET MVC 2 which is the same issue I am having. Is this still the case in MVC3? Is there a way to keep content files in an area rela...
Isolationist asked 26/2, 2011 at 22:47

© 2022 - 2024 — McMap. All rights reserved.