.net平台ajax解决方案

原创 2006年05月20日 17:40:00

这个是复制过来的,要了解完整的当然要去原生站了:

http://atlas.asp.net/docs/Overview/Overview.aspx

AJAX Technical Concepts

In AJAX, developers can call Web services asynchronously from client scripts using the XMLHTTPRequest object to package information as XML data and then transfer it on the network. To make calls, the XMLHTTPRequest object provides a proxy object that makes the remote call and sends and receives the data.

AJAX also makes extensive use of client-side script, specifically JavaScript (ECMAScript). JavaScript is used to make remote procedure calls, to perform application processing on the client (as opposed to handling it on the server), and to create enhanced UI features.

AJAX solutions use JavaScript together with several other client technologies, including the following:

  • The browser's Document Object Model (DOM), which exposes the elements on an HTML page as a standard set of objects (document, window, and so on) that can be manipulated programmatically.
  • Dynamic HTML (DHTML), which extends HTML with facilities for reacting to user input on the page in client script, without requiring a round trip.
  • Behaviors, which are a way of programmatically packaging UI actions (such as drag-and-drop behavior) that can then be associated with page elements.
  • Components, which are custom JavaScript objects that provide extensive client-side UI features.

'Atlas' Architecture

In its minimal form, an 'Atlas' application uses client-script libraries to manage the UI and to call server-based components. 'Atlas' also provides server components that interact with the client and that can generate predefined client script.

'Atlas' Client Components

For pure client development, 'Atlas' contains a set of client script libraries (.js files) that define a layered approach for creating client-based applications. The layers consist of:

  • A browser compatibility layer, which provides compatibility across most browsers for your 'Atlas' scripts and eliminates the need to write browser-specific scripts.
  • 'Atlas' core services, which include extensions to JavaScript such as classes, namespaces, event handling, inheritance, data types, and object serialization. These object-oriented features give you a familiar programming model and enable you to write higher quality, maintainable, and reusable code.
  • An 'Atlas' base class library, which includes components such as string builders, debuggers, timers, and tracing.
  • A networking layer that communicates with Web-based services and applications and manages asynchronous remote method calls. This layer manages the complexity of making asynchronous calls over XMLHTTP, reducing a call to just a few lines of scripting code.
  • A UI layer that provides a number of 'Atlas' client capabilities: behaviors, the 'Atlas' declarative syntax, UI components, and data binding.
  • A controls layer that creates 'Atlas'-specific controls for client development. These controls can be data-bound, scripted, bound to 'Atlas' behaviors such as drag and drop, and so on. Controls include an auto-completion text box, a data-bound listview control, navigation controls, and more.
  • A declarative programming model, which enables you to create 'Atlas' components in the same way you create ASP.NET server controls.

You can think of the 'Atlas' client script libraries as being a kind of subset of the architecture of ASP.NET on the server.

'Atlas' Server Components

 

'Atlas' is not just about creating client scripts. 'Atlas' includes server-based components, services, and controls that can be integrated with 'Atlas' client scripts, including the following:

  • Web services that make available the following ASP.NET features: profiles, membership, roles, personalization, and globalization and culture-specific services.
  • 'Atlas' server controls that resemble ASP.NET server controls, but emit 'Atlas' client script. 'Atlas' controls corresponds closely to the existing ASP.NET server controls, such as buttons, labels, options, text boxes, check boxes, hyperlinks, and validation controls. 'Atlas' server controls are useful if you already know server-side development well or if it is not practical for you to create 'Atlas' client scripts manually.
  • 'Atlas' server controls that emit JavaScript to produce client behaviors, including a HoverBehavior control, a ClickBehavior control, a Popup control, and an AutocompleteBehavior control.

All 'Atlas' controls will be integrated into Visual Studio so that you can work with them in a designer just as you can with standard ASP.NET server controls.

To learn more about the 'Atlas' features and architecture, see ASP.NET Atlas Overview. To work with the 'Atlas' preview, try the walkthroughs listed in the "See Also" section of this topic.

