Monday, March 26, 2012

ASP.NET AJAX 1.0 RC

I have just dowloaded ASP.NET AJAX 1.0 RC and have a couple question:

When is the next version of ASP.NET AJAX planned for? Will it be easy to upgrade?When uploading my web site to a hosting server, what do i need to upload to get AJAX work on this server?How can i add ASP.NET AJAX 1.0 RC to an existing ASP.NET 2.0 website developed with Visual Web Developer 2005?

Thanks.

They are in RC mode, so I cant imagine it will be too hard. (however, RC is RC, its still up in the air)

You probably cannot count on Ajax being installed in the GAC on your hosting service until 1.0, so you will need to deploy System.Web.Extensions.dll, and if used Microsoft.Web.Preview.dll and AjaxControlToolkit.dll. This might need to be confirmed as I have not deployed anything to a production environment yet.

Here is alink on converting an existing project to the new version.


Hi

copy the System.Web.Extensions.dll (and any other similar dll) to the bin folder on production and it should work.



hello.

this is only necessary if the server that is hosting the web app doesn't have the dll installed on the gac (which will be automatically done if you run the installer on the server). btw, putting the dll on the bin folder will only work if your app is configured to run in full trust mode (if the dll is on the gac, running in meddium trust is enough).


Hi,

My question is regarding this last post.
What if the host is configured as Medium trust ?
Can we override this with a <trust> section in web.config ?
Do we have anything else to take care of ?


I really really really hope this changes by 1.0, I'm not sure I like running in full trust. And what if our "hosting provider" wont install it in the GAC?
I'd have to agree with Helios, I much preferred when you could deploy a self contained batch of files and not be needed to update the GAC. Which I assume would have to be updated with each future release. It was much cleaner when the only outside dependency was that the framework was installed: I thought that one of the beauties of the .net approach.
Any ideas when version when 1.0 is being released?

Hi, I'm having some of the same issues here when using the new December release.

Everything works great on my development machine, but then after moving everything over to my production server, I receive the ddl errors (mentioned above).

So I copied the dll's (as said in one of the above replies) to the bin found, and now I receive the "medium trust" conflict (since my host service will not allow full trust).

Is there currently a way around this permission issue without changing to full trust or asking my host provider to include the new version into their GAC? If not, it looks like I'll be going back to an earlier version when everything was nicely accessable from the AltlasControlToolkit.dll and the Microsoft.web.atlas.dll (without permission errors).

Thanks in advance.

No comments:

Post a Comment