Initial understanding of ASP.net AJAX Extensions

Source: Internet
Author: User

Download a asp.net AJAX beta release, uninstall the original Atlas, and perform the installation process to install to \program Files\Microsoft ASP. NET directory. The difference is that Microsoft.Web.Extensions.dll is installed in the GAC, and there is a phrase in the installation guidelines:
"The installation package installs the assembly ( Microsoft.Web.Extensions.dll) in the Global Assembly Cache (GAC). Do isn't include the assembly in the Bin folder of your ajax-enabled Web site.
Added
<add assembly= Microsoft.Web.Extensions in the system.web-compilation-assemblies section of web.config, version= 1.0.61025.0, Culture=neutral, publickeytoken=31bf3856ad364e35 "/>
Although I did not add this setting to the configuration file, just put the DLL file in the BIN A simple example was successfully executed under the directory, but it was not known if there would be any negative impact. Another <system.webServer> section was added to the configuration file, but it was seen in Machine.config as a neglected configuration section, which is believed to be something for IIS 7.

The asynchronous Communication layer (asynchronous communication Layer) enables you to connect to a network terminal and implement JavaScript invoke Web Service. In fact, regardless of the framework of the implementation mechanism, XMLHTTP is ultimately the core of the WEB asynchronous communication.
The asynchronous communication layer provides extensions that use different client executors. Executor can be understood as the key Component for providing an interface for client requests to communicate with the server. You can customize the executor plug-in. <xmlhttpexecutor class>
The WebRequest Class can send HTTP requests to the server via get or Post. IFRAME can avoid page content changes caused by frequent changes, but the disadvantage is that the load priority is lower than the parent page, if an IFRAME in the content of the page is relatively large will make the entire page first load of the rendering effect is poor, you can get the original embedded in the IFRAME content. Another: JSON is also an interesting content.
Looked at two examples: How to invoke a Web service and how to use JavaScript to:call a Web service from JavaScript using server Types,javascript calls with a server The end-type approach is slightly different from the previous one, requiring additional declarative attributes in the Web Service, previously adding <webservices enablebrowseraccess= "true" through the Web.config file/>

Previously referred to the "building Mash-ups with" Atlas "has done a case to obtain the weather, but through the Reflector looked, found that the original birdge* all disappeared." So what is the new version of the solution to the Cross site/domain Web Service call?
I tried it. It is possible to get XML code through Sys.Net.WebRequest, but security issues differ in browsers, not warnings or prohibitions.

Intermediate spots: Windows Live Contacts Gadget (Beta).

I also tried a bit of pagemethods, but in the hidden code model is not too good, so also have to learn from the Hotlinking album Picture principle (Khan himself ...) The remote Web Service invocation in the. aspx file through XMLHTTP is fetching XML and processing.
Everyone is adapting to change, blog park old Zhao Bit translated a group of articles, the preface is very interesting.

Http://www.cnblogs.com/Orivan/archive/2006/10/23/536868.html

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.