Skip to content

Commit e22e152

Browse files
author
gauffininteractive
committed
* Corrected the online installation instructions
* Updated the internal reporting package to our OTE
1 parent b682862 commit e22e152

33 files changed

+85
-38
lines changed

src/Server/OneTrueError.Web/Global.asax.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ private static void ConfigureErrorTracking()
8989
errorTrackingConfig.ContactEmail,
9090
errorTrackingConfig.InstallationId));
9191
}
92-
OneTrue.Configure(uri, "appKey", "sharedSecret");
92+
OneTrue.Configuration.Credentials(uri, "appKey", "sharedSecret");
9393
}
9494
else
9595
{
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
OneTrueError.Client installation
2+
=================================
3+
4+
You've just installed the OneTrueError client.
5+
6+
To get started add the following code to your application:
7+
8+
var url = new Uri("http://yourServer/onetrueerror/");
9+
OneTrue.Configuration.Credentials(url, "yourAppKey", "yourSharedSecret");
10+
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+
22+
23+
More information
24+
=================
25+
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)
29+
30+
31+
*this library requires that you have installed a OneTrueError server somewhere*

src/Server/OneTrueError.Web/OneTrueError.Web.csproj

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,12 +84,12 @@
8484
<HintPath>..\packages\Newtonsoft.Json.9.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
8585
<Private>True</Private>
8686
</Reference>
87-
<Reference Include="OneTrueError.Client, Version=1.1.0.0, Culture=neutral, processorArchitecture=MSIL">
88-
<HintPath>..\packages\OneTrueError.Client.1.0.0-rc04\lib\net40\OneTrueError.Client.dll</HintPath>
87+
<Reference Include="OneTrueError.Client, Version=1.1.1.0, Culture=neutral, processorArchitecture=MSIL">
88+
<HintPath>..\packages\OneTrueError.Client.1.0.0\lib\net40\OneTrueError.Client.dll</HintPath>
8989
<Private>True</Private>
9090
</Reference>
9191
<Reference Include="OneTrueError.Client.AspNet.Mvc5, Version=1.1.0.0, Culture=neutral, processorArchitecture=MSIL">
92-
<HintPath>..\packages\OneTrueError.Client.AspNet.Mvc5.1.0.0-rc01\lib\net45\OneTrueError.Client.AspNet.Mvc5.dll</HintPath>
92+
<HintPath>..\packages\OneTrueError.Client.AspNet.Mvc5.1.0.0\lib\net45\OneTrueError.Client.AspNet.Mvc5.dll</HintPath>
9393
<Private>True</Private>
9494
</Reference>
9595
<Reference Include="System" />
@@ -349,6 +349,7 @@
349349
<Content Include="favicon.ico" />
350350
<Content Include="fonts\glyphicons-halflings-regular.svg" />
351351
<Content Include="Global.asax" />
352+
<Content Include="Nuget\ReadMe.txt" />
352353
<Content Include="Scripts\alertify.js" />
353354
<Content Include="Scripts\alertify.min.js" />
354355
<Content Include="Scripts\Application.js" />

src/Server/OneTrueError.Web/Scripts/CqsClient.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Server/OneTrueError.Web/Scripts/Griffin.Net.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)