--
Contact Jeffrey Palermo or Eric Hexter with specific questions about the MvcContrib project. Or go to http://mvccontrib.org
To unsubscribe from this group, send email to mvccontrib-disc...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/mvccontrib-discuss?hl=en
Is it possible for a VirtualPathProvider to supply a web.config? I tried unsuccessfully to alter the parser filter programatically but it would be great to provide a web.config as a virtual file.
On Fri, Dec 11, 2009 at 12:59 AM, Eric Hexter <eric....@gmail.com> wrote:
I am thinking of adding the embedded file into mvccontrib and letting the virtual path provider supply the web.config, when one does not exist.
Eric Hexter
Principal Consultant | Headspring Systems | www.HeadspringSystems.com
email | ehe...@HeadspringSystems.com
blog | http://Hex.LosTechies.com
info | http://www.linkedin.com/in/erichexter
On Thu, Dec 10, 2009 at 10:41 AM, rj <riv...@gmail.com> wrote:
Hi Eric
It works a treat! Do you perhaps have any notes on overcoming this
limitation?
Thanks
Rivaaj
On Dec 10, 4:06 am, Eric Hexter <eric.hex...@gmail.com> wrote:
> This is a bit of a pain point. You need to create a Areas folder in your
> application and copy the web.config from your views folder into the areas
> folder. I have an idea of how to overcome this in the future but this is
> required in order to make this work.
>
> Thanks,
> Eric
>
> Eric Hexter
>
> Principal Consultant | Headspring Systems |www.HeadspringSystems.com
> email | ehex...@HeadspringSystems.com
> On Wed, Dec 9, 2009 at 12:52 PM, rj <riv...@gmail.com> wrote:
> > Hi
>
> > I've tried running the Portable Area sample but an error (listed
> > below) is raised when clicking the "Log On" link. After a bit of
> > searching my best guess is that the use of a generic type is tripping
> > up the parser. Using a code behind file looks to resolve the issue. Is
> > this a known issue with the beta or have I not setup my development
> > environment correctly?
>
> > Thanks
>
> > -------------
> > Parser Error Message: Could not load type
> > 'System.Web.Mvc.ViewPage<LoginInput>'.
>
> > Source Error:
>
> > Line 1: <%@ Page Title="" Language="C#" MasterPageFile="~/Views/
> > Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<LoginInput>" %>
> > Line 2: <%@ Import Namespace="LoginPortableArea.Login.Models"%>
> > Line 3: <%@ Import Namespace="MvcContrib.UI.InputBuilder.Views"%>
>
> > --
> > Contact Jeffrey Palermo or Eric Hexter with specific questions about the
> > MvcContrib project. Or go tohttp://mvccontrib.org