Skip to content

Latest commit

 

History

History

net10

ASP.NET Core 10 (7)

These samples require SDK 10-preview.3

  • open-api-8

    This sample shows how to populate OpenAPI document with metadata from XML doc comments on methods, class, and members.

  • open-api-9

    This sample shows how to generate OpenAPI documentation YAML format.

  • redirect-http-result-is-local-url

    This sample how to use RedirectHttpResult.IsLocalUrl to detect if a URL is local.

  • sse-2

    Use Results.ServerSentEvents to return Server Side Events on Minimal API.

  • sse-3

    Use Results.ServerSentEvents to return Server Side Events with Event Type on Minimal API.

  • sse-4

    Use Results.ServerSentEvents to return Server Side Events with mixed events on Minimal API.

Validation

  • validation-1

    This example shows how the to validate complex object bound with the route via [AsParameter] attribute.