Getting started with AJAX with ASP.NET 3.5, what I need on the server

I have a .net framework 3.5 on my development machine, and I also use AJAX tools in my code. To publish this code on the server for my users, do I need something on the server for my AJAX code to work correctly?

+4
source share
3 answers

You only need the .NET framework 3.5.

If you publish your project, the used AJAX Toolkit will also be used. If you only reference the AJAX Toolkit through a file and not through a project, make sure that you set the dll to "Always Copy" in the properties window.

+3
source

.NET 3.5 must be installed on the server. The Ajax Control Toolkit assembly does not have to be uploaded to the server, but it must be at least in the Bin folder with the links in web.config.

+2
source

Of course, you will need to install the .NET Framework on your server. If you use the AJAX Toolkit, you will want to copy the AjaxControlToolkit.dll file to the bin folder of your web application on your server.

Also, make sure you configure your web application to use the .NET Framework 2.0. In IIS, you go to the properties of your website, and then on the ASP.NET tab and make sure that the version of ASP.NET is set to 2.0.

0
source

Source: https://habr.com/ru/post/1277068/


All Articles