Dorset-Council-UK / GIFramework-Maps

A .NET based web map built with OpenLayers and Bootstrap
MIT License
14 stars 8 forks source link

Tidy up Program.cs #283

Closed RobQuincey-DC closed 2 months ago

RobQuincey-DC commented 2 months ago

Program.cs has grown over time and is now quite messy. It could do with a general tidy up, splitting things off and organising them a bit better.

Omared-1 commented 2 months ago

Hi,

I’ve tidied up the Program.cs , Here’s a summary of what I did:

Refactored Program.cs: • Moved the Azure Key Vault configuration to a separate method (ConfigureKeyVault). • Moved the service configurations to another method (ConfigureServices). • Added comments to explain each section of the code for better readability and maintainability. • These changes should make the file more organized and easier to manage.

Thank you for giving me the opportunity to make my first contribution! Please review the updates and let me know if any further adjustments are needed.

Thanks!