-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/jepozdemir/exception_filt…
- Loading branch information
Showing
1 changed file
with
39 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,39 @@ | ||
# exception_filters_dotnet | ||
Demonstrates exception filters in C# .Net, how they improve error handling, and their practical applications. | ||
 | ||
|
||
This repository contains code samples and techniques referenced in my Medium blog post, ["Exception Filters in C#"](https://medium.com/@jepozdemir/exception-filters-in-c-780b87c62758). This post and repository focus on understanding exception filters in C#, how they improve error handling, and their practical applications. | ||
|
||
## Overview | ||
In this blog post, I discuss exception filters, a feature in C# that allows developers to specify conditions under which an exception is handled. Exception filters provide a more granular approach to error handling, enhancing the clarity and maintainability of your code. | ||
|
||
### Topics Covered | ||
|
||
- **What Are Exception Filters?** | ||
An introduction to exception filters and their role in exception handling in C#. | ||
|
||
- **Syntax and Usage** | ||
Detailed explanation of the syntax used to implement exception filters, including examples. | ||
|
||
- **Benefits of Exception Filters** | ||
Discuss the advantages of using exception filters over traditional try-catch blocks, such as: | ||
- Improved readability and maintainability. | ||
- More precise control over exception handling. | ||
|
||
- **Real-World Scenarios** | ||
Examples of scenarios where exception filters can be effectively utilized. | ||
|
||
## How to Use | ||
1. **Read the Blog Post**: Start by reading the full blog post on Medium [here](https://medium.com/@jepozdemir/exception-filters-in-c-780b87c62758). | ||
2. **Explore Code Samples**: Review the repository for code examples demonstrating exception filters in action. | ||
3. **Implement in Projects**: Use the provided examples to practice using exception filters in your own C# projects. | ||
|
||
## Contributing | ||
Contributions are welcome! If you have suggestions for improvements or additional examples, feel free to open an issue or submit a pull request. | ||
|
||
## Feedback and Suggestions | ||
If you have any feedback on the blog post or this repository, please leave a comment on the Medium post or reach out through GitHub issues. | ||
|
||
## License | ||
This project is licensed under the MIT License. | ||
|
||
*Thank you!* | ||
*If you found this helpful and would like to show support; don't forget to give it a star and share it with others who might benefit from it.👏👏👏👏👏* |