Skip to content

Commit f7a07f7

Browse files
niemyjskiejsmith
authored andcommitted
Fixed code blocks, spelling... quotes and <>
1 parent a2ca21b commit f7a07f7

File tree

33 files changed

+471
-338
lines changed

33 files changed

+471
-338
lines changed

.vscode/settings.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,21 @@
33
"Aliyun",
44
"Burcham",
55
"Foundatio",
6+
"Geocode",
7+
"Gmail",
68
"Kubernetes",
9+
"Lucene",
710
"Minio",
811
"OWIN",
12+
"Reindexing",
913
"Serilog",
1014
"Varorbc",
15+
"Zurb",
16+
"Zurb's",
17+
"deduplicated",
1118
"edwardmeng",
12-
"serializers"
19+
"serializers",
20+
"typeof",
21+
"walkthrough"
1322
]
1423
}

content/news/2014/2014-01-04-find-leaking-exceptions-eliminate-empty-catch-block.md

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,35 +10,37 @@ Recently, a client contacted us and gave us a pretty incredible case study. He f
1010

1111
> "This gave us a picture of just how many poorly written methods were leaking exceptions. The answer was, A LOT. So, even though these weren't customer facing, they were expensive and a good indicator of code quality. In just a couple of days, we were able to eliminate the majority of them completely." - Eric Burcham
1212
13-
After speaking with Mr. Burcham further, he explained that while there were only about 12 individual bugs, the number of times that those bugs were occurring in different areas throughout the code (an ASP.NET eCommerce solution) was numerous. Luckily, he was able to use several mult-line find and replace actions to make all the changes relatively quickly and get things back on track.
13+
After speaking with Mr. Burcham further, he explained that while there were only about 12 individual bugs, the number of times that those bugs were occurring in different areas throughout the code (an ASP.NET eCommerce solution) was numerous. Luckily, he was able to use several multi-line find and replace actions to make all the changes relatively quickly and get things back on track.
1414

1515
## A brief code example
1616

1717
### Empty .NET catch blocks
1818

1919
Before using Exceptionless to generated exceptions, the catch blocks were empty.
2020

21-
<pre>try
21+
```cs
22+
try
2223
{
23-
// Do Something
24+
// Do Something
2425
}
25-
catch { }</pre>
26+
catch { }
27+
```
2628

2729
### Using Exceptionless to generate an exception in the catch block
2830

2931
By submitting an exception in the catch block, instead, their eyes were opened to thousands of daily exceptions.
3032

31-
<pre>try
33+
```cs
34+
try
3235
{
33-
// Do Something
36+
// Do Something
3437
}
3538
catch(Exception ex)
3639
{
37-
ex.ToExceptionless().Submit();
38-
}</pre>
40+
ex.ToExceptionless().Submit();
41+
}
42+
```
3943

40-
<h3>
41-
But I can already throw an exception in my catch block...
42-
</h3>
44+
### But I can already throw an exception in my catch block...
4345

4446
While you can throw an exception in a catch block normally with .NET, Eric was able to utilize Exceptionless' intelligent error grouping, notifications, and detailed reporting to pinpoint the problems and deal with them accordingly. Then, he was able to monitor the decline of occurrences and make sure that there were no regressions. That's pretty powerful, we think.

content/news/2014/2014-02-25-installing-excteptionless-github.md

Lines changed: 28 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -17,30 +17,31 @@ Please note that before contributing to the Exceptionless project, you must read
1717

1818
## Text Guide
1919

