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 :)