Complete Ajax code obtained by + decompiling system. Web. Extensions. Design Based on Jeffrey Zhao

Source: Internet
Author: User
Tags microsoft dll files
Two days ago, I saw the delicious food made by Jeffrey Zhao's chicken ribs-The really debuggable ASP. NET Ajax. CodeOrganize it into a project file, and now you can debug it.

However, Microsoft does not provideSource codeDuring development, it still cannot be supported during design, and it still feels uncomfortable. You cannot use reflector + filedisassembler to decompile the source code. After decompiling, we processed the two anonymous methods and obtained the following source code (including the source code of system. Web. Extensions compiled by Jeffery Zhao ).

In addition, because the trust level of some virtual hosts is not set to full, directly uploading the two Microsoft DLL files will report failure to load the specifiedProgramSo I slightly modified the code of Lao Zhao and added a [Assembly: allowpartiallytrustedcallers ()], so that it can be used on a VM that does not support full trust level.

ASP. NET Ajax source code

After compilation, you can no longer need the two Microsoft DLL files.

Thank you for the source code of system. Web. Extensions.
 
[Note] I am very sorry. The anonymous method of the Code just now has some problems. It has been fixed. Please download the latest version again :)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.