mardi 23 juin 2015

use sqlite in multiple domains

I have asp.net C# web application on domain first-domain.com, data base file is in App_Data and in web.config is

<connectionStrings>
    <add name="SQLiteConnector" connectionString="Data Source=|DataDirectory|\My_SQLite_database.db3;" providerName="System.Data.SQLite"/>
  </connectionStrings>

that work fine... My question is how to make in second-domain.com to use data base form first-domain.com I only need to reed form database what to put in web.config ?

Aucun commentaire:

Enregistrer un commentaire