C# Corner
Tech
News
Videos
Forums
Trainings
Books
Live
More
Interviews
Events
Jobs
Learn
Career
Members
Blogs
Challenges
Certifications
Bounties
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
Tags
No tag found
Content Filter
Articles
Videos
Blogs
Resources
News
Forums
Interviews
Complexity Level
Beginner
Intermediate
Advanced
Refine by Author
[Clear]
Ananya Desai(9)
Aarav Patel(7)
Jitendra Mesavaniya(5)
Riya Patel(3)
Ajay Narkhedkar(3)
Ashish Bhatnagar(3)
Kripanshu Kumar(3)
Chetan Sanghani(3)
Nidhi Sharma(2)
Tanuj (2)
Darshan Adakane(2)
Ck Nitin(2)
Praveen Kumar(2)
Vijay Kumari(2)
Jaimin Shethiya(2)
Ajay Kumar(2)
Ishika Tiwari(2)
Sardar Mudassar Ali Khan (2)
Lokendra Singh(2)
Gajendra Jangid(2)
Ashutosh Singh(2)
Alpesh Maniya(2)
Sudarshan Hajare(1)
Farrukh Rehman(1)
Harsh Bhensawala(1)
Saurav Kumar(1)
Vishal Gami(1)
Satya Karki(1)
Sangeet Shah(1)
Akshay Amin(1)
Mominul Islam(1)
Asfaque Ansari(1)
Akshita Zarbade(1)
Pratik Chavan(1)
Daniel Wright(1)
Rijwan Ansari(1)
Kanchana Jayathilake(1)
Mark Pelf(1)
Kirtesh Shah(1)
Subarta Ray(1)
Vinoth Xavier(1)
Sangeetha S(1)
Hamed Niazmand(1)
Hanif Hefaz(1)
Geo J Thachankary(1)
Abhishek Yadav(1)
Jay Krishna Reddy (1)
Safyan Yaqoob(1)
Vijay Yadav(1)
Velladurai (1)
Siddhesh Chavan(1)
Sanwar Ranwa(1)
Shaily Dubey(1)
Ziggy Rafiq(1)
Gurpreet Arora(1)
Alkesh Bijarniya(1)
Tuhin Paul(1)
Keyur (1)
Resources
No resource found
Delegates in C# Explained with Simple and Real Project Examples
Jul 07, 2026.
Master C# delegates! Learn how they decouple code, enable callbacks, and power ASP.NET Core, LINQ, and events with simple examples.
How to Implement AI-Powered Exception Analysis in ASP.NET Core
Jun 30, 2026.
Automate ASP.NET Core exception analysis with AI. Detect root causes, prioritize issues, and get remediation suggestions for faster troubleshooting.
ASP.NET Core Endpoint Filters: Complete Guide with Examples
Jun 03, 2026.
Learn ASP.NET Core Endpoint Filters with practical examples. Understand validation, logging, authorization, performance monitoring, exception handling, and best practices for Minimal APIs.
How to Handle Exceptions Globally in ASP.NET Core
Apr 23, 2026.
How do I handle errors and exceptions in gRPC services in .NET?
Apr 10, 2026.
Master gRPC error handling in .NET! Learn how to use status codes, RpcException, and interceptors for robust and reliable gRPC services. Improve API quality!
How to Handle Exceptions in C# Using Try, Catch, Finally With Real Examples
Apr 07, 2026.
Master C# exception handling with try, catch, and finally blocks! Learn to build robust applications, prevent crashes, and improve user experience. Real examples included!
How to Implement Logging in ASP.NET Core using Built-in ILogger?
Mar 31, 2026.
Master ASP.NET Core logging with ILogger! Learn to track errors, monitor performance, and debug efficiently. Implement robust logging for reliable applications.
Global Exception Handling in ASP.NET Core Web API
Mar 26, 2026.
Master global exception handling in ASP.NET Core Web API for robust, secure apps. Centralize error management, ensure consistent responses, and improve debugging.
How to Handle Global Exception Handling in ASP.NET Core Web API
Mar 25, 2026.
Centralize error handling in ASP.NET Core Web API for cleaner code, consistent responses, and improved security. Learn to implement global exception handling.
đź§± Lesson 13A: Centralized Error Handling & Validation Backend
Mar 13, 2026.
Implement centralized error handling in ASP.NET Core Web API using global exception middleware for consistent, maintainable, and secure error responses.
How to Implement Global Exception Handling in ASP.NET Core Web API?
Feb 25, 2026.
Implement robust global exception handling in ASP.NET Core Web API using middleware and IExceptionHandler. Centralize error responses and improve API reliability.
How to Implement Global Exception Handling in ASP.NET Core?
Feb 23, 2026.
Master global exception handling in ASP.NET Core for robust, scalable APIs. Learn to implement middleware, custom exceptions, and standardized error responses.
How to Handle Exception Handling in C# Effectively?
Feb 16, 2026.
Master C# exception handling for robust .NET apps. Learn best practices, avoid common pitfalls, and ensure stability with structured logging and global handling.
Filters in ASP.NET Core – Everything You Need to Know
Feb 14, 2026.
Master ASP.NET Core filters! Learn to handle logging, authentication, and validation efficiently. Improve code reuse and build cleaner, maintainable applications.
Common Mistakes .NET Developers Make and How to Avoid Them
Feb 13, 2026.
Avoid common .NET pitfalls! Learn to write efficient, maintainable, and scalable applications by mastering async, DI, exception handling, and clean code.
Filters in ASP.NET MVC – Complete Guide With Examples
Jan 31, 2026.
Unlock the power of ASP.NET MVC Filters! This guide covers Authorization, Action, Result, Exception, and Authentication Filters with practical examples. Learn to streamline your code and handle cross-cutting concerns effectively for cleaner, more maintainable applications.
5 Most Confusing .NET Interview Questions – Explained for Beginners (With Simple Examples) (Part-2)
Jan 16, 2026.
Ace your .NET interview! Learn to confidently answer tricky questions about API responses, HttpClient, app settings, startup, and exception handling with clear examples.
How to Debug a Node.js App That Crashes Without Error Logs
Jan 14, 2026.
Troubleshoot Node.js apps that crash silently! Learn to debug without error logs using global handlers, logging, debug flags, & memory checks. Prevent future crashes!
How to Handle Exceptions Globally in ASP.NET Core
Jan 04, 2026.
Master global exception handling in ASP.NET Core! Learn to centralize error logic using IExceptionHandler for robust, maintainable, and cleaner code. #dotnet8
Handle Exceptions Globally in a Spring Boot Application?
Dec 09, 2025.
Learn how to handle exceptions globally in a Spring Boot application using @ControllerAdvice, custom exception classes, and error response structures. This guide explains each concept in simple words with code examples.
Exception Handling in ASP.NET Core
Dec 05, 2025.
This article provides a complete, easy-to-understand, and professional guide to Exception Handling in ASP.NET Core. It explains what exceptions are, why proper error handling is important, and how to implement try–catch, global exception middleware, built-in error handling, custom exception filters, structured ProblemDetails responses, validation errors, and logging using best practices. Ideal for beginners and experienced .NET developers, this article teaches how to build stable, secure, and production-ready applications with proper exception handling techniques.
How Do I Fix “Object Reference Not Set to an Instance of an Object” in C#?
Dec 03, 2025.
Learn simple, clear, and practical ways to fix the common C# error "Object reference not set to an instance of an object." Understand why it happens, how to identify the root cause, and how to prevent it using real-world examples.
Practical Logging in ASP.NET Core Using Built-In ILogger: Production Scenarios, Patterns, and Case-Study Implementation
Nov 24, 2025.
Master ASP.NET Core logging with ILogger! Learn practical techniques, best practices, and a case study for production-ready applications. Improve debugging and monitoring.
6 Types of Filters in ASP.NET Core – Complete Guide (With Examples & Use Cases)
Nov 23, 2025.
This article provides a complete and detailed explanation of the 6 types of Filters in ASP.NET Core, including Authorization, Resource, Action, Endpoint, Exception, and Result Filters. Each filter type is described in a clear and practical way with syntax examples, real project scenarios, and line-by-line breakdowns to help learners understand how filters work in the MVC and Web API pipeline. This guide is ideal for developers, students, and professionals preparing for .NET interviews or working on enterprise-level ASP.NET Core applications.
Middlewares in ASP.NET Core — The Ultimate Detailed Guide
Nov 20, 2025.
This article provides a highly detailed and comprehensive guide to Middlewares in ASP.NET Core, covering the complete request-processing pipeline, middleware architecture, built-in and custom middlewares, real-world use cases, microservices integration, performance tuning, and essential interview concepts. It is designed for beginners, intermediate developers, and professionals preparing for .NET interviews or building enterprise web applications.
Designing a Robust Global Exception Handling Strategy in ASP.NET Core
Oct 28, 2025.
Implement robust ASP.NET Core global exception handling for resilient APIs. Centralize error management, ensure consistent responses, and enhance observability. #dotnet
⚙️ Mastering Exception Handling in .NET Core — Complete Guide with Examples
Oct 28, 2025.
Master .NET Core exception handling! Learn try-catch, global handlers, middleware, custom exceptions, and logging for robust & user-friendly apps.
How to Troubleshoot Errors in a .NET MVC Website
Oct 25, 2025.
Learn how to troubleshoot errors in a .NET MVC website using debugging techniques, IIS logs, custom error handling, remote debugging, and third-party tools like Application Insights, ELMAH, and NLog. Practical guide for ASP.NET MVC error resolution.
Chapter 17: Exception Handling: Robust Error Management in C++
Oct 23, 2025.
Master C++ exception handling for robust error management. Learn to gracefully handle unexpected runtime problems using try, catch, and throw. Discover how to use multiple catch blocks, custom exception classes, and RAII (Resource Acquisition Is Initialization) to write cleaner, more reliable code that prevents resource leaks and ensures program stability in the face of errors. Elevate your C++ skills with effective error handling techniques.
ASP.NET Core Error Handling: Master Middleware, Logging & Exception Strategies (Part-20 of 40)
Oct 20, 2025.
Master ASP.NET Core error handling with this comprehensive guide! Learn to implement custom middleware, structured logging with Serilog, and global exception strategies for resilient applications. Explore real-world patterns, API error responses, database resilience, and security considerations. Elevate your application's reliability and user experience through proactive error management and continuous improvement.
How to Handle “Array Out of Bounds” Exception in Java?
Oct 03, 2025.
Learn how to effectively handle the "Array Out of Bounds" exception in Java! This guide explains why this common error occurs when accessing array elements with invalid indices. Discover practical solutions like using array.length in loops, validating indices, and employing try-catch blocks. Plus, explore best practices to prevent this exception, including using ArrayLists for dynamic sizes. Write safer, more reliable Java code today!
Best Practices for Handling Exceptions in Java
Sep 23, 2025.
Learn how to write robust and maintainable code by catching specific exceptions, avoiding swallowed errors, and using finally or try-with-resources for cleanup. Discover when to create custom exceptions and how to log errors effectively. Elevate your Java applications to production-ready status by implementing these essential techniques for a better developer and user experience.
Best Ways to Handle Null Reference Exceptions in C#
Sep 23, 2025.
This article provides practical strategies to prevent and handle NREs effectively. Learn to use null checks, the null-conditional and coalescing operators, proper object initialization, and C# 8's nullable reference types. Write robust, error-free C# code and improve application stability by anticipating and safely managing null values.
Difference between Throw and Throws in Exception Handling
Aug 24, 2025.
Exception handling is an essential part of Java programming that ensures smooth execution of applications even when unexpected errors occur. Two important keywords used in this context are throw and throws.
JavaScript Event Loop: Microtasks vs Macrotasks Explained
Aug 20, 2025.
The JavaScript event loop is one of the most fundamental concepts to understand for mastering asynchronous programming. This article explores how the event loop works, what microtasks and macrotasks are, and how they affect code execution order.
How do you handle errors in a Node.js application?
Aug 18, 2025.
This article explains the different ways to handle errors in a Node.js application using simple words and clear examples. It covers types of errors, error-handling techniques, and best practices.
Advanced concepts of JavaScript
Aug 14, 2025.
Master advanced JavaScript concepts like closures, hoisting, prototypes, async/await, event loop, and functional programming to write efficient, reusable, and well-structured code for modern applications.
Difference Between Synchronous and Asynchronous Programming in Node.js
Aug 14, 2025.
This article explains in simple words the difference between synchronous and asynchronous programming in Node.js, how they work step-by-step, their pros and cons, and when to use each. It includes JavaScript examples clearly marked for easy understanding.
What is the Event Loop in Node.js, and How Does It Work?
Aug 13, 2025.
This article explains the concept of the Event Loop in Node.js, why it exists, how it works step-by-step, and how it allows asynchronous, non-blocking operations in a single-threaded environment. Includes clear JavaScript examples to make the topic easier to understand.
Why is Node.js single-threaded, and how does it handle concurrency?
Aug 13, 2025.
This article explains in simple words why Node.js is designed to be single-threaded, the role of its event-driven architecture, and how it achieves concurrency using the event loop, asynchronous operations, and non-blocking I/O. Includes clear explanations and code examples in JavaScript.
How the Event Loop Works in JavaScript?
Aug 12, 2025.
An in-depth guide to JavaScript’s event loop—how a single-threaded language manages concurrency using the call stack, callback queue, and event loop, both in browsers and Node.js. Includes explanations, diagrams, and related C# Corner articles for further reading.
Is JavaScript Synchronous or Asynchronous?
Aug 08, 2025.
Explore the core differences between synchronous and asynchronous execution in JavaScript. Learn how each model works, why asynchronous programming is essential for modern web applications, and how patterns like callbacks, promises, and async/await help manage complexity—illustrated with insights from C# Corner articles.
Building Enterprise-Grade .NET Core Web API: A Clean Architecture Guide
Aug 05, 2025.
A robust backend project using Clean Architecture with layered structure, SOLID principles, middleware, JWT auth, SignalR for real-time, email integration, third-party services, and Serilog logging.
Common Pitfalls in Selenium Automation and How to Avoid Them
Aug 05, 2025.
This article highlights common Selenium automation mistakes like weak locators, hard-coded waits, and poor exception handling, offering best practices such as POM, explicit waits, and data-driven testing for robust, maintainable tests.
Best Practices for Exception Handling in ASP.NET Core Web APIs
Aug 01, 2025.
Exception handling is a critical aspect of building robust, secure, and maintainable Web APIs. In ASP.NET Core, handling exceptions gracefully ensures that the API provides meaningful error information to consumers without exposing sensitive internal details or causing the application to crash.
Understanding Event Loop, Callbacks, and Promises in Node.js
Jul 02, 2025.
Learn how Node.js handles asynchronous operations using the event loop, callbacks, promises, and async/await. Understand microtasks, macrotasks, and how to write clean, non-blocking async code.
Why Node.js is Non-Blocking: Event Queue, Loop, and Emitters Explained
Jul 01, 2025.
Have you ever wondered how Node.js can handle thousands of users at once, all while running on a single thread? The secret lies in its non-blocking, event-driven architecture-powered by the event loop, event queue, and EventEmitter.
How to Handle File Operations in C#
Apr 02, 2025.
Learn how to perform file operations in C# with this step-by-step guide. This article covers reading and writing text files, handling exceptions, and using object-oriented programming concepts.
Beyond 500: Building Professional Error Handling for .NET APIs
Mar 20, 2025.
Error handling might not be the most exciting part of API development, but it’s one of the most important. A well-designed error handling strategy can dramatically improve the developer experience, reduce support costs, and make your API more robust.
Fix Error “Too Many Transient Failure Retries Permanent Exception”
Mar 04, 2025.
Encountering the 'Too Many Transient Failure Retries Permanent Exception' error during Exchange Online migrations? This guide explains the causes—network issues, throttling, corrupted items—and provides step-by-step PowerShell solutions to troubleshoot and resolve the issue efficiently.
Scope Communication Object in JSP
Feb 28, 2025.
The Scope Communication object consist of session object, application object and pageContext object.
Entity Framework 9 - GroupBy Throwing Exception
Feb 19, 2025.
Entity Framework 9 (EF9) has a bug where using GroupBy with sorting may throw the exception: "The given key 'EmptyProjectionMember' was not present in the dictionary." Workarounds exist but aren't always practical.
Global Exception Handling in ASP.NET Core Web API
Jan 14, 2025.
Learn how to implement Global Exception Handling in Asp.Net Core WebAPI using Custom Middleware. Handle errors efficiently with ExceptionMiddleware, register it in program.cs, and see how to manage exceptions in your application seamlessly.
Calculate Simple Interest in Java with Code
Jan 08, 2025.
Learn how to calculate simple interest in Java using user input, exception handling, and validation. This article includes step-by-step explanations, example code, and techniques for handling invalid user inputs effectively.
Take Input in Java using Scanner Class with Code
Dec 06, 2024.
Learn how to capture user input in Java using the Scanner class. This guide covers importing, creating Scanner objects, reading inputs (strings, integers, doubles), and handling exceptions with examples.
Exception Handling in C# 9.0
Dec 04, 2024.
Exception handling in C# 9.0 ensures applications can manage unexpected errors gracefully, improving stability and user experience. This includes using try, catch, finally, and throw for structured error handling.
Enhanced Exception Handling with IExceptionHandler in .NET Core 8
Nov 28, 2024.
Learn about IExceptionHandler in .NET 8, a robust interface for handling exceptions in ASP.NET Core. Streamline error handling with custom logic, modular design, standardized API responses, and enhanced user-friendly error management.
Types of Error Handling in Web API .NET 8 with Example
Nov 13, 2024.
Error handling is a mechanism to take control of unexpected situations that occur in the system during processing and return any helpful error response from a NET 8 Web API. That said, here are some different ways to do error handling,
Converting HTML to PDF or Image in C# Using wkhtmltopdf
Nov 05, 2024.
This guide explains generating PDFs and images from HTML using wkhtmltopdf in C#. With wkhtmltopdf's Webkit-based engine, convert HTML content, including complex CSS and JavaScript, into high-quality PDFs or images.
Web api call in Android
Oct 25, 2024.
This article explains how to call a Web API in an Android app using Java. It covers key concepts like HTTP methods (GET, POST), status codes, headers, and the use of the OkHttp library for making API requests.
Understanding Callbacks with Func and Action Delegates
Sep 26, 2024.
This article explains how to use Func and Action delegates in C# to implement callbacks, providing flexible and reusable code. It includes practical examples for both returning and non-returning methods.
Creating User Defined Exceptions in Java
Sep 09, 2024.
Customized exceptions are necessary to handle abnormal conditions of applications created by the user.
Crafting Efficient and Maintainable C# Code
Aug 28, 2024.
This guide explores essential C# best practices for robust, maintainable code. It covers using meaningful variable names, following naming conventions, handling null values, and using var judiciously.
Understanding the Liskov Substitution Principle (LSP) with C#
Aug 14, 2024.
The Liskov Substitution Principle (LSP) ensures that objects of a base class can be replaced with objects of a derived class without altering program correctness. This principle, part of SOLID design, promotes reliable and maintainable code by maintaining consistent behavior across class hierarchies.
Understanding Multithreading with the Thread Class in C#
Aug 06, 2024.
Learn how to implement multithreading in C# using the Thread class. This guide covers creating and managing threads, passing parameters, handling exceptions, and using Task for simplified parallelism. Improve your application's performance by understanding these core concepts and techniques.
Best practices for API Error Handling in .Net
Jul 31, 2024.
Explore best practices for API error handling in .Net, covering essential techniques for robust and resilient APIs. Learn how to effectively manage exceptions, log errors, and implement fault tolerance.
Exception Handling in ASP.NET Core 8
Jul 31, 2024.
Learn how to effectively manage exceptions in ASP.NET Core 8 with our comprehensive guide. Discover best practices for error handling, from using middleware and exception filters to implementing global error handling and logging.
How to Use async in jQuery When Calling an API Using Ajax
Jul 30, 2024.
Learn how to use async and await in jQuery to streamline API calls with Ajax. This guide covers setting up an HTML page, creating a JavaScript file for async operations, handling errors with try-catch blocks, and updating the UI with fetched data. Simplify asynchronous code and improve readability.
Exception Filters in ASP.NET Core
Jul 25, 2024.
Exception handling in ASP.NET Core is crucial for application stability. Exception filters provide a centralized way to manage errors, log them, and return custom responses, enhancing maintainability and user experience.
Handling Exceptions in ADO.NET Best Practices for Error Handling
Jul 24, 2024.
When working with ADO.NET for data access in .NET applications, effective exception handling is crucial to ensure the stability and reliability of your applications. This article will explore common exceptions in ADO.NET and provide best practices for robust error handling and logging.
Task Scheduling with System.Threading.Timer in .NET
Jul 21, 2024.
Efficient task scheduling is essential for many applications, whether you're building background services, automated tasks, or periodic data processing. In .NET, the System.Threading.Timer class provides a powerful and straightforward way to schedule tasks to run at specific intervals.
Master Global Exception Handling with IExceptionHandler in .NET
Jul 16, 2024.
Global exception handling in .NET with IExceptionHandler centralizes error management, ensuring consistent responses and improved logging. Our Global Exception Handler Middleware catches exceptions globally, enhancing user experience and maintainability.
Exploring Advanced Error Handling Techniques in C#
Jul 15, 2024.
Error handling is a crucial aspect of software development, ensuring that applications can gracefully handle unexpected situations and maintain robust functionality. In C#, error handling is typically managed using exceptions.
Exploring Advanced Error Handling Techniques in C#
Jul 08, 2024.
Error handling is a critical aspect of software development. It ensures that your applications can gracefully handle unexpected situations, maintain stability, and provide meaningful feedback to users. In C#, the .NET framework offers robust mechanisms for error handling.
Implementing Periodic API Calls and Error Handling in C# Windows Forms Application
Jul 04, 2024.
The Form1 constructor initializes a form and starts a timer. When the timer elapses (t_Elapsed), it fetches data from APIs configured in WebConfigurationManager.AppSettings. The demoGet method handles API interactions, data processing, and posting using PostDataJSON.
Exception Handling in C#
Jun 23, 2024.
Learn about defining methods, method overloading, return types, parameters, and access modifiers. Understand properties, including getters, setters, auto-implemented properties, and encapsulation techniques.
Understanding throw vs throw ex vs throw new Exception() in C#
Jun 22, 2024.
Explore the nuances of exception handling in C# .NET with a deep dive into 'throw', 'throw ex', and 'throw new Exception()'. Learn when to use each technique, their impact on stack traces and exception propagation, and best practices for effective error handling in your applications.
Java Script Callbacks: Syntax, Usage, and Examples
Jun 17, 2024.
JavaScript is designed to support asynchronous programming; it can handle numerous tasks concurrently. JavaScript callbacks are crucial because they let you run code after an asynchronous task completes.
Learn Webhook vs. Callback URL
Jun 13, 2024.
Webhooks and callback URLs are key in web development, enabling real-time updates and automatic interactions. Webhooks push data on specific events, used in real-time notifications and CI/CD. Callback URLs, crucial in OAuth and API integrations, expect responses at specified URLs.
Digicash Payment Gateway Webhook Real-Time MVC UI Updates
Jun 13, 2024.
In this article, we will learn how to integrate the Digicash payment gateway into your MVC web application with real-time UI updates using webhook callbacks.
Mastering Asynchronous Programming in C# Async and Await Patterns
Jun 01, 2024.
Master asynchronous programming in C# with the async and await patterns. Learn how to write non-blocking code, improve application performance, and handle concurrency. Understand Task-based asynchrony, exception handling, and preventing deadlocks, enabling efficient and responsive applications.
Mastering Exception Handling in Python
May 23, 2024.
In this article we will learn about how to handle exceptions in python programming language.
Understanding ToString() vs Convert.ToString() in C#
May 23, 2024.
In C#, both ToString() and Convert.ToString() are used to convert objects to their string representation. However, they have different usages and behavior. Understanding the differences between these two methods can help you choose the right one for your needs.
Mastering Python Best Practices for Clean and Efficient Code
May 17, 2024.
In Python development, adhering to best practices is paramount for code clarity and efficiency. Embrace PEP 8 guidelines, document with docstrings, use list comprehensions, and handle exceptions judiciously for robust, maintainable code.
What's new in .NET 9? .NET 9 Preview 3
Apr 12, 2024.
We're excited to announce the release of .NET 9 Preview 3, packed with new features and improvements across .NET Libraries, Runtime, and SDK. This preview release brings enhancements aimed at boosting performance, improving developer productivity, and introducing new capabilities to the .NET ecosystem.
Exception Handling in Vue.js Application
Mar 29, 2024.
Exception handling in Vue.js is crucial for managing errors gracefully, preventing application crashes, and enhancing user experience. Techniques include try-catch blocks, error capturing hooks, global error handlers, Axios interceptors, and third-party services like Sentry or Bugsnag for error monitoring.
Exception Handling In ASP.NET Core Web API
Mar 11, 2024.
Exception handling is crucial for robustness in ASP.NET Core Web API. Learn about global handling, custom middleware, action filters, and ProblemDetails for effective error management and client communication.
Unit Test in ASP.NET Core Application
Mar 07, 2024.
Creating unit tests for an ASP.NET Core API controller involves service mocking and exception handling. Set up your project, install packages, create a test project, mock the service, write tests, handle exceptions, and run tests.
Implement Global Exception Handling Middleware in .NET Project
Mar 07, 2024.
Implementing custom global exception handling in your project involves setting up a system to manage errors across your application. By defining exception classes and configuring error logging, you can ensure smoother error handling and improve the reliability of your software.
Asynchronous Programming in Angular Promises vs. Observables
Mar 06, 2024.
Asynchronous programming plays a crucial role in modern web development, especially in Angular applications where data fetching, event handling. In this article, we'll delve into the differences between promises and observables, their usage, and provide code examples to illustrate their behavior.
Best Practices for Handling Exceptions in C#
Mar 05, 2024.
Learn effective exception handling techniques in C# with Ziggy Rafiq's comprehensive guide. Discover best practices for managing exceptions, including specifying exception types, logging errors, and employing cleanup strategies. Enhance your C# application's robustness and reliability while minimizing downtime.
Learn Exception Handling in C#
Feb 28, 2024.
Exception Handling in C# is crucial for robust code. Using try-catch blocks, catch blocks, and finally blocks, developers manage unexpected issues gracefully, ensuring dependable and solid applications.
How to Pass a Parameter to Event Handler or Callback in React.js
Feb 22, 2024.
In React, passing parameters to event handlers can be done using arrow functions or the bind method. Choose the approach that suits your project for optimal performance and readability.
Error Management in .NET Core
Feb 18, 2024.
In software development, dealing with mistakes is really important. Whether it's a small problem or a big one, how a program handles mistakes can really affect how well it works for users. In the .NET Core world, there's a cool way to handle errors called global exception handling using custom middleware.
Global Exception Handling in .NET Core with Custom Middleware
Feb 16, 2024.
Global exception handling in .NET Core, utilizing custom middleware, centralizes error management, enhancing resilience and simplifying maintenance. This approach streamlines error handling across the application, promoting consistency and fortifying against unexpected failures.
IExceptionHandler in ASP.NET Core 8
Feb 07, 2024.
ASP.NET Core 8 introduces a new feature called IException Handler, providing a centralized way to handle exceptions in applications. This article explores what IExceptionHandler is and how to use it effectively.
Null Handling in C# Using Null-Conditional and Coalescing Operators
Jan 25, 2024.
In C# programming, null handling is a critical consideration for robust and error-resistant code. This brief guide introduces two powerful operators, the null-conditional operator (?.) and the null-coalescing operator (??), designed to streamline null-related challenges.
Exploring Filters in .NET Core
Jan 17, 2024.
.NET Core's flexibility and extensibility are enhanced by filters, allowing developers to inject logic into the request processing pipeline. Types like Authorization, Action, Result, and Exception filters enable modular and reusable cross-cutting concerns.
Power of Callbacks in ES8 and TypeScript
Jan 17, 2024.
Callbacks in JavaScript play a pivotal role in handling asynchronous operations, enabling developers to execute code after the completion of a specific task. In this article, we'll explore the concept of callbacks, and delve into examples showcasing their utility.
Action and Func Delegates in C#
Jan 02, 2024.
Unlock the potential of Action and Func delegates in C# programming. Dive into the world of expressive and readable code, utilizing these powerful tools for method-passing, event handling, and more. Happy coding!