20-
1. Log in to github
21-
2. Install the <a href="https://windows.github.com/" title="GitHub Windows Client" target="_blank">GitHub Windows client</a>, if you want to use the GUI. If not, you can do the rest of the steps from command line.
22-
3. Fork the <a href="https://github.com/exceptionless/Exceptionless" title="Exceptionless on GitHub" target="_blank">Exceptionless repository</a>
23-
4. Clone the repo to your machine (Clone to Desktop)
24-
5. Open your local repository you just cloned
25-
6. Follow the "<a href="https://github.com/exceptionless/Exceptionless#getting-started" title="Exceptionless GitHub Getting Started" target="_blank">Getting Started</a>" section of github readme
26-
* Start StartBackendServers.bat file to start redis and mongodb
27-
* Open the Exceptionles solution in Visual Studio
28-
* Right click solution and select select "set startup projects"
29-
* Click on "Multiple startup projects"
30-
* Locate Exceptionless.app and Exceptionless.SampleConsole and change them to "Start"
31-
* Rebuild the solution to pull down the NuGet packages
32-
* Start Debugging
33-
* A console app and Internet explorer instance will start
34-
* Go to the browser and create a (sample) account. This will create a sample organization and project.
35-
* You will be redirected to the dashboard for the new project
36-
* Go back to the console app and hit 1. A new error will be generated and your Exceptionless dashboard should reflect the error in real-time.</ul>
37-
* Now, after you make any changes or updates, you will want to do a pull request.
38-
* To do so, commit working, tested changes to the project.
39-
* Then, sync the changes
40-
* Go back to github and click on the green compare, review, or create a pull request icon.
41-
* Review the updates and make sure the pull request includes the proper changes.
42-
* Click "Create a Pull Request"
43-
* Add any comments relevant to the pull request. Details are great!
44-
* Click "Send Pull Request"
45-
* The Exceptionless Team will review the request and merge it into the project, provide feedback, etc.</ol>
46-
Please let us know if you have any questions. Happy coding!
20+
1. Log in to github
21+
2. Install the <a href="https://windows.github.com/" title="GitHub Windows Client" target="_blank">GitHub Windows client</a>, if you want to use the GUI. If not, you can do the rest of the steps from command line.
22+
3. Fork the <a href="https://github.com/exceptionless/Exceptionless" title="Exceptionless on GitHub" target="_blank">Exceptionless repository</a>
23+
4. Clone the repo to your machine (Clone to Desktop)
24+
5. Open your local repository you just cloned
25+
6. Follow the "<a href="https://github.com/exceptionless/Exceptionless#getting-started" title="Exceptionless GitHub Getting Started" target="_blank">Getting Started</a>" section of github readme.
26+
7. Start StartBackendServers.bat file to start redis and mongodb
27+
8. Open the Exceptionles solution in Visual Studio
28+
9. Right click solution and select select "set startup projects"
29+
10. Click on "Multiple startup projects"
30+
11. Locate Exceptionless.app and Exceptionless.SampleConsole and change them to "Start"
31+
12. Rebuild the solution to pull down the NuGet packages
32+
13. Start Debugging
33+
14. A console app and Internet explorer instance will start
34+
15. Go to the browser and create a (sample) account. This will create a sample organization and project.
35+
16. You will be redirected to the dashboard for the new project
36+
17. Go back to the console app and hit 1. A new error will be generated and your Exceptionless dashboard should reflect the error in real-time.
37+
18. Now, after you make any changes or updates, you will want to do a pull request.
38+
19. To do so, commit working, tested changes to the project.
39+
20. Then, sync the changes
40+
21. Go back to github and click on the green compare, review, or create a pull request icon.
41+
22. Review the updates and make sure the pull request includes the proper changes.
42+
23. Click "Create a Pull Request"
43+
24. Add any comments relevant to the pull request. Details are great!
44+
25. Click "Send Pull Request"
45+
26. The Exceptionless Team will review the request and merge it into the project, provide feedback, etc.
46+
47+
Please let us know if you have any questions. Happy coding!

content/news/2014/2014-07-03-exceptionless-2-0-client-rewrite-sneak-peek-usage-example.md

Lines changed: 62 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -27,144 +27,163 @@ After you check it out, let us know if you have questions or suggestions. We're
2727

2828
**First, set your API key.**
2929

30-
<pre>var client = new ExceptionlessClient(config =&gt; {
30+
```cs
31+
var client = new ExceptionlessClient(config => {
3132
config.ApiKey = "API_KEY_HERE";
32-
</pre>
33+
```
3334

3435
* * *
3536

3637
Then, send events to your own free Exceptionless server install.
3738

38-
<pre>config.ServerUrl = "https://exceptionless.myorg.com";
39-
</pre>
39+
```cs
40+
config.ServerUrl = "https://exceptionless.myorg.com";
41+
```
4042

4143
* * *
4244

4345
Now, read config settings from attributes.
4446

45-
<pre>config.ReadFromAttributes();
46-
</pre>
47+
```cs
48+
config.ReadFromAttributes();
49+
```
4750

4851
* * *
4952

5053
Read config settings from a config section in your app/web.config.
5154

52-
<pre>config.ReadFromConfigSection();
53-
</pre>
55+
```cs
56+
config.ReadFromConfigSection();
57+
```
5458

5559
* * *
5660

5761
Store all client data including the offline queue in the store folder, by default isolated storage is used.
5862

59-
<pre>config.UseFolderStorage("store");
60-
</pre>
63+
```cs
64+
config.UseFolderStorage("store");
65+
```
6166

6267
* * *
6368

6469
Exclude any form fields, cookies, query string parameters, and custom data properties containing "CreditCard".
6570

66-
<pre>config.AddDataExclusions("CreditCard");
67-
</pre>
71+
```cs
72+
config.AddDataExclusions("CreditCard");
73+
```
6874

6975
* * *
7076

7177
Add the "SomeTag" to all events.
7278

73-
<pre>config.DefaultTags.Add("SomeTag");
74-
</pre>
79+
```cs
80+
config.DefaultTags.Add("SomeTag");
81+
```
7582

7683
* * *
7784

7885
Add the "MyObject" custom data object to every event.
7986

80-
<pre>config.DefaultData.Add("MyObject", new { MyProperty = "Value1" });
81-
</pre>
87+
```cs
88+
config.DefaultData.Add("MyObject", new { MyProperty = "Value1" });
89+
```
8290

8391
* * *
8492

8593
Add a custom event enrichment that will add a tag called "MyTag" to every event.
8694

87-
<pre>config.AddEnrichment(ev =&gt; ev.Tags.Add("MyTag"));
88-
</pre>
95+
```cs
96+
config.AddEnrichment(ev => ev.Tags.Add("MyTag"));
97+
```
8998

9099
* * *
91100

92101
Register a custom log implementation that uses NLog.
93102

94-
<pre>config.Resolver.Register(new NLogExceptionlessLog());
95-
</pre>
103+
```cs
104+
config.Resolver.Register(new NLogExceptionlessLog());
105+
```
96106

97107
* * *
98108

99109
The Startup method is specific for each platform and wires up to all relevant unhandled exception events so that they will be automatically sent to the server.
100110

101-
<pre>client.Startup();
102-
</pre>
111+
```cs
112+
client.Startup();
113+
```
103114

104115
* * *
105116

106117
Manually catch and report an error with a custom tag on it.
107118

108-
<pre>try {
109-
throw new ApplicationException("Boom!");
119+
```cs
120+
try {
121+
throw new ApplicationException("Boom!");
110122
} catch (Exception ex) {
111-
ex.ToExceptionless().AddTags("MyTag").Submit();
123+
ex.ToExceptionless().AddTags("MyTag").Submit();
112124
}
113-
</pre>
125+
```
114126

115127
* * *
116128

117129
Let users add their email address and a description of the error.
118130

119-
<pre>client.UpdateUserEmailAndDescription(client.GetLastReferenceId(), "[email protected]", "It broke!");
120-
</pre>
131+
```cs
132+
client.UpdateUserEmailAndDescription(client.GetLastReferenceId(), "[email protected]", "It broke!");
133+
```
121134

122135
* * *
123136

124137
Create and submit a log message and add an extra "Order" object to the event.
125138

126-
<pre>client.CreateLog("Order", "New order created.")
127-
.AddObject(new { Total = 14.95 }, name: "Order")
128-
.Submit();
129-
</pre>
139+
```cs
140+
client.CreateLog("Order", "New order created.")
141+
.AddObject(new { Total = 14.95 }, name: "Order")
142+
.Submit();
143+
```
130144

131145
* * *
132146

133147
Submit a feature usage event that will let you see how much certain features of your app are being used.
134148

135-
<pre>client.SubmitFeatureUsage("FeatureA");
136-
</pre>
149+
```cs
150+
client.SubmitFeatureUsage("FeatureA");
151+
```
137152

138153
* * *
139154

140155
Submit a page not found event so you can keep track of your broken links and fix them.
141156

142-
<pre>client.SubmitNotFound("/badpage");
143-
</pre>
157+
```cs
158+
client.SubmitNotFound("/badpage");
159+
```
144160

145161
* * *
146162

147163
Listen to all events being sent and cancel any errors that are "IgnoredType".
148164

149-
<pre>client.SubmittingEvent += (sender, args) =&gt;
165+
```cs
166+
client.SubmittingEvent += (sender, args) =>
150167
args.Cancel = args.Event.IsError() && args.Event.GetError().Type.Contains("IgnoredType");
151-
</pre>
168+
```
152169

153170
* * *
154171

155172
Settings data is synced in real-time with the project settings in your Exceptionless project on the server.
156173

157-
<pre>client.Configuration.Settings.Changed += (sender, args) =&gt;
174+
```cs
175+
client.Configuration.Settings.Changed += (sender, args) =>
158176
Trace.WriteLine(String.Format("Action: {0} Key: {1} Value: {2}", args.Action, args.Item.Key, args.Item.Value));
159-
</pre>
177+
```
160178

161179
* * *
162180

163181
You can use those settings to control behavior in your app.
164182

165-
<pre>if (client.Configuration.Settings.GetBoolean("IncludeMyCustomData", false))
166-
Trace.WriteLine("Should include my custom data");
167-
</pre>
183+
```cs
184+
if (client.Configuration.Settings.GetBoolean("IncludeMyCustomData", false))
185+
Trace.WriteLine("Should include my custom data");
186+
```
168187

169188
## That's All There Is To It!
170189

@@ -178,5 +197,3 @@ As always, if you have any questions, comments, suggestions, or concerns, let us
178197
* [Event Based Reporting System](/event-based-reporting-system-coming-version-2-0/ "Event Based Reporting System Coming in Version 2.0")
179198
* [Simplified API](/upcoming-exceptionless-2-0-simplified-api/ "More from the Upcoming Exceptionless 2.0: Simplified API")
180199
* [A Pluggable System](/coming-exceptionless-2-0-pluggable-system/ "Coming in Exceptionless 2.0 – A Pluggable System")
181-
182-

content/news/2014/2014-10-02-client-side-technology-exceptionless-team-uses.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Most of these are **free** services, so check them out!
1717

1818
**JavaScript framework for building dynamic, awesome apps**
1919

20-
<a title="AngularJS" href="https://angularjs.org/" target="_blank">AngularJS </a>is a structural framework for dynamic web apps. It lets you use HTML as your UI language and lets you extend HTML's syntax to define your application’s structure efficiently. Angular's data binding and dependency injection eliminates much of the fluff code needed and does this all in the browser.
20+
<a title="AngularJS" href="https://angularjs.org/" target="_blank">AngularJS </a>is a structural framework for dynamic web apps. It lets you use HTML as your UI language and lets you extend HTML's syntax to define your application’s structure efficiently. Angular's data binding and dependency injection eliminates much of the "fluff" code needed and does this all in the browser.
2121

2222
### Bootstrap
2323

0 commit comments

Comments
 (0)