title: Can s#arp-architecture/mySQL run under medium trust? Alternatives?
body: <p>I am trying to get a simple prototype using ASP.NET S#arp-architecture (Sharp architecture) to run on a shared hosting site. This site runs in medium trust, which appears to give problems with this framework. At first I went off on a wild goose chase with the mySQL.data.dll, but the latest version already supports partially trusted callers. </p>
  
  <p>The only way I found up until now is <a href="http://paulwideman.com/softwareartist/2009/12/27/running-sharparchitecture-in-medium-trust/" rel="nofollow noreferrer">this blogpost</a>, which basically describes re-compiling everything from the ground up, starting with the various Castle components. Is this the only way to get this to work, and more importantly, <em>does this actually work?</em></p>
  
  <p>I have had some good experiences with S#arp-architecture, and since I only have a few days to build this prototype, I figured S#arp-architecture would be a good match. So, my options are to stick with SA, or on the other end of the spectrum to hand-roll an MVC/NH/mySQL application. Other suggestions (using NHibernate and ASP.NET MVC) are also welcome.</p>