Skip to content

Commit 5e2259f

Browse files
HaoKcaptainsafiapranavkm
authored
Add MVC.Core api docs (#26469)
* Add docs * Add api docs * Add xml doc * Reenable warnings on identity projects * Razor pages docs * Add doc * Missed files * Add docs * Apply suggestions from code review Co-authored-by: Safia Abdalla <safia@microsoft.com> * Apply suggestions from code review Co-authored-by: Safia Abdalla <safia@microsoft.com> * PR feedback * Update src/Mvc/Mvc.Core/src/ConsumesAttribute.cs Co-authored-by: Pranav K <prkrishn@hotmail.com> * Update src/Mvc/Mvc.Core/src/ModelBinding/Validation/ValidationVisitor.cs Co-authored-by: Pranav K <prkrishn@hotmail.com> * Update src/Mvc/Mvc.Core/src/Routing/UrlHelperBase.cs Co-authored-by: Pranav K <prkrishn@hotmail.com> * Update src/Mvc/Mvc.Core/src/ModelBinding/Validation/ValidationVisitor.cs Co-authored-by: Pranav K <prkrishn@hotmail.com> * Update src/Mvc/Mvc.Core/src/Infrastructure/FileResultExecutorBase.cs Co-authored-by: Pranav K <prkrishn@hotmail.com> * Update src/Mvc/Mvc.RazorPages/src/DependencyInjection/MvcRazorPagesMvcCoreBuilderExtensions.cs Co-authored-by: Pranav K <prkrishn@hotmail.com> * Update src/Mvc/Mvc.Core/src/Routing/UrlHelperBase.cs Co-authored-by: Pranav K <prkrishn@hotmail.com> * Update src/Mvc/Mvc.RazorPages/src/DependencyInjection/MvcRazorPagesMvcCoreBuilderExtensions.cs Co-authored-by: Pranav K <prkrishn@hotmail.com> * Update src/Mvc/Mvc.Core/src/Routing/UrlHelperBase.cs Co-authored-by: Pranav K <prkrishn@hotmail.com> * Update ValidationVisitor.cs Co-authored-by: Safia Abdalla <safia@microsoft.com> Co-authored-by: Pranav K <prkrishn@hotmail.com>
1 parent 0f7e8ec commit 5e2259f

File tree

128 files changed

+2294
-110
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

128 files changed

+2294
-110
lines changed

src/Identity/ApiAuthorization.IdentityServer/src/Microsoft.AspNetCore.ApiAuthorization.IdentityServer.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<Description>ASP.NET Core API Authorization package powered by Identity Server.</Description>
66
<GenerateDocumentationFile>true</GenerateDocumentationFile>
77
<PackageTags>aspnetcore;apiauth;identity</PackageTags>
8+
<NoWarn>$(NoWarn.Replace('1591', ''))</NoWarn>
89
<!-- We are a package that depends on the shared framework, this allows us to
910
avoid errors during restore -->
1011
<GenerateErrorForMissingTargetingPacks>false</GenerateErrorForMissingTargetingPacks>

src/Identity/ApiAuthorization.IdentityServer/src/Options/ApiScopeCollection.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88

99
namespace Microsoft.AspNetCore.ApiAuthorization.IdentityServer
1010
{
11+
/// <summary>
12+
/// A collection of <see cref="ApiScope"/>.
13+
/// </summary>
1114
public class ApiScopeCollection : Collection<ApiScope>
1215
{
1316
/// <summary>

src/Identity/Core/src/Microsoft.AspNetCore.Identity.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
44
<Description>ASP.NET Core Identity is the membership system for building ASP.NET Core web applications, including membership, login, and user data. ASP.NET Core Identity allows you to add login features to your application and makes it easy to customize data about the logged in user.</Description>
55
<TargetFramework>$(DefaultNetCoreTargetFramework)</TargetFramework>
66
<IsAspNetCoreApp>true</IsAspNetCoreApp>
7+
<NoWarn>$(NoWarn.Replace('1591', ''))</NoWarn>
78
<GenerateDocumentationFile>true</GenerateDocumentationFile>
89
<PackageTags>aspnetcore;identity;membership</PackageTags>
910
<IsPackable>false</IsPackable>

src/Identity/EntityFrameworkCore/src/Microsoft.AspNetCore.Identity.EntityFrameworkCore.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
44
<Description>ASP.NET Core Identity provider that uses Entity Framework Core.</Description>
55
<TargetFrameworks>netstandard2.1;$(DefaultNetCoreTargetFramework)</TargetFrameworks>
66
<GenerateDocumentationFile>true</GenerateDocumentationFile>
77
<PackageTags>aspnetcore;entityframeworkcore;identity;membership</PackageTags>
8+
<NoWarn>$(NoWarn.Replace('1591', ''))</NoWarn>
89
</PropertyGroup>
910

1011
<ItemGroup>

src/Identity/Extensions.Core/src/Microsoft.Extensions.Identity.Core.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
<IsAspNetCoreApp>true</IsAspNetCoreApp>
88
<GenerateDocumentationFile>true</GenerateDocumentationFile>
99
<PackageTags>aspnetcore;identity;membership</PackageTags>
10+
<NoWarn>$(NoWarn.Replace('1591', ''))</NoWarn>
1011
</PropertyGroup>
1112

1213
<ItemGroup>

src/Identity/Extensions.Stores/src/Microsoft.Extensions.Identity.Stores.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
<IsAspNetCoreApp>true</IsAspNetCoreApp>
88
<GenerateDocumentationFile>true</GenerateDocumentationFile>
99
<PackageTags>aspnetcore;identity;membership</PackageTags>
10+
<NoWarn>$(NoWarn.Replace('1591', ''))</NoWarn>
1011
</PropertyGroup>
1112

1213
<ItemGroup>

src/Identity/UI/src/Microsoft.AspNetCore.Identity.UI.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<EnableDefaultRazorGenerateItems>false</EnableDefaultRazorGenerateItems>
1313
<DisableFastUpToDateCheck>true</DisableFastUpToDateCheck>
1414
<AddRazorSupportForMvc>true</AddRazorSupportForMvc>
15+
<NoWarn>$(NoWarn.Replace('1591', ''))</NoWarn>
1516

1617
<DisableStaticWebAssetsBuildPropsFileGeneration>true</DisableStaticWebAssetsBuildPropsFileGeneration>
1718
<StaticWebAssetsDisableProjectBuildPropsFileGeneration>true</StaticWebAssetsDisableProjectBuildPropsFileGeneration>

src/Mvc/Mvc.Abstractions/src/Microsoft.AspNetCore.Mvc.Abstractions.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
44
<Description>ASP.NET Core MVC abstractions and interfaces for action invocation and dispatching, authorization, action filters, formatters, model binding, routing, validation, and more.
@@ -10,6 +10,7 @@ Microsoft.AspNetCore.Mvc.IActionResult</Description>
1010
<PackageTags>aspnetcore;aspnetcoremvc</PackageTags>
1111
<IsPackable>false</IsPackable>
1212
<Nullable>enable</Nullable>
13+
<NoWarn>$(NoWarn.Replace('1591', ''))</NoWarn>
1314
</PropertyGroup>
1415

1516
<ItemGroup>

src/Mvc/Mvc.Abstractions/src/ModelBinding/Validation/ValidationStateDictionary.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ public ValidationStateDictionary()
2525
_inner = new Dictionary<object, ValidationStateEntry>(ReferenceEqualityComparer.Instance);
2626
}
2727

28+
/// <inheritdoc />
2829
public ValidationStateEntry? this[object key]
2930
{
3031
get
@@ -134,4 +135,4 @@ IEnumerator IEnumerable.GetEnumerator()
134135
return ((IDictionary<object, ValidationStateEntry>)_inner).GetEnumerator();
135136
}
136137
}
137-
}
138+
}

src/Mvc/Mvc.Analyzers/src/Microsoft.AspNetCore.Mvc.Analyzers.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<Description>CSharp Analyzers for ASP.NET Core MVC.</Description>
44
<PackageTags>aspnetcore;aspnetcoremvc</PackageTags>
@@ -10,6 +10,7 @@
1010
<GenerateDocumentationFile>false</GenerateDocumentationFile>
1111
<NuspecFile>$(MSBuildProjectName).nuspec</NuspecFile>
1212
<Nullable>enable</Nullable>
13+
<NoWarn>$(NoWarn.Replace('1591', ''))</NoWarn>
1314
</PropertyGroup>
1415

1516
<ItemGroup>

0 commit comments

Comments
 (0)