From 77ad8a25842d99f216de3ae3c603a4fb3307d8ca Mon Sep 17 00:00:00 2001 From: Blake Niemyjski Date: Sat, 9 Sep 2023 14:39:57 -0500 Subject: [PATCH] Change to localhost http --- samples/Exceptionless.SampleAspNetCore/appsettings.json | 2 +- .../Exceptionless.SampleBlazorWebAssemblyApp/Program.cs | 2 +- samples/Exceptionless.SampleConsole/Program.cs | 2 +- samples/Exceptionless.SampleHosting/appsettings.json | 2 +- samples/Exceptionless.SampleLambda/Function.cs | 2 +- .../Exceptionless.SampleLambdaAspNetCore/appsettings.json | 2 +- samples/Exceptionless.SampleMvc/Web.config | 2 +- samples/Exceptionless.SampleWcf/Web.config | 2 +- samples/Exceptionless.SampleWeb/Web.config | 4 ++-- samples/Exceptionless.SampleWebApi/App.config | 2 +- samples/Exceptionless.SampleWindows/App.config | 2 +- samples/Exceptionless.SampleWindows/Program.cs | 2 +- .../Exceptionless.SampleWpf/Properties/AssemblyInfo.cs | 2 +- .../Configuration/ConfigurationTests.cs | 8 ++++---- test/Exceptionless.Tests/app.config | 2 +- 15 files changed, 19 insertions(+), 19 deletions(-) diff --git a/samples/Exceptionless.SampleAspNetCore/appsettings.json b/samples/Exceptionless.SampleAspNetCore/appsettings.json index f258fbed..09ffad4f 100644 --- a/samples/Exceptionless.SampleAspNetCore/appsettings.json +++ b/samples/Exceptionless.SampleAspNetCore/appsettings.json @@ -1,7 +1,7 @@ { "Exceptionless": { "ApiKey": "LhhP1C9gijpSKCslHHCvwdSIz298twx271nTest", - "ServerUrl": "https://localhost:5201", + "ServerUrl": "http://localhost:5200", "DefaultData": { "JSON_OBJECT": "{ \"Name\": \"Blake\" }", "Boolean": true, diff --git a/samples/Exceptionless.SampleBlazorWebAssemblyApp/Program.cs b/samples/Exceptionless.SampleBlazorWebAssemblyApp/Program.cs index 06d3a6bf..fab4eb8b 100644 --- a/samples/Exceptionless.SampleBlazorWebAssemblyApp/Program.cs +++ b/samples/Exceptionless.SampleBlazorWebAssemblyApp/Program.cs @@ -3,7 +3,7 @@ using Microsoft.AspNetCore.Components.Web; using Microsoft.AspNetCore.Components.WebAssembly.Hosting; -ExceptionlessClient.Default.Configuration.ServerUrl = "https://localhost:5201"; +ExceptionlessClient.Default.Configuration.ServerUrl = "http://localhost:5200"; ExceptionlessClient.Default.Startup("LhhP1C9gijpSKCslHHCvwdSIz298twx271nTest"); var builder = WebAssemblyHostBuilder.CreateDefault(args); diff --git a/samples/Exceptionless.SampleConsole/Program.cs b/samples/Exceptionless.SampleConsole/Program.cs index e259350e..78f28033 100644 --- a/samples/Exceptionless.SampleConsole/Program.cs +++ b/samples/Exceptionless.SampleConsole/Program.cs @@ -17,7 +17,7 @@ using LogLevel = Exceptionless.Logging.LogLevel; // example of setting an attribute value in config. -[assembly: Exceptionless("LhhP1C9gijpSKCslHHCvwdSIz298twx271nTest", ServerUrl = "https://localhost:5201")] +[assembly: Exceptionless("LhhP1C9gijpSKCslHHCvwdSIz298twx271nTest", ServerUrl = "http://localhost:5200")] [assembly: ExceptionlessSetting("EnableWelcomeMessage", "True")] namespace Exceptionless.SampleConsole { diff --git a/samples/Exceptionless.SampleHosting/appsettings.json b/samples/Exceptionless.SampleHosting/appsettings.json index f258fbed..09ffad4f 100644 --- a/samples/Exceptionless.SampleHosting/appsettings.json +++ b/samples/Exceptionless.SampleHosting/appsettings.json @@ -1,7 +1,7 @@ { "Exceptionless": { "ApiKey": "LhhP1C9gijpSKCslHHCvwdSIz298twx271nTest", - "ServerUrl": "https://localhost:5201", + "ServerUrl": "http://localhost:5200", "DefaultData": { "JSON_OBJECT": "{ \"Name\": \"Blake\" }", "Boolean": true, diff --git a/samples/Exceptionless.SampleLambda/Function.cs b/samples/Exceptionless.SampleLambda/Function.cs index 26a5ef29..7060178d 100644 --- a/samples/Exceptionless.SampleLambda/Function.cs +++ b/samples/Exceptionless.SampleLambda/Function.cs @@ -12,7 +12,7 @@ public async Task FunctionHandler(string input, ILambdaContext context) { var client = new ExceptionlessClient(c => { c.ApiKey = "LhhP1C9gijpSKCslHHCvwdSIz298twx271nTest"; - c.ServerUrl = "https://localhost:5201"; + c.ServerUrl = "http://localhost:5200"; // read configuration values from environment variables c.ReadFromEnvironmentalVariables(); diff --git a/samples/Exceptionless.SampleLambdaAspNetCore/appsettings.json b/samples/Exceptionless.SampleLambdaAspNetCore/appsettings.json index a6f2a6c6..a13a4ef6 100644 --- a/samples/Exceptionless.SampleLambdaAspNetCore/appsettings.json +++ b/samples/Exceptionless.SampleLambdaAspNetCore/appsettings.json @@ -1,7 +1,7 @@ { "Exceptionless": { "ApiKey": "LhhP1C9gijpSKCslHHCvwdSIz298twx271nTest", - "ServerUrl": "https://localhost:5201", + "ServerUrl": "http://localhost:5200", "ProcessQueueOnCompletedRequest": true, "DefaultData": { "JSON_OBJECT": "{ \"Name\": \"Blake\" }", diff --git a/samples/Exceptionless.SampleMvc/Web.config b/samples/Exceptionless.SampleMvc/Web.config index 2f80847e..a10d7c97 100644 --- a/samples/Exceptionless.SampleMvc/Web.config +++ b/samples/Exceptionless.SampleMvc/Web.config @@ -2,7 +2,7 @@ - + diff --git a/samples/Exceptionless.SampleWcf/Web.config b/samples/Exceptionless.SampleWcf/Web.config index d6a31a9c..7267b557 100644 --- a/samples/Exceptionless.SampleWcf/Web.config +++ b/samples/Exceptionless.SampleWcf/Web.config @@ -4,7 +4,7 @@
- + diff --git a/samples/Exceptionless.SampleWeb/Web.config b/samples/Exceptionless.SampleWeb/Web.config index 306099d1..18d2f2f8 100644 --- a/samples/Exceptionless.SampleWeb/Web.config +++ b/samples/Exceptionless.SampleWeb/Web.config @@ -3,8 +3,8 @@
- - diff --git a/samples/Exceptionless.SampleWebApi/App.config b/samples/Exceptionless.SampleWebApi/App.config index 67b453c5..34cfbe9c 100644 --- a/samples/Exceptionless.SampleWebApi/App.config +++ b/samples/Exceptionless.SampleWebApi/App.config @@ -3,7 +3,7 @@
- + diff --git a/samples/Exceptionless.SampleWindows/App.config b/samples/Exceptionless.SampleWindows/App.config index b731eec5..f9fdf1f2 100644 --- a/samples/Exceptionless.SampleWindows/App.config +++ b/samples/Exceptionless.SampleWindows/App.config @@ -4,7 +4,7 @@
- + diff --git a/samples/Exceptionless.SampleWindows/Program.cs b/samples/Exceptionless.SampleWindows/Program.cs index 96a64e85..9bca724a 100644 --- a/samples/Exceptionless.SampleWindows/Program.cs +++ b/samples/Exceptionless.SampleWindows/Program.cs @@ -3,7 +3,7 @@ using System.Windows.Forms; using Exceptionless.Configuration; -[assembly: Exceptionless("LhhP1C9gijpSKCslHHCvwdSIz298twx271nTest", ServerUrl = "https://localhost:5201")] +[assembly: Exceptionless("LhhP1C9gijpSKCslHHCvwdSIz298twx271nTest", ServerUrl = "http://localhost:5200")] namespace Exceptionless.SampleWindows { internal static class Program { diff --git a/samples/Exceptionless.SampleWpf/Properties/AssemblyInfo.cs b/samples/Exceptionless.SampleWpf/Properties/AssemblyInfo.cs index 8ce68a87..bdd7da74 100644 --- a/samples/Exceptionless.SampleWpf/Properties/AssemblyInfo.cs +++ b/samples/Exceptionless.SampleWpf/Properties/AssemblyInfo.cs @@ -2,4 +2,4 @@ using Exceptionless.Configuration; [assembly: ThemeInfo(ResourceDictionaryLocation.None, ResourceDictionaryLocation.SourceAssembly)] -[assembly: Exceptionless("LhhP1C9gijpSKCslHHCvwdSIz298twx271nTest", ServerUrl = "https://localhost:5201")] \ No newline at end of file +[assembly: Exceptionless("LhhP1C9gijpSKCslHHCvwdSIz298twx271nTest", ServerUrl = "http://localhost:5200")] \ No newline at end of file diff --git a/test/Exceptionless.Tests/Configuration/ConfigurationTests.cs b/test/Exceptionless.Tests/Configuration/ConfigurationTests.cs index 03acfc26..3cd35cb4 100644 --- a/test/Exceptionless.Tests/Configuration/ConfigurationTests.cs +++ b/test/Exceptionless.Tests/Configuration/ConfigurationTests.cs @@ -15,7 +15,7 @@ using Xunit; using Xunit.Abstractions; -[assembly: Exceptionless("LhhP1C9gijpSKCslHHCvwdSIz298twx271nTest", ServerUrl = "https://localhost:5201")] +[assembly: Exceptionless("LhhP1C9gijpSKCslHHCvwdSIz298twx271nTest", ServerUrl = "http://localhost:5200")] [assembly: ExceptionlessSetting("testing", "configuration")] namespace Exceptionless.Tests.Configuration { public class ConfigurationTests { @@ -65,13 +65,13 @@ public void CanConfigureClientUsingActionMethod() { var client = new ExceptionlessClient(c => { c.ApiKey = "LhhP1C9gijpSKCslHHCvwdSIz298twx271nTest"; - c.ServerUrl = "https://localhost:5201"; + c.ServerUrl = "http://localhost:5200"; c.SetVersion(version); c.IncludeUserName = false; }); Assert.Equal("LhhP1C9gijpSKCslHHCvwdSIz298twx271nTest", client.Configuration.ApiKey); - Assert.Equal("https://localhost:5201", client.Configuration.ServerUrl); + Assert.Equal("http://localhost:5200", client.Configuration.ServerUrl); Assert.Equal(version, client.Configuration.DefaultData[Event.KnownDataKeys.Version].ToString()); Assert.True(client.Configuration.IncludePrivateInformation); @@ -92,7 +92,7 @@ public void CanReadFromAttributes() { config.ReadFromAttributes(typeof(ConfigurationTests).GetTypeInfo().Assembly); Assert.Equal("LhhP1C9gijpSKCslHHCvwdSIz298twx271nTest", config.ApiKey); - Assert.Equal("https://localhost:5201", config.ServerUrl); + Assert.Equal("http://localhost:5200", config.ServerUrl); Assert.Single(config.Settings); Assert.Equal("configuration", config.Settings["testing"]); } diff --git a/test/Exceptionless.Tests/app.config b/test/Exceptionless.Tests/app.config index 7bcdd72d..6d2e08a5 100644 --- a/test/Exceptionless.Tests/app.config +++ b/test/Exceptionless.Tests/app.config @@ -4,7 +4,7 @@
- +