C# Corner
Tech
News
Videos
Forums
Trainings
Books
Events
More
Interviews
Jobs
Live
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]
Mahesh Chand(10)
Rajesh Gami(9)
Jitendra Mesavaniya(6)
Aarav Patel(4)
Ananya Desai(4)
Niharika Gupta(4)
Tanuj (3)
Riya Patel(3)
Ajay Narkhedkar(3)
Ashish Bhatnagar(3)
Nikhil Patil(3)
Chetan Sanghani(3)
Darshan Adakane(2)
Saurav Kumar(2)
Ck Nitin(2)
Keyur Pandya(2)
Vijay Kumari(2)
Sardar Mudassar Ali Khan (2)
Harsh Bhensawala(1)
Arun Potti(1)
Vishal Gami(1)
Sandhiya Priya(1)
Satya Karki(1)
Sangeet Shah(1)
Akshay Amin(1)
John Godel(1)
Mominul Islam(1)
Akshita Zarbade(1)
Pratik Chavan(1)
Kripanshu Kumar(1)
Lakshan Sulochana Fernando (1)
Neel Shah(1)
Daniel Wright(1)
Rijwan Ansari(1)
Kanchana Jayathilake(1)
Mark Pelf(1)
Kirtesh Shah(1)
Subarta Ray(1)
Jaimin Shethiya(1)
Vinoth Xavier(1)
Hanif Hefaz(1)
Geo J Thachankary(1)
Abhishek Yadav(1)
Jay Krishna Reddy (1)
Safyan Yaqoob(1)
Ajay Kumar(1)
Mohamed Azarudeen Z(1)
Velladurai (1)
Siddhesh Chavan(1)
Lokendra Singh(1)
Sanwar Ranwa(1)
Resources
No resource found
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.
Event Sourcing in .NET: A Modern Approach to Data Management
Feb 13, 2026.
Discover Event Sourcing in .NET! Learn how to build auditable, scalable, and reliable applications by storing data as a sequence of events. Modern data management explained.
Why Does Website Traffic Drop After a Google Algorithm Update?
Feb 12, 2026.
Traffic dips after a Google update? Learn why! This guide covers content quality, E-E-A-T, technical SEO, and recovery strategies for lasting organic growth.
MongoDB Auditing and Compliance Explained
Feb 10, 2026.
Understand MongoDB auditing and compliance for enhanced security and regulatory readiness. Learn best practices, avoid common mistakes, and build trustworthy environments.
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.
Power BI Auditing and Compliance Explained Simply
Jan 29, 2026.
Simplify Power BI auditing & compliance! Learn practical strategies for visibility, accountability, and governance without slowing down your team's agility.
Security Enhancements in SQL Server 2025
Jan 26, 2026.
Security is no longer an add on for databases. It is a baseline expectation. SQL Server 2025 strengthens security not by adding dozens of complex switches but by making secure defaults easier, safer, and harder to mess up. In this tutorial, you will understand what security has improved, why it matters in real production systems, and how these changes reduce risk for enterprises running business critical data.
How Do Companies Validate AI Model Outputs for Regulatory Compliance? (Part 2: High-Risk Industries)
Jan 22, 2026.
Explore AI output validation in high-risk sectors like finance, healthcare, and hiring. Learn about regulatory expectations, compliance, and real-world examples.
AI Compliance Failures Explained: Why Companies Get Fined and How to Avoid It
Jan 22, 2026.
Learn about AI compliance failures leading to fines. Discover common pitfalls like poor validation, lack of audit trails, and how to avoid regulatory penalties.
A Complete Guide to AI Output Compliance: From Validation to Incident Response
Jan 22, 2026.
Master AI output compliance! This guide covers validation, monitoring, incident response, and more. Ensure responsible AI and avoid costly fines.
How Can Teams Audit Data Access When Using Shared Service Accounts?
Jan 21, 2026.
Audit shared service accounts effectively! Learn to track data access, enhance security, and maintain compliance. Implement logging, least privilege, and monitoring.
How Do Companies Validate AI Model Outputs for Regulatory Compliance?
Jan 21, 2026.
Learn how companies validate AI model outputs for regulatory compliance. Discover key steps, from defining rules to continuous monitoring, ensuring responsible AI use.
How to Audit a Codebase Using AI
Jan 17, 2026.
Learn how AI-powered code audits work, what they analyze, and how developers, founders, and investors can understand code quality, security, and risk without manually reviewing massive codebases.
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!
Frontend Performance Issues in Lighthouse Audits: Key Factors Affecting Scores
Jan 12, 2026.
Improve Lighthouse scores by tackling frontend performance issues! Learn to optimize LCP, FID, CLS, reduce JS, and boost speed for better UX and SEO rankings.
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
How Do I Audit Source Code?
Dec 26, 2025.
Learn how to audit source code step by step. This practical guide explains tools, techniques, and best practices for secure code audits, AI generated code review, and compliance ready software.
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.
Optimizing Audit Queries by Time-Keyed Clustering
Dec 02, 2025.
Optimize audit queries with Time-Keyed Clustering! Learn how to improve performance, reduce I/O, and efficiently manage large audit datasets. Boost Angular app speed!
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.
My first XRMToolBox Plugin: Dataverse Users, Security roles, Teams and Teams security roles (Overview, Installation & Usage)
Nov 27, 2025.
Explore Dataverse security with this XrmToolBox plugin! Analyze users, roles, teams, and access. Export data for audits, compliance, and cleanup. Easy install!
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.
Implementing Your Own Change Tracking Engine (without CDC) | Angular + .NET Core
Nov 20, 2025.
Build a custom change tracking engine in Angular & .NET Core, bypassing SQL Server CDC. Capture data changes, enable audit/undo, and ensure data integrity.
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 Historical Snapshot System | Angular + .NET
Nov 19, 2025.
Build a robust historical snapshot system in Angular & .NET for data auditing, recovery, and compliance. Capture, store, and restore entity states efficiently.
Implementing a Complex Ledger System | Double Entry, Audit Trails, Integrity Rules in .NET with Angular Front-End
Nov 19, 2025.
Build a robust ledger system in .NET with Angular! Double-entry accounting, audit trails, integrity rules, and a complete posting pipeline explained.
Implementing an Audit Trail UI: Displaying Field-Level Changes Side-by-Side
Nov 17, 2025.
Build a user-friendly audit trail UI with Angular and ASP.NET Core. This guide covers design, architecture, data structures, API endpoints, and UI patterns for field-level change comparisons.
Building an API Activity Log Table (Who Accessed What, When, and What Changed)
Nov 17, 2025.
Build a complete API activity logging system in ASP.NET Core with SQL Server and Angular. Track API access, data changes, and ensure audit compliance.
Designing a Data Versioning System — store history of every record (SQL Server + .NET)
Nov 17, 2025.
Implement data versioning in SQL Server and .NET to track record changes. Essential for audit, compliance, and features like time travel and record revert.
Implementing Soft Delete and Auditing in ASP.NET Core with EF Core
Nov 10, 2025.
Implement soft delete & auditing in ASP.NET Core using EF Core for data integrity, traceability & compliance. Prevent data loss & track changes effectively.
Data Versioning and Auditing in SQL Server with Temporal Tables
Nov 05, 2025.
SQL Server Temporal Tables offer built-in data versioning and auditing, simplifying history tracking and compliance. Restore data, query past states easily!
Implementing Database Audit Logging Using Triggers in Oracle
Nov 06, 2025.
Implement robust audit logging in ASP.NET with Oracle using database triggers. Track CRUD operations, user actions, and data changes for compliance and security.
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.
AI Agents in Practice: Expense Report Auditing & Reimbursement Agent (Prompts + Code)
Oct 20, 2025.
Automate expense report auditing and reimbursement with AI Agents. This pattern details an agent that normalizes expenses, validates receipts, enforces policy, detects duplicates, and submits compliant reports for payment. Includes prompts, code, and tool interfaces for rapid deployment and integration with existing finance systems. Improve efficiency and accuracy in expense processing.
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.
Google Gemini Enterprise Security Explained: Compliance, Data Protection, and Governance Controls for Businesses
Oct 10, 2025.
Explore how Google Gemini Enterprise secures your company’s data. Learn about its encryption, compliance certifications (ISO, SOC 2, GDPR, HIPAA), governance dashboards, and why enterprises trust Gemini for AI at scale.
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!
Audit SharePoint Security Groups — Script & Guide
Sep 29, 2025.
Audit SharePoint Online security with this comprehensive guide and PnP.PowerShell script. Discover Azure AD security groups (including Microsoft 365 Groups) with assigned permissions across your tenant's SharePoint sites. Learn how to securely automate the process, export results to CSV, and avoid common pitfalls. Improve your SharePoint security posture by identifying and managing group permissions effectively.
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.
Exporting Power Automate Flow Details with PowerShell
Sep 09, 2025.
Gain comprehensive visibility into your Power Automate flows with this PowerShell script! Automate the extraction of flow details, including status, run history, ownership, and connector usage. Simplify auditing, governance, and troubleshooting by exporting data to a CSV report. Identify failing flows, track modifications, and ensure compliance across your Power Platform environment.
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.
Automating Site-Wide Permission in SharePoint Online with PnPjs
Aug 14, 2025.
Automate SharePoint Online permissions using SPFx and PnPjs. Create site-wide groups, assign roles, propagate across sites, and enable centralized auditing for consistent, secure, and scalable access management.
Automating SharePoint Permissions with PnPjs
Aug 14, 2025.
Learn how to create custom role definitions, assign dynamic item-level permissions, and audit SharePoint security using PnPjs in SPFx. Step-by-step guide with best practices.
Custom Role Definitions & Dynamic Permission Management in SharePoint with PnPjs (SPFx Guide)
Aug 11, 2025.
This script uses PnP.js to create a custom SharePoint role named "Custom Reviewer" with permissions to view and add comments but without editing core data, defining it via sp.web.roleDefinitions.add().
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.
Designing & Retaining HIPAA Audit Logs: Best Practices for Developers
Jul 12, 2025.
Learn how to implement comprehensive HIPAA audit logging—what PHI events to capture, how to store logs immutably, retention requirements, and real-time monitoring for compliance and security.
Ongoing HIPAA Compliance Verification: Pen Tests, Scans, Reviews & Reassessments
Jul 12, 2025.
Ensure continuous HIPAA compliance with regular penetration testing, automated vulnerability scans, secure code reviews, and annual risk reassessments. Learn how to build a repeatable, audit-ready process.
Conducting HIPAA Risk Assessments: A Step-by-Step Developer’s Playbook
Jul 12, 2025.
Learn how to run a comprehensive HIPAA risk assessment—from data inventory and STRIDE-based threat modeling to scoring vulnerabilities in a living risk register and driving remediation in your DevSecOps pipeline.
Securing PHI Backups & Disaster Recovery: A HIPAA Compliance Blueprint
Jul 12, 2025.
Learn how to protect Protected Health Information (PHI) with encrypted backups, off-site segregation, regular restore testing, and audit-ready documentation to meet HIPAA’s stringent requirements.
Maintaining HIPAA Policies, Training & Documentation: A Continuous Compliance Framework
Jul 12, 2025.
Learn how to version-control HIPAA policies, automate workforce training tracking, and keep your compliance documentation continuously up to date with audit-ready processes and tools.
How to Build HIPAA-Compliant Software: A 10-Step Developer’s Guide
Jul 12, 2025.
Learn the essential 10-step playbook for developers to design, secure, and maintain HIPAA-compliant software products. From risk assessments to audit logging, bake privacy in from day one.
Comprehensive Guide to Minimizing Privilege in Active Directory Security
Jun 17, 2025.
Learn how to run JavaScript directly in Power Automate Desktop using the “Run JavaScript” action. Build objects, return JSON via WScript.Echo(), and integrate JS logic seamlessly into your PAD flows.
Implementing Azure Key Vault for Secure Secret Management
May 01, 2025.
Azure Key Vault is a secure cloud service to store and manage secrets, keys, and certificates. It offers centralized control, strong encryption, RBAC access, and audit logging for enhanced application security.
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.
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.
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.
After Business Rules in ServiceNow: Scenarios and Best Practices
Jul 22, 2024.
After Business Rules in ServiceNow execute after a database operation, enabling actions that depend on the successful completion of the initial operation. Common scenarios include audit logging, triggering notifications, data synchronization, and cascade updates.
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.
Implementing a Audit Trail in ASP.NET Core Web API
Jul 17, 2024.
Learn how to implement a robust audit trail in an ASP.NET Core Web API using Entity Framework Core and SQL Server. This comprehensive guide covers setting up the project, defining data models like Products and AuditLogs, configuring the database context, applying migrations, and creating CRUD operations.
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.
Understanding SQL Triggers: Types, Uses, and Examples
Jun 17, 2024.
SQL triggers are powerful database objects that automatically execute in response to specific events occurring within a database. They enable developers to automate tasks, enforce data integrity, and implement complex business rules without manual intervention.
Understanding Temporal Tables in SQL Server
Jun 04, 2024.
Temporal tables are a powerful feature introduced in SQL Server 2016 that provides a built-in mechanism for capturing and querying historical data. They enable you to keep track of all changes made to the data in a table, which can be crucial for auditing, compliance, and data analysis.
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.
audit and auditTime Operator in Angular
May 21, 2024.
In Angular's RxJS, the `audit` and `auditTime` operators control observable emissions. `audit` uses a function-based duration, while `auditTime` uses a fixed duration, both effectively managing high-frequency events.