dotnet-api-docs
dotnet-api-docs copied to clipboard
.NET API reference documentation (.NET 5+, .NET Core, .NET Framework)
### Type of issue Missing information ### Description All of these methods throw if a value is out of range, they should probably document that. ### Page URL https://learn.microsoft.com/en-us/dotnet/api/System.Buffers.ReadOnlySequence-1.Slice?view=net-9.0 ###...
### Type of issue Missing information ### Description `PipeWriter.GetMemory` and `PipeWriter.GetSpan` should explicitly call out that they do not guarantee returning buffers that have been cleared. ### Page URL https://learn.microsoft.com/en-us/dotnet/api/system.io.pipelines.pipewriter?view=net-9.0...
### Describe the issue or suggestion - Add descriptions to empty namespace (ns-*.xml) files - Add descriptions to member groups
### Type of issue Outdated article ### Description It seems that setting this property to `null` or an empty string removes the content type header, instead of throwing the documented...
### Type of issue Typo ### Description [在此处输入反馈] ``` using Microsoft.AspNetCore.Mvc; namespace WebApplic.Controllers { [ApiController] [Route("[controller]")] public class WeatherForecastController : ControllerBase { private static readonly string[] Summaries = new[] {...
### Type of issue Missing information ### Description UserDirectories talk about adding your own path but does not provide the way to do it within dotnet nor does it talk...
### Describe the issue or suggestion The documentation for [`OrderedDictionary`](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.ordereddictionary-2?view=net-9.0) does not include any information about how it differs from using a `Dictionary`. The summary of "Represents a collection of...
Minor grammar fixes on the Task.WhenAny Method page.
**Issue description** The docs for `HttpClient.GetStreamAsync` state that an `HttpRequestException` will be raised if: > The request failed due to an underlying issue such as network connectivity, DNS failure, server...
### Type of issue Missing information ### Description It seems the DateTime.TryParseExact method can throw a `System.FormatException` if the format provided is invalid. When tested in ASP.NET MVC 4.7.2, the...