Skip to content

Commit fa12a86

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents cf309eb + 1ef301d commit fa12a86

File tree

13 files changed

+58
-86
lines changed

13 files changed

+58
-86
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,20 @@
1-
OneTrueError.Client installation
2-
=================================
1+
ASP.NET MVC5 client for OneTrueError
2+
================================
33

4-
You've just installed the OneTrueError client.
4+
You've just installed the ASP.NET MVC5 integration library for OneTrueError.
5+
All unhandled exceptions will automatically be uploaded to OneTrueError (http://onetrueerror.com).
56

67
To get started add the following code to your application:
78

89
var url = new Uri("http://yourServer/onetrueerror/");
910
OneTrue.Configuration.Credentials(url, "yourAppKey", "yourSharedSecret");
11+
OneTrue.Configuration.CatchMvcExceptions();
1012

11-
Once done you can report exceptions like this:
12-
13-
try
14-
{
15-
somelogic();
16-
}
17-
catch(SomeException ex)
18-
{
19-
OneTrue.Report(ex);
20-
}
21-
13+
(this library requires that you have installed a OneTrueError server somewhere)
2214

2315
More information
24-
=================
16+
===================
2517

26-
* http://onetrueerror.com/ - About the service
27-
* http://onetrueerror.com/documentation/client/index.md - Client documentation
28-
* http://onetrueerror.com/documentation/server/index.md - Server documentation (to extend/change the OnTrueError server source code)
18+
http://onetrueerror.com/documentation/client/libraries/aspnet/mvc5/install.md
2919

3020

31-
*this library requires that you have installed a OneTrueError server somewhere*

client.aspnet.mvc5/OneTrueError.Client.AspNet.Mvc5/OneTrueError.Client.AspNet.Mvc5.nuspec

+6-6
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,20 @@
22
<package >
33
<metadata>
44
<id>OneTrueError.Client.AspNet.Mvc5</id>
5-
<version>1.0.0-rc03</version>
5+
<version>1.0.0</version>
66
<authors>Gauffin Interactive AB</authors>
77
<owners>Gauffin Interactive AB</owners>
8-
<licenseUrl>http://github.com/gauffininteractive/onetrueerror.client/license.md</licenseUrl>
8+
<licenseUrl>https://github.com/gauffininteractive/onetrueerror.client/blob/master/LICENSE.md</licenseUrl>
99
<projectUrl>http://onetrueerror.com</projectUrl>
1010
<iconUrl>http://onetrueerror.com/images/ote_50x50.png</iconUrl>
1111
<requireLicenseAcceptance>false</requireLicenseAcceptance>
1212
<summary>
13-
ASP.NET MVC5 integration library for OneTrueError. Detects and uploads uncaught exceptions to OneTrueError.
13+
ASP.NET MVC5 integration library for OneTrueError.
14+
Includes context information like RouteData, ViewData, HTTP Request, Session variables etc to every reported exception.
1415
</summary>
1516
<description>
1617
ASP.NET MVC5 integration library for OneTrueError. Detects and uploads uncaught exceptions to OneTrueError.
17-
Will include information like RouteData, ViewData, HTTP Request, Session variables and more.
18+
Includes context information like RouteData, ViewData, HTTP Request, Session variables etc to every reported exception.
1819

1920
OneTrueError is an exception analysis service which makes it much easier to identify and correct errors.
2021
Know why, how often and where exceptions are thrown.
@@ -23,8 +24,7 @@
2324
<copyright>Copyright 2016</copyright>
2425
<tags>exception error reporting analysis asp.net mvc mvc5</tags>
2526
<dependencies>
26-
<dependency id="Newtonsoft.json" version="5.0.8" />
27-
<dependency id="OneTrueError.Client" version="1.0.0-rc04" />
27+
<dependency id="OneTrueError.Client" version="1.0.0" />
2828
</dependencies>
2929
</metadata>
3030
<files>

client.aspnet/DemoApp/DemoApp.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@
191191
<Content Include="fonts\glyphicons-halflings-regular.svg" />
192192
<Content Include="Global.asax" />
193193
<Content Include="Content\Site.css" />
194-
<Content Include="Nuget\ReadMe.txt" />
194+
<None Include="Nuget\ReadMe.txt" />
195195
<Content Include="Scripts\bootstrap.js" />
196196
<Content Include="Scripts\bootstrap.min.js" />
197197
<None Include="Scripts\jquery-1.10.2.intellisense.js" />
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,20 @@
1-
OneTrueError.Client installation
2-
=================================
1+
ASP.NET client for OneTrueError
2+
================================
33

4-
You've just installed the OneTrueError client.
4+
You've just installed the ASP.NET integration library for OneTrueError.
5+
All unhandled exceptions will automatically be uploaded to OneTrueError (http://onetrueerror.com).
56

67
To get started add the following code to your application:
78

89
var url = new Uri("http://yourServer/onetrueerror/");
910
OneTrue.Configuration.Credentials(url, "yourAppKey", "yourSharedSecret");
11+
OneTrue.Configuration.CatchAspNetExceptions();
1012

11-
Once done you can report exceptions like this:
12-
13-
try
14-
{
15-
somelogic();
16-
}
17-
catch(SomeException ex)
18-
{
19-
OneTrue.Report(ex);
20-
}
21-
13+
(this library requires that you have installed a OneTrueError server somewhere)
2214

2315
More information
24-
=================
16+
===================
2517

26-
* http://onetrueerror.com/ - About the service
27-
* http://onetrueerror.com/documentation/client/index.md - Client documentation
28-
* http://onetrueerror.com/documentation/server/index.md - Server documentation (to extend/change the OnTrueError server source code)
18+
http://onetrueerror.com/documentation/client/libraries/aspnet/install.md
2919

3020

31-
*this library requires that you have installed a OneTrueError server somewhere*

client.aspnet/OneTrueError.Client.AspNet/OneTrueError.Client.AspNet.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
<EmbeddedResource Include="Views\ThankYou.html" />
9797
</ItemGroup>
9898
<ItemGroup>
99-
<Content Include="Nuget\readme.txt" />
99+
<None Include="Nuget\readme.txt" />
100100
</ItemGroup>
101101
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
102102
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />

client.aspnet/OneTrueError.Client.AspNet/OneTrueError.Client.aspnet.nuspec

+12-7
Original file line numberDiff line numberDiff line change
@@ -3,27 +3,32 @@
33
<package>
44
<metadata>
55
<id>OneTrueError.Client.AspNet</id>
6-
<version>1.0.0-rc02</version>
6+
<version>1.0.0</version>
77
<authors>Gauffin Interactive AB</authors>
88
<owners>Gauffin Interactive AB</owners>
99
<licenseUrl>https://github.com/gauffininteractive/onetrueerror.client/blob/master/LICENSE.md</licenseUrl>
1010
<projectUrl>http://onetrueerror.com</projectUrl>
1111
<iconUrl>http://onetrueerror.com/images/ote_50x50.png</iconUrl>
1212
<requireLicenseAcceptance>false</requireLicenseAcceptance>
1313
<summary>
14-
ASP.NET integration library for OneTrueError. Detects and uploads all unhandled exceptions to OneTrueError.
14+
ASP.NET integration library for OneTrueError. Attaches context information like HttpRequest, HttpSession, Uploaded files
15+
etc to each reported exception.
16+
17+
OneTrueError is an exception handling system which detects and uploads all unhandled exceptions for further analysis
18+
in a web based application.
1519
</summary>
1620
<description>
17-
ASP.NET integration library for OneTrueError. Will detect and upload all unhandled exceptions to OneTrueError.
18-
Will also include context information like the HTTP request, information about any uploaded files, session variables etc.
19-
20-
OneTrueError is an exception analysis service which makes it much easier to identify and correct unique errors.
21+
ASP.NET integration library for OneTrueError. Attaches context information like HttpRequest, HttpSession, Uploaded files
22+
etc to each reported exception.
23+
24+
OneTrueError is an exception handling system which detects and uploads all unhandled exceptions for further analysis
25+
in a web based application.
2126
</description>
2227
<releaseNotes>Beta publish.</releaseNotes>
2328
<copyright>Copyright 2016 Gauffin Interactive AB</copyright>
2429
<tags>exception error reporting analysis</tags>
2530
<dependencies>
26-
<dependency id="Newtonsoft.json" version="8.0.0" />
31+
<dependency id="OneTrueError.Client" version="1.0.0" />
2732
</dependencies>
2833
</metadata>
2934
<files>

client.log4net/OneTrueError.Client.Log4Net/OneTrueError.Client.Log4Net.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
<None Include="packages.config" />
6969
</ItemGroup>
7070
<ItemGroup>
71-
<Content Include="readme.txt" />
71+
<None Include="readme.txt" />
7272
</ItemGroup>
7373
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
7474
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />

client.log4net/OneTrueError.Client.Log4Net/OneTrueError.Client.log4net.nuspec

+5-5
Original file line numberDiff line numberDiff line change
@@ -3,28 +3,28 @@
33
<package>
44
<metadata>
55
<id>OneTrueError.Client.log4net</id>
6-
<version>1.0.0-rc06</version>
6+
<version>1.0.0</version>
77
<authors>Gauffin Interactive AB</authors>
88
<owners>Gauffin Interactive AB</owners>
9-
<licenseUrl>http://github.com/gauffininteractive/onetrueerror.client/license.md</licenseUrl>
9+
<licenseUrl>https://github.com/gauffininteractive/onetrueerror.client/blob/master/LICENSE.md</licenseUrl>
1010
<projectUrl>http://onetrueerror.com</projectUrl>
1111
<iconUrl>http://onetrueerror.com/images/ote_50x50.png</iconUrl>
12-
<requireLicenseAcceptance>true</requireLicenseAcceptance>
12+
<requireLicenseAcceptance>false</requireLicenseAcceptance>
1313
<summary>
1414
Injects OneTrueError into the log4net pipeline. Allows OneTrueError to automatically pick up all exceptions that are being logged.
1515
</summary>
1616
<description>
1717
Allows OneTrueError to automatically pick up all exceptions that are being logged using log4net.
1818

19-
Exception handling library. Detects, uploads and perform different analyses on exceptions.
19+
OneTrueError is an exception analysis service. It detects exceptions, attach context information and uploads everything for further analysis in the OneTrueError server.
2020

2121
Know why, how often and where exceptions are thrown.
2222
</description>
2323
<releaseNotes>Beta publish.</releaseNotes>
2424
<copyright>Copyright 2016</copyright>
2525
<tags>exception error reporting analysis log4net logging</tags>
2626
<dependencies>
27-
<dependency id="OneTrueError.Client" version="1.0.0-rc06" />
27+
<dependency id="OneTrueError.Client" version="1.0.0" />
2828
</dependencies>
2929
</metadata>
3030
<files>

client.log4net/OneTrueError.Client.Log4Net/ReadMe.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ It must be added after the log4net configuration, but before the first usage of
1616

1717
More information
1818
===================
19-
http://onetrueerror.com/documentation/client/log4net/install.md
19+
20+
http://onetrueerror.com/documentation/client/libraries/log4net/install.md
2021

2122

Original file line numberDiff line numberDiff line change
@@ -1,31 +1,20 @@
1-
OneTrueError.Client installation
2-
=================================
1+
WinForms client for OneTrueError
2+
================================
33

4-
You've just installed the OneTrueError client.
4+
You've just installed the WinForms integration library for OneTrueError.
5+
All unhandled exceptions will automatically be uploaded to OneTrueError (http://onetrueerror.com).
56

67
To get started add the following code to your application:
78

89
var url = new Uri("http://yourServer/onetrueerror/");
910
OneTrue.Configuration.Credentials(url, "yourAppKey", "yourSharedSecret");
11+
OneTrue.Configuration.CatchWinFormsExceptions();
1012

11-
Once done you can report exceptions like this:
12-
13-
try
14-
{
15-
somelogic();
16-
}
17-
catch(SomeException ex)
18-
{
19-
OneTrue.Report(ex);
20-
}
21-
13+
(this library requires that you have installed a OneTrueError server somewhere)
2214

2315
More information
24-
=================
16+
===================
2517

26-
* http://onetrueerror.com/ - About the service
27-
* http://onetrueerror.com/documentation/client/index.md - Client documentation
28-
* http://onetrueerror.com/documentation/server/index.md - Server documentation (to extend/change the OnTrueError server source code)
18+
http://onetrueerror.com/documentation/client/libraries/winforms/index.md
2919

3020

31-
*this library requires that you have installed a OneTrueError server somewhere*

client.winforms/OneTrueError.Client.WinForms/OneTrueError.Client.WinForms.nuspec

-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
<copyright>Copyright 2016</copyright>
2626
<tags>exception error reporting analysis winforms threadexception</tags>
2727
<dependencies>
28-
<dependency id="Newtonsoft.json" version="8.0.0" />
2928
<dependency id="OneTrueError.Client" version="1.0.0" />
3029
</dependencies>
3130
</metadata>

client/OneTrueError.Client.Demo/Program.cs

+5-5
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ static void Main(string[] args)
1717
var url = new Uri("http://localhost:50473/");
1818
OneTrue.Configuration.Credentials(url, "13d82df603a845c7a27164c4fec19dd6", "6f0a0a7fac6d42caa7cc47bb34a6520b");
1919

20-
var feedback = new UserSuppliedInformation("I pressed the 'any' key.", "[email protected]");
21-
OneTrue.LeaveFeedback("dbDTmB8cAEus7vwVviH2Zw", feedback);
22-
return;
20+
//var feedback = new UserSuppliedInformation("I pressed the 'any' key.", "[email protected]");
21+
//OneTrue.LeaveFeedback("dbDTmB8cAEus7vwVviH2Zw", feedback);
22+
//return;
2323
try
2424
{
25-
//throw new InvalidOperationException("mofo");
26-
throw new InvalidDataException("corrupt data");
25+
throw new InvalidOperationException("mofo");
26+
//throw new InvalidDataException("corrupt data");
2727
}
2828
catch (Exception ex)
2929
{

publish.cmd

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ goto end
1919
if "%2"=="" goto blank
2020
set packageName=.%2
2121
if "%2"=="core" set packageName=""
22-
client\.nuget\nuget pack client%packageName%\OneTrueError.Client%packageName%\OneTrueError.client%packageName%.csproj -OutputDirectory NugetPackages
22+
client\.nuget\nuget pack client%packageName%\OneTrueError.Client%packageName%\OneTrueError.client%packageName%.csproj -OutputDirectory NugetPackages -Prop Configuration=Release
2323

2424

2525
goto end

0 commit comments

Comments
 (0)