DevExpress-Examples / mvc-dashboard-how-to-store-connections-in-database

MVC Dashboard - How to store JSON connections in a database

Repository from Github https://github.comDevExpress-Examples/mvc-dashboard-how-to-store-connections-in-databaseRepository from Github https://github.comDevExpress-Examples/mvc-dashboard-how-to-store-connections-in-database

Dashboard for MVC - How to store JSON connections in a database

This example demonstrates how to create new JSON connections in MVC Dashboard's Data Source wizard and store them in a database.

Set the DashboardExtensionSettings.AllowCreateNewJsonConnection property to True to allow creating new JSON connections. Implement the IDataSourceWizardConnectionStringsStorage interface to create custom connection string storage, and use the DashboardConfigurator's SetConnectionStringsProvider method to assign it to the MVC Dashboard.

In this example, connections are stored in a database using Entity Framework. To run the example, modify the "ConnectionStorage" connection string in Web.config.

Files to Review:

Documentation

More Examples

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)

About

MVC Dashboard - How to store JSON connections in a database

License:Other


Languages

Language:Visual Basic .NET 48.0%Language:C# 41.0%Language:HTML 10.1%Language:ASP.NET 1.0%