Development Experience

Tuesday, May 9, 2017

Azure ARM Template Connection String Settings


Search "serverFarmId" keyword in your template.
paste the following code for connection settings.

By default db is mysql to set up other db types add 'type' key word.





value="2" SQL Database
value="1" SQL Server
value="0" MySQL
value="10" PostgreSQL
value="4" Notification Hub
value="5" Service Bus
value="6" Event Hub
value="7" Api Hub
value="8" Document DB
value="9" Redis Cache
value="3" Custom


For more detail about this subject please visit the perficient blog



 "siteConfig":  {  
             "connectionStrings": [  
                         {  
                         "name": "ConnString1",  
                         "connectionString": "Server=myServerAddress;Database=myDataBase;Trusted_Connection=True;"  
                         }  
                       ]  
                 }  

No comments:

Post a Comment