You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/news/2014/2014-01-04-find-leaking-exceptions-eliminate-empty-catch-block.md
+13-11Lines changed: 13 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -10,35 +10,37 @@ Recently, a client contacted us and gave us a pretty incredible case study. He f
10
10
11
11
> "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
12
12
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.
14
14
15
15
## A brief code example
16
16
17
17
### Empty .NET catch blocks
18
18
19
19
Before using Exceptionless to generated exceptions, the catch blocks were empty.
20
20
21
-
<pre>try
21
+
```cs
22
+
try
22
23
{
23
-
// Do Something
24
+
// Do Something
24
25
}
25
-
catch { }</pre>
26
+
catch { }
27
+
```
26
28
27
29
### Using Exceptionless to generate an exception in the catch block
28
30
29
31
By submitting an exception in the catch block, instead, their eyes were opened to thousands of daily exceptions.
30
32
31
-
<pre>try
33
+
```cs
34
+
try
32
35
{
33
-
// Do Something
36
+
// Do Something
34
37
}
35
38
catch(Exceptionex)
36
39
{
37
-
ex.ToExceptionless().Submit();
38
-
}</pre>
40
+
ex.ToExceptionless().Submit();
41
+
}
42
+
```
39
43
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...
43
45
44
46
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.
Copy file name to clipboardExpand all lines: content/news/2014/2014-02-25-installing-excteptionless-github.md
+28-27Lines changed: 28 additions & 27 deletions
Original file line number
Diff line number
Diff line change
@@ -17,30 +17,31 @@ Please note that before contributing to the Exceptionless project, you must read
17
17
18
18
## Text Guide
19
19
20
-
1. Log in to github
21
-
2. Install the <ahref="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 <ahref="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 "<ahref="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 <ahref="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 <ahref="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 "<ahref="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!
Copy file name to clipboardExpand all lines: content/news/2014/2014-10-02-client-side-technology-exceptionless-team-uses.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ Most of these are **free** services, so check them out!
17
17
18
18
**JavaScript framework for building dynamic, awesome apps**
19
19
20
-
<atitle="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
+
<atitle="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.
0 commit comments