Full Trust Strikes Again

It looks like deploying ASP.NET AJAX sites won't be as easy as we thought. Beta 1 of the ASP.NET AJAX Extensions now installs in the Web server's Global Assembly Cache (GAC). You can't just copy the DLLs into the bin folder anymore. Apparently, this change is because some operations require Full Trust.

Yes, using the GAC makes patches and updates easier: You can replace only one copy per server rather than multiple copies of the DLL scattered in the bin folders of individual webs.

However, this is real downer for people using shared hosting. Understandably, ISPs don't want to install beta software on production machines. That means sites that want to feature ASP.NET AJAX right away - or have deployed the CTPs - have to wait until the release version. (Microsoft keeps release dates close to the vest, so who knows how long the delay will be.)

Even after the release, ISPs can be slow (or refuse!) to install new components. It's unfortunate that these wonderful client-side enhancements can get mired in server-side issues and delays.

BTW, I'm still angry that I had to abandon an interesting Visual Studio Tools for Office (VSTO) project because the software requires Full Trust in my public web site. For security reasons, ISPs limit individual webs on shared servers to Partial Trust.

3 Comments

  • As I remember, you "can" run the dll's in the BIN. They aren't supported that way, but it is suppossed to work. Of course, this came from a couple of various discussions and might not work, but I did want to suggest it.

  • As Wally said you can run atlas in the bin folder, but your host needs to be running Full Trust which most hosters don't do. At MaximumASP we have each Customer separated into individual AppPools so we do allow Full Trust to our shared customers, but I think we are the exception not the rule on this policy.

  • this totally bytes! i've had to rebuild my whole website because it won't run the controls I love soo much like collapsible panels and the like!

Comments have been disabled for this content.