Closed zhukovdm closed 1 month ago
Refactor entry point, add try-catch-finally, improve readability. Previous versions of ASP.NET have Startup.cs and host configuration separately, so that all the bloat is moved to specific files.
try-catch-finally
Startup.cs
https://github.com/zhukovdm/smartwalk/blob/86172c112baa8a47f31057fdd9697809c7fe5090/app/backend/SmartWalk.Api/Program.cs#L20-L21
Refactor entry point, add
try-catch-finally
, improve readability. Previous versions of ASP.NET haveStartup.cs
and host configuration separately, so that all the bloat is moved to specific files.https://github.com/zhukovdm/smartwalk/blob/86172c112baa8a47f31057fdd9697809c7fe5090/app/backend/SmartWalk.Api/Program.cs#L20-L21