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]
George (9)
Dashrath Hapani(5)
Tuhin Paul(3)
Mahesh Chand(3)
Sardar Mudassar Ali Khan (3)
Jignesh Kumar(3)
Satya Karki(3)
Praveen Raveendran Pillai(3)
Chetan Sanghani(3)
John Godel(2)
Jayraj Chhaya(2)
Kripanshu Kumar(2)
Sangeetha S(2)
Divyansh Gupta(2)
Jay Krishna Reddy (2)
Vishal Yelve(2)
Raveena Attri(2)
Tural Suleymani(2)
Gurpreet Arora(2)
Aman Gupta(2)
Shilpa Tanwar(2)
Mominul Islam(1)
Kaveendra Dhilhan(1)
Niharika Gupta(1)
Uttam Chaturvedi(1)
Patrick Kearns(1)
Micheal Xavier A (1)
Rajeev Paliwal(1)
Nikhil Patil(1)
Mariem Moalla(1)
Shivang (1)
Gowtham Rajamanickam(1)
Ziggy Rafiq(1)
Ayush Gupta(1)
Neel Shah(1)
Sridharan D(1)
Mark Pelf(1)
Mohammad Hasan Hosseini(1)
Rijwan Ansari(1)
Lokesh Varman(1)
Emanuel Martins(1)
Jochen Bartlau(1)
Subarta Ray(1)
Babita (1)
Rajkumar Jain(1)
Vinoth Xavier(1)
Omar Rodriguez(1)
Rajiv Singh(1)
Praveen Sreeram(1)
Rahul Sharma(1)
Hamed Niazmand(1)
Oleg Litvinov(1)
Geo J Thachankary(1)
Swesh S(1)
Uday Dodiya(1)
Ajay Kumar(1)
Hanif Hefaz(1)
Vijai Anand Ramalingam(1)
Vijay Yadav(1)
Jitendra Mesavaniya(1)
Tahir Ansari(1)
Mohamed Azarudeen Z(1)
Resources
No resource found
đ Master SQL Server Transaction Log Management â The Smart, Secure, Automated Way!
Oct 14, 2025.
Master SQL Server transaction log management! Stop runaway log files from consuming disk space. Learn a safe, automated approach to manage log growth without breaking your backup chain. Includes a free emergency script, long-term strategies, and best practices for FULL recovery, monitoring, and ransomware defense.
Connect Entra ID Logs to Microsoft Sentinal
Oct 12, 2025.
Secure your Microsoft environment by connecting Entra ID logs to Microsoft Sentinel. This integration provides real-time threat detection, automated incident response, and enriched investigations using KQL. Learn how to ingest Audit, Sign-in, Provisioning, and Risk Events, fulfilling prerequisites, and troubleshooting common issues to enhance your SecOps capabilities and protect against identity-based attacks. This setup is a must for modern SecOps.
Debug Like a SRE: Build a Real-Time JSON Log Aggregator for Critical Systems Using Python
Oct 11, 2025.
This article demonstrates how structured logging with JSON transforms debugging from a nightmare into a streamlined process. Learn to parse, filter, and color-code logs for instant insights, enabling rapid diagnosis and resolution of issues in distributed environments. Ideal for SREs and developers managing complex systems.
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.
Build a Log Aggregator with Structured JSON Parsing Using Python
Oct 10, 2025.
This article guides you through building a real-time log aggregator with Python. Learn to parse structured JSON logs, filter by service/error level, and drastically reduce MTTR. Transform chaos into clarity with observable, understandable logs. Improve your debugging workflow today!
How to Clone Javaâs StringTokenizer in Python: A Real-Time Log Parsing Use Case
Oct 07, 2025.
Learn how to implement Java's StringTokenizer in Python for parsing real-time cloud logs. This article explores Pythonic string tokenization techniques, including building a reusable StringTokenizer clone with custom delimiters, escape character handling, and stateful iteration. Discover best practices for performance and when a stateful tokenizer is superior to Python's built-in split() method, especially in high-volume data streams. Includes complete code and unit tests.
Implement a Custom Logger in Node.js
Oct 06, 2025.
This article covers essential aspects like log levels, structured JSON logging, asynchronous writing, file rotation strategies, and integration with centralized logging systems (ELK, Datadog). Discover when a custom solution is preferable to existing libraries like Winston or Pino, and how to build a lightweight, efficient, and secure logger tailored to your specific application needs.
Monitoring and Logging .NET Applications in Azure and AWS
Oct 03, 2025.
Master monitoring and logging for .NET applications in Azure and AWS. This guide explores Azure Monitor, Application Insights, Log Analytics, CloudWatch, X-Ray, and CloudTrail. Learn to detect issues early, optimize performance, ensure security, and gain business insights. Implement best practices like structured logging, centralized logs, alerts, and distributed tracing for stable, secure, and optimized cloud-native .NET apps.
How to configure Azure API gateway to get user logs
Oct 01, 2025.
Enhance user tracking in Azure API Management by configuring inbound policies to capture user details and send them to Application Insights. This allows you to monitor API usage, troubleshoot issues, and gain valuable insights into user activity. Learn how to implement custom policies to enrich requests with user identity and other relevant information for improved observability and analysis. Store logs to database for future references.
Generative AI Observability in Production: From Logs to Live Quality and SLOs
Sep 29, 2025.
Unlock the power of Generative AI observability! This article provides a comprehensive guide to monitoring GenAI systems in production, from logging to live quality and SLOs. Learn how to track key metrics like latency, error rate, faithfulness, and safety, enabling faster shipping, calmer incident response, and confident scaling. Discover practical strategies for building effective dashboards, alerts, and evaluation pipelines to ensure your GenAI applications deliver fast, accurate, and safe answers.
Mastering Delegates in C#
Sep 28, 2025.
This article goes beyond the basics, revealing how delegates enable flexible, extensible, and testable applications. Learn how they underpin events, LINQ, asynchronous programming, and design patterns. Master delegates for clean code, separation of concerns, and building robust systems that scale. Elevate your C# skills today!
Logging and Monitoring Security Events in ASP.NET Core
Sep 19, 2025.
Enhance your ASP.NET Core application security by implementing robust logging and monitoring practices. This guide covers structured logging with Serilog, NLog, and built-in providers. Learn to detect suspicious activities, trace API calls, and identify unauthorized access. Discover how to set up alerts for brute-force attacks, secure log data, and comply with security standards like GDPR. Improve incident response and strengthen your application's defense posture with real-time monitoring using Application Insights, ELK, or SIEM tools.
LeftJoin in .NET 10 & EF Core 10 - A Game Changer for LINQ Developers
Sep 19, 2025.
Finally! .NET 10 and EF Core 10 introduce native LeftJoin and RightJoin LINQ methods, simplifying data queries and eliminating verbose workarounds. Learn how to use these game-changing features for cleaner, more readable code, mirroring SQL's LEFT JOIN functionality.
IEnumerable vs IQueryable in .NET
Sep 18, 2025.
Learn how IEnumerable handles in-memory data efficiently, while IQueryable shines with remote data sources like databases, translating LINQ to SQL for server-side filtering. Choosing the right interface can dramatically improve your application's speed and resource usage, preventing performance bottlenecks and ensuring smooth data handling.
Choose a Data Storage Approach at the Cloud
Aug 23, 2025.
This Article explains different types of data classificationâstructured, semi-structured, and unstructured dataâin simple, easy-to-understand language. It breaks down how each type is stored, organized, and used, with real-world examples like product catalogs, photos, and business reports. We also explored common data serialization formats (XML, JSON, YAML) with plain explanations, examples, pros and cons, and a comparison table. Finally, we summarized everything with a visual infographic and a comparison table to make it easy to remember.
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.
Structured Logging in .NET: Why You Should Avoid String Interpolation
Aug 13, 2025.
Structured Logging in .NET: Why You Should Avoid String Interpolation, and string concatenation and use structured logging instead.
Build a Daily Mood Tracker in C# Console App with JSON Storage
Aug 01, 2025.
In this beginner-friendly C# project, you will build a simple daily mood tracker using a console interface and JSON for local data storage. This project is great for understanding how to combine real-life utility with coding fundamentals.
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.
đ§Ÿ Creating Custom Middleware in ASP.NET Core â The Complete Guide with Real Examples
Jul 29, 2025.
ASP.NET Core is known for its modular pipeline, where middleware components play a critical role in handling HTTP requests and responses. Middleware can perform a variety of tasks such as request logging, authentication, routing, response modification, error handling, and more.
đ Power Pages: Display Current Logged-in Userâs Full Name Using Liquid template
Jul 19, 2025.
Learn how to display the full name of the currently logged-in user in Power Pages using Liquid templates. A step-by-step guide for Power Apps developers to personalize user experience.
Managing Relationships, Migrations, and Performance Optimization in ASP.NET Core MVC
Jul 18, 2025.
This ASP.NET Core MVC project demonstrates how to manage one-to-many relationships using Entity Framework Core, handle code-first migrations, and apply performance optimization techniques such as AsNoTracking, pagination, and in-memory caching.
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.
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.
Data View and LINQ in C# and VB.NET
Jul 07, 2025.
Learn how to fetch unique values from a DataTable using DataView and LINQ in C# and VB.NET. Explore sorting, filtering, and displaying distinct book records with examples compatible with .NET Core and .NET 9.
Mastering LINQ in C#
Jun 25, 2025.
Language Integrated Query (LINQ) is a game-changer in C#. It brings SQL-like data querying capabilities directly into your C# code, making data manipulation more intuitive, type-safe, and readable.
Understanding Select vs SelectMany in LINQ
Jun 19, 2025.
In this article, we are going to learn about the importance of LINQ features of select and SelectMany and the difference between them.
FirstOrDefault vs. SingleOrDefault in LINQ: Key Differences and Use Cases
Jun 16, 2025.
In this article, we'll dive into the key differences between FirstOrDefault and SingleOrDefault, examining their behaviours, ideal use cases, and guidance on when to use each one. By the end, you'll gain a better understanding of how to utilize these methods to optimize data queries in your C# applications.
Best Practices and Code Examples for Azure Functions using C# 13
Jun 09, 2025.
Ziggy Rafiq shares best practices for structuring, testing, and deploying production-grade serverless functions using Azure and xUnit in this article.
Logging in ASP.NET Core Web API Using MongoDB
Jun 03, 2025.
Logging is one of the most important parts of building a real-world application. It helps you track errors, monitor behavior, and understand what your app is doing behind the scenes.
PLINQ vs LINQ: Use Cases, and Performance Insights in C#
May 25, 2025.
Discover the key differences between LINQ and PLINQ in C#, including their syntax, execution models, performance benchmarks, use cases, and when to choose parallelism for processing large datasets efficiently.
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 Convert a DataTable to a List of Objects in C#
Apr 27, 2025.
Learn how to convert a DataTable to a List<T> in C#. Explore manual, reflection-based, and LINQ methods for better performance, type safety, and cleaner code. Improve maintainability in modern C# applications.
Order of Execution in LINQ Queries
Apr 22, 2025.
This article explains the difference between deferred and immediate execution, outlines the execution order, and shares best practices to write efficient and optimized LINQ queries for real-world applications.
LINQ in C# Tutorial for Beginners: 101 C# LINQ Operations
Apr 17, 2025.
Learn LINQ in C# with 101 essential operations for beginners. Simple examples of filtering, sorting, and joining data to make your code better and faster. Perfect for new C# developers.
.NET 8 - System.Linq.Dynamic.Core â using SQL LIKE
Apr 11, 2025.
System.Linq.Dynamic.Core library does not support SQL LIKE, and I added support for it. Added SQL LIKE support to the System.Linq.Dynamic.Core in .NET 8 using a custom patch. Enables dynamic SQL pattern matching in EF8 projects where built-in LIKE functionality was missing.
New LINQ Features in .NET 9
Mar 29, 2025.
Discover the latest LINQ features in .NET 9 that enhance query performance, simplify data manipulation, and introduce new methods for better efficiency.
Exploring PLINQ (Parallel LINQ) for Parallel Processing
Mar 29, 2025.
PLINQ (Parallel LINQ) is a powerful feature in .NET that enables parallel processing of queries to improve performance on multi-core processors.
Understanding Expressions in C#: Dynamic Code and Query Generation
Mar 19, 2025.
Expressions in C# allow dynamic query generation, runtime compilation, and code transformation using Expression Trees. They are widely used in LINQ, ORM frameworks like Entity Framework, and reflection to optimize performance and enable flexible, data-driven logic.
Learn C#: Refactor Code
Mar 18, 2025.
Refactoring in C# enhances code readability, maintainability, and performance by eliminating redundancy, utilizing LINQ, extracting methods, applying null-coalescing operators, and implementing async/await patterns.
Select vs SelectMany in C# LINQ
Mar 17, 2025.
In C# LINQ, Select transforms each element of a collection individually, maintaining the original structure, while SelectMany flattens nested collections into a single sequence, combining all sub-elements.
High Performance of LoggerMessage in Microsoft.Extensions.Logging
Mar 08, 2025.
LoggerMessage in Microsoft.Extensions.Logging provides high-performance logging by reducing memory allocations and improving efficiency. Unlike traditional logging methods, it uses precompiled delegates to format log messages, making it faster.
Real-Time Anomaly Detection in Server Logs with .NET 9 and ML.NET
Feb 28, 2025.
This article explores machine learning techniques to identify unusual patterns, detect errors, and enhance system monitoring. Improve server performance and security with AI-driven log analysis in .NET applications.
Remove IIS Log Files (2-2) --- Add "Log on as a batch job" Right to a user
Feb 27, 2025.
This article is a server management.
Remove IIS Log Files (4-2) --- Make Server Allows ports for PowerShell Remoting
Feb 27, 2025.
This article will discuss to Make Server Allows ports for PowerShell Remoting
Remove IIS Log Files (4-3) --- AWS security group on the ec2 needs to Allows ports for PowerShell Remoting
Feb 27, 2025.
This article will discuss AWS security group on the ec2 needs to Allows ports for PowerShell Remoting
Remove IIS Log Files (4-1) --- Managing Sensitive Info in AWS
Feb 24, 2025.
This article will discuss parameter store and Secret Manger in AWS
Remove IIS Log Files (2-1) --- Handle Group User Accounts
Feb 19, 2025.
This article is a server management.
Various Methods to Count Occurrences of Each Number in Array or List
Feb 17, 2025.
In this article, I'll show you different ways to count how often a number appears in C#. We'll look at methods like LINQ, Dictionary, GroupBy, and Parallel.ForEach, and see which ones work best for small and large datasets.
How to Enable Logging in Amazon S3
Feb 05, 2025.
This article covers everything from configuring logging settings to tracking and storing access logs. Monitor your S3 bucket activity, improve security auditing, and streamline troubleshooting with AWS S3 logs.
Shared Function Use Cases in VB .NET
Jan 31, 2025.
Explore the use cases of Shared Functions in VB.NET. Learn how to implement static methods to improve code efficiency, optimize performance, and handle utility tasks.
Protect Your Secrets with Azure Key Vault
Jan 22, 2025.
Azure Key Vault securely manages sensitive information like API keys, credentials, and database connection strings. It supports encryption, programmatic access, and automatic secret rotation, and integrates with Azure's security features.
Learn Quantifier Operations in LINQ
Jan 21, 2025.
Quantifier operations in LINQ simplify logical evaluations of collections using methods like `Any`, `All`, and `Contains`. They enhance readability, reduce boilerplate, and support efficient data validation and filtering.
How to Create Flow Logs in AWS VPC
Jan 20, 2025.
This article covers setting up flow logs, configuring traffic types, using IAM roles, viewing logs in CloudWatch, and analyzing traffic data for improved security and troubleshooting.
Creating a MAUI .NET 9 Project [GamesCatalog] - Part 1
Jan 19, 2025.
Create a mobile app with a C# .NET backend using the IGDB API for a game catalog and reviews. Features include search screens, XAML layouts, CommunityToolkit integration, .NET 9, and a refined, user-friendly interface.
Enhancing Application Insights with Serilog and SEQ
Jan 01, 2025.
In this article, we will learn how to enhance application insights using Serilog and SEQ, two powerful tools for structured logging and real-time log analysis.
Advanced Logging with Proxies in C#
Dec 24, 2024.
This article presents a lightweight, dependency-free logging mechanism in C# using the DispatchProxy class. It enables efficient method interception, conditional logging, performance optimization, and error handling without external dependencies.
Remove IIS Log Files (2) --- Automation by Windows Task Scheduler
Dec 17, 2024.
This article is to discuss Automation by Windows Task Scheduler
Remove IIS Log Files (3) --- Deploy VBScript Automation by Pipeline
Dec 17, 2024.
This article is to discuss the deploying VBScript automation by pipeline
Remove IIS Log Files (4) --- Deploy PowerShell Automation by Pipeline
Dec 17, 2024.
This article is to discuss the automation by PowerShell pipeline
New LINQ Methods in .NET 9: Index, CountBy, and AggregateBy
Dec 11, 2024.
In this article, I will showcase the new methods: Index, CountBy, and AggregateBy. These powerful additions in .NET 9 bring significant enhancements to LINQ, aimed at improving your coding experience and simplifying data manipulation tasks.
Implementing Logging in C# 9.0
Dec 04, 2024.
This article explores the fundamentals of logging in C# 9.0, showcasing the importance of logging and how to implement it using different frameworks such as Microsoft.Extensions.Logging, NLog, and Serilog. Practical code examples illustrate how to effectively monitor and troubleshoot your applications.
How to Use Microsoft Teams for Project Management
Nov 28, 2024.
Microsoft Teams simplifies project management by integrating task management, real-time communication, and collaboration. Use Planner for tasks, schedule check-ins, and keep your team organized with chat updates and meetings.
C# Foundation - Implicitly Typed Variables
Nov 28, 2024.
Implicitly typed variables in C#, declared using the var keyword, let the compiler infer the data type from the initialization expression. This improves code readability and reduces verbosity, especially with complex types.
.NET 9 CountBy: A New LINQ Powerhouse
Nov 20, 2024.
.NET 9 introduces the CountBy method, a powerful addition to LINQ that enhances querying capabilities. This feature allows developers to count elements based on specified conditions efficiently.
Amazon OpenSearch Service Setup with Kibana
Nov 15, 2024.
Amazon OpenSearch Service enables real-time search, monitoring, and analysis of business data. It integrates with AWS services like CloudWatch Logs and Lambda for log aggregation, with Kibana for data visualization.
Understanding IEnumerable In C#
Nov 14, 2024.
IEnumerable in C# is an interface that defines a standard way to iterate over a collection of objects. The IEnumerable interface in C# provides a standard, efficient way to iterate over collections using foreach, enabling cleaner, more readable code, and LINQ integration.
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 a CQRS Architecture in .NET Core 8
Nov 04, 2024.
This guide outlines a practical implementation of the CQRS (Command Query Responsibility Segregation) architecture using C# and MediatR, emphasizing the separation of read and write operations for better scalability and maintainability.
How Select and SelectMany Works in C#
Oct 26, 2024.
Learn key differences, practical use cases, and examples that demonstrate how these methods simplify data manipulation, making it easier to work with nested and complex data structures in C#.
Debugging Azure DevOps Pipelines with System.Debug
Oct 26, 2024.
This article explores essential techniques for Azure DevOps pipeline error diagnosis. It discusses how to enable diagnostic logs for individual and all pipeline executions using the "Enable System Diagnostics" checkbox and the system. debug variable.
Why In ASP.NET Core logging is often implemented as a singleton
Oct 20, 2024.
In ASP.NET Core, logging is often implemented as a singleton to ensure efficient resource usage, centralized management, and thread-safe logging across the application.
Remove IIS Log Files (1) --- Manually
Oct 12, 2024.
This article will discuss a way to remove the IIS Log Files, including locate the log file directory.
How Func Delegates Work in LINQ
Sep 27, 2024.
In this article, we explore how Func delegates operate within LINQ (Language Integrated Query) in C#. Func delegates enable concise and powerful data manipulation by allowing developers to pass methods as parameters.
Solid Introduction to Expression Trees in C#
Sep 26, 2024.
This article provides a comprehensive introduction to Expression Trees in C#. You'll learn about their structure, how they represent code as data, and their applications in LINQ queries.
Learn NLog Advanced Usage / Change NLog Configuration Per Request
Sep 23, 2024.
This article explores implementing dynamic logging in multi-tenant applications using NLog. It discusses configuring NLog to enable debug logging on a per-request basis without modifying existing configurations.
Exploring the Performance Boosts in .NET 9
Sep 20, 2024.
.NET 9 introduces key performance improvements, including Native AOT for faster startup times and reduced memory usage, optimized garbage collection, enhanced threading for multicore systems, and HTTP/3 support for improved network performance.
POCO to Dictionary Conversion Techniques in C#
Sep 16, 2024.
This article explores five methods for converting a C# POCO to a dictionary using reflection, LINQ, JSON libraries, and ExpandoObject, comparing their performance through Benchmark.NET to find the best approach.
Copilot Customization: Welcome the Logged-in User with the Name
Sep 16, 2024.
In this article, we shall see how to greet the user with the name using the logged-in information using the out of the box feature. This article is intended to target the developer who are using the Microsoft Copilot Studio for the custom copilot development.
Factory Method Pattern: Simplifying Object Creation in C#
Sep 06, 2024.
The Factory Method Pattern is a creational design pattern that delegates object creation to subclasses, promoting flexibility and maintainability. It defines an interface for creating objects but lets subclasses decide which class to instantiate. This approach reduces coupling and enhances scalability in complex systems.
Simplifying ASP.NET Core 8 Logging with Serilog and AppInsight
Sep 02, 2024.
Serilog is a powerful .NET logging library that supports structured logging, enhancing application monitoring and debugging. To integrate Serilog with ASP.NET Core and Application Insights, install essential NuGet packages, configure appsettings.json, and set up Serilog in Program.cs.
Dynamic LINQ with Gridify in .NET
Aug 30, 2024.
Learn how to leverage Gridify to simplify complex filtering, sorting, and pagination tasks. Perfect for developers seeking to optimize and extend their use of LINQ in C# applications.
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.
Store Java Errors in Database with Dynamic Error-Based Logging
Aug 23, 2024.
It covers setting up logging frameworks, capturing runtime errors, and ensuring data persistence for effective error management and tracking. Ideal for improving application reliability and diagnostics.
Stream Conversations with Amazon Bedrock API in .NET Console App
Aug 12, 2024.
Learn how to create a .NET console application that streams conversations using the Amazon Bedrock Converse API with the Anthropic Claude 3 Sonnet model. This guide covers setting up your AWS environment, configuring Visual Studio, and using the AWS SDK to handle streaming conversations and model responses.
Learn About .NET 9 LINQ Enhancements
Aug 05, 2024.
In .NET 9, two new LINQ methods enhance code simplicity and readability: .CountBy and .AggregateBy. .CountBy counts elements by key, simplifying grouping and counting tasks. .AggregateBy streamlines aggregation operations, reducing complexity.
How to Create Custom Middleware in Next.js
Aug 05, 2024.
In Next.js, middleware allows you to run code before a request completes, useful for tasks like authentication, logging, and redirection. Introduced in version 12, it can be applied globally or to specific routes.
How to Create a Custom 404 Page in Next.js
Aug 05, 2024.
In Next.js, customizing a 404 page improves user experience by guiding users who land on non-existent pages. Create a 404.js component in the pages directory, style it with 404.module.css, and add navigation options like links and buttons.
LINQ Best Practices
Aug 01, 2024.
Discover essential LINQ best practices for writing efficient, readable, and maintainable code in C#. Learn tips on query and method syntax, performance optimization, and effective use of lambda expressions and extension methods to enhance your .NET applications and streamline data querying.
Advanced Logging Techniques in ASP.NET Core 8 with Serilog
Jul 31, 2024.
Serilog is a diagnostic logging library for .NET applications. It provides a simple, flexible and powerful way to log application events, errors and other information. This article describes how we can log ASP.NET Core 8 application with Serilog
Spring Boot Logging for Production and Development Servers
Jul 30, 2024.
This guide covers configuring logging settings, integrating log management tools, and best practices for monitoring and analyzing logs to ensure smooth application performance and debugging.
Understanding of LINQ
Jul 28, 2024.
LINQ (Language Integrated Query) is a powerful feature in .NET that allows developers to write SQL-like queries directly in C# or VB.NET. It supports querying collections, XML, databases, and more, using a syntax that integrates seamlessly with the language.
Understanding Middleware in ASP.NET Core
Jul 24, 2024.
Middleware in ASP.NET Core is a sequence of code components that handle HTTP requests and responses. It enables custom processing, such as authentication, logging, and error handling.
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.
Performance Optimization in ADO.NET: Tips and Techniques
Jul 23, 2024.
Optimize ADO.NET performance by leveraging connection pooling to reduce overhead, using efficient command execution strategies such as stored procedures and batch processing, and retrieving data effectively by selecting only necessary columns and implementing paging.
LINQ to ADO.NET: Enhancing Data Access with Modern Querying
Jul 23, 2024.
In the evolving world of .NET, querying databases has traditionally been done using ADO.NET, which provides a robust set of classes for data access. However, the introduction of Language Integrated Query (LINQ) has revolutionized the way developers interact with data.
Optimizing LINQ Performance with Compiled Queries in .NET
Jul 22, 2024.
Compiled queries in LINQ (Language Integrated Query) are a powerful feature that can significantly improve the performance of your data access code, especially when dealing with repetitive queries.
Logging Patterns in ASP.NET Core 8
Jul 22, 2024.
In this article, we will explore the essential logging patterns in ASP.NET Core 8 to enhance your application's observability. Learn about basic, structured, and exception logging, along with best practices for effective log management.
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.
Practical approach to EF Core with Scalar functions
Jul 21, 2024.
Learn how to implement and migrate scalar SQL functions in an ASP.NET Core application using Entity Framework Core. This guide covers creating a scalar function to calculate total unit prices, integrating it into EF Core, and calling it within LINQ queries to streamline database interactions.