ASP.NET Full Trust Assemblies

I believe I know the answer to this (since I have it workign now) but jsut want to confirm and check the limitations imposed on ASP.NET applications and full trust third party controls.

We make use of Infragisitcs web controls in many of our projects, and currently use the webmenu in an app hosted here now. All is working fine. What I want to confirm is that this is officially permitted and that we can use 3rd party controls that we purchase and that they will work properly and are granted full trust permission by default and do not need to be put into the GAC and approve by Jodohost first.

We currently have another account with 1and1 and it seems they do not allow this and thus we cannot get our app to run there.

Here is the support reply we have fro mInfragistics that explains the issue:

The cause of the problem you are experiencing is that the Infragistics assemblies must be given full trust in order for them to work. Any intrinsic .Net control by default has this full trust. Any assembly that is not a part of the core .NET library will have to be given full trust in order to run without any security violations.

For further reference, you can refer to this article with regards to deploying a web application:
http://devcenter.infragistics.com/Support/KnowledgeBaseArticle.Aspx?ArticleID=7386

Most web hosting companies would probably have full trust enabled unless they make their security scheme stricter and under that circumstance the Infragistics (or any other assemblies that are not part of the fully trusted .Net framework base class library) will not be permitted to run.

So are we safe to assume that we should have no problems at Jodohost with such controls and what if any limitations do you have on your ASP.NET hosting?

I would recommend testing it first.

We have, I just want to confirm if this is what you allow, and its not some missed setting before we make a decision based on such support.

I thought it would work, but I just thought it would be best to test.

Ok so it is safe to assume you allow full trust assemblies in the bin folder?

yes, it is fine.

Stephen,

We just setup a new asp.net 2.0 application and were tols we cannot use full trust assemblies now. It worked before so I was wondering if we could possibly have this setup on our new app. We are using the latest Infragistics controls and need to be able to run these. Getting these to work in medium trust can be a pain to get working so any asistance you can provide would be appreciated.

I think we managed to get it working with a copy of new medium trust assemblies that Infragistics posted. Hopefully these will work for us.

Not working as easily as we had thought, getting lots of errors all over our app due to this :frowning:

If anyone has any insight into getting Infragistics controls to work at Jodohost it would be much appreciated.

What options if any do we have with Jodohost to allow us to run in full trust mode?

Windows VPS is the only place where you can get net2.0 full trust with way more control than shared hosting.

Thanks. In terms of performance would a Windows VPS account with 640MB be equal or better in performance than a shared host? Our concern is if the VPS accoutns have enough ram to properly run multiple asp.net applications.

Are the mail services also run on the VPS or seperate?

Would a VPS also have enough power to run SQL Express 2005 along with IIS sites? Just tryign to get a sense of capabilities. We need to have more control and a VPS looks like a good way to get that but need to ensure it will meet our performance needs. Realistically how many sites would one VPS accoutn support, assuming all are asp.net 1.1 or 2.0?

I havent used SQL Express 2005, but with 640M, you may be better at running it seperate or use the shared ones. Or can lock it to use less memory if possible (Like it can be done with MySQL). If you ask for realistic usage you know know it better over anyone else. I dont know asp.net good, but if you can move your commonly used DLLs that spans multiple applications to GAC, you may have additional memory savings. Something on these lines:
Junfeng Zhang's Musing | Microsoft Learn

Hello I got your private messages, and I am sorry but I was unable to respond between the loads of work in the datacenter and flying with my cell phone off(its a lifeline!)

I will review all you have asked here and reply in detail to you on your private message.

Thanks Stephen, look forward to your reply.