ArcGIS Server Development

Source: Internet
Author: User

1. Differences and connections between the ArcGIS Server development mode and our usual development mode, understanding the key concepts of ArcGIS Server and web programming (how the server interacts with the client)

2. Understand the ArcGIS Server architecture,

GIS server composition: GIS server = som (Windows Service, used to manage server objects in a group of server containers) + SOC (a process started by som, hosts one or more server objects)

How to deploy

ArcObjects does not need to be installed on the Web/application server layer.

Server Applications create and use ArcObjects objects running on GIS servers

Remote Call of an object is based on rpc of a dcom Object (binary on TCP/IP)

3. Understand the relationship between ArcGIS Server (ADF + AO), ArcGIS Engine, AO, and ADF.

4. Understand the relationship between ArcGIS, ArcSDE, and ArcIMS.

5. Understand the relationship between ArcGIS Server Object Models (ADF. NET web control)

1. webcontrol

2. impersonation 2. agswebcontrol (3.map, 3. overviewmap, 3. pagelayout) 2. scalebar 2.toc 2. toolbar 2. pagelayout

// Webmap webpagelayout webtoc

6. Server API development is the core of ArcGIS Server Development (programming mode), especially the relationship between them.

1) server objects (server objects exist in the context of the server), how to obtain and release server objects

Som = serverconnectio. serverobjectmanager

SC = som. createservercontext ("USA", "mapserver ")

So = SC. serverobject

 

SC. releaseservercontext (the pooled server object does not have a structure, but is returned to the pool)

2) state management (used to maintain the state information of the client): stateless (read-only, can share server objects with other users concurrently) and stateful (read/write ), relationship between status and pool type (pool type server objects can only be used in stateless behavior)

3) The concept of pool (M: N, server object created in advance and shared by multiple sessions), non-pool (), and server context

Pooled: webmap = map1.createwebmap (); // C #

Dim webmap as webmap = map1.createwebmap (); // VB. NET

Try {

// Use the webmap object

}

Finally {

Webmap. Dispose (); // explicitly released, must be released

}

4) server context (the reserved space on the server that runs a group of server objects, a process, the status of management controls, and can be shared among controls on the same webpage)

7. Understand the relationship between Web controls and convenience classes (directly instantiate the server context)

Map (overview) -- webmap (provides the business logic of MAP and Overview map)

Pagelayout -- webpagelayout

TOC -- webtoc

8. Security (agsadmins, agsusers)

Web ApplicationsProgramSecurity

Security of ArcGIS Server

9. How to deploy

Development: 2000/XP Pro, deployment (recommended): Windows 2003 Server

When you install the run-time command of ADF. net on the deployed host

Use the deployment method of ASP. NET (copy a project, set a virtual directory, and so on)

1. at the intersection of ArcGIS Engine and ArcGIS Server, you can use engine to develop COM components, which can then be directly called by ArcGIS Server or integrated through classes, (However, the implementation and logic of the components provided by the engine should be separated, that is, the engine development component cannot have interfaces, but can only encapsulate components with specific functions through the engine, because IE and the interface for Developing COM components cannot be integrated), at the same time, the components provided by the engine must provide a unified interface that meets the server requirements. If you deploy it on a server, you can also integrate it through Web Services. 2. Develop Web applications. You can only use ArcGIS Server, and you do not need ArcGIS Engine. Because the underlying APIs of server and engine are the same. The architecture mode depends on user requirements and specific applications. There are some differences between the two implementation methods. 3. Relationship between ArcGIS Server and ArcIMS. ArcGIS Server can replace ArcIMS, but it must have efficient servers and achieve good load balancing. ArcIMS is suitable for publishing high-performance map data. It provides relatively simple functions (only supports viewer operations), but its speed is significantly better than that of ArcGIS Server. ArcGIS Server can implement all the functions that the engine can implement, including some advanced GIS functions, such as spatial analysis. 4. ArcGIS Server Deployment Solution Developed using ArcGIS Server, Windows 2003 Server is recommended for deployment, which is conducive to load balancing. You can also use 2000 Pro/XP, but it is best to use the server platform 5. Server objects 6. Pool Type and status 7. Status Management 8. Status Change How to call the Server Object status: Add/delete layers from the server object of the map, and change the Renderer of the layer in the Server Object Method for calling the environment status: it can act on pooled or non-pooled server objects, but in pooled server objects, the application should not depend on a special environment before performing operations. If the application depends on the environment, you must set the required environment status before performing the operation. 9. The key to scalability lies in the state of the GIS server and maintains the scalability standard of the application. Use stateless GIS server pooled server objects reduce the time for applications to Control Server objects. Release server objects in a timely manner, not relying solely on the. NET built-in garbage collection system v

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.