Developing applications using the Web ADF—Working with data sources  

Creating custom data sources


The Web ADF provides a generic framework to integrate multiple data sources into a single application.  This framework, termed the Common API, is a set of classes and interfaces that provide an extendable architecture for custom data source developers.  All out-of-the-box data sources supported with the Web ADF are essentially "custom" in the sense they implement parts of the Common API to expose data source capabilities for use by the Web ADF controls and APIs.  The Common API class and interfaces are contained in the ESRI.ArcGIS.ADF.Web.DataSources assembly.  The type and capabilities of the data source determine which how the Common API will be used.   For data sources that provide map data, there are two types of data sources: Map Feature data and Map Image data.  A sample illustrating the implementation of both custom data source types is provided here: Common_CustomDataSource