Enabling Azure Support

12 Aufrufe
Direkt zur ersten ungelesenen Nachricht

Scott Watermasysk

ungelesen,
15.01.2009, 09:33:3515.01.09
an structuremap-users
Hi Jeremy (and others),

I was able to make two small attribute changes to StructureMap 2.5.2
which appear to enable it to work under Azure restricted environment.

Unfortunately, I do not know enough about the StructureMap code base
to know if these changes would have any other ramifications (but all
744 tests do pass).

Changes:

1. Add [assembly: AllowPartiallyTrustedCallers] to
CommonAssemblyInfo.cs
2. Comment out the [EnvironmentPermission(SecurityAction.Assert, Read
= "COMPUTERNAME")] attribute on ObjectFactory.

#1 seems harmless, but #2 would concern me.

If there is anything else I could test to ensure all is well with
these changes let me know.

Thanks,
-Scott

Jeremy D. Miller

ungelesen,
15.01.2009, 09:55:4315.01.09
an structure...@googlegroups.com
Scott,

I'll have to scan the code just a bit to see if the feature that needed #2 even exists anymore.  AFAIK nobody uses it anyway.
 
Jeremy D. Miller
The Shade Tree Developer
jeremy...@yahoo.com



From: Scott Watermasysk <scott...@gmail.com>
To: structuremap-users <structure...@googlegroups.com>
Sent: Thursday, January 15, 2009 8:33:35 AM
Subject: [sm-users] Enabling Azure Support

Jeremy Miller

ungelesen,
19.01.2009, 13:57:5019.01.09
an structuremap-users
This change has been committed into the Trunk now.
Allen antworten
Antwort an Autor
Weiterleiten
0 neue Nachrichten