Questions tagged [portable-areas]
37 questions
16
votes
3 answers
ASP.NET MVC 3, Razor Views, and Portable Areas
I am trying to using portable views with ASP.NET MVC 3 and razor views as that seems like the best way to create an easy plug-in architecture. So I have my class library setup and I have my view located in /Views/Admin/Index.cshtml and it is set as…

ryanzec
- 27,284
- 38
- 112
- 169
9
votes
2 answers
Portable Area disadvantages
For people who have experience with Portable Areas,
I would like to know if there are disadvantages to using them and why you wouldn't use them to break a large MVC application down into component parts.

Sam
- 4,219
- 7
- 52
- 80
6
votes
1 answer
Why aren't ASP.Net MVC Portable Areas Thriving Like Rails Plugins?
I love the idea of the Portable Areas in MvcContrib. After reading up on it, and building a couple for practice, I was surprised not to find a plethora of open source projects leveraging this neat way to distribute features across MVC applications.…

Brandon Joyce
- 3,100
- 24
- 25
5
votes
1 answer
Complicated Module Based Create new Record in DB with ASP.NET MVC 2
I have a very tough problem for me to solve, and I thought and searched alot and came down t one conclusion which I will mention down.
the problem is I have a client that wants to create a websites based on a Common functionality, so let us call it…

DevMania
- 2,311
- 4
- 25
- 43
5
votes
1 answer
Portable Areas Vs Multi project Areas?
Can you please tell me advantages/drawbacks of these two implementations?
My context : We have a large project which includes many differents domains. Each domain will naturally be an Area. But many differents teams will work on each and we want to…

Cybermaxs
- 24,378
- 8
- 83
- 112
4
votes
2 answers
Compile views with enabling MvcBuildViews into MVC 2 Portable Area
I have a big .net mvc 2 project where we are using MvcContrib Portable Area. There is a main web site which load many modules (PA modules).
The main application contains Site.Mater into its ~\Views\Shared folder. each module also has own Site.Master…

isuruceanu
- 1,157
- 5
- 23
4
votes
0 answers
ASP.Net MVC Razor helpers in portable areas
I have an ASP.Net MVC Portable Area project containing pure C# code, Razor views (cshtml), javascript and CSS. It's all being embedded into the output DLL for the area project.
I want to create a @helper function that can be accessed across the…

Knut Marius
- 1,588
- 18
- 40
3
votes
1 answer
asp.net mvc 3 razor sections and portable areas
Is it possible to have a portable area feed into a ASP.Net MVC 3 razor section? I have a section in my for placing JS files, CSS, fiels, etc. I want to be able to target the head section from portable areas for any JS, CSS files the portable area…

Tom Schreck
- 5,177
- 12
- 68
- 122
2
votes
4 answers
could not be resolved because it was built against the ".NETPortable,Version=v5.0" framework
I am trying to implement finger touch login in my xamarin app
for that I have installed package Plugin. Fingerprint version 1.4.5.0
but it gives me an error while building
The primary reference "Plugin.Fingerprint, Version=1.4.5.0, Culture=neutral,…

Neelam Prajapati
- 3,764
- 3
- 28
- 62
2
votes
0 answers
Compile MvcContrib Portable Area with aspnet_compiler
I have a .net mvc 2 web application. I deployed this application using aspnet_compiler and a nant build file
like
asp.net-mvc-2
publish
mvccontrib
portable-areas

isuruceanu
- 1,157
- 5
- 23
2
votes
1 answer
Breakpoints in Views in Portable Areas are not hit while debugging
We are using Portable Areas in our ASP.NET MVC web application, and I notice that breakpoints are not hit in Views that are contained in the Portable Area.
So I can not debug Views in a portable area, which is sometimes needed.
What could be…

Thomas Stock
- 10,927
- 14
- 62
- 79
2
votes
0 answers
How to register MVC4 portable areas and routes in nUnit tests?
My MVC4 solution contains three projects:
Web, an MVC 4 web application
MyAccount, a portable area
Tests, a class library that leverages nUnit (and moq)
Web's global.asax defines some routes, as does MyAccount (in its implementation of…

Melissa Avery-Weir
- 1,357
- 2
- 16
- 47
2
votes
1 answer
NullReference in a portable area MVC view form when using Html helper
Update
Thinking that the culprit was some conflict between MvcContrib dependencies and a .NET 4.5 web app, I tried to avoid using MvcContrib PA's, so I completely rebuilt a new solution without using them (I'm experimenting with Autofac + MEF). Yet,…

Naftis
- 4,393
- 7
- 63
- 91
1
vote
2 answers
MvcContrib strongly-typed BeginForm overload routes to portable area instead of consuming route
I am using MvcContrib 2.0.95.0 on an MVC2 web. We have created portable areas and are consuming them on a page.
On my viewpage that consumes a widget from my portable area, I have noticed that the BeginForm is routing my posts to my portable…

Kurt Johnson
- 411
- 5
- 15
1
vote
1 answer
Injecting a class that is in other assembly using ninject
My project is done using portable areas, I’m using ninject for DI, I’m injecting a class that is in other assembly, so I have this code in the areaRegistraction:
DependencyResolver.Current.GetService().Add(this.module);
IKernel…

user1096760
- 87
- 2
- 8