<<

Building .NET Applications using the ArcGIS Server Web ADF

Rex Hansen Rich Zwaap Introductions

• Who are we? – ArcGIS Server Product Engineers – Manage the ArcGIS Server SDK for .NET technologies

• Who are you? – ASP.NET developers who want to learn more about the Web ADF Schedule

• Today we will cover

– Web ADF component areas – What’snewin931What’s new in 9.3.1 – Q & A

• We will answer questions during session or at the end? – Save all questions until the end

Please complete the session survey! Developer Framework

4 Options for creating Web ADF applications

• ArcGIS Server Manager – Set reqqpuired parameters – Map, table of contents – Theme, hyperlinks – Can modify in Visual Studio • Visual Studio template – Same files as ArcGIS Server Manager • Visual Studio Web site – Add your own customizations

5 Web Mapping Application template

• Web pages • Web ADF controls • Custom tools and controls • Themes • Resources • • Help system

6 Advantages of working with template

• Efficient - saves time developpgying your web site • Contains out-of-the-box basic map display elements – Main map – TblTable of cont ent s (l egend) – Toolbar with GIS commands – Menu bar • Customizable

7 Web ADF Controls

• GIS user interface components – Access to multiple services – Visualization, Query, Analysis • AJAX enabled • SitblScriptable

• Rich out-of-the-box functionality • Visual St udi o i nt egrati on – Web Mapping Application template

8 Demo – Web Controls

• Map, Map ResourceManag er, Map Tip s • Blend multiple resources (layers) • Configure map tips using design-time dialog

9 Web ADF JavaScript Library

• Enhances the Web ADF Web Controls and Framework – Client side functionality and behaviors • Built using AJAX JavaScript base library – Support f or well k nown MS AJAX Pa tterns – Documentation provided by Microsoft • Event Driven – Respond to map events directly in browser (e.g. scriptable Map) • Object Oriented – Full object model and SDK detailing how to use it

¾Web ADF JavaScript Library = ArcGIS JavaScript API

10 Demo – JavaScript Library

• Handle mouse click on the mappg using JavaScrip t • Pan and zoom the map

11 Web ADF Data Sources

• Common Data Source API – Generic framework for supporting multiple data source types – Manages interaction between Web controls and data sources – Implemented by each supported data source – Extensible architecture • Data source specific APIs – Specifi c to a da ta source type (e.g. Arc GIS S erver SOAP) – Used for the Common API implementation

12 Demo – Common API

• Define a Microsoft Virtual Earth base layer • Use an ASP.NET AJAX UpdatePanel • Use QueryFunctionality

13 Web ADF Graphics Web application

ADF Graphics Layer

• Web-tier .NET – Spatially enabled .NET DataTables ArcGIS Server Map Service – Render on the server using GDI+ or the client usinggpgp JavaScript graphics • Client-tier JavaScript Browser – Graphic features and groups ADF JavaScript Graphic Feature – Callouts and MapTips Group – Layer formatting defines symbology and attribute display – Rendered using browser client technologies - e.g. HTML, SVG, VML

14 Demo – Graphics

• Create “Grappyhics Layer” as resource item • Add graphics layer as results from query • Show interaction between GridView and Map

15 Web ADF Task Framework

• Web tasks encapsulate a workflow which accepts user input and generates results

• Extensible Framework enables you to: – Customize existing out-of-the-box tasks • QueryAttributes, Editor, Print, etc. – Create custom Web tasks – Manage results • Display attributes • Visualize on a Map – Integrate tasks with Visual Studio and Manager

16 Demo – Tasks

• Add a PrintTask • Add TaskResults control to display query results

17 What’s New in 9.3.1

• MapTips templates • Microsoft Virtual Earth support • ArcGIS Image service support • PrintTask templates • UserControl task support • Custom server object extension (SOE) and property page integration with Manager • Standard design-time messaging for controls in Visual Studio • Enhanced ScaleBar control – rendered on client by default

18 Demo –

• Create and apply a custom PrintTask template • Add a ScaleBar control

19 Summary

• Today we – Introduced the Web ADF for Microsoft .NET – Discussed the major component areas of the product – Presented the new features coming in 9. 3. 1

Still have questions? Additional Resources Questions, answers and information…

• Tech Talk • ESRI Resource Centers – Outside this room right now! – PPTs, code and video

resources.esri.com • Other sessions – Building Custom Tasks for ArcGIS Server .NET Web Applications • Wednesday at 4:30pm - • Social Networking Primrose C/D (PSCC) – Customizing Graphics and www.twitter.com/ MapTips with the .NET Web ADF ESRIDevSummit • Thursda y at 8 :30am - Catalina/Madera (Wyndham) tinyurl.com/ ESRIDevSummitFB Want to Learn More? ESRI Training and Education Resources

• InstructorInstructor--LedLed Training – Developpgpping Applications with ArcGIS Server Using the Microsoft .NET Framework

• Free Web Training Seminars – Building Applications with ArcGIS Server Using the Microsoft .NET Framework – Implementing Security for ArcGIS Server .NET Solutions – Leveraging OGC Capabilities in ArcGIS Server 9.3

http://www.esri.com/training