Skip to content

Commit 3ea304e

Browse files
authored
Updated ServerUrl and Api Key to work with local server instances. (#309)
1 parent 092ec02 commit 3ea304e

File tree

17 files changed

+34
-34
lines changed

17 files changed

+34
-34
lines changed

samples/Exceptionless.SampleAspNetCore/appsettings.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"Exceptionless": {
3-
"ApiKey": "LhhP1C9gijpSKCslHHCvwdSIz298twx271n1l6xw",
4-
"ServerUrl": "http://localhost:5000",
3+
"ApiKey": "LhhP1C9gijpSKCslHHCvwdSIz298twx271nTest",
4+
"ServerUrl": "https://localhost:5201",
55
"DefaultData": {
66
"JSON_OBJECT": "{ \"Name\": \"Blake\" }",
77
"Boolean": true,

samples/Exceptionless.SampleBlazorWebAssemblyApp/Program.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
using Microsoft.AspNetCore.Components.Web;
44
using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
55

6-
ExceptionlessClient.Default.Configuration.ServerUrl = "http://localhost:5000";
7-
ExceptionlessClient.Default.Startup("LhhP1C9gijpSKCslHHCvwdSIz298twx271n1l6xw");
6+
ExceptionlessClient.Default.Configuration.ServerUrl = "https://localhost:5201";
7+
ExceptionlessClient.Default.Startup("LhhP1C9gijpSKCslHHCvwdSIz298twx271nTest");
88

99
var builder = WebAssemblyHostBuilder.CreateDefault(args);
1010
builder.RootComponents.Add<App>("#app");

samples/Exceptionless.SampleConsole/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
using LogLevel = Exceptionless.Logging.LogLevel;
1818

1919
// example of setting an attribute value in config.
20-
[assembly: Exceptionless("LhhP1C9gijpSKCslHHCvwdSIz298twx271n1l6xw", ServerUrl = "http://localhost:5000")]
20+
[assembly: Exceptionless("LhhP1C9gijpSKCslHHCvwdSIz298twx271nTest", ServerUrl = "https://localhost:5201")]
2121
[assembly: ExceptionlessSetting("EnableWelcomeMessage", "True")]
2222

2323
namespace Exceptionless.SampleConsole {

samples/Exceptionless.SampleHosting/appsettings.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"Exceptionless": {
3-
"ApiKey": "LhhP1C9gijpSKCslHHCvwdSIz298twx271n1l6xw",
4-
"ServerUrl": "http://localhost:5000",
3+
"ApiKey": "LhhP1C9gijpSKCslHHCvwdSIz298twx271nTest",
4+
"ServerUrl": "https://localhost:5201",
55
"DefaultData": {
66
"JSON_OBJECT": "{ \"Name\": \"Blake\" }",
77
"Boolean": true,

samples/Exceptionless.SampleLambda/Function.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ public class Function
1111
public async Task<string> FunctionHandler(string input, ILambdaContext context)
1212
{
1313
var client = new ExceptionlessClient(c => {
14-
c.ApiKey = "LhhP1C9gijpSKCslHHCvwdSIz298twx271n1l6xw";
15-
c.ServerUrl = "http://localhost:5000";
14+
c.ApiKey = "LhhP1C9gijpSKCslHHCvwdSIz298twx271nTest";
15+
c.ServerUrl = "https://localhost:5201";
1616

1717
// read configuration values from environment variables
1818
c.ReadFromEnvironmentalVariables();

samples/Exceptionless.SampleLambdaAspNetCore/appsettings.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"Exceptionless": {
3-
"ApiKey": "LhhP1C9gijpSKCslHHCvwdSIz298twx271n1l6xw",
4-
"ServerUrl": "http://localhost:5000",
3+
"ApiKey": "LhhP1C9gijpSKCslHHCvwdSIz298twx271nTest",
4+
"ServerUrl": "https://localhost:5201",
55
"ProcessQueueOnCompletedRequest": true,
66
"DefaultData": {
77
"JSON_OBJECT": "{ \"Name\": \"Blake\" }",

samples/Exceptionless.SampleMvc/Web.config

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<configuration>
33
<appSettings>
4-
<add key="Exceptionless:ApiKey" value="LhhP1C9gijpSKCslHHCvwdSIz298twx271n1l6xw" />
5-
<add key="Exceptionless:ServerUrl" value="http://localhost:5000" />
4+
<add key="Exceptionless:ApiKey" value="LhhP1C9gijpSKCslHHCvwdSIz298twx271nTest" />
5+
<add key="Exceptionless:ServerUrl" value="https://localhost:5201" />
66
<add key="webpages:Version" value="3.0.0.0" />
77
<add key="webpages:Enabled" value="false" />
88
<add key="ClientValidationEnabled" value="true" />

samples/Exceptionless.SampleWcf/Web.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<section name="exceptionless" type="Exceptionless.ExceptionlessSection, Exceptionless"/>
55
</configSections>
66

7-
<exceptionless apiKey="LhhP1C9gijpSKCslHHCvwdSIz298twx271n1l6xw" serverUrl="http://localhost:5000">
7+
<exceptionless apiKey="LhhP1C9gijpSKCslHHCvwdSIz298twx271nTest" serverUrl="https://localhost:5201">
88
<settings>
99
<add name="TraceLogLimit" value="25"/>
1010
</settings>

samples/Exceptionless.SampleWeb/Web.config

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
<configSections>
44
<section name="exceptionless" type="Exceptionless.ExceptionlessSection, Exceptionless" requirePermission="false"/>
55
</configSections>
6-
<exceptionless apiKey="LhhP1C9gijpSKCslHHCvwdSIz298twx271n1l6xw" serverUrl="http://localhost:5000" tags="Tag1,Tag2">
7-
<!--<exceptionless apiKey="LhhP1C9gijpSKCslHHCvwdSIz298twx271n1l6xw" serverUrl="http://localhost:5000" tags="Tag1,Tag2"
6+
<exceptionless apiKey="LhhP1C9gijpSKCslHHCvwdSIz298twx271nTest" serverUrl="https://localhost:5201" tags="Tag1,Tag2">
7+
<!--<exceptionless apiKey="LhhP1C9gijpSKCslHHCvwdSIz298twx271nTest" serverUrl="https://localhost:5201" tags="Tag1,Tag2"
88
storageSerializer="Exceptionless.MessagePack.MessagePackStorageSerializer, Exceptionless.MessagePack"
99
storagePath="|DataDirectory|\Logs">-->
1010
<settings>

samples/Exceptionless.SampleWebApi/App.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<configSections>
44
<section name="exceptionless" type="Exceptionless.ExceptionlessSection, Exceptionless" />
55
</configSections>
6-
<exceptionless apiKey="LhhP1C9gijpSKCslHHCvwdSIz298twx271n1l6xw" serverUrl="http://localhost:5000" storagePath="|DataDirectory|\Queue">
6+
<exceptionless apiKey="LhhP1C9gijpSKCslHHCvwdSIz298twx271nTest" serverUrl="https://localhost:5201" storagePath="|DataDirectory|\Queue">
77
<settings>
88
<add name="TraceLogLimit" value="30" />
99
</settings>

0 commit comments

Comments
 (0)