TypedResults
Empty
Extensions
Accepted(String)
Accepted(Uri)
Accepted<TValue>(String, TValue)
Accepted<TValue>(Uri, TValue)
AcceptedAtRoute(String, Object)
AcceptedAtRoute(String, RouteValueDictionary)
AcceptedAtRoute<TValue>(TValue, String, Object)
AcceptedAtRoute<TValue>(TValue, String, RouteValueDictionary)
BadRequest()
BadRequest<TValue>(TValue)
Bytes(Byte[], String, String, Boolean, DateTimeOffset?, EntityTagHeaderValue)
Bytes(ReadOnlyMemory<Byte>, String, String, Boolean, DateTimeOffset?, EntityTagHeaderValue)
Challenge(AuthenticationProperties, IList<String>)
Conflict()
Conflict<TValue>(TValue)
Content(String, MediaTypeHeaderValue)
Content(String, String, Encoding)
Content(String, String, Encoding, Int32?)
Created()
Created(String)
Created(Uri)
Created<TValue>(String, TValue)
Created<TValue>(Uri, TValue)
CreatedAtRoute(String, Object)
CreatedAtRoute(String, RouteValueDictionary)
CreatedAtRoute<TValue>(TValue, String, Object)
CreatedAtRoute<TValue>(TValue, String, RouteValueDictionary)
File(Byte[], String, String, Boolean, DateTimeOffset?, EntityTagHeaderValue)
File(Stream, String, String, DateTimeOffset?, EntityTagHeaderValue, Boolean)
Forbid(AuthenticationProperties, IList<String>)
InternalServerError()
InternalServerError<TValue>(TValue)
Json<TValue>(TValue, JsonSerializerContext, String, Int32?)
Json<TValue>(TValue, JsonSerializerOptions, String, Int32?)
Json<TValue>(TValue, JsonTypeInfo<TValue>, String, Int32?)
LocalRedirect(String, Boolean, Boolean)
NoContent()
NotFound()
NotFound<TValue>(TValue)
Ok()
Ok<TValue>(TValue)
PhysicalFile(String, String, String, DateTimeOffset?, EntityTagHeaderValue, Boolean)
Problem(ProblemDetails)
Problem(String, String, Int32?, String, String, IDictionary<String, Object>)
Problem(String, String, Int32?, String, String, IEnumerable<KeyValuePair<String, Object>>)
Redirect(String, Boolean, Boolean)
RedirectToRoute(String, Object, Boolean, Boolean, String)
RedirectToRoute(String, RouteValueDictionary, Boolean, Boolean, String)
ServerSentEvents<T>(IAsyncEnumerable<SseItem<T>>)
ServerSentEvents(IAsyncEnumerable<String>, String)
ServerSentEvents<T>(IAsyncEnumerable<T>, String)
SignIn(ClaimsPrincipal, AuthenticationProperties, String)
SignOut(AuthenticationProperties, IList<String>)
StatusCode(Int32)
Stream(PipeReader, String, String, DateTimeOffset?, EntityTagHeaderValue, Boolean)
Stream(Stream, String, String, DateTimeOffset?, EntityTagHeaderValue, Boolean)
Stream(Func<Stream, Task>, String, String, DateTimeOffset?, EntityTagHeaderValue)
Text(String, String, Encoding)
Text(String, String, Encoding, Int32?)
Text(ReadOnlySpan<Byte>, String, Int32?)
Unauthorized()
UnprocessableEntity()
UnprocessableEntity<TValue>(TValue)
ValidationProblem(IDictionary<String, String[]>, String, String, String, String, IDictionary<String, Object>)
ValidationProblem(IEnumerable<KeyValuePair<String, String[]>>, String, String, String, String, IEnumerable<KeyValuePair<String, Object>>)
VirtualFile(String, String, String, DateTimeOffset?, EntityTagHeaderValue, Boolean)
net10.0
namespace Microsoft.AspNetCore.Http
{
public static class TypedResults
{
public static ContentHttpResult! Content(string? content, MediaTypeHeaderValue! contentType);
}
}
| .NET | 7.08.09.010.0 |
|---|---|
Information specific to net10.0 | |
| Assembly | Microsoft.AspNetCore.Http.Results , Version=10.0.0.0, PublicKeyToken=adb9793829ddae60 |
| Referencing | Requires any:
|
| Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API