Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e5ff968

Browse filesBrowse files
committed
Updated readme's
1 parent 7938af1 commit e5ff968
Copy full SHA for e5ff968

File tree

3 files changed

+13
-12
lines changed
Filter options

3 files changed

+13
-12
lines changed

‎src/Exceptionless/readme.txt

Copy file name to clipboardExpand all lines: src/Exceptionless/readme.txt
+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ for detailed information on how to configure the client to meet your requirement
2626
-------------------------------------
2727
.NET Core Integration
2828
-------------------------------------
29-
This library is platform agnostic and is compiled against different runtimes. Depending on the
29+
This library is platform-agnostic and is compiled against different runtimes. Depending on the
3030
referenced runtime, Exceptionless will attempt to wire up to available error handlers and attempt to
3131
discover configuration settings available to that runtime. For these reasons if you are on a known
3232
platform then use the platform specific package to save you time configuring while giving you more

‎src/Platforms/Exceptionless.AspNetCore/readme.txt

Copy file name to clipboardExpand all lines: src/Platforms/Exceptionless.AspNetCore/readme.txt
+11-10
Original file line numberDiff line numberDiff line change
@@ -26,21 +26,22 @@ for detailed information on how to configure the client to meet your requirement
2626
-------------------------------------
2727
ASP.NET Core Integration
2828
-------------------------------------
29-
You must import the "Exceptionless" namespace and add the following code to register and configure
30-
the ExceptionlessClient inside of the ConfigureServices method:
29+
You must import the "Exceptionless" namespace and add the following code to register and configure the Exceptionless client:
3130

32-
services.AddExceptionless("API_KEY_HERE");
31+
using Exceptionless;
3332

34-
In order to start gathering unhandled exceptions, you will need to register the Exceptionless
35-
middleware in the Configure method like this:
33+
var builder = WebApplication.CreateBuilder(args);
34+
builder.Services.AddExceptionless("API_KEY_HERE");
3635

37-
app.UseExceptionless();
36+
In order to start gathering unhandled exceptions, you will need to register the Exceptionless middleware in your application
37+
like this after building your application:
3838

39-
Alternatively, you can also use the different overloads of the AddExceptionless method
40-
for different configuration options.
39+
var app = builder.Build();
40+
app.UseExceptionless();
4141

42-
Please visit the documentation https://exceptionless.com/docs/clients/dotnet/sending-events/
43-
for examples on sending events to Exceptionless.
42+
Alternatively, you can use different overloads of the AddExceptionless method for other configuration options.
43+
Please visit the documentation at https://exceptionless.com/docs/clients/dotnet/sending-events/ for additional examples
44+
and guidance on sending events to Exceptionless.
4445

4546
-------------------------------------
4647
Manually reporting an exception

‎src/Platforms/Exceptionless.Wpf/readme.txt

Copy file name to clipboardExpand all lines: src/Platforms/Exceptionless.Wpf/readme.txt
+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ assembly attribute and your own api key to your project (E.G., AssemblyInfo clas
3737

3838
[assembly: Exceptionless.Configuration.Exceptionless("API_KEY_HERE")]
3939

40-
Finally, you must import the "Exceptionless" namespace and call the following line
40+
Finally, during app startup you must import the "Exceptionless" namespace and call the following line
4141
of code to start reporting unhandled exceptions.
4242

4343
Exceptionless.ExceptionlessClient.Default.Register()

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.