New version of Script# 0.6 and ASP.NET Ajax - where is MicrosoftAjaxExt.js?

落花浮王杯 提交于 2019-12-01 07:13:51

问题


we use the ASP.NET Ajax (ie. <asp:ScriptManager />) on our pages and we wish to use Script# for generating js files with a client side functionality. The problem is when we include mscorlib.js into a page. In that moment other js libraries, which rely on ASP.NET Ajax, stop working.

Since Script# v0.6 sscorlib.dll and aacorlib.dll libraries were merged into mscorlib.dll. In release notes is said "Merged sscorlib.dll and aacorlib.dll into mscorlib.dll. Changed sscorlib.js to become mscorlib.js. If you are using ASP.NET Ajax, you need to include MicrosoftAjaxExt.js for equivalent functionality".

Where do we find this library?

Thanks for reply!!!


回答1:


Script# doesn't support ASP.NET Ajax anymore (starting with more recent builds).

You'll find mscorlib to be a much smaller runtime footprint than MicrosoftAjax.js (+ MicrosoftAjaxExt.js). There are plans to further reduce the size of mscorlib down significantly.

Along with jQuery it provides a better model for writing client apps.



来源:https://stackoverflow.com/questions/5027665/new-version-of-script-0-6-and-asp-net-ajax-where-is-microsoftajaxext-js

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!