Developing Web Applications with the Web ADF - Tutorials |
|
Tutorial(导师) Overview
If you've ever worked with any of Microsoft's integrated development environments before, you'll find adding GIS functionality to Web applications in Microsoft Visual Studio to be much the same - you drag and drop controls from a toolbox onto a form (in this case a Web form), set some control properties, and programmatically define how the control works by writing code that responds to events such as mouse clicks.
Now, in addition to(除了**之外) adding text boxes and buttons, you'll also be able to add things, such as a map and a table of contents, directly to your Web form. If any part of this process seems unfamiliar to you, you should probably take a break from learning about ArcGIS Server and spend some time learning a little more about the .NET Framework, ASP.NET, and Microsoft Visual Studio. This topic assumes that you are already familiar with this development environment and understand Web forms, Web controls, assemblies, namespaces, and so on. In this section, you'll start learning about how to build Web applications with the Web ADF. The following examples explain in step-by-step fashion how to create Web ADF applications with different levels of complexity and functionality.
如果你在以前曾经使用过微软的继承开发环境的话,你就会发现在VS里面将一个GIS功能添加到一个WEB的应用程序看起来就是那么的相似:从工具箱里面拖拽一个控件到页面的表格内,设置它的一些属性,通过写代码来实现控件是如何相应事件然后工作的,比如:鼠标单击事件。现在,除了添加文本输入框和按钮,你应该还要能够添加一些其他的东西:比如:地图控件和带有内容的表格,直接到你的网页表格里面。如果你对上面的任何一个操作都不熟悉,我想你应该先挺下来熟悉一下 Arc GIS Server以及花一点的时间去学习.NET的框架和ASP.NET,以及微软的VS。下面的话题都假设你已经熟悉了开发环境并且理解了Web表格,web控件,组件,命名空间等等。在这一章你就要开始学习如何使用Web ADF来创建WEB应用程序。下面的例子将会一步一步的向你展示如何创建不同复杂程度和功能的web ADF应用程序。
As you build these applications, you'll be exposed to the various classes implemented(工具) in the Web ADF and also see some of the methods, properties, and events exposed on these classes. For a complete reference of all classes in the Web ADF, see the discussions and library reference information presented in this help system. In order to code and run the examples presented in this topic, you need to have a working ArcGIS server with at least one map service running. See the Managing your GIS server section of this help system for information on starting a map service. In addition, the Web ADF must be installed on the computer from which you will run Visual Studio. All examples assume you are using the Visual Studio 2005 or 2008 IDE.
当你开始创建这些应用程序后,你就会看到很多的Web ADF框架下的工具,也看到一些包含在这些类里面的方法,属性和事件。关于WEB ADF下的所有的类的全部参考,请查看帮助系统里面的类库接口信息。为了用代码实现并运行关于这个话题的例子,你需要ArcGIS SERVER的工作,并至少让一个地图服务处于运行状态下。在帮助系统里面查看管理你的GIS SERVER服务,来获取关于如何启动一个地图服务的相关信息。另外,WEB ADF框架必须安装到你的计算机上面。所有的例子都假设你使用的集成开发工具为:VS2005或者VS2008。
Finished solutions for all tutorials are included in a sample, ADF Tutorials
所有教程的成品解决方案都包含在一个实例里面,ADF教程。.