that's not right.

DynamicProxy does work in medium trust from what I understand...

2010/9/3 Patrick Earl <[email protected]>

> K, guess I'll answer my own question.  It sounds like generating
> classes is not allowed in medium trust.
>
> I think I'll just go into a corner and sulk now. :(
>
>        Sadtrick Earl
>
> On Fri, Sep 3, 2010 at 12:22 AM, Patrick Earl <[email protected]> wrote:
> > Okay, I've dug a little deeper and now believe that the client profile
> > can be supported with just a single assembly and one breaking change.
> >
> > The breaking change would be that users would need to change this:
> >
> > <system.web>
> >    <httpModules>
> >        <add
> >            name="ar.sessionscope"
> >            type="Castle.ActiveRecord.Framework.SessionScopeWebModule,
> > Castle.ActiveRecord" />
> >    </httpModules>
> > </system.web>
> >
> > Into this:
> >
> > public class Global : System.Web.HttpApplication
> > {
> >    public override void Init()
> >    {
> >        base.Init();
> >        SessionScopeWebModule.Init(this);
> >    }
> > }
> >
> > Internally, the web module class would be generated at runtime through
> > IL emission.  Is anyone aware of any showstoppers with this approach?
> > Is anyone aware of issues with medium trust, signing, or anything like
> > that?
> >
> > Does this technique appeal to people more than the last two?
> >
> >        Patrick Earl
> >
>
> --
> You received this message because you are subscribed to the Google Groups
> "Castle Project Development List" group.
> To post to this group, send email to [email protected]
> .
> To unsubscribe from this group, send email to
> [email protected]<castle-project-devel%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/castle-project-devel?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Castle Project Development List" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/castle-project-devel?hl=en.

Reply via email to