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]
Vinoth Xavier(3)
Akshay Patel(3)
Sandhiya Priya(3)
Shivprasad (3)
Praveen Sreeram(2)
Santosh Kumar Adidawarpu(2)
Vijay Prativadi(2)
Mahadesh Mahalingappa(2)
George (2)
Kailash Chandra Behera(2)
Akkiraju Ivaturi(2)
Abhimanyu K Vatsa(2)
Vishal Nayan(2)
Vishal Babuks(1)
Fabio Silva Lima(1)
Prasham Sabadra(1)
Jaideep Singh(1)
Mahender Pal(1)
Amit Patel(1)
Sai Kumar Koona(1)
Karthikeyan Anbarasan(1)
Suri Meenakshi Sundaram(1)
Rafal Wozniak(1)
Bechir Bejaoui(1)
Mikhail Panin(1)
Rohit Gupta(1)
Aarav Patel(1)
Hemish Radadiya(1)
Mohamed Shifan(1)
Vignesh Kumar(1)
Shanuka Maheshwaran(1)
Ajith Mohan(1)
Naveenkumar Paramasivam(1)
Sanwar Ranwa(1)
Juan Francisco Morales Larios(1)
Manoj Kalla(1)
Ramees (1)
Gareth Bradley(1)
Kavita Vyas(1)
Sibeesh Venu(1)
Mukesh Kumar(1)
André de Mattos Ferraz(1)
Satyendra Mishra(1)
Sahil Sharma(1)
Sreekanth Mohan(1)
Guest User(1)
Anubhav Chaudhary(1)
Santhosh Kumar Jayaraman(1)
Rajendra Taradale(1)
Tusarkanta Guru(1)
Soft Corner(1)
Shyju (1)
Suresh Paldia(1)
Sarika Gaikwad(1)
Rahul Kumar Saxena(1)
Diptimaya Patra(1)
C# Curator(1)
Nipun Tomar(1)
Mohammed Habeeb(1)
Sushila Patel(1)
Dipal Choksi(1)
Abhishek Yadav(1)
Sangeet Shah(1)
Ashish Bhatnagar(1)
Aman Gupta(1)
Shilpa Tanwar(1)
Mithilesh Kumar(1)
Shridhar Sharma(1)
Rahul Bansal(1)
Devesh Omar(1)
Milstein Munakami(1)
Neelesh Vishwakarma(1)
Satya Prakash(1)
Satyapriya Nayak(1)
Mahesh Babu(1)
Vijai Anand Ramalingam(1)
Sateesh Arveti(1)
Syed Shakeer(1)
Mamta M(1)
Amit Kumar Agrawal(1)
Anubhav Bansal(1)
sudhirmangla (1)
Kenneth M H(1)
Resources
No resource found
Encrypt Web Config Sections Using aspnet_regiis.exe Securely
Feb 07, 2025.
Learn how to encrypt and decrypt **Web.config** sections using **aspnet_regiis.exe** for enhanced security in ASP.NET applications. This guide covers encryption commands, best practices, and considerations for secure configuration management.
Configurations Available In Playwright Config File
Nov 28, 2022.
This article explains the configuration that we can configure for our playwright tests.
AppSettings - Six Ways To Read The Config In ASP.NET CORE 3.0
Dec 09, 2019.
Learn six methods to read AppSettings in ASP.NET Core 3.0, including options pattern, configuration providers, IConfiguration interface, environment variables, and JSON files, ensuring flexibility and robustness in managing application settings.
SPFx - Resolved Error Of 'Gulp Package - Solution' - "the WebParts Manifests List Is Empty. Please Ensure You Have Done A Build And That Your Config File Is Pointed At The Correct Folder"
Sep 26, 2019.
In this article we will discuss one of the errors we are facing while deploying (packaging the solution) the SPFX component to my O365 tenant.
Get Response Message From Config File In .NET Core Web API
Feb 07, 2019.
In this article, we will see how we can set the response message for Web API from the config file and reload it without recompiling the application.
.NET Core Load Environment Specific Custom Config File
Jan 30, 2019.
In this article, we will see how we can load environment specific config files and variables of a .NET Core app and use them in the app.
Azure App Service - Web Config Vs Application Settings
Dec 26, 2016.
In this article, we will learn the differences between the Configurations Settings in Web.Config and Azure App Service App Settings.
Transform Config Using Slow Cheetah
May 17, 2016.
This article is about transforming your app.config/web.config settings based on the configuration environment selected using package Slow cheetah.
Secure Your Application's Config File
May 13, 2016.
In this article you will learn how to secure your Config Application’s Config File.
Load AutoComplete Options From Config Entity
Dec 20, 2015.
This article is about using new CRM 2016 features.
Simplified Config File in WCF 4.5
Sep 30, 2012.
Today, in this article let’s play around with one of the interesting and most useful concepts in WCF 4.5.
WCF 4.5 New Feature Intellisense Support For Config File
Sep 30, 2012.
Today, in this article let’s play around with one of the interesting and most useful concepts in WCF 4.5.
Web Config Transformation in .NET
Jul 24, 2012.
In this article I am going to explain the Web.Config Transformtion feature of .NET 4.0.
Making Our Component to be Dynamically Loading the Config File
May 16, 2012.
This article explains how to dynamically load a Config file for a component and how to map the config file even when it is converted to an Active X Control and run in another environment.
WCF Series: Config Files
Sep 28, 2011.
In this article we wwill be Learning about the Config Files in WCF.
Windows Azure - Manually Edit a Config File Using Azure Management Portal
Jul 11, 2011.
In this article we are going to see how to edit a configuration file of an Azure application using the Windows Azure Management Portal.
Manage Authorization using config file
Nov 09, 2010.
How to restrict users to access a particular page or directory
How to Create Config file with xml Serialization
Jan 23, 2010.
This is a simple example of how to use xml serialization to make configuration files.
Encrypt and Decrypt Sensitive Metadata Within Your Config file
Jun 18, 2008.
In a certain cases, metadata embedded within your configuration file is sensitive. In fact, imagine that you develop an application that uses a data base as data source; all information about this data base is located in the configuration file. What if a hacker success to log into your configuration files and obtains the connection string and other metadata about your data base??
Forget JSONs! Write Graph-based Configs!
Feb 20, 2026.
Ditch complex JSON configs! Embrace graph-based configurations for clarity, collaboration, and fewer runtime errors. Simplify workflows and boost maintainability.
Nanobot Developer Guide: What It Is and How to Install, Configure, and Run It Securely
Feb 19, 2026.
Learn what Nanobot is and how to install, configure, and run a secure, auditable AI agent with chat channels, tools, and MCP servers.
Managing Application Configuration Across Environments in Cloud-Based Systems
Dec 31, 2025.
Learn how to manage application configuration across environments in cloud-based systems. Understand best practices, common challenges, and simple techniques to handle configs safely and efficiently.
Understanding the Difference Between Web.config and App.config in .NET Applications
Nov 07, 2025.
Unlock the secrets of .NET configuration! Learn the key differences between Web.config for ASP.NET and App.config for desktop apps. Master configuration files for optimal application behavior and deployment.
Web.config vs App.config — Key Differences & Usage in .NET
Oct 31, 2025.
Understand the core differences between Web.config and App.config in .NET. Learn when to use each for web applications, desktop apps, and more. Secure configuration tips included!
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
Guide to Handling Web.Config Encryption Across Multiple Servers
Feb 07, 2025.
Learn how to encrypt web.config sections in ASP.NET, export and import RSA encryption keys across multiple servers, and ensure secure decryption. Follow best practices for secure key transfer, compliance, and automation in deployments.
Encrypt and Decrypt Web.config Using aspnet_regiis.exe Tool
Feb 07, 2025.
Learn how to use the **aspnet_regiis.exe** tool to encrypt and decrypt **Web.config** sections in .NET applications. This article covers prerequisites, command execution, and practical examples for securing configuration settings.
Including Web.config While Taking Build in Angular 15 or Less
Feb 27, 2024.
To include the Web.config file in the destination folder during the Angular build, modify the angular.json file. Add the Web.config file to the assets block in the build declaration.
Configuration Transformation (2) - App.Config - SlowCheetah
Jan 23, 2023.
This article will discuss Configuration Transformation (2): App.Config --- SlowCheetah.
Configuration Transformation (1) - Web.Config
Jan 23, 2023.
This article will discuss Configuration Transformation for Web app.
How To Configuring Hybrid Azure AD Join Devices In A Managed Domain
Nov 29, 2022.
In this article, you will learn how to Configuring Hybrid Azure AD Join Devices in a Managed Domain.
Secure Web Application via Web.config File in ASP.NET MVC
Apr 24, 2020.
Here, I have listed items that can be added to the web.config file which can help to secure your ASP.NET web application.
How to Enable and Disable Buttons Using Firebase Remote Configuration in Android
Feb 11, 2020.
In this article, I am going to explain about how to enable and disable mobile application buttons without disturbing application updates using Firebase.
How To Change Database In Web.Config File Programmatically
Aug 17, 2018.
In this article, you will learn How we change database name dynamically in a Web.config file in ASP.NET.
App.Config AutoReader
Jan 17, 2018.
In our day to day development, it is a rare case where we don’t need to read a configuration file. There are many techniques for the treatment of such static classes, singleton classes, etc and it is normally that the Config class is accessible in all projects.
Work With External AppSetting Of Web.Config
Dec 01, 2017.
In this article, you will learn about .NET Configuration Files
Transform Web.Config File While Deploying The Web Application Project
Nov 25, 2017.
One of the nice features that supports Visual Studio 2010 and above versions is Web.Config (XDT) transformations.
Redirecting HTTP Request To HTTPS Using Web.config File
May 14, 2017.
In this article, let us see how to redirect users trying to access via http to https.
Encrypting App.config For Multiple Machines
Sep 22, 2016.
Here, I will teach you how you can encrypt usernames and passwords in your App.config files, using aspnet_regiis.exe, and deploy them to multiple machines easily.
Azure App Service - Edit Web.Config Remotely Using Visual Studio
Aug 04, 2016.
In this article, we will learn how to edit Web.Config on a remote desktop from your Visual Studio.
Web.config File Transformations
Jul 13, 2016.
In this article, you will learn about web.config file transformations in .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.
Web.config Vs App.config Vs Machine.config
Oct 21, 2015.
In this article, I will try to explain the difference between Web.config, App.config and Machine.config.
Create a Custom Setup For Changing App.config
Jul 15, 2015.
This article shows how to create a custom setup that can change our app.config.
Encrypt Your Web or Application Configuration File Data in .NET
Jun 13, 2015.
In this article you will learn how to encrypt your web or application Configuration File data in .NET.
Listing All the WCF Services Available in .config File at Run Time in C#
Mar 04, 2015.
This article demonstrates how to list the services we have taken references of at run time.
How to Fix: Only One <configSections> Element Error in Web.Config
Feb 12, 2015.
In this article you will learn the solution to the common error Only one configSections element allowed.
Microsoft Release Management: Web.Config Tokenization For Website Project
Dec 21, 2014.
Here I have tried to explain one of my implementations of web.config tokenization applicable to website type projects in Visual Studio.
Web.config Transformation
Jul 29, 2014.
This article describes some cool aspects of web.config transformation.
Change An Application's App.Config File Dynamically in WPF C#
Mar 18, 2014.
This article demonstrates how to change the contents of an app.config file using Stream Classes.
Include Multiple Partial Templates in Single Application Using Ng-Template and Config
Feb 05, 2014.
This article explains how to include multiple Partial Templates in a single application using ng-Template and Config.
WCF Service Configuration Using Web.config - Day 11
Oct 25, 2012.
In this article, we will see how to configure a service using a XML-based configuration file i.e. web.config. We will also see definition of endpoints, multiple endpoints and publishing metadata.
Modifying .NET Configuration Files at Runtime
Oct 02, 2012.
In this article we will extend the previous example by creating another Windows Forms application which we can consider as an Administration Console.
Refreshing the .NET Application to Read Modified Configuration Files Values
Oct 02, 2012.
This article assumes that the readers know how to create Web and Windows applications and are familiar with configuration files.
Creating Master Page (MasterPage in Web.config) in ASP.NET: Part 5
Sep 14, 2012.
This is my series of articles on Master Page and in this article we will discuss how to configure a Master Page in the Web.config file.
Configuring Connection String in App.Config File During Runtime For a C# Windows Application
Feb 22, 2012.
This document explains how to configure a connection string at runtime for a Windows application using C#.
Add Key and Values to the Web.config File Dynamically in ASP.NET
Nov 30, 2011.
This article will help you add Key and Values dynamically to a web.config file.
Using Web.Configuration Transformation for Database ConnectionString in ASP.NET
Oct 12, 2011.
In this article we will learn a way to transform the web.config file while we deploy the application.
WCF Series: Using the WCF Service Configuration Editor
Sep 28, 2011.
In this article, we will be seeing how we can create a Config File using the Configuration Editor in WCF.
How to use stored procedure in simple easy way with Web.Config file?
Apr 08, 2011.
In this article I have given simple stored Procedure. After running the first page in Internet Browser, only enter user Id and the data is retrieved from table, showing that it is there in Cookies. You cannot imagine the how faster it is.
Configuration Settings for an ASP.Net Application
Apr 04, 2011.
In ASP.Net, all that needs to be done to configure an application is to create a Configuration file called ‘Web.config’ and place it in the root directory of the application.
Web.Config configuration file in ASP.NET 3.5
Mar 21, 2011.
The web.config file contains information that controls module loading, security configuration, session configuration, and application language and compilation settings.
Creating Custom Sections and Encryption in web.config
Jan 08, 2011.
Web application development requires various kinds of customization. One of the common scenarios is creation of custom sections in web.config.
ASP.NET Session and web.config explained
Nov 12, 2010.
In this article I will explain about ASP.NET Session and web.config.
Programmatically Configure commerce server Sitename in web.config file using SPWebconfigmodification
Sep 22, 2010.
This article shows how to programmatically configure commerce server sitename in web.config file using SPwebconfigmodification.
VS 2010 Deployment (Package, One click deploy and Web.config transformation)
Aug 24, 2010.
In this article we will discuss about 3 important features provided by VS 2010 to ease our deployment task on production and other environment. We will first start with understanding problems with deployment and then move ahead by creating packages , one click deploy and web.config transformation.
Update app.config key value at run time in WPF
May 06, 2010.
In this article I am going to show how we can update a key value in app.config file in WPF. For this add reference of System.Configuration in your application.
Access Values from App.Config in WPF
Jan 05, 2010.
In this article we will see how we can access a value from App.Config in WPF Application.
ASP.NET Web Configuration File
Nov 11, 2009.
Configuration file is an important file in ASP.NET. Learn, what is a Web.Config file? What is in Web.config files? What are the different types of Configuration files in ASP.NET? Machine.config File vs Web.config file.
Web.config file configures fundamental settings
Sep 10, 2008.
Every web application in ASP.NET includes a web.config file that configures fundamental settings from error message to security.
Edit And Encrypt Web.Config Sections Using C# 2.0
May 07, 2007.
An article to illustrate editing and encrypting of sections of the Web.Config file programmatically. Editing and encrypting sections of a Web. config file using C# 2.0 involves using the System. Configuration namespace to manipulate and secure configuration settings.
Using Web.Config in ASP.NET and ASP
Jan 09, 2004.
Web.config acts as a central location for storing the information to be accessed by web pages.
Configuring Applications in .NET
Jun 06, 2002.
The .Net Framework provides a very convenient and flexible way to configure applications at run time.
How to Fix "Maximum Request Length Exceeded" in ASP.NET Applications
Jun 05, 2026.
Learn how to fix the "Maximum Request Length Exceeded" error in ASP.NET and IIS. Configure maxRequestLength and maxAllowedContentLength settings to support large file uploads up to 100 MB or more.
URL-Based Authentication in ASP.NET
Nov 20, 2025.
Secure your ASP.NET applications with URL-based authentication! Learn how to protect specific URLs, folders, and API endpoints using roles and policies in Core and MVC.
Various Ways to Disable ViewState in ASP.Net
Nov 06, 2025.
Learn various methods to disable ViewState in ASP.NET for improved performance. From control-specific to application-wide configurations, master ViewState management. Discover the ViewStateMode property for fine-grained control and optimize your ASP.NET web applications.
How to Troubleshoot Errors in a .NET MVC Website
Oct 25, 2025.
Learn how to troubleshoot errors in a .NET MVC website using debugging techniques, IIS logs, custom error handling, remote debugging, and third-party tools like Application Insights, ELMAH, and NLog. Practical guide for ASP.NET MVC error resolution.
Scope Communication Object in JSP
Feb 28, 2025.
The Scope Communication object consist of session object, application object and pageContext object.
Top Java Spring Boot Scenario-Based Interview Questions
Jun 24, 2024.
Preparing for a Spring Boot interview? Master scenario-based questions covering database migrations with Flyway, REST API exception handling using @ControllerAdvice, Spring Security for authentication, and RestTemplate for consuming RESTful services.
Handling Middleware in Next.js
Jun 23, 2024.
Middleware in Next.js, introduced in version 12, allows code execution before a request is processed. Useful for authentication, logging, URL rewrites, and modifying headers, it runs on the Edge Network for speed. Defined in _middleware.js or _middleware.ts, it enhances request handling and response management efficiently.
Entity Framework In MVC - Part Three
Jul 07, 2018.
This article explains the Code First approach in MVC using Entity Framework. It covers creating a new database from domain classes, reverse engineering an existing database to generate POCO classes, and mapping with DbContext. A step-by-step guide is provided for connecting to a database and adding controllers.
Custom Error Page In ASP.NET
Sep 13, 2015.
In this article we will learn how to customized our yellow screen of death and create an error page.
Hiding the Version Information of .Net Framework Due to Security Issue
Jun 04, 2014.
Learn how to address the "medium-level" security issue of information disclosure in .NET Framework. Follow steps to create a sample website, identify the problem of version information disclosure in URL changes, and resolve it by adding customErrors tag in web.config with mode="On" to handle errors and prevent disclosure.
Basics of IISExpress
Feb 05, 2014.
In this article you will learn the basics of IISExpress.
Introduction to New Relic Platform
Dec 05, 2013.
New Relic is a powerful and open SaaS platform to monitor your entire stack; a broad range of programming languages and frameworks, including Java, .NET, PHP, Ruby, Node.js and Python.
Twitter In Windows Store Application, How It All Works
Aug 06, 2013.
Developing a Twitter Windows Store App involves integrating Twitter APIs using WinJS & JavaScript, enabling features like user authentication, timelines (home, mentions), retweets. Utilizes OAuth for secure access.
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.
Learn .NET in 60 Days - Part 2 (13 Labs)
Mar 02, 2013.
This article is part 2 of Learn .NET in 60 Days series. It will provide further details.
Change Password in PHP
Jun 05, 2012.
In this article we will know how to change a password of a registered user.
Creating Credential Store for Form Authentication in ASP.NET 3.5
Mar 22, 2011.
When we don’t want to validate user on window credential, in such cases we can take help of ASP.NET infrastructure for implementing our own authentication infrastructure which includes custom login page that validate user against credentials like database and later established security context on each request.
How to Retrieve Images from Database (In Layer Architecture)
Feb 27, 2011.
Here you will learn how to Retrieve Images from a Database (In a Layer Architecture).
Forms based authentication in SharePoint 2010 - Part 2
Jan 21, 2011.
In this article we will be seeing how to configure forms based authentication for claims based web application using SQL provider.
Focus on New ASP.NET Vulnerability
Sep 21, 2010.
A new ASP.NET Vulnerability is released by Microsoft. The security hole will allow the attacker to decrypt the ViewState data or retrieve the contents of web.config. We will see the workaround for this issue.
WCF Concurrency (Single, Multiple and Reentrant) and Throttling
Jun 27, 2010.
In this article, we will concentrate on WCF concurrency and throttling. We will first try to understand what are WCF concurrency and the 3 important types of WCF concurrency. We will then see a small sample of WCF concurrency with single and multiple. We will then go through 9 combinations of WCF concurrency and instancing. Finally we will try to understand how to configure throttling using WCF ‘web.config’ file.
FormsAuthentication in ASP.NET
Jun 24, 2010.
Here we show you a basic example of what a web.config file looks like when it has be set to use form authentication. I will go in further detail and explain the tags.
Storing and Retrieving Connection Strings in ASP.NET 2.0/3.5
Nov 04, 2008.
This article demonstrates how to store database connection strings in Web.config in ASP.NET 2.0/3.5 and retrieve it for creating connection objects.
Understanding ADO.Net Provider Factory in .Net 2.0
Aug 08, 2005.
This article describes the ADO.NET Provider Factory in .NET 2.0
Membership Service
Aug 08, 2005.
With every new version are added a bunch of new functionality which eases the development of web applications and keeps up to the required security measures to make the applications less susceptible to external threat.
Introduction to ASP.NET
Nov 17, 2004.
I have seen many tutorials on ASP.NET but most of them starts with coding and writing your first ASP.NET program. But here I have written this tutorial for explaining why there is a need for ASP.NET when classy ASP is working fine, what are the underlying technology behind ASP.NET, and what programming model ASP.NET provides to programmers.
Writing A Generic Data Access Component - Flexible Approach
Jul 18, 2002.
Here is one more flexible approach to achieve the same. I prefer this approach to generic data access.