Skip to content

API ref docs #26397

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
17 tasks done
pranavkm opened this issue Sep 28, 2020 · 11 comments
Closed
17 tasks done

API ref docs #26397

pranavkm opened this issue Sep 28, 2020 · 11 comments
Labels
area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions Docs This issue tracks updating documentation feature-platform Deprecated: Cross-cutting issues related to ASP.NET Core as a platform
Milestone

Comments

@pranavkm
Copy link
Contributor

pranavkm commented Sep 28, 2020

This issue tracks filling in the blanks in our API ref docs. We'd like to make sure all public API surface in our types are documented and that we're able to enable the doc warning CS1591 in our projects.

Later this week, we'll follow up on doing a pass on APIs that are commonly used by project templates and user code to figure out if we need expand on the documentation coverage there or if the language can be simplified. We want to incorporate more of our concept docs too if it is helpful. Feel free to do an initial pass on areas that you're working on to also cover this.

Once a project has 100% doc coverage, consider enabling warnings for missing docs by adding this to your project file:

<NoWarn>$(NoWarn.Replace('1591', ''))</NoWarn>
@pranavkm pranavkm added this to the 5.0.0 milestone Sep 28, 2020
@pranavkm pranavkm added the Docs This issue tracks updating documentation label Sep 28, 2020
@JunTaoLuo JunTaoLuo self-assigned this Sep 28, 2020
@HaoK
Copy link
Member

HaoK commented Sep 28, 2020

@pranavkm just double checking in case we supposed to be swapped MVC/Components for you and Security/Auth for me?

@Pilchie Pilchie added the feature-platform Deprecated: Cross-cutting issues related to ASP.NET Core as a platform label Sep 29, 2020
pranavkm added a commit that referenced this issue Sep 29, 2020
pranavkm added a commit that referenced this issue Sep 30, 2020
ajaybhargavb pushed a commit that referenced this issue Sep 30, 2020
* Add docs for Authentication.Abstractions

Contributes to #26397

* Turn on docs warning for Authentication.Core

* Update src/Http/Authentication.Abstractions/src/AuthenticationProperties.cs

* Update src/Http/Authentication.Abstractions/src/AuthenticationProperties.cs
@halter73
Copy link
Member

halter73 commented Oct 5, 2020

I'm still working on some last-minute 5.0 fixes. I wonder if it wouldn't make more sense for me to take Kestrel and someone else to take "Session, Diagnostics.EntityFrameworkCore, MiddlewareAnalysis, , HeaderPropagation, NodeServices", but I can still do a first draft for those API docs.

@pranavkm
Copy link
Contributor Author

pranavkm commented Oct 5, 2020

wonder if it wouldn't make more sense for me to take Kestrel and someone else to take "Session, Diagnostics.EntityFrameworkCore, MiddlewareAnalysis, , HeaderPropagation, NodeServices",

Sure, if you feel you'd be more productive that way. I've been trying to mix things up to see if we can benefit from getting a secondary perspective authoring the content while the area owner reviews the content.

@jkotalik
Copy link
Contributor

jkotalik commented Oct 9, 2020

@pranavkm @SteveSandersonMS @javiercn will you all be able to handle these API docs soon?

pranavkm added a commit that referenced this issue Oct 12, 2020
* Google / Facebook / Microsoft Account auth
* Authorization, Authorization.Policy

Contributes to #26397
@SteveSandersonMS
Copy link
Member

@jkotalik Yes, submitted #26889

mkArtakMSFT pushed a commit that referenced this issue Oct 14, 2020
* Add docs for remaining security items

* Google / Facebook / Microsoft Account auth
* Authorization, Authorization.Policy

Contributes to #26397

* Apply suggestions from code review

Co-authored-by: Chris Ross <[email protected]>

* Update src/Security/Authorization/Policy/src/AuthorizationMiddleware.cs

Co-authored-by: Chris Ross <[email protected]>
@pranavkm pranavkm removed their assignment Oct 14, 2020
@javiercn javiercn removed their assignment Oct 21, 2020
@javiercn
Copy link
Member

@pranavkm this is done now

@dougbu
Copy link
Contributor

dougbu commented Oct 21, 2020

@javiercn, @JunTaoLuo, and @pranavkm does this mean we can remove the $(NoWarn) setting for CS1591 errors and get rid of <NoWarn>$(NoWarn.Replace('1591', ''))</NoWarn> overrides❔

@JamesNK
Copy link
Member

JamesNK commented Oct 21, 2020

We should explore inverting it so there is no CS1591 in NoWarn by default. Remove CS1591 from top-level msbuild NoWarn and remove the NoWarn overrides. There will be projects where it needs to be added back (e.g. all test projects)

@pranavkm
Copy link
Contributor Author

The NoWarn we have in the project files was to workaround an Arcade default: https://github.com/dotnet/arcade/blob/4873d157a8f34f8cc7e28b3f9938b32c642ef542/src/Microsoft.DotNet.Arcade.Sdk/tools/ProjectDefaults.props#L94. We could follow @JamesNK suggestion and apply the workaround by default while letting individual projects undo it. Filed #27106 to track this.

@dougbu
Copy link
Contributor

dougbu commented Oct 22, 2020

  1. We also have the following making 1591 a non-error:

    <WarningsNotAsErrors>$(WarningsNotAsErrors);CS1591</WarningsNotAsErrors>

  2. We already had Make doc comments required on public APIs #12067. I therefore closed Consider enabling CS1591 in AspNetCore by default for src projects #27106.

@ghost ghost locked as resolved and limited conversation to collaborators Nov 21, 2020
@amcasey amcasey added area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions and removed area-runtime labels Aug 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions Docs This issue tracks updating documentation feature-platform Deprecated: Cross-cutting issues related to ASP.NET Core as a platform
Projects
None yet
Development

No branches or pull requests