Write and Read operations connection string

Neela 20 Reputation points
2024-08-22T12:45:15.7733333+00:00

I have an Azure SQL DB in two regions (replicated to secondary region) and using it in ASP.NET MVC web app hosted in the same regions. My Question is do I need to use two connection strings in my secondary region web app for handling Read and Write operations (One for Read and one for write). If so do I need to separate my code for read and write operations.

Azure SQL Database
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.