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]
Viknaraj Manogararajah(6)
Sardar Mudassar Ali Khan (5)
Abdul Rasheed Feroz Khan(4)
Prabhakar Maurya(4)
Prashant Bansal(3)
Riya Patel(2)
Ananya Desai(2)
Vinoth Xavier(2)
Mohammathu Fairoos(2)
Asma Khalid(2)
Nilesh Jadav(2)
Arpit Jain(2)
Nitin Bhardwaj(2)
Scott Lysle(2)
Nidhi Sharma(1)
Niharika Gupta(1)
Dipen Shah(1)
Vinay Ayinapurapu(1)
Chetan Sanghani(1)
Manikandan M(1)
Ijas Ahamed(1)
Prathap Reddy(1)
George (1)
Hadshana Kamalanathan(1)
Debby Ummul Hidayah(1)
Shanuka Maheshwaran(1)
Ganesh Shevate(1)
Jayant Kulkarni(1)
Arun Potti(1)
Shrusti Shah(1)
Mahender Pal(1)
Satya Karki(1)
Siddharth Gajbhiye(1)
Saleh Qadeer(1)
Gnanavel Sekar(1)
Delpin Susai Raj(1)
Adalat Khan(1)
Suneel Kumar Biyyapu(1)
Krunal Trivedi(1)
Agus Suhanto(1)
Vishal Pawar(1)
Dhruvin Shah(1)
Manpreet Singh(1)
Priyaranjan K S(1)
Waqas Sarwar(1)
Kartik Kumar(1)
Prashant Kale(1)
Sibeesh Venu(1)
Staff Writer(1)
Mohammed Ashraf(1)
Khawar Islam(1)
Talha Bin Afzal(1)
Ravi Mandal(1)
Priti Kumari(1)
Neeraj Kumar(1)
Pankaj Kumar Choudhary(1)
Afzaal Ahmad Zeeshan(1)
Max McCarty(1)
Shivom Agarwal(1)
Sourav Kayal(1)
Prerana Tiwari(1)
Selva Ganapathy(1)
Munesh Sharma(1)
Shiju Joseph(1)
Sanjay Kumar(1)
Nimit Joshi(1)
Shashank Srivastava(1)
Vijai Anand Ramalingam(1)
Supreet Tare(1)
Srinubabu Ravilla(1)
Naveed Zaman(1)
Satya Prakash(1)
Sharad Gupta(1)
Arun Choudhary(1)
Resources
No resource found
Database Connection Pooling Explained with Examples
Jun 03, 2026.
Learn Database Connection Pooling with practical examples. Understand how connection pools improve performance, scalability, and database efficiency.
What is Connection Pooling and How Does It Work in Database Systems?
Apr 14, 2026.
Connection pooling boosts database performance by reusing connections. Learn how it reduces latency, enhances scalability, and optimizes resources in web applications.
Mastering Connection Pooling with Dapper in ASP.NET Core Web API
Mar 31, 2026.
Optimize Dapper connection pooling in ASP.NET Core Web API for peak performance. Avoid latency, pool exhaustion, and crashes with proper management techniques.
The Ultimate Guide to Mastering Connection Pooling with Dapper in ASP.NET Core
Mar 31, 2026.
Optimize ASP.NET Core apps with Dapper! Learn connection pooling: setup, tuning, and troubleshooting. Avoid timeouts and boost performance. Essential guide!
High-Velocity Connection Pooling with Dapper and ASP.NET Core
Mar 31, 2026.
Optimize Dapper connection pooling in ASP.NET Core for high-traffic APIs! Prevent connection exhaustion with factories, proper disposal, and async calls. Boost performance and resilience!
How to Implement Database Connection Pooling in High-Traffic Applications
Mar 17, 2026.
Boost app performance! Learn database connection pooling for high-traffic apps. Reduce latency, improve scalability, and handle concurrent requests efficiently.
What Is Connection Pooling and How Does It Improve Database Performance?
Mar 05, 2026.
Boost database performance with connection pooling! Learn how reusing connections reduces overhead, improves response times, and enhances application scalability. A must-read for developers!
MongoDB Connection Pooling Explained
Feb 06, 2026.
Unlock MongoDB's power! Learn connection pooling for efficient, scalable apps. Reduce latency, optimize resources, and handle high traffic with ease. Master best practices!
PostgreSQL Connection Pool Exhaustion Explained in Simple Words
Jan 22, 2026.
Unravel PostgreSQL connection pool exhaustion! Learn why it happens, how it manifests in production, and why increasing max_connections is often a trap. Protect your database!
Part III - Best Practices for Handling Connection Strings in C#
Oct 23, 2025.
Securely managing connection strings in C# .NET is crucial for database-driven applications. This guide covers best practices like avoiding hard-coding, leveraging Windows Authentication, and utilizing Azure Key Vault for sensitive data. Learn to protect your application from vulnerabilities by encrypting connection strings, validating their structure, and applying the principle of least privilege. Implement these strategies to enhance security and streamline deployment in your C# projects.
In-Depth Look at Advanced Authentication and Connection Strings for SQL Server and Databases (Part II)
Oct 22, 2025.
Master SQL Server connections in C# .NET! This guide dives deep into connection strings, covering essential properties like Data Source, Initial Catalog, User ID, Password, Integrated Security, and Encrypt. Learn best practices for secure authentication, including Windows Authentication, Azure AD Managed Identity, and secure credential storage. Optimize your database connections for performance and security with practical examples and recommendations.
PostgreSQL Connection Pool Exhaustion — Lessons from a Production Outage
Oct 13, 2025.
Diagnose and resolve PostgreSQL connection pool exhaustion in Celery-based distributed systems. Learn how to right-size connection pools, manage idle connections, and implement resilient session management. Monitor connection usage, plan capacity effectively, and troubleshoot common errors to ensure database stability at scale. Essential for Python developers using Celery and PostgreSQL.
Securing Connection Strings and AppSettings in ASP.NET Core
Sep 15, 2025.
Learn how to use User Secrets for development, environment variables for staging, and Azure Key Vault or AWS Secrets Manager for production. Discover encryption techniques and database-level security measures to safeguard sensitive information. Implement best practices like secret rotation and access auditing to fortify your application's security posture and prevent unauthorized access to critical data.
Mastering Connection Pooling with Dapper in ASP.NET Core Web API
Jun 27, 2025.
In modern web development, one of the key challenges when working with databases is efficiently managing database connections.
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.
Site to Site VPN Connection Between AWS and Azure
Jan 16, 2025.
Learn how to establish a secure Site-to-Site VPN connection between AWS and Azure to enable seamless communication across cloud environments.
Azure Bastion Connection to VM
Aug 29, 2024.
Azure Bastion provides secure RDP and SSH access to Azure VMs directly through the Azure portal without needing public IPs. It enhances security by using SSL and reduces the attack surface. Managed by Microsoft, it ensures seamless, reliable connectivity and simplifies access while eliminating public exposure.
Azure Bastion connection to VM
Aug 28, 2024.
Azure Bastion is a managed service that provides secure RDP and SSH access to Azure virtual machines without needing public IP addresses. It connects directly through the Azure portal using SSL, enhancing security by eliminating public exposure and ensuring reliable, browser-based access to your VMs.
Working with Connection Objects in ADO.NET
Jul 22, 2024.
ADO.NET is a set of classes that expose data access services for .NET Framework programmers. A primary feature of ADO.NET is the ability to work with disconnected data. However, working directly with databases is often necessary, and this is where connection objects come into play.
Implementation of the Azure AD Authentication Connection using .Net Maui
Feb 11, 2024.
In this article, I will explain about .NET MAUI Authentication implementation using visual studio 2022. Authentication is the process of obtaining identification credentials such as name and password from a user and validating those credentials against an authority. The entity that submitted the credentials is considered an authenticated identity if the credentials are valid. Once an identity has been established, an authorization process determines whether that identity has access to a given resource or not and Microsoft Data sync Framework has built-in support for any authentication provider that uses a Json Web Token (JWT) within a header of the HTTP transaction. This application uses the Microsoft Authentication Library (MSAL) to request such a token and authorize the signed in user to the backend service. Although we use Microsoft Entra ID for authentication, you can use any authentication library you wish with Azure Mobile Apps.
SQL Server Connection Error: Network Issue
Oct 25, 2023.
a network-related or instance-specific error occurred while establishing a connection to sql server. the server was not found or was not accessible. verify that the instance name is correct and that sql server is configured to allow remote connections. (provider: named pipes provider, error: 40 - could not open a connection to sql server)
Optimizing Your Azure ExpressRoute Connection with Traffic Collectors
May 01, 2023.
ExpressRoute is a service provided by Microsoft Azure that enables customers to establish private, dedicated connections between their on-premises infrastructure and Azure datacenters. To monitor and analyze the traffic flowing over an ExpressRoute connection, customers can use traffic collectors.
Source Control (7), GitLab Access (Setup Connection And Clone To Local)
Mar 27, 2023.
This article will discuss GitLab access: setup connection and clone to local.
The Power BI Release Plan Report Connection Instructions
Jan 17, 2023.
In this article, you will learn about Power BI Release Plan report connection instructions.
Create Database Connection Using ADO.NET
Oct 21, 2022.
In this article, you will learn how to create Database Connection using ADO.NET - C#.
Configure A IPsec Tunnel VNet-To-VNet VPN Gateway Connection In Azure Portal
Aug 29, 2022.
In this article, you will learn how to configure a IPsec Tunnel VNet-To-VNet VPN Gateway Connection in Azure Portal.
How To Use Stored Procedure By Getting Database Connection Using DbContext In Repository
Jul 09, 2022.
Sometimes we need to create API/s and perform custom operation with database where we can perform create, insert, update and delete on entity/ties or table/s according to our requirement. Then we can use Store Procedure.
Simple Configuration Of Connection String Through Key Vault
Apr 09, 2022.
Simple Configuration of Connection String through Key vault without any code.
How To Get The Dynamics 365 CE Connection String In XRMToolBox
Dec 17, 2021.
In this article, you will learn how to get the Dynamics 365 CE Connection String in XRMToolBox.
Add Adaptive Card To Your Viva Connection Dashboard
Nov 12, 2021.
In this article, you will learn how to add adaptive card to your Viva Connection Dashboard.
Fixing - The Runtime Connection Manager With The ID Can Not Be Found
May 27, 2021.
In this article, you will learn about fixing SSIS package issue for Dynamics 365 CE.
Upgrading The IPsec/ IKE Policy To The Azure Site-To-Site VPN Connection Using The Azure Portal
Nov 03, 2020.
In this article, you will learn how to upgrade the IPsec IKE policy to the Azure Site-to-Site VPN Connection using the Azure Portal.
Upgrading The IPsec/IKE Policy To The Azure Site-To-Site VPN Connection Using The PowerShell Command
Oct 28, 2020.
In this article, you will learn how to upgrade the IPsec/IKE Policy to the Azure Site-To-Site VPN Connection using the PowerShell Command.
Learn About Power BI Data Source Options And SQL Database Connection - Part One
Sep 10, 2020.
Explore Power BI's diverse data source options and its seamless connection to SQL databases in this informative series. Learn about querying, data integration, visualization, and more in Part One, designed to enhance your understanding of Business Intelligence and reporting capabilities.
How To Detect The Internet Connection Status In An Angular Application
Jul 03, 2020.
While working in any application, there might be a condition where we want to check whether the internet connection is there or not. For example, if we are working on a real-time chat basis application and the user is disconnected, then we can show their status if he/she is online or not.
ASP.NET MVC - REST Web API SQL Server Connection Using Entity Framework Database First Approach
Apr 14, 2020.
This article is about creation of REST Web API connection with SQL server Entity Framework Database First approach using ASP.NET REST Web API platform.
Establishing VPN Gateway Connection Between VNet To VNet
Oct 14, 2019.
In this article, you will learn how to establish VPN gateway connection between VNet to VNet.
Establishing Connection Between On-Premises Server To Azure VM Using Azure Site To Site VPN
Jul 23, 2019.
In this article, we will learn how to connect our On-premises server to Azure Virtual Server using Routing and Remote Access.
Setting Up SQLite Connection In Xamarin App
Feb 23, 2019.
In this article, we are going to learn about how to set up a connection with SQLite in your application. We will connect each of the iOS, Android, and UWP projects with SQLite.
Remote Desktop Connection Error In Microsoft Azure
Jan 25, 2019.
In this lesson, we are going to learn how to fix the Azure Remote Desktop Connection error.
Microsoft Azure - Remote Desktop Connection To Data Science Windows 2016 Virtual Machine
Jan 16, 2019.
This article is about making a remote desktop connection to Microsoft Azure Data Science Windows 2016 Virtual Machine.
ASP.NET MVC 5 - Integrate And Validate DocuSign Connection With Web Application
Oct 15, 2018.
In this article, I will explain how to integrate and validate DocuSign with an ASP.NET MVC5 web application.
Xamarin.Forms - Check Internet Connection Using Xamarin Essentials
Jul 25, 2018.
In this article, you will learn how to Check Internet Connectivity Using Xamarin.Essentials in Xamarin forms.
SQL Server Database Connection To MVC Application
Jul 17, 2018.
This article demonstrates how to establish SQL Server database connection to MVC 5 application using Entity Framework. It is beneficial for beginners and for students as well. This article is focused on the existing database in SQL Server, therefore, create a database in SQL Server then create a new project of ASP.NET MVC 5 in Visual Studio.NET 2015.
How To Check Internet Connection In Device Using Dependency Service Xamarin.Forms
May 18, 2018.
In this post, I will be explaining about how to check internet connections in a device using Dependency service in Xamarin.Forms.
Step-By-Step Demo Of Creating A VNet To VNet Connection In Microsoft Azure
Mar 23, 2018.
In this article, I am going to show you how to create a VNet to VNet connection using Virtual Network Gateways.
Configuring SQL Server 2016 Express On LAN For C# Connection String
Nov 08, 2017.
In this article I will share my experience about configuring SQL Server 2016 Express on LAN for SQL connection using my C# application’s connection string
How To Do 'LinkedIn Connection Analytics' Using Power BI
Oct 26, 2017.
Learn to use new free 'LinkedIn Connection Analytics' dashboard with Power BI.
Edit Or Remove Permission From Existing Data Source Connection From Power BI
Sep 23, 2017.
In this article, we will learn how we can remove our existing data source connection from Power BI Desktop.
Manage Data Connection Files Of Infopath Forms Services In SharePoint 2013 Central Administration
Mar 27, 2017.
In this article, we will see how to manage data connection files of InfoPath forms Services in SharePoint 2013 Central Administration.
Create Synchronization Connection To Synchronize SharePoint User Profiles With Active Directory
Feb 23, 2017.
In this article you will learn how to create Synchronization Connection to synchronize SharePoint User Profiles with Active Directory.
SharePoint 2016 User Profile Service And MIM - Apply The Connection Filter
Nov 29, 2016.
In this article, you will learn how to apply the Connection Filter.
How To Set Up A Metered Connection For Your Wireless Network
Nov 06, 2016.
In this article, you’ll learn about how to set up a metered connection for your wireless network in Windows 10.
Configuring Site To Site VPN Connection Between Two Azure networks - Part Two
Sep 27, 2016.
In this article, you will learn how to configure Site-to-Site VPN connection between two Azure networks.
Configuring Site To Site VPN Connection Between Two Azure Networks - Part One
Sep 26, 2016.
In this article, you will learn how to configure Site to Site VPN connection between two Azure networks.
SharePoint 2013 - How To Configure Data Connection With SQL Server Using Excel PowerPivot Plugin
Sep 20, 2016.
In this article, you will learn how to configure Data Connection with SQL Server, using Excel PowerPivot Plugin in SharePoint 2013.
Registering Your Bot Application And Testing Your Connection At Bot FrameWork
Sep 19, 2016.
In this article, you will learn how to register your Bot Application and test your connection at Bot Framework.
Adding A Connection In Microsoft Flow
Aug 28, 2016.
In this article, you will learn how to add a connection in Microsoft Flow.
SharePoint 2013: How to Configure Data Connection with SQL Server using Excel Services
Jul 24, 2016.
In this article, we will explore the steps of consuming data present in SQL Server Database, using Excel Services.
SharePoint 2013: How To Configure Data Connection With SSAS Cubes, Using Excel Services
Jul 24, 2016.
In this article, we will explore the process of consuming data present in Data Cubes hosted on SQL Server Analysis Server, using Excel Services.
Establishing Database Connection Between MSSQL And ASP.NET
Jul 13, 2016.
In this article, you will learn how to establish the database connection between MSSQL and ASP.NET.
Encrypt And Decrypt Connection String In Web.Config File
May 16, 2016.
In this article we are going to see how we can encrypt and secure our connection string in our web config file.
Resolve Error 40: Could Not Open a Connection to SQL Server
May 10, 2016.
In this article we will discuss about various reasons and solutions to resolve error : 40 related to SQL Server connection.
A Simple Way To Change SQL Server Connection String Programmatically In C#
May 08, 2016.
In this article I am describing a simple way to change SQL Server database connection programmatically while the application is running. In this way you can also change the server.
Dynamic Connection Class In Windows Form
Feb 15, 2016.
In this article we discuss the dynamic connection class in Windows Form application.
Using Oracle Connection String In Windows Form
Nov 10, 2015.
This guide covers setting up the connection string, configuring your .NET application, and managing database interactions through ADO.NET. Ideal for developers working with Oracle and C#.
How To Make Your Connection String Encrypted In ASP.NET Using C#
Nov 01, 2015.
In this article you will learn how to make your Connection String encrypted in ASP.NET using C#.
Defining and Using Connection Strings in Azure Websites
Sep 02, 2015.
In this article you will learn how to define and use Connection Strings in Azure Websites.
Make Connection between SQL Server Management Studio and Visual Studio 2010
Aug 31, 2015.
In this tutorial I’ll show you how to make a connection between SQL Server Management Studio and Visual Studio 2010.
Various Ways To Specify Connection String In ASP.NET Web And Windows Applications
Aug 28, 2015.
In this article you will learn various ways to specify a Connection String in ASP.NET Web and Windows Applications.
Dynamic Connection String of MS SQL Database in C#
Jul 10, 2015.
In this article we will learn how to get dynamic server name installed in system.
Oracle Database Connection Using .NET
Jul 09, 2015.
In this article we will learn how to make an Oracle database connection in .NET.
SQL Server Database Connection In C# Using ADO.NET
Apr 25, 2015.
ADO.NET provides classes to connect to databases in .NET using C#. This article describes how to create a connection in .NET and use SqlConnection in C#.
The Curious Case of the Missing Azure Connection String
Feb 25, 2015.
This article is about securing Azure connection strings.
Dedicated Administrator Connection (DAC) on SQL Server
Jun 20, 2014.
This article shows how to make a Dedicated Administrator Connection (DAC) to allow administrators emergency access to SQL Server via SQL Server Management Studio (SSMS) or via command prompt (SQLCMD utility).
Pass Connection String At Run Time to Entity Framework
May 17, 2014.
In this article, we will see how to pass a connection string at run time to the Entity Framework.
Stored Procedure Connection In QlikView Application
May 07, 2014.
This article describes Stored Procedures and the execution of Stored Procedures in a QlikVirw application.
Simple Way to Establish Interaction Between Two Windows Applications by a Channel of a Connection Database
Apr 23, 2014.
This articles shows how to provide an interaction between two Windows aplications in a very simple way using a Text file.txt as a bridge.
Checking WiFi Connection Status in Windows Phone 8
Apr 09, 2014.
This article explains how to check the WiFi connectivity status.
Checking Internet Connection In Windows Phone 8
Apr 09, 2014.
This article explains how to check for the data connection availability in Windows Phone 8.
SQL Server Database Connection in Windows Forms
Apr 09, 2014.
I will start this (the first) tutorial by showing how to create a SQL Server database connection. Here I will explain step-by-step.
Create an Analysis Service Data Source Connection Using SharePoint PerformancePoint
Jan 31, 2014.
In this article we are learning how to set up a data connection from the Dashboard Designer to an Analysis Services data cube.
Asynchronous Connection in .NET Framework 4.5
Jan 25, 2014.
Learn about leveraging asynchronous connections in .NET Framework 4.5 for efficient, non-blocking operations. Explore async/await patterns, Task Parallel Library (TPL), AsyncCallback delegate, and asynchronous I/O techniques for responsive networking and scalable applications.
Working With Model Class and Connection String in MVC 5
Aug 13, 2013.
This article introduces how to work with Models and Connection Strings and helps you to add some classes for the application for helping manage databases and to create or maintain the Connection Strings.
FTP Connection in PHP
Aug 06, 2013.
The methods in this article implement client access to file servers speaking the File Transfer Protocol (FTP).
Failed to Create Term Set: A Default Managed Metadata Service Connection Hasn’t Been Specified
Jun 19, 2013.
In this article you will see how to resolve “Failed to create term set: A default managed metadata service connection hasn’t been specified” when trying to create term set in SharePoint 2013.
Passing Connection String Dynamically While Using a Model First Approach
May 30, 2013.
We'll discuss the importance of dynamic configuration for database connections, demonstrate effective techniques for setting up runtime connection strings, and highlight best practices for managing database connections in .NET applications.
Get SQL Server Database Connection String Easily From Visual Studio
May 14, 2013.
This article explaiins how to easily get a SQL Server database connection string from Visual Studio.
Secured Connection Between SQL Server and C# Using Specific Port
May 10, 2013.
In this article, we will discuss how to get the port no of our own SQL Server instance and how to use that port in the SQL Server setting, and at the end how to use that port in your C Sharp application.
How To Create Single Connection String in Console Application
Apr 03, 2013.
In this article, I will explain how to create a single connection string in a console application and how to use connection string in console application.
Create Single Connection String For All Windows Form In .NET
Mar 15, 2013.
In this article, I will explain how to create a one-time connection string in a Windows Forms form without using ConfigurationManager properties.
Create Connection String and Use in Multiple Form in C#
Mar 09, 2013.
In this article I am going to describe how to a implement connection string in multiple windows form.
Create an ODBC Connection With MS Access
Mar 08, 2013.
In this article I explain how to create an ODBC connection to a MS Access Database.
Enable Ad Hoc Wireless Internet Connection in Windows 8
Jan 29, 2013.
In this article we are explaining how to create an Ad-Hoc Wireless Network in Windows 8.
Configure Remote Desktop Connection in Windows 8
Jan 16, 2013.
In this article we explain how to configure a Remote Desktop Connection in Windows 8.
Enable Remote Desktop Connection in Windows 8
Jan 15, 2013.
To enable Remote Desktop Connection in Windows 8, navigate to System Settings or Control Panel, locate Remote Desktop settings, enable Remote Desktop, configure network settings, adjust firewall settings, and grant user permissions for remote access.
How to Create Dial-up Connection in Windows 8
Jan 10, 2013.
In this article we explain how to create a dial-up connection in Windows 8.
Monitor Internet Connection State in VB.NET
Nov 09, 2012.
This article describes an easy approach to building two controls used to monitor the status of an internet connection and provide the user with some indication of that status. Within the attached project, there are two controls, one shows the user what the connection type is and whether or not the machine is connected or offline, the other one is used to show some indication of the quality of the connection in terms of whether or not the connection is good, intermittent, or offline.
Monitor Internet Connection State in VB.NET
Nov 08, 2012.
This article describes an easy approach to building two controls used to monitor the status of an internet connection and provide the user with some indication of that status. Within the attached project, there are two controls, one shows the user what the connection type is and whether or not the machine is connected or offline, the other one is used to show some indication of the quality of the connection in terms of whether or not the connection is good, intermittent, or offline.
Restrict User From Changing the LAN Connection in Windows 8
Oct 04, 2012.
This article describes how to restrict the user from changing the LAN Connection in Windows 8.