Bryan Avery – Blog

Search
Skip to content
  • About Me
  • Microsoft Certified
  • Resume
.NET 4.0, C#

App.Config Custom Configuration

31 October 2008 bryan 1 Comment

I wrote this small POC, with a little help from samples around the Internet, to retrieve a custom configuration from the application config file (such as web.config)

It uses the Microsoft classes ConfigurationSection, ConfigurationElementCollection,  and ConfigurationElement

CustomerConfiguration.zip (3.39 kb)

Configuration

Post navigation

Previous PostIs LINQ to SQL about to be killed off?Next Post.NET Framework 3.5 SP1 and 4.0 Poster

this and that

Recent Posts

  • Exploring the Frontier of Artificial General Intelligence: The Next Leap in AI Evolution
  • Responsible AI Principles in Business: A Comprehensive Guide
  • Leveraging the Azure Well-Architected Framework: A Personal Journey as an Application Architect
  • Integrating OpenAI into E-commerce: A Microservices Approach
  • How to Craft the Perfect ChatGPT Prompt for Maximum Output

Recent Comments

  • Jeremy Price on URL Activity Tampering and how to prevent it in MVC
  • coppermill on Managing Sprints in a Scrum
  • Khang Truong on Managing Sprints in a Scrum
  • Luke Briner on Allow access to Azure services, what does this actually mean?
  • Comparing SecureStrings – Bryan Avery – Blog on Cryptography .NET, Avoiding Timing Attack

Archives

  • November 2023
  • October 2023
  • September 2023
  • August 2023
  • July 2023
  • June 2023
  • May 2023
  • April 2023
  • November 2022
  • July 2022
  • May 2022
  • January 2022
  • November 2021
  • October 2021
  • September 2021
  • July 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • November 2020
  • August 2020
  • June 2020
  • May 2020
  • April 2020
  • February 2020
  • January 2020
  • September 2019
  • April 2019
  • February 2019
  • January 2019
  • November 2018
  • October 2018
  • September 2018
  • August 2018
  • July 2018
  • May 2018
  • April 2018
  • March 2018
  • February 2018
  • January 2018
  • November 2017
  • August 2017
  • July 2017
  • June 2017
  • May 2017
  • March 2017
  • December 2016
  • November 2016
  • October 2016
  • May 2016
  • April 2016
  • February 2016
  • December 2014
  • May 2014
  • March 2014
  • February 2014
  • January 2014
  • December 2013
  • October 2013
  • August 2013
  • July 2013
  • June 2013
  • May 2013
  • April 2013
  • March 2013
  • February 2013
  • January 2013
  • December 2012
  • November 2012
  • October 2012
  • September 2012
  • August 2012
  • June 2012
  • April 2012
  • March 2012
  • February 2012
  • January 2012
  • December 2011
  • September 2010
  • July 2010
  • June 2010
  • May 2010
  • April 2010
  • March 2010
  • February 2010
  • January 2010
  • November 2009
  • October 2009
  • September 2009
  • August 2009
  • July 2009
  • June 2009
  • May 2009
  • April 2009
  • March 2009
  • February 2009
  • January 2009
  • December 2008
  • November 2008
  • October 2008
  • September 2008
  • July 2008
  • June 2008
  • May 2008
  • October 2007
  • July 2007
  • February 2007
  • February 2006
  • December 2005
  • November 2005
  • November 2001

Categories

  • >NET Core
  • .NET 4.0
  • Agile
  • Ai
  • ALM
  • API
  • App Service
  • Architecture
  • Architecture
  • ASP.NET Identity
  • Async
  • Attributes
  • Auto Deployment
  • Azure
  • Azure Resource Manager
  • Azure SQL Server
  • BLOB
  • Blog
  • BlogEngine.NET
  • Bootstrip
  • C#
  • ChatGPT
  • Concurrency
  • Data
  • Design Patterns
  • Development
  • Docker
  • EntityFramework
  • Event Bus
  • Extensions
  • GDPR
  • git
  • GitHub
  • HTML
  • I18N
  • IIS 7
  • IIS8
  • Internationalization
  • IoC
  • iOS
  • IRepository
  • JavaScript
  • Jenkins
  • Joomla
  • json
  • Key Vault
  • Kubernetes
  • LINQ
  • LINQ2SQL
  • Mapping
  • MEF
  • Microservice
  • MongoDB
  • MVC
  • Node.js
  • NoSQL
  • NuGet
  • OpenAPI
  • Patterns
  • pentest
  • Programming Principles
  • Queue
  • Raspberry PI
  • Red Hat
  • Repository Pattern
  • REST
  • Security
  • SignalR
  • SOAP
  • SQL
  • Symmetric
  • Synthetic Data
  • Team Services
  • TFS
  • TypeScript
  • Uncategorized
  • Unit Testing
  • Visual Studio 2012
  • Visual Studio 2013
  • Visual Studio 2015
  • Visual Studio 2017
  • Visual Studio Code
  • WCF
  • Web API
  • WooCommerce
  • WordPress

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Categories

  • >NET Core
  • .NET 4.0
  • Agile
  • Ai
  • ALM
  • API
  • App Service
  • Architecture
  • Architecture
  • ASP.NET Identity
  • Async
  • Attributes
  • Auto Deployment
  • Azure
  • Azure Resource Manager
  • Azure SQL Server
  • BLOB
  • Blog
  • BlogEngine.NET
  • Bootstrip
  • C#
  • ChatGPT
  • Concurrency
  • Data
  • Design Patterns
  • Development
  • Docker
  • EntityFramework
  • Event Bus
  • Extensions
  • GDPR
  • git
  • GitHub
  • HTML
  • I18N
  • IIS 7
  • IIS8
  • Internationalization
  • IoC
  • iOS
  • IRepository
  • JavaScript
  • Jenkins
  • Joomla
  • json
  • Key Vault
  • Kubernetes
  • LINQ
  • LINQ2SQL
  • Mapping
  • MEF
  • Microservice
  • MongoDB
  • MVC
  • Node.js
  • NoSQL
  • NuGet
  • OpenAPI
  • Patterns
  • pentest
  • Programming Principles
  • Queue
  • Raspberry PI
  • Red Hat
  • Repository Pattern
  • REST
  • Security
  • SignalR
  • SOAP
  • SQL
  • Symmetric
  • Synthetic Data
  • Team Services
  • TFS
  • TypeScript
  • Uncategorized
  • Unit Testing
  • Visual Studio 2012
  • Visual Studio 2013
  • Visual Studio 2015
  • Visual Studio 2017
  • Visual Studio Code
  • WCF
  • Web API
  • WooCommerce
  • WordPress

Page List

  • About Me
  • Microsoft Certified
  • Resume

Tags

  • Andriod
  • async
  • Attributes
  • blog
  • blogengine
  • cache
  • cartoons
  • Castle Windsor
  • Code UI
  • Configuration
  • continuous integration
  • csv
  • dataset
  • datetime
  • Debian
  • debug
  • done
  • dynamic data
  • Elmah
  • entity framework
  • exceptions
  • git
  • Guidelines
  • HTML
  • HTTP
  • Internationalization
  • iPhone
  • linq
  • Patterns
  • performance
  • photo album
  • plugin
  • refections
  • REST API
  • screencast
  • scrum
  • StyleCop
  • subversion
  • svn
  • Swagger
  • testing
  • TFS
  • vista
  • xp
  • XSLT
About Me Proudly powered by WordPress