Build RAD websites based on XML data and XSD file RRS feed

  • Question

  • User1484423486 posted


    I was wondering if it is possible to build RAD websites based on XML data and XSD schema as opposed to connecting to a SQL database.  I tried creating LINQtoXSD but was unable to connect the LINQtoXSD with the Dynamic Data context.

    Any help or suggestions will be appreciated.




    Sunday, December 14, 2008 10:15 PM

All replies

  • User-330204900 posted

    Hi Ramya, have a look at the Dynamic Data Futures project here:Source Code DynamicDataFutures0716.zip  which has some other provider examples.

    Hope this helps [:D]

    Monday, December 15, 2008 2:32 AM
  • User1484423486 posted

     Hi Steve,


    Thanks for your response. The examples  in DynamicDataFutures use Northwind.mdf file to create the DataContext. In my case the XML file will hold all the data and XSD file for the schema or DataModel. Can you please be more specific to which example in the DynamicDataFutures I need to look into as I couldnot identify. Sorry abt that.

    Monday, December 15, 2008 5:29 PM
  • User-797310475 posted


    Have a look at the System.Web.DynamicData.ModelProviders namespace. You will basically have to write your implementations for the 4 classes in that namespace and call the right MetaModel.RegisterContext overload.

    Monday, December 15, 2008 6:13 PM
  • User-330204900 posted

    If you examin the example more closely you will see that there are also some examples of other providers e.g. POCO (Plain Ordinary CLR Objects) and  ADO.Net Data Services.


    Monday, December 15, 2008 6:26 PM