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]
Jayant Kumar(6)
Jitendra Mesavaniya(6)
Jalpa Dhola(4)
Sandhiya Priya(4)
Jaimin Shethiya(4)
Ananya Desai(3)
Mohammad Hasan Hosseini(3)
Ajay Kumar(3)
Prathamesh Dhopare(2)
Raghunath Bhukan(2)
Aradhana Tripathi(2)
Aiswarya E V(2)
Sanjay Kumar(2)
Hamed Niazmand(2)
Tahir Ansari(2)
Riya Patel(1)
Ketan Sathavara(1)
Praveen Kumar(1)
Pradeep Prajapati(1)
Mohan Veer Singh(1)
Ajay Narkhedkar(1)
Micheal Xavier A (1)
Rajesh Gami(1)
Vishal Gami(1)
Aravind Kumar 4026(1)
Abhishek Yadav(1)
Mahesh Chand(1)
Sriganapathi Sekar(1)
Akshay Amin(1)
Vinoth Xavier(1)
Patrick Kearns(1)
Lokesh Varman(1)
Vijay Kumari(1)
Mohamed Shifan(1)
Sridharan D(1)
Asfaque Ansari(1)
Baibhav Kumar(1)
Manoj Kalla(1)
Ayush Gupta(1)
Vinay Ayinapurapu(1)
Siddhesh Chavan(1)
Ashish Bhatnagar(1)
George (1)
Arumilli Yamini(1)
Deepak Tewatia(1)
Praveen Raveendran Pillai(1)
Vijay Yadav(1)
Vijai Anand Ramalingam(1)
Keyur Pandya(1)
Nikunj Satasiya(1)
Sagar Pardeshi(1)
Abiola David(1)
Muhammad Asif(1)
Rajiv Singh(1)
Sreenath Kappoor(1)
Shikha Tiwari(1)
Nandan Hegde(1)
John Godel(1)
Kautilya Utkarsh(1)
Surya Ghimire(1)
Bytehide (1)
Abhishek Chadha(1)
Jobin S(1)
Dinesh Gabhane(1)
Jefferson S. Motta(1)
Arun Ramaswamy(1)
Akshima Aggarwal(1)
Sardar Mudassar Ali Khan (1)
Resources
No resource found
Why Are Iceberg Tables Becoming the Default for Data Lakehouses Over Delta Lake?
Mar 30, 2026.
Discover why Apache Iceberg is overtaking Delta Lake as the preferred table format for data lakehouses. Explore its multi-engine support, scalability, and vendor neutrality.
How to Fix Patch Not Working & Duplicate Records in Power Apps
Feb 27, 2026.
Solve Power Apps Patch issues! Prevent duplicate records and silent failures when saving data to SharePoint. Learn to update or create records reliably using LookUp. In real-world Power Apps projects, Patch failures and duplicate SharePoint records are common challenges that impact data integrity and user experience. This article explains the root causes behind these issues and how to handle them effectively. Learn practical techniques like proper form validation, conditional Patch logic, and duplicate checks. A real-world scenario walkthrough makes it easy to implement these solutions in your own apps.
How Variables Work in Power Apps - Set vs UpdateContext vs Collections
Feb 27, 2026.
Master Power Apps variables! Learn when to use Set(), UpdateContext(), and ClearCollect() for efficient data management, global states, and screen-specific logic. Build cleaner, more professional apps. Variables are essential for managing data and state in Power Apps, but understanding the difference between Set, UpdateContext, and Collections can be confusing for beginners. This article clearly explains when and why to use each type of variable. Learn the scope, behavior, and real-world usage scenarios with simple examples. A beginner-friendly guide to help you write cleaner and more efficient Power Fx formulas.
How to Use Default and DefaultSelectedItems in PowerApps Controls
Feb 18, 2026.
Master PowerApps Default & DefaultSelectedItems properties for efficient data entry & improved user experience! Learn to pre-populate forms and create dynamic apps.
Understanding the Default Embedding Mechanism of ChromaDB
Feb 18, 2026.
Explore ChromaDB's default embedding mechanism using all-MiniLM-L6-v2 for semantic search. Learn its advantages, limitations, and when to use custom embeddings.
How to Enable MFA in Microsoft 365
Feb 09, 2026.
Protect your Microsoft 365 accounts! This guide provides a step-by-step walkthrough on how to enable Multi-Factor Authentication (MFA) using different methods. Secure your data today!
How to Design Rust Services to Be Memory-Stable by Default
Jan 21, 2026.
Ensure Rust service memory stability from the start! Learn design principles for predictable usage, bounded growth, controlled concurrency, and peak performance.
What Are Delegates and Events in C#?
Jan 15, 2026.
Unlock the power of C#! Learn delegates and events step-by-step with clear explanations and real-life examples. Master flexible communication and build robust applications.
Understanding C# Events Using a Simple ICU Example
Jan 14, 2026.
Learn C# events with a simple ICU room example! Understand event declaration, subscription, and raising. Improve code maintainability and flexibility. Perfect for beginners!
Understanding Inference Parameters of Transformer Encoders
Jan 09, 2026.
Unlock the power of Transformer Encoders! Master inference parameters like attention masks and hidden states for optimal performance and control. #NLP #Transformers
Understanding LLM Generation (Decoder) Parameters (Sample/Inference Parameter): Control, Creativity, and Output
Jan 08, 2026.
Master LLM text generation! Control creativity, length, & repetition with temperature, top-k, top-p, penalties, & more. Fine-tune outputs for any task.
C# 14 Improved Lambda Expressions: Using ref, in, and out Parameters for High-Performance Code
Dec 28, 2025.
Explore C# 14's enhanced lambda expressions with 'ref', 'in', and 'out' parameters. Boost performance, readability, and code consistency for critical operations.
Understanding Interfaces in C#: Why Default Interface Implementations Exist Alongside Abstract Classes
Dec 27, 2025.
Explore C# interfaces, their importance, and the evolution to default implementations in C# 8. Learn how this feature solves backward compatibility issues and enables safer software evolution in enterprise systems.
Introduction to Delegates in C#
Dec 28, 2025.
Unlock C# delegates: Learn how to declare, use, and master single-cast, multicast, and built-in delegates (Func, Action, Predicate) for flexible code!
C# 14 in Action: High-Performance Lambda Expressions with Parameter Modifiers
Dec 26, 2025.
Explore C# 14's enhanced lambda expressions with parameter modifiers (ref, in, out) for high-performance code, clearer intent, and expressive APIs. Optimize your C#!
Understanding Delegated and Elevated Permission in the Power Platform
Dec 17, 2025.
Master Power Platform security! Learn delegated vs. elevated permissions in Power Apps, Power Automate, and Dataverse. Build secure, scalable solutions with confidence.
Understanding Delegates in C#
Dec 05, 2025.
Delegates in C# are type-safe references to methods that enable flexible, reusable, and loosely coupled code. They power events, callbacks, and asynchronous operations, with built-in types like Action, Func, and Predicate simplifying common patterns. Mastering delegates is essential for event-driven programming and modern C# development.
Improving Query Plan Stability with OPTIMIZE FOR in SQL Server
Dec 02, 2025.
Achieve stable SQL Server query performance using OPTIMIZE FOR! This guide covers syntax, ASP.NET Core integration, and best practices to combat parameter sniffing.
Security Groups in Power Platform & Why Default Environment Cannot Be Restricted
Nov 30, 2025.
Understand Power Platform security groups and why the Default environment can't be restricted. Learn governance strategies and best practices for environment control.
Understanding Defaults() and Parent.Default in Complex Power Apps Forms
Nov 28, 2025.
Unlock the power of Defaults() and Parent.Default in Power Apps forms! Master data source integration, conditional logic, and SharePoint connectivity for seamless forms.
Routing in Angular — A Beginner Friendly Guide With Simple Real-World Examples
Nov 25, 2025.
Master Angular routing! This beginner-friendly guide uses a real-world e-commerce example to teach navigation, parameters, and error handling in your apps. Build SPAs easily!
What is a Constructor?
Nov 22, 2025.
Unlock the power of constructors in programming! Learn what they are, how they work, and their different types (default, parameterized, DI) with C# examples. Master object initialization!
Fixing Special-Character Folder Names and Applying Default Metadata in SharePoint Online Using CSOM
Nov 19, 2025.
Fix SharePoint Online folder metadata issues caused by special characters in folder names. This guide provides a PowerShell CSOM script to apply default metadata correctly.
Delegates in C# – Explanation & Use Cases
Nov 15, 2025.
Master C# delegates! This guide covers definition, purpose, types (single-cast, multi-cast), anonymous methods, lambda expressions, built-in delegates, and use cases.
C# 14: The Next Step in Language Evolution for .NET 10
Nov 12, 2025.
Explore C# 14's new features in .NET 10: extension members, field keyword, null-conditional assignment, span improvements, and more. Boost code clarity and performance!
Python - Importance of Function and Operations
Nov 04, 2025.
Explore Python functions: syntax, parameters, variable arguments, and return statements. Learn to build practical tools like temperature converters and password checkers.
Delegates and Events in C# Windows Forms
Oct 29, 2025.
Master C# delegates and events in Windows Forms! Learn to build responsive UIs with real-time updates, like a file upload progress tracker. Essential for event-driven apps.
Delegates and Events in ASP.NET Web Forms
Oct 29, 2025.
Unlock the power of delegates and events in ASP.NET Web Forms! Build modular, scalable web applications with real-time event handling. Learn by example with a step-by-step order processing system.
What Are Events in .NET Framework?
Oct 27, 2025.
Unlock the power of .NET events! Learn how publishers and subscribers communicate using delegates, creating responsive and decoupled applications. Master event handling in C#.
Chapter 8: References, Call by Value vs. Call by Reference
Oct 23, 2025.
Unlock the power of references and parameter passing in C++! This chapter clarifies the crucial differences between call by value (copying data) and call by reference (using aliases or pointers). Learn how to efficiently modify variables directly within functions using references and pointers, and discover the benefits of const references for performance and data safety when working with large objects.
Part IV - .NET 5+ SQL Connections: Why Encrypt=True Is Now the Default
Oct 23, 2025.
Learn about the .NET 5+ default Encrypt=True setting for SQL connections and its impact on your applications. This article explains why Microsoft made this security enhancement, how to handle self-signed certificates in development, and best practices for production environments. Ensure secure data transfer and avoid connection errors by understanding and implementing the correct connection string configurations. Discover how to configure your connection strings for optimal security and compatibility.
How Enterprise-Wide Third-Party Client Applications Use Azure Authentication
Oct 16, 2025.
Understand how enterprise third-party client applications like ShareGate leverage Azure Active Directory (now Microsoft Entra ID) for secure authentication within Microsoft 365. Learn the difference between delegated (user-based) and app-only (service principal-based) authentication, when admin consent is required, and how this dual-model approach balances security and productivity for tenant-wide operations versus user-specific tasks. Discover how to manage permissions effectively for tools like ShareGate, AvePoint, and Colligo.
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!
Understanding Delegated Permissions: A Practical Guide
Sep 26, 2025.
Unlock the power of delegated permissions! This guide explains how apps act on behalf of users with limited access, balancing convenience and security. Learn through practical examples using Microsoft Graph and Google APIs. Understand the difference between delegated and application permissions, avoid common pitfalls, and build trustworthy apps that respect user control. Discover how OAuth 2.0 integrations work and empower users with secure access.
🌡️ Understanding Temperature in Large Language Models (LLMs)
Sep 25, 2025.
Unlock the secrets of temperature in Large Language Models (LLMs)! This guide explains how temperature controls the creativity and randomness of AI text generation. Learn how to adjust this crucial parameter for accuracy, balanced responses, or imaginative outputs. Master the art of crafting the perfect AI personality for any task, from coding to creative writing. Discover practical applications and tips for effective use.
What is a Default Gateway in Networking?
Sep 04, 2025.
Unlock seamless network communication! A default gateway is your network's 'exit door,' routing traffic from your local network to the internet and beyond. Learn how it works, its key functions like packet forwarding and NAT, and why proper configuration is crucial for reliable and secure connectivity.
Basic Configuration of a Cisco Switch using the Cisco Packet Tracer Simulator
Aug 23, 2025.
Setting up a Cisco switch means giving it a name, adding passwords to keep it safe, and setting an IP address so you can connect to it from another device. You also add a gateway, so it knows how to reach other networks. After that, you save the settings, so they don’t get lost when the switch turns off
Difference Between ref, out, and in Parameters in C#
Aug 13, 2025.
Learn the difference between ref, out, and in parameters in C#. Understand their usage, advantages, disadvantages, and see full real-world examples.
Understanding Functions in JavaScript
Aug 13, 2025.
Learn all about JavaScript functions — from declarations, expressions, and arrow functions to callbacks and best practices — with syntax examples, tips, and explanations for writing clean, reusable, and efficient code.
What are delegates and multicast delegates in C#
Aug 07, 2025.
Learn what delegates and multicast delegates are in C# with clear explanations, code examples, and use cases. This article explores how delegates enable flexible, type-safe method referencing and how multicast delegates allow chaining multiple method calls.
Overview of TLS with .NET Framework
Jun 09, 2025.
Learn TLS basics, its advantages, .NET framework compatibility, how to enable or set default TLS versions in C#, and detect active TLS versions on websites using practical C# code examples.
Mastering Named, Positional, and Input/Output Parameters in Stored Procedures with EF Core
May 22, 2025.
Understanding Name Parameters, Positional Parameters, Input/Output Parameters, and Their Usage in Stored Procedures with EF Core
Real-Time Data Retrieval from APIs Using SSIS
May 14, 2025.
This article explains how to integrate APIs with SQL Server Integration Services (SSIS) to automate data retrieval using HTTP requests. It covers API setup, SSIS package creation, and script task configuration.
Passing Connection as Input Parameter in PowerShell Functions
Apr 14, 2025.
Easily reuse a single SharePoint Online admin connection in PowerShell functions to fetch QA site info efficiently, reducing redundant logins and enhancing performance in M365 automation tasks.
Understanding Parameter Sniffing in SQL Server
Mar 24, 2025.
In SQL Server and other relational database systems, query execution performance is critical for handling large datasets efficiently. One common yet sometimes problematic optimization technique is Parameter Sniffing. While it can improve query performance.
Understanding in, ref, and out Parameter Modifiers in C#
Mar 09, 2025.
Learn how to use in, ref, and out parameter modifiers in C# with practical examples. Understand their differences, use cases, and best practices for passing arguments efficiently.
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.
Chain of Responsibility Using Delegate Chaining in .NET
Mar 02, 2025.
The Chain of Responsibility (CoR) pattern enables flexible processing pipelines, used in ASP.NET Core middleware, HttpClient handlers, and validation pipelines like FluentValidation. It supports dynamic rules, async execution, and extensibility.
Scope Communication Object in JSP
Feb 28, 2025.
The Scope Communication object consist of session object, application object and pageContext object.
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
Learn about Delegates And Events
Jan 20, 2025.
Delegates and events are key concepts in C#. A delegate is a variable that holds a reference to a method, allowing flexible method calls. Events use the publisher-subscriber model, where a publisher triggers an event and subscribers handle it.
Essential C# Keywords
Dec 25, 2024.
This article explains important C# keywords that help in writing more efficient code. It covers keywords like volatile, value, get, set, yield, partial, and where, describing their uses in a simple manner. These concepts are essential for anyone looking to improve their C# programming skills.
Factory Design Pattern Using Delegates In C#
Nov 27, 2024.
Factory Pattern is a creational design pattern that provides a way to encapsulate object creation. Instead of directly instantiating objects, you delegate the creation process to a factory class.
User-Defined Functions in SQL Server
Nov 21, 2024.
SQL Server supports two types of User-Defined Functions (UDFs): Table-Valued and Scalar-Valued. Table-valued functions return a table based on logic, while Scalar-Valued functions return a single value.
Setting Default Dates in Power Apps: Using Today(), Date(), Year(), and DateAdd()
Nov 14, 2024.
Learn how to set default dates in Power Apps using functions like Today(), Date(), Year(), and DateAdd(). This guide explains how to simplify date fields, enhance user experience, and improve app functionality.
Explaining Deep Linking in Power Apps
Nov 12, 2024.
Deep linking in Power Apps enables direct navigation to specific screens, improving user experience and engagement. By using URL parameters, custom schemes, and StartScreen functions, developers can create targeted, optimized user journeys.
Microsoft Graph Permissions - Get Access on Behalf of a User
Oct 30, 2024.
To call Microsoft Graph, an app must obtain an access token from the Microsoft identity platform. This access token includes information about whether the app is authorized to access Microsoft Graph on behalf of a signed-in user or with its own identity.
Difference Between Delegated and App Only Access
Oct 29, 2024.
Delegated access allows an application to act on behalf of a signed-in user, requiring user authentication and permission via OAuth 2.0, while app-only access enables an app to operate independently without user interaction, using its own identity and permissions.
Mark Input Parameters in Triggers as Optional
Oct 28, 2024.
In this article, we’ll walk through how to mark input parameters as optional in Power Automate triggers and explore how this can improve flow flexibility.
Efficient Data Handling in SQL Server with Table-Valued Parameters
Oct 27, 2024.
This article delves into how TVPs enhance performance by enabling the transfer of multiple rows of data in a single parameter, streamlining stored procedures, and optimizing database operations.
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.
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.
Detailed use of Action Delegate in C#
Sep 11, 2024.
In C#, the Action delegate represents a method that does not return a value and can accept up to 16 parameters. It's useful for passing methods as arguments, callbacks, and event handling. It supports lambda expressions and anonymous methods, making code more concise. Unlike Func<T>, Action always returns void.
Different Ways to Redirect and Retrieve ID Parameters in Angular
Sep 02, 2024.
Angular offers various methods for navigation and parameter handling in web applications. Use the RouterLink directive for simple navigation, the Router service for programmatic control, and ActivatedRoute to retrieve parameters.
Default Implementation in C# Interfaces
Aug 28, 2024.
This article details creating a `StringUtils` utility class in Java to centralize common string operations. It covers methods for checking if a string is alphanumeric with underscores or consists solely of letters, enhancing code organization and reusability.
Creating a Custom Date Picker in jQuery with Validation
Aug 13, 2024.
This article demonstrates how to create a custom date picker in jQuery with validation. It covers setting up HTML text boxes for date input, initializing jQuery Datepicker with date range constraints, and storing selected dates in hidden fields.
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.
SharePoint Server Not Redirecting to Default Page Needs Full URL
Aug 02, 2024.
SharePoint Server not redirecting to the default page can be frustrating, especially when it requires a full URL to access the site. This issue often stems from configuration problems or redirection settings.
Encrypting Header & Request Body Parameters in .NET Core Web API
Jul 24, 2024.
In this article, we'll explore how to encrypt header and request body parameters in a .NET Core Web API to prevent them from being readable in the page source or by network sniffing tools. We'll use an example application developed by "Nikunj Satasiya" to illustrate the process.
Save as draft and Submit with required, optional functionality and by default required functionality in PowerApps
Jul 18, 2024.
This is most required feature in any app. If the form is lengthier, it is very useful feature. Any user can fill in the half of the forms and save the form as draft. Later can come in and pickup the form from where they left.
Enabling GitHub Integration in Microsoft Fabric
Jul 17, 2024.
Microsoft Fabric integrates seamlessly with GitHub, enhancing collaboration and efficiency for development teams. This integration supports CI/CD pipelines, automating build, test, and deployment processes.
Explicit Interface Implementation & default interface methods in C#
Jul 03, 2024.
In C# programming, interface members serve as blueprints that classes must follow when implementing functionality. When multiple interfaces declare members with the same names, naming conflicts can arise, necessitating careful management to ensure each member is correctly implemented for its intended interface.
Learn Use of Lambda Operator in C#
Jul 01, 2024.
Explore the versatility of lambda expressions in C#, powerful tools for creating inline functions without the need for traditional method declarations. Discover their syntax, applications in LINQ queries, and how they enhance code readability and flexibility in modern C# programming.
Primary Key and Unique Key Constraints
Jun 29, 2024.
Primary Key and Unique Key Constraints in database management ensure data integrity and uniqueness. A Primary Key ensures each row is unique and not null, with only one per table. Unique Keys also ensure uniqueness but can include nulls and multiple constraints per table. Both support indexing and relationships.
The Implementation of Pointer to Function
Jun 27, 2024.
This content explores the implementation of pointers to functions in C and C++ programming. It delves into their syntax, usage, and benefits, such as dynamic function calls, callback functions, and efficient memory management.
Enhancing Security with a Client IP Safelist in .NET
Jun 27, 2024.
Enhance your web application's security by implementing an IP safelist in ASP.NET Core. This technique restricts access to trusted IP addresses only, preventing unauthorized access. Our guide covers creating middleware to enforce the safelist, ensuring sensitive data and endpoints are protected effectively.
Predicate Delegates in .NET Core C#: Syntax, Usage and Examples
Jun 22, 2024.
Like Func and Action delegates, the predicate is a delegate. It symbolizes a procedure that verifies that the passed parameter satisfies a set of requirements. One input parameter must be provided by a predicate delegate method, which must then return a boolean (true or false).
Editing JSON of Fabric Data Pipelines - Part 1
Jun 21, 2024.
Enable JSON editing in Fabric data pipelines by appending the 'feature.enableJsonEdit=1' to the pipeline URL. Switch from view-only to edit mode, make necessary JSON changes, then perform a minor UI adjustment to activate the Save option. Similar flexibility as Azure Data Factory's PaaS environment.
Learn Action and Func Delegates in C#
Jun 19, 2024.
Learn about Action and Func delegates in C# to master delegate usage for different scenarios. Action delegates are for methods that return void, while Func delegates handle methods with return values.
Action Delegates in .NET Core C#: Syntax, Usage and Examples
Jun 18, 2024.
One built-in generic type delegate is the action delegate. This delegate makes your program more readable and efficient by eliminating the need for you to define a custom delegate.
C# .NET 8 SQL Bulk Insert Dapper vs BulkCopy vs Table-Value Params
Jun 18, 2024.
Explore the performance of SQL bulk insert methods in C# .NET 8 by comparing Dapper, BulkCopy, and Table-Value Parameters. This comprehensive analysis covers implementation details, efficiency, and best practices for optimizing large data insertions, helping developers choose the right approach for their projects.
Unlock Small Language Models Deep Dive Parameters Loss Optimization RAG
Jun 17, 2024.
Language models have revolutionized the field of natural language processing (NLP), enabling machines to understand, generate, and respond to human language with remarkable accuracy. At the heart of these models are key concepts that drive their functionality: parameters, loss functions, and optimization.
The Stochastic Gradient Descent
Jun 16, 2024.
This article delves into Stochastic Gradient Descent (SGD), a cornerstone algorithm in machine learning and optimization. It explains how SGD optimizes model training by iteratively updating parameters using random data subsets.
Func Delegates in .NET Core C#: Syntax, Usage and Examples
Jun 13, 2024.
Func and Action are two generic delegate types that are built into C#, so you usually don't need to explicitly define custom delegates. A generic delegate called Func is part of the System namespace. It has one out parameter and zero or more input parameters. As an out parameter, the final one is regarded as such.
Oracle Stored Procedure Output Parameters with Dapper in ASP.NET Core
Jun 11, 2024.
This article provides a detailed guide to integrating Oracle stored procedures with ASP.NET Core using Dapper, focusing on handling output parameters, which can often be a challenging aspect of database interactions.
Delegates in .NET Core C#: Syntax, Usage and Examples
Jun 11, 2024.
A delegate is an object that points to a method; alternatively, it may be thought of as a variable of the reference type that stores references to the methods. Function pointer in C/C++, delegates are used in C#. It offers a mechanism to specify which method should be invoked in the case that an event is triggered.
Pagination in C#: Complete Guide with Easy Code Examples
Jun 08, 2024.
Discover how to implement pagination in C# with this comprehensive guide. Learn to use ASP.NET Core, Entity Framework, and LINQ for efficient data paging. This guide covers server-side and client-side pagination, using Skip and Take methods, handling pagination parameters, and provides easy code examples for seamless integration.
Arrow Function Variants in JavaScript
Jun 03, 2024.
Arrow functions in JavaScript offer concise syntax for writing functions. They simplify coding with features like no parameter handling, optional parentheses for single parameters, and streamlined function bodies. They're versatile, applicable in various scenarios, like callbacks and high order functions.
Optimizing Performance with Dapper with .NET Core API
May 30, 2024.
Learn Dapper best practices for optimal database interaction in .NET applications. Explore techniques like using output parameters and handling multiple result sets in stored procedures. Enhance efficiency with optimized query writing for delete operations.
UnderStanding nameof Operator in C#
May 28, 2024.
The nameof Operator retrieves names of variables or members dynamically, aiding in code maintenance. Raising PropertyChanged Event notifies property changes in INotifyPropertyChanged implementations. Argument Checking and Guard Clauses ensure robust code by validating inputs.
Understanding Func, Action, and Predicate in C# .NET
May 21, 2024.
In C# .NET, delegates are a powerful feature that allows you to pass methods as arguments to other methods. Among the most commonly used delegates are Func<T>, Action<T>, and Predicate<T>. This article will delve into each of these delegates, exploring their definitions, use cases, and examples.
Exploring Delegating Handlers in C# .NET
May 19, 2024.
In modern software development, especially when dealing with web services, the ability to customize and extend HTTP request and response processing is crucial. This article delves into the concept of delegating handlers, illustrating their use and benefits with practical examples.
Action and Func Delegates in C#
May 17, 2024.
Learn about Action and Func Delegates in C# with an app sample. In C#, delegates like `Action` and `Func` enable methods to be treated as objects, promoting flexible, modular, and reusable code through dynamic method invocation and functional programming paradigms.
Exploring in Depth Of Abstraction in C#
May 14, 2024.
Dive deep into abstraction in C#, exploring OOP concepts like encapsulation, inheritance, and polymorphism. Learn about abstract classes, interfaces, generics, and advanced features like delegates and events, enhancing code modularity and scalability.
Mastering Azure Bicep Parameters
May 07, 2024.
This article is a comprehensive guide that takes you on a deep dive into Azure Bicep parameters. It starts with logging into Azure, then moves on to explain the concept of parameters in Azure Bicep, complete with code samples and explanations.
Using Stored Procedures in MySQL Enhanced Code Performance
Apr 30, 2024.
Stored Procedures in MySQL offer a streamlined approach to executing complex or frequently used SQL logic with a single call, supporting input parameters, procedural logic, and return values.
Reversing Parameter Order with Named Arguments in C#
Apr 24, 2024.
In C#, methods often take parameters that are passed in a specific order defined by their method signature. However, there are cases where you might want to reverse the order of parameters when calling a method. One approach to achieve this is by using named arguments.
Table-Valued Parameters in SQL Server
Apr 16, 2024.
Table-Valued Parameters in SQL Server enable passing multiple rows of data to stored procedures, enhancing performance for bulk operations. Utilizing user-defined table types, they streamline data manipulation tasks and allow parameterized queries, optimizing database development and improving overall performance.
MERGE Stored Procedures in SQL Server
Apr 15, 2024.
In this article, I present how to use the MERGE statement in a stored procedure to merge a single record and how to use it to merge a list of records by using Table-Valued parameters in SQL Server.
Explain about Event Handling in C# .Net
Apr 02, 2024.
In the world of C# programming, events are a powerful mechanism that facilitates communication between different components of an application. In this comprehensive guide, we'll delve deep into the concept of events in C#, exploring their syntax, usage patterns, and best practices.