Our ASP.NET website allows user to perform a variety of queries and displays a network diagram (like a UML diagram) based on the result queried from database. At present, we are generating a Bitmap and displaying it. But since we needed to support a feature to allow user to show/hide certain blocks interactively, we plan to use Silverlight for rendering the graphic. Also we plan to add more interactions in the future.
I have two questions:
- Is it possible to an ASP.NET application to 'send' parameters to silverlight application.
- Is it possible for a silverlight application to query a SQL server database.
PS. If there are other better alternatives than Silverlight, please do suggest.