我想翻译,不过懒!

两种关于ajax跨域请求解决方案

一、使用jsonp实现跨域请求 在前端开发这中你会发现,所有带src属性的标签都可以跨域访问其他服务器文件。jsonp实现的原理也是如此。 以jsonp的数据类型进行请求时,JQ会动态在页面中添加sc...
  • a546200350
  • a546200350
  • 2017年02月09日 15:44
  • 2893

什么是.NET平台

1、  .NET 是Microsoft XML Web services 平台。XML Web services 允许应用程序通过 Internet进行通讯和共享数据,而不管所采用的是哪种操作系统、设...
  • u010168160
  • u010168160
  • 2014年05月25日 22:19
  • 5098

.NET运用AJAX 总结及其实例

1、AJAX简介      (1、没有AJAX会怎么样?普通的ASP.Net每次执行服务端方法的时候都要刷新当前页面,比如实现显示服务器的时间。每次都要刷新页面的坏处:页面刷新打断用户操作、速度...
  • u013010416
  • u013010416
  • 2014年09月28日 17:32
  • 948

.NET跨平台初体验

我的个人观点: 我觉得C#是最优美,最万能的编程开发语言,这种观点一抛出或者会引发不少程序员的口水战,当然这只是我个人的观点,没有必要去改变影响其他人的观点,其他人也没必要反驳我,我的这个个人观...
  • s10141303
  • s10141303
  • 2015年11月15日 11:06
  • 6282

直播系统解决方案-搭建你自己的直播平台

背景 当下,视频直播行业在中国逐渐走红。在刚刚过去的2015年,视频直播成为互联网行业最抢眼的领域之一。从游戏到秀场,从传统的网页端到移动互联网,各大直播平台包括斗鱼、熊猫tv、虎牙战旗还有纯移...
  • English0523
  • English0523
  • 2016年09月09日 11:28
  • 8653

GB/T-28181平台级联实现方式

GB/T-28181协议规范出台也有几年了,陆续相关的推广工作国家公安部进行的如火如荼。国标28181相对于国际上的安防协议标如ONVIF最大的优势是实现了平台级联方式, 很多人会吐槽为何安防协议已经...
  • Zhu__
  • Zhu__
  • 2017年12月08日 21:38
  • 3742

VS中的解决方案设置--项目属性

首先,我们一般不会修改解决方案的属性,而是设置每个项目各自的属性. 接着上一篇文章,我们来看看我们应该怎样来设置各项目的项目属性更好: 我们以NYOJ_001项目的Debug版的设置为例: 在常规选项...
  • lp310018931
  • lp310018931
  • 2015年10月14日 02:00
  • 6413

.net利用ajax技术实现图片上传并回显到界面

最近在开发过程中遇到了一个非常郁闷的问题,就是图片传到fileUpload中时想要实现回显到image控件中。 在前台,fileUpload.change()事件中判断fileUpload.val(...
  • jingmaoxiaohan
  • jingmaoxiaohan
  • 2015年06月12日 11:24
  • 1947

【C#】.NET技术的发展及其跨语言和跨平台特性

【C#】.NET技术的发展及其跨语言和跨平台特性 一、.NET(Microsoft XML Web services): .NET是微软的新一代技术平台,为敏捷商务构建互联互通的应用系统,这些系统...
  • woaini454186694
  • woaini454186694
  • 2016年05月28日 12:37
  • 2363

ASP.NET5 REST API使用示例——基于云平台+云服务打造自己的在线翻译工具

做为一个程序员可能在学习技术,了解行业新动态,解决问题时经常需要阅读英文的内容;而像我这样的英文小白就只能借助翻译工具才能理解个大概;不禁经常感慨,英文对学习计算机相关知识太重要了!最近发现IBM的云...
  • testcs_dn
  • testcs_dn
  • 2016年03月20日 13:32
  • 3320
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:.net平台ajax解决方案
举报原因:
原因补充:

(最多只允许输入30个字)