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]
Nidhi Sharma(8)
Niharika Gupta(8)
Asma Khalid(7)
Aarav Patel(7)
Prashanth Chindam(5)
Ananya Desai(4)
Riya Patel(4)
Bhuvanesh Mohankumar(3)
Munib Butt(2)
Ajay Yadav(2)
Syed Shanu(2)
Jiteendra Sampathirao(2)
Hammad Maqbool(2)
Manoj Ramachandran(2)
Friyank Parikh(2)
Vijay Prativadi(2)
Shivprasad (2)
Saurav Kumar(2)
Sudarshan Hajare(2)
Ng Cheehou(2)
Patrick Kearns(1)
Evgeniy Gribkov(1)
Nitesh Jha(1)
Maniteja Vegi(1)
Abhishek Jaiswal (1)
Satya Prakash(1)
Fijo Francis(1)
Soft Corner(1)
Prabhu Siva(1)
Ajith Kumar Radhakrishnan(1)
Ashish Banerjee(1)
Abhishek Yadav(1)
Arkadeep De(1)
Lala zareh(1)
Keyur Patel(1)
Vinay Singh(1)
Pritam Zope(1)
Akash Bhimani(1)
Kishor Patil(1)
Ravindra T C(1)
Mark White(1)
Shirsendu Nandi(1)
Ramakrishna Basagalla(1)
Thiagarajan Alagarsamy(1)
Sateesh Arveti(1)
Ehanth Lingam(1)
Sonu Chauhan(1)
Urmila Bolashetti(1)
Aqib Murtaza(1)
Harshil Malvi(1)
Resources
No resource found
Mastering ArrayPool<T> in C#.NET to Cut Down Allocations
Sep 28, 2025.
This guide explains how to efficiently reuse arrays for file I/O, network operations, and more. Learn when to use it, common pitfalls, and practical examples for APIs, background workers, and stream pipelines. Discover how ArrayPool<T> minimizes allocations, reduces latency, and optimizes high-throughput services. Includes benchmark examples and a practical checklist.
Build a RESTful Student Info API with ASP.NET MVC & C#.NET
Jul 02, 2025.
Learn how to build a simple RESTful API using ASP.NET MVC in C#. This beginner-friendly tutorial guides you through creating a student info API with models, controllers, routing, and JSON output step by step.
Optimizing LINQ Queries In C#.NET For MS SQL Server
Aug 13, 2020.
Learn how to optimize LINQ queries for SQL Server performance using Entity Framework. Understand the importance of generating efficient SQL queries and avoid common pitfalls. Explore techniques like JOIN and UNION for improving query efficiency. Utilize tools like SQL Complete for query history and formatting.
Create A Long Running Task In C#.NET Core
Jun 05, 2020.
We often come across a scenario where we need to run some function for a long time where this function would react on some trigger and then run some code logic. This is where we need to apply a long running task. This task stays active and responds to a specific trigger. In today’s article we will look at creating such a long running task. We will pass to it the function that needs to run and when the trigger is activated a single run of the function will be executed.
Snowflake With C#.Net Core
May 26, 2020.
Learn to connect Snowflake with .NET using its connector for cloud-based data warehouse operations. Understand real-time scenarios, pull JSON data, and execute stored procedures through .NET Core, ensuring efficient ETL and data management.
LUIS.AI Integration with C#.NET and MVC using .NET Framework
Dec 09, 2019.
LUIS.AI facilitates the creation of Language Understanding (LU) Models tailored to your needs. It processes user queries or conversations with Bots or IoT devices, treating them as input. LUIS.AI interprets these inputs as Utterances and extracts Intents, Entities, and generates JSON data.
Applied C#.NET Socket Programming
Oct 20, 2014.
This article explains the key networking concepts, for instance ISO stack, of TCP/IP under the C# framework by employing its essential socket classes and how applications can logically and physically be distributed in a network environment.
Browse/Upload Option in C#.NET For Uploading Files/Images in Database
Dec 07, 2013.
This article shows how to use the Browse/Upload Option in C#.NET for Uploading Files/Images to a database.
Image Folder View Using C#.Net Winforms
Jul 16, 2013.
Today in this article, I will explain how to create a simple C# program for Image Folder View.
Marquee a Text in C#.Net 4.0 Window Form Application
Mar 06, 2013.
In this article, I will explain how to marquee text in window form application.
Using Auto Intelligence Using C# Code Snippet for Faster Coding in C#.Net
Jun 16, 2011.
It is a developer's tendency to achieve functionality and forget the basic structure required in the project. Later we need to add region, try blocks and copyright information to make it professional. I myself have done many of these reworks, so my current project inspired me to think of different directions to implement an Auto Intelligence to avoid such situations.
AutoComplete ComboBox in DataGridView using C#.net Windows Application
Mar 21, 2011.
In this article, you will learn how to use an AutoComplete ComboBox in DataGridView in C#.Net Windows Application
File Transfer Program using C#.Net Windows Application
Mar 17, 2011.
How to easily send files (including Audio, Video, doc or any type of file) from Client to Server.
Reading and Manipulating an Xml file Using C#.Net (Including Images)
Oct 22, 2010.
Develop a Windows application to read an XML file and perform insert, search, update, and delete operations on student records. The form includes a DataGridView, PictureBox, OpenFileDialogs, Labels, TextBoxes, and Buttons to display and manipulate data.
Using MySql With C#.Net and GridView Paging
Jul 03, 2010.
In this article I'm explaining how to add data to the database and how to show the data in a Gridview in C#.Net with MySql with Paging. This is a very useful article for whoever uses a MySql Database with C# for the first time.
Application Scheduler Service Using C#.Net And XML
May 29, 2006.
This is an application scheduler that is implemented as a Windows Service, similar to the Windows Task Scheduler - but simple, as it has fewer configuration options and it uses XML to store and retrieve data.
Snooping on C#.NET Regular Expressions
Jun 26, 2001.
I present here two micro test utils, which will let you play with regular expressions. Regular expression( System.Text.RegularExpressions.Regex ) is a powerful class very useful for parsing, splitting or replacing texts.
JWT Auth in ASP.NET MVC: Secure REST API with C#.NET
Jul 04, 2025.
Learn how to build a secure ASP.NET Web API using C# and JWT authentication. This hands-on guide covers token generation, validation, and securing endpoints to protect your API with modern practices.
Basic Auth in ASP.NET MVC Web API Using C#.NET
Jul 03, 2025.
Learn how to build a secure ASP.NET Web API using Basic Authentication in C#. Protect your student data endpoints by validating user credentials with a custom auth filter. Perfect hands-on project for beginners.
How to Receive JObject in Post API in C#.NET?
Aug 17, 2023.
Learn to handle JSON objects in POST APIs using C#.NET. Utilize HttpClient to set up the request, cast the response into a JObject, and deserialize it into a custom class. Streamline your data processing.
When To Use Abstract Class In C#.NET
Feb 21, 2023.
In this article, you will learn Realtime scenario when to use abstract class in C#.NET
Interface Class In C#.NET
Feb 13, 2023.
The traditional concept and definition of interface class never helped me to understand when should I use interface class in C#.NET so I use this example to clear my concept
Post GitHub Events To A Microsoft Teams Channel Using C#.NET
May 18, 2021.
In this article, you will learn about Post GitHub events as Adaptive Cards to a Microsoft Teams Channel using Webbooks, Web API and C#.NET.
Post ServiceNow Incidents for a group to a Microsoft Teams channel using C#.NET
May 07, 2021.
This article goes over posting active ServiceNow incidents assigned to a particular group to a Microsoft Teams channel as adaptive cards using C#.NET
Creating A Fluent API In C#.NET
May 06, 2020.
In this article we will look at creating a Fluent API class in C#.NET. In a Fluent API, we can link together different functionality to get a particular result. We see this used many times in Entity Framework Core and when manipulating List<T> type of items using lambda expressions.
C#.NET - Access OAuth REST Web API Method
Apr 09, 2020.
C#.NET applications can access OAuth-protected REST APIs. You'll obtain an access token through OAuth flow (often via a separate request) and include it in the authorization header of your HttpClient calls.
C#.NET - Access Authorized REST Web API Method
Feb 18, 2020.
This article is about consumption of Authorized REST Web API methods using ASP.NET REST Web API platform.
C#.NET - Access GET Type REST Web API Method
Feb 14, 2020.
This article is about consumption of GET type REST Web API method without any API authorization with and without request query URL parameters using ASP.NET REST Web API platform.
C#.NET - Access POST Type REST Web API Method
Jan 31, 2020.
This article is about consumption of POST type REST Web API method without any API authorization using ASP.NET REST Web API platform.
C#.NET - JSON Object Mapper
Dec 31, 2019.
This article is about creation of a complex JSON object mapper using C#.NET technology Console Application.
C#.NET - Generate An API Key Using Nuget Library
Nov 26, 2019.
This article is about the integration of the Asmak9.AuthorizeRESTWebApiAK .NET library with a C#.NET Console Application.
C#.NET Import/Export CSV Library
Jun 20, 2019.
This article is about the creation of a simple C#.NET base class library for importing/exporting the CSV data using Datatable as a primary data structure.
Mail Merge In Aspose C#.NET
May 17, 2019.
In this article, you will learn about mail merge in Aspose C#.NET.
How To Return A Pair Of Closest Birthdates Using API, Multi Threading And MVC 5 Using C#.NET
Oct 18, 2017.
This article demonstrates how to use multi-threading to return the name of 2 customers who have the closest birthdate. I also include how create API to add\ retrieve customer details from SQL database using tasks and how to use MVC to call and API to add a new customer.
How To Call Salesforce Metadata API From C#.NET
Sep 18, 2016.
In this article, you will learn how to connect or integrate Salesforce Metadata API with C#.NET.
Code For Progress Bar In Windows Application Using C#.NET
Aug 13, 2016.
In this article, you will learn how you can show the progress bar in Windows applications, using C#. NET.
AutoComplete Brackets In C#.NET/VB .NET
Dec 21, 2015.
In this article you will learn how to create Auto Complete Brackets in C#.NET or VB.Net. Completing { , ( , " , ' , < , [ char.
Dapper - King of Micro ORM (C#.NET)
Mar 03, 2015.
This article explains what the Object Relationship Mapper (ORM) Dapper is and how to use Dapper for ORM.
Create Plug-in of Microsoft Dynamic CRM 2013 in C#.NET
Jan 06, 2015.
In this article you will learn how to create a Microsoft Dynamic CRM 2013 plug-in in ASP.NET.
Invoking Java Code in C#.NET
Oct 29, 2014.
Invoking Java code in C#/.NET involves bridging the gap between the two languages using techniques like JNI, InteropServices, and P/Invoke. This allows seamless integration, enabling C# applications to utilize Java libraries and functionalities.
Object Oriented Programming in C#.Net
Oct 14, 2013.
This article defines Object Oriented Programming in C#.Net.
Atlas Copco PowerFocus (3000/4000) Nutrunner Tools Ethernet Communication Using C#.Net
Jul 03, 2013.
The main purpose of this article is the result of when I started the Nutrunner tool communication program it was like a blank page.
Send Mail Using Gmail, Yahoo Account in VB.Net and C#.Net
Oct 19, 2012.
In this article I am going to show how to send mail from Gmail or Yahoo using vb.net & C#.NET without login your Gmail account.
Connecting to MySQL Using C#.NET
Jul 16, 2012.
This article shows you how to connect to a MySQL database using the MySQL Connector for .NET. I will also show you how to update MySQL database records using C#.
Let's play around with LINQ Queries in C#.NET
Dec 08, 2011.
Today, we will play around using LINQ Queries in C#.NET effectively. Let’s try to use some of the predefined methods of LINQ Queries and let’s dig out and find how to write LINQ rather than traditional way of using normal Classes.
Small Brush Up on 'IS' and 'AS' Keywords in C#.NET
Dec 07, 2011.
Today, in this article we will overlook at two main keywords i:e IS and AS functionalities and we will implement practically to understand better.
SNMP Polling with C#.NET
Jul 26, 2011.
Traditionally Simple Network Management Protocol (SNMP) polling has been achieved using the command line.
How to Use a Dictionary Value in a Mongo Database Using C#.NET
May 04, 2011.
In this article I will describe How to use C# Dictionary value to fed in to the Mongo Database.
New Year Application using C#.NET
Jan 03, 2011.
Develop a Windows app in C# .Net using the Microsoft Speech Object Library to deliver New Year wishes. Steps include adding the Speech Object Library reference, designing the UI with a Label, TextBox, and Buttons, and implementing code to speak the wishes using the SpVoice object.
Constructors and Destructors in C#.Net
Dec 09, 2010.
Constructors are special methods called when a class is instantiated.
Inserting & Retrieving records from M.S.Excel-2007 using oledb in C#.net
Nov 01, 2010.
This guide covers how to insert and retrieve records from Microsoft Excel 2007 using OLEDB in C#.NET. It explains setting up OLEDB connections, executing SQL commands for data manipulation, and handling Excel data within C# applications.
SQL Server Stored Procedure with C#.Net
Oct 15, 2010.
Here I am briefly describing the importance and usage of Stored Procedure, followed by its correlation with C#. I also mentioned about ViewState.
Creating & Retrieving records from M.S.Access-2007 using Oledb in C#.net
Oct 03, 2010.
Discover how to interact with Microsoft Access 2007 using C# and OleDb. Create and retrieve records seamlessly, employing ADO.NET for efficient database connectivity and manipulation within your C# applications.
Application to speak the text in the textbox using C#.Net
Sep 28, 2010.
Create an interactive C# application leveraging . NET's Text-to-Speech capabilities. Input text into a TextBox and have the program speak it aloud. Enhance user accessibility and engagement with speech synthesis, empowering users to listen to text content dynamically.
Remote Desktop Using C#.Net
Oct 26, 2009.
Remote Desktop Services is one of Microsoft Windows components to access a remote computer through network. Only the user interface of the application is presented at the client. Any input is redirected over to the remote computer over the network.
Aspect Oriented Programming in C#.NET: Part II
Feb 19, 2009.
This article is the continuation of the Part I. We will continue with the same problem of the Customer Sales application discussed in Part I.
Aspect Oriented Programming in C#.NET: Part I
Feb 16, 2009.
A lot has been written about AOP (Aspect Oriented Programming) on the Web, but none of the articles cover how to implement it practically in C#. This articles covers it practically using C#.
Service Management in C#.NET
May 31, 2006.
This article discusses how to create a Web Application to manage the services running on our system.
Insert /Retrieve an Image Into/ From a Blob Field in Oracle Database using C#.Net
Mar 17, 2006.
This article helps you to insert an image to a blob field of an oracle database and to retrieve the image from the blob field of an oracle database.
Sample of MulthiThreaded Application using C#.Net: Part III
Feb 06, 2006.
Writing multithreaded application in C# in pretty easy. The following article shows the steps to be followed while writing a multithreaded program.
Building AI-Powered Applications with OpenAI Responses API and .NET
Jul 16, 2026.
Learn to build AI-powered .NET apps using OpenAI's Responses API. Integrate AI for chatbots, content generation, and more with practical examples.
OpenTelemetry in .NET: End-to-End Distributed Tracing Explained
Jul 16, 2026.
Master OpenTelemetry in .NET for end-to-end distributed tracing. Gain visibility, troubleshoot faster, and optimize microservices.
Entity Framework Core Performance Tuning for Large Applications
Jul 16, 2026.
Optimize EF Core for large apps: Boost performance with AsNoTracking, pagination, indexing, caching, and more.
.NET 11 Preview 8: New Features and Breaking Changes Explained
Jul 16, 2026.
.NET 11 Preview 8: Explore new features like runtime performance, Native AOT, and JSON serialization. Prepare for breaking changes.
Implementing Passkey Authentication in ASP.NET Core Applications
Jul 16, 2026.
Implement secure, passwordless passkey authentication in ASP.NET Core. Leverage FIDO2 & WebAuthn for enhanced security and user experience.
OpenTelemetry Explained: Unified Observability for Modern Distributed Systems
Jul 15, 2026.
Learn how OpenTelemetry provides unified observability through traces, metrics, and logs for monitoring modern cloud-native and distributed applications.
Building AI-Powered Background Workers and Scheduled Agents with .NET Aspire
Jul 14, 2026.
Build intelligent AI background workers & scheduled agents with .NET Aspire for reliable, cloud-native distributed applications.
AI Agent Security: Preventing HalluSquatting and Prompt Injection Attacks
Jul 14, 2026.
Secure AI agents from Prompt Injection & HalluSquatting. Learn .NET strategies for input validation, tool control, and dependency verification.
Building Production-Ready RAG Applications with Azure AI Search and .NET
Jul 14, 2026.
Build production-ready RAG apps with Azure AI Search & .NET. Enhance LLMs with your data for accurate, context-aware responses.
Building an AI-Powered Knowledge Base Using Vector Databases and C#
Jul 14, 2026.
Build AI-powered knowledge bases with C# & vector databases for semantic search, understanding user intent & delivering accurate, context-aware answers.
Building AI-Powered Observability Platforms with OpenTelemetry and .NET
Jul 14, 2026.
Unlock AI-powered observability in .NET with OpenTelemetry. Gain deep insights into distributed systems, AI agents, and cloud-native apps.
Observability for AI Agents: Logging, Tracing, and Monitoring in Practice
Jul 14, 2026.
Master AI agent observability with practical .NET logging, tracing, and monitoring. Debug, optimize, and secure your AI systems effectively.
Building Event-Driven AI Agents with Azure Service Bus and .NET
Jul 14, 2026.
Build scalable, event-driven AI agents with Azure Service Bus and .NET. Automate workflows, process asynchronously, and enhance enterprise AI.
Implementing AI Cost Optimization and Token Management Strategies in .NET Applications
Jul 14, 2026.
Master AI cost optimization in .NET. Learn token management, prompt engineering, caching, and model selection for sustainable AI.
Hangfire Jobs in .NET Core: Complete Guide to Background Job Processing
Jul 14, 2026.
Master Hangfire in .NET Core for reliable background job processing. Learn configuration, job types, DI, queues, and modern features for scalable apps.
Native Container Publishing in .NET: Deploy Without Dockerfiles
Jul 14, 2026.
Simplify .NET container publishing! Deploy apps without Dockerfiles using the .NET CLI for faster, consistent cloud-native deployments.
Building an AI Agent Marketplace with ASP.NET Core and Semantic Kernel
Jul 14, 2026.
Build an AI Agent Marketplace with ASP.NET Core & Semantic Kernel. Discover, manage, and monetize AI agents efficiently for your organization.
Practical AI Testing Strategies: Evaluating LLM and Agent Reliability
Jul 14, 2026.
Master AI testing for LLMs & agents. Learn strategies for accuracy, relevance, safety, and reliability in production.
Model Context Protocol (MCP) Explained for .NET Developers
Jul 14, 2026.
Understand Model Context Protocol (MCP) for .NET developers. Standardize AI integrations with tools, databases, and APIs for scalable, secure applications.
Building Your First Agentic AI Application in .NET 10 Step by Step
Jul 14, 2026.
Build your first Agentic AI app in .NET 10! Learn to create intelligent agents that plan, use tools, and act autonomously. Step-by-step guide.
Building AI Workflows with Semantic Kernel Process Framework in .NET
Jul 14, 2026.
Build structured AI workflows in .NET with Semantic Kernel's Process Framework. Orchestrate AI, logic, tools, and human interaction for complex applications.
Semantic Kernel Plugins Explained: Extending AI Applications with .NET
Jul 13, 2026.
Unlock AI potential with Semantic Kernel Plugins! Extend .NET apps to interact with databases, APIs, and real-world systems for powerful AI agents.
Minimal APIs vs Controllers: The .NET Debate That Just Won't Die
Jul 13, 2026.
Minimal APIs vs. Controllers: A .NET debate settled. Choose the right tool for your project, not the hype. Learn when to use each for optimal .NET development.
.NET 11 Preview 7 Features Explained with Real Examples
Jul 13, 2026.
.NET 11 Preview 7 boosts performance, cloud-native features, and developer productivity with real-world examples.
Building Event-Driven AI Workflows with Azure Event Grid and .NET
Jul 13, 2026.
Build scalable, event-driven AI workflows with Azure Event Grid and .NET for automated document analysis, sentiment detection, and more.
Building Production-Ready RAG Pipelines with Azure AI Search and .NET
Jul 13, 2026.
Build production-ready RAG pipelines with Azure AI Search and .NET for accurate, context-aware AI responses using your own data.
How to Build Local-First AI Applications Using ONNX Runtime and .NET
Jul 13, 2026.
Build private, fast, offline AI apps with ONNX Runtime & .NET. Run models locally for enhanced privacy, reduced latency, and lower costs.
Understanding Microservices with .NET Through an E-Commerce Example
Jul 12, 2026.
Explore .NET microservices for e-commerce. Learn how to build independent, scalable services for customer, inventory, order, and payment.
Part 1 : AI Foundation for Software Engineers: From Rules to Learning Systems
Jul 10, 2026.
Explore AI for software engineers: from rule-based to data-driven learning systems. Understand AI's engineering discipline, not magic.
.NET 11 Preview 6: New Features Every C# Developer Should Know
Jul 10, 2026.
.NET 11 Preview 6: Discover key C# enhancements in performance, cloud-native, AI, and developer productivity. Prepare for the future!
Building Internal AI Tools with Azure AI Foundry and .NET
Jul 10, 2026.
Build internal AI tools with Azure AI Foundry & .NET for enhanced productivity, faster info access, and streamlined operations. Secure, scalable, and intelligent.
Building Search Applications with Qdrant Vector Database and .NET
Jul 10, 2026.
Build intelligent search apps with Qdrant vector database and .NET. Learn semantic search, RAG, and AI-powered retrieval for faster, relevant results.
Orleans Framework Tutorial: Building Distributed Applications in .NET
Jul 09, 2026.
Master .NET distributed apps with Orleans! Learn the Virtual Actor Model for scalable, fault-tolerant, and stateful systems.
Delegates in C# Explained with Simple and Real Project Examples
Jul 07, 2026.
Master C# delegates! Learn how they decouple code, enable callbacks, and power ASP.NET Core, LINQ, and events with simple examples.
Building Cross-Platform Desktop Apps with .NET MAUI in 2026
Jul 07, 2026.
Build cross-platform desktop apps with .NET MAUI in 2026. Leverage a single codebase for Windows, macOS, Android, and iOS. Discover its architecture, benefits, and best practices.
Specification Pattern in C#
Jul 05, 2026.
Master the Specification Pattern in C# to avoid method explosion. Represent business rules as reusable, composable objects for cleaner, flexible code.
.NET 11 and AI: What's New for Enterprise Developers in 2026
Jul 02, 2026.
.NET 11 empowers enterprise developers with AI integration, enhanced performance, cloud-native features, and improved productivity for 2026.
Building Event-Driven Systems with Apache Kafka and .NET
Jul 03, 2026.
Build scalable, real-time event-driven systems with Apache Kafka and .NET. Learn core concepts, implementation, and best practices for robust distributed applications.
Building a Search Platform Using OpenSearch and .NET
Jul 03, 2026.
Build powerful search platforms with OpenSearch and .NET. Learn about its architecture, indexing, querying, and advanced features for scalable, relevant search.
CQRS Without MediatR: A Lightweight Approach for Modern .NET Applications
Jul 02, 2026.
Implement CQRS in .NET without MediatR for a simpler, more maintainable, and easily debuggable architecture. Focus on core principles.