I have ASP.NET MVC project.In WebConfig file I have a connection to local db.Here is code:
<connectionStrings><add name="DefaultConnection" connectionString="Data Source=DESKTOP-SV2O11U;Initial Catalog=RIS_Main;Integrated Security=True" providerName="System.Data.SqlClient" /><add name="RIS_MainEntities" connectionString="metadata=res://*/Models.Model1.csdl|res://*/Models.Model1.ssdl|res://*/Models.Model1.msl;provider=System.Data.SqlClient;provider connection string="data source=DESKTOP-SV2O11U;initial catalog=RIS_Main;integrated security=True;MultipleActiveResultSets=True;App=EntityFramework"" providerName="System.Data.EntityClient" />But the problem in that I working on two pcs, work and home.So it has a different name.And I need to change DataSource in >>> DefaultConnectionIs there any variant to keep 2 pcs name in >>> connectionStrings?