ApplicationInsights-Kubernetes
ApplicationInsights-Kubernetes copied to clipboard
Refresh all examples to .NET 6
The current position of examples are a bit awkward:
- They have been out of date (.NET Core 2.0 projects).
- The are unnecessary complex (A lot of ASP.NET Core MVC projects).
I think we shall learn the lesson:
I am proposing we providing new examples based on most simple project types that make sense:
- [ ] WebAPI for ASP.NET Core (The bootstrap for WebAPI is the common base for various projects.)
- [ ] Minimal API
- [ ] Traditional Controller based
- [x] .NET Worker Service for console application
- Worker service isn't the simplest console application, but fits best in K8s scenario.
What do you think?
Overall I think it is a great idea! 👍
With regards to minimal API vs controller-style: ideally we should have at least one example of each kind. The reason is , doing greenfield development, minimal API might be more popular, but there is a lot of existing apps that use controller-style and might need to be moved to K8s. (channeling ASP.NET PM here)
Hi @karolz-ms I think that is a good idea!
All examples planned have been updated. Close this issue. Please open new issues if you want examples for other scenarios.