![]() |
Web Development »
Silverlight »
HowTo
Advanced
License: The Code Project Open License (CPOL)
Publish Your Database as Silverlight in 15 MinutesBy Faisal AlToukhyGuide to creating a very cool Silverlight application from any database schema in 15 minutes. |
C# 3.0.NET 3.5, ASP.NET, WCF, XAML, MySQL, Silverlight, Oracle, SQL 2000, SQL 2005, SQL 2008, Architect, Dev
|
|
Advanced Search Add to IE Search |
|
|
|
||||||||||||||||

The purpose of this article is to introduce you to a tool that will jump start your Silverlight development by converting any database schema you have into a Silverlight application. You can quickly check the live demo here: http://sphinx4.webhop.net/Silver, to see if this article is worth reading.
The tool is free, and available for download from http://www.z-software.com.
The tool will not only generate the code, but will also compile it so when you download your project it is ready to be used, and that’s where we will start our journey here.
The tool works by you submitting the database schema to the Z-Software server, and after a few minutes, you download a completed project which includes the SOAP service, the WCF service, and several clients. The download will also include the compiled binaries for the two services needed to connect the Silverlight application to the database server.
The tool you download from Z-Software includes a utility to generate the Silverlight code we are about to discuss here.












Grid and GridSplitter from the Visual Studio Toolbox inside the first <Grid> tag.
Grid and GridSplitter to Add Namespace Reference to XAML Code.


zInit(); in the main Page.xaml.cs code.
The browser should display the following:

Make sure that when you drag the Grid or GridSplitter to the XAML code, the reference to the basics and data namespaces are added correctly.
| You must Sign In to use this message board. | |||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||
General
News
Question
Answer
Joke
Rant
Admin
|
PermaLink |
Privacy |
Terms of Use
Last Updated: 30 Mar 2009 Editor: Smitha Vijayan |
Copyright 2009 by Faisal AlToukhy Everything else Copyright © CodeProject, 1999-2009 Web11 | Advertise on the Code Project |