Skip to content

Feedback from initial API Review #112

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
10 of 12 tasks
twsouthwick opened this issue Jul 14, 2022 · 10 comments · Fixed by #165
Closed
10 of 12 tasks

Feedback from initial API Review #112

twsouthwick opened this issue Jul 14, 2022 · 10 comments · Fixed by #165
Assignees
Milestone

Comments

@twsouthwick
Copy link
Member

twsouthwick commented Jul 14, 2022

Summary

We had an API review and here are the list of changes we need to make:

Original feedback:

@twsouthwick
Copy link
Member Author

/cc @mjrousos the namespace changes may make sense in your current PR (it at least can't be done until you merge your changes)

@mjrousos
Copy link
Member

Yea, I can make the namespace chances in #110. I'll get that updated tomorrow.

@mjrousos
Copy link
Member

For the .NET Core namespace for the extension methods, should it be Microsoft.AspNetCore.Builders or Microsoft.Extensions.DependencyInjection? The extension methods start by extending IServiceCollection (rather than by extending the web application builder directly).

@twsouthwick
Copy link
Member Author

Microsoft.AspNetCore.Builders - that's the pattern ASP.NET Core wants us to use

@mjrousos
Copy link
Member

Hm... ok. It seems like a lot of the other builders are using MED (AddControllers, AddReverseProxy, etc.) but I'll use Microsoft.AspNetCore.Builders for now and we can ask about it.

@adityamandaleeka adityamandaleeka added this to the preview4 milestone Jul 20, 2022
@twsouthwick twsouthwick self-assigned this Jul 21, 2022
@twsouthwick twsouthwick changed the title Feedback from API Review Feedback from initial API Review Aug 2, 2022
@adityamandaleeka
Copy link
Member

cc @mjrousos for "NetworkTimeout could probably be made an HttpClient"

@adityamandaleeka
Copy link
Member

Looks like the only one remaining is

Add [Obsolete] to APIs that will cause sync over async and expose async counterparts on the ASP.NET Core build #136

@danroth27
Copy link
Member

Add [Obsolete] to APIs that will cause sync over async and expose async counterparts on the ASP.NET Core build

Which APIs are we talking about obsoleting? Are we talking about APIs in the System.Web Adapters? We haven't shipped a stable release of the System.Web Adapters package yet, so if we need to make an API change we can just do so without obsoleting anything.

@twsouthwick
Copy link
Member Author

@danroth27 this is about providing a pathway for users using APIs that are currently doing sync over async due to the shape of System.Web APIs. We would need to keep the APIs themselves, but the obsolete would identify what they should use instead. This was an item that was not necessary initially (and does not block us from releasing). I've created a separate issue to discuss what we should do here: #164

@twsouthwick
Copy link
Member Author

Found a type we missed to update. Reopening until #165 is merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants