zhukovdm / smartwalk

🗺️ Web application for keyword-aware route search
https://smartwalk.vercel.app
MIT License
2 stars 0 forks source link

Refactor `Program.cs` #39

Closed zhukovdm closed 1 month ago

zhukovdm commented 6 months 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.

https://github.com/zhukovdm/smartwalk/blob/86172c112baa8a47f31057fdd9697809c7fe5090/app/backend/SmartWalk.Api/Program.cs#L20-L21