Steven Atkinson Tech Blog
  • Home
  • About Me
  • Contact Me
  • The Site
Sign in Subscribe

Software Architecture

A collection of 28 posts
Deriving from our RegistryConfig class
C Sharp Programming

Deriving from our RegistryConfig class

Now we have our abstract RegistryConfig class ready to use we can create our new subclass. This will hopefully show you how easy it is to create properties that utilize the methods of the RegistryConfig class! Creating our subclass Lets call our new class TestConfig and build a constructor that
23 Apr 2014 1 min read
Extending the C# Registry-based configuration class
C Sharp Programming

Extending the C# Registry-based configuration class

So we now have our RegistryConfig class ready... but how can we make it better?! Use reflection! We will use reflection to perform initialization on the classes properties, so that the settings can be added to the registry straight away. This will ensure that the registry has all the properties
22 Apr 2014 1 min read
C# .NET Registry-based configuration base class
C Sharp Programming

C# .NET Registry-based configuration base class

I usually find myself wanting to be able to configure my application without having to change the underlying code. And although Visual Studio allows you to create application settings inside the IDE (saved to a .exe.config file), I would prefer to use the registry to hold my applications configuration.
21 Apr 2014 1 min read
← Newer Posts Page 2 of 2
Steven Atkinson Tech Blog © 2026
  • Sign up
Powered by Ghost