CSharp Configuration Handling: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

16 December 2025

15 December 2025

  • curprev 23:4323:43, 15 December 2025 Iwiseman talk contribs 3,357 bytes −886 Make an appsetting.json
  • curprev 23:4323:43, 15 December 2025 Iwiseman talk contribs 4,243 bytes +4,243 Created page with "=Introduction= Struggled with the right way to do configuration as there were two approaches so thought I would right down the one that works for me in 2025 =Example Redis Service= ==Create a Config to hold the Setting== <syntaxhighlight lang="c#"> namespace Infrastructure.Caching.Configuration; using Domain.Interfaces.Configuration; public class CacheOptions : ICacheConfig { public string ConnectionString { get; set; } = string.Empty; public string InstanceNam..."