Just installed a code formatter from here. This code should be formatted and syntax highlighted for C#
try
{
DashboardSvc svc = new DashboardSvc();
string productionUrl = Settings.Default.ProductionUrl;
if (ApplicationDeployment.IsNetworkDeployed)
{
svc.Url = productionUrl;
}
return svc;
}
catch (Exception ex)
{
ClientEventLogging.LogError(ex);
}
No tags
