Why use old Asp.net way on GPSTracker #7867
-
I see this line of code that uses the old aspnet way. Why should we use this way instate of using the below approach? And what benefits the old method?
|
Beta Was this translation helpful? Give feedback.
Answered by
ReubenBond
Jul 19, 2022
Replies: 1 comment 1 reply
-
Either way is fine. The sample predates the Minimal API builder, as far as I recall. If you'd like, please submit a PR to update it to use the |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
behroozbc
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Either way is fine. The sample predates the Minimal API builder, as far as I recall. If you'd like, please submit a PR to update it to use the
WebApplicationBuilder
.