Skip to content

Fast.DynamicApplication public API

Targets: net8.0;net9.0;net10.0. This is a declaration and XML-comment reference. See the module guide for usage and constraints.

Source commit: 43554c07f6c216f80b509bd535c0a5b66ae7f2e8. Maintained through scripts/export-dotnet-api.ps1 -Language en; ordinary site builds consume this file directly.

Fast.DynamicApplication.ApiDescriptionSettingsAttribute

Source · Targets: net8.0, net9.0, net10.0

csharp
[SuppressSniffer]
[AttributeUsage(AttributeTargets.Interface | AttributeTargets.Class | AttributeTargets.Method)]
public sealed class ApiDescriptionSettingsAttribute : ApiExplorerSettingsAttribute

API description settings

Fast.DynamicApplication.ApiDescriptionSettingsAttribute.ApiDescriptionSettingsAttribute

Source · Targets: net8.0, net9.0, net10.0

csharp
public ApiDescriptionSettingsAttribute()

Initializes a new instance of the class

Fast.DynamicApplication.ApiDescriptionSettingsAttribute.ApiDescriptionSettingsAttribute

Source · Targets: net8.0, net9.0, net10.0

csharp
public ApiDescriptionSettingsAttribute(bool enabled)

Initializes a new instance of the class

  • Parameter enabled: Whether the feature is enabled

Fast.DynamicApplication.ApiDescriptionSettingsAttribute.ApiDescriptionSettingsAttribute

Source · Targets: net8.0, net9.0, net10.0

csharp
public ApiDescriptionSettingsAttribute(params string[] groups)

Initializes a new instance of the class

  • Parameter groups: Documentation groups

Fast.DynamicApplication.ApiDescriptionSettingsAttribute.Name

Source · Targets: net8.0, net9.0, net10.0

csharp
public string Name { get; set; }

Custom name

Fast.DynamicApplication.ApiDescriptionSettingsAttribute.Module

Source · Targets: net8.0, net9.0, net10.0

csharp
public string Module { get; set; }

Module name

Fast.DynamicApplication.ApiDescriptionSettingsAttribute.Version

Source · Targets: net8.0, net9.0, net10.0

csharp
public string Version { get; set; }

Version number

Fast.DynamicApplication.ApiDescriptionSettingsAttribute.Groups

Source · Targets: net8.0, net9.0, net10.0

csharp
public string[] Groups { get; set; }

Group

Fast.DynamicApplication.ApiDescriptionSettingsAttribute.Order

Source · Targets: net8.0, net9.0, net10.0

csharp
public int Order { get; set; }

Order

Fast.DynamicApplication.ApiDescriptionSettingsAttribute.Description

Source · Targets: net8.0, net9.0, net10.0

csharp
public string Description { get; set; }

Additional description; supports HTML

Fast.DynamicApplication.DynamicApplicationContext

Source · Targets: net8.0, net9.0, net10.0

csharp
[SuppressSniffer]
public static class DynamicApplicationContext

Dynamic Application context

Fast.DynamicApplication.DynamicApplicationContext.RoutePrefix

Source · Targets: net8.0, net9.0, net10.0

csharp
public static string RoutePrefix { get; internal set; } = null;

Route prefix

Fast.DynamicApplication.DynamicApplicationContext.ControllerOrderCollection

Source · Targets: net8.0, net9.0, net10.0

csharp
public static ConcurrentDictionary<string, (string, int, Type)> ControllerOrderCollection { get; set; } = new();

Controller ordering collection

Fast.DynamicApplication.DynamicApplicationContext.IsApiController

Source · Targets: net8.0, net9.0, net10.0

csharp
public static bool IsApiController(Type type)

Whether this is an API controller

  • Parameter type: Target type
  • Returns: Returns true when the condition is met; otherwise false

Fast.DynamicApplication.IServiceCollectionExtension

Source · Targets: net8.0, net9.0, net10.0

csharp
[SuppressSniffer]
public static class IServiceCollectionExtension

Dynamic API extensions for IServiceCollection

Fast.DynamicApplication.IServiceCollectionExtension.AddDynamicApplication

Source · Targets: net8.0, net9.0, net10.0

csharp
public static IServiceCollection AddDynamicApplication(this IServiceCollection services, string routePrefix = null)

Adds dynamic API services

  • Parameter services: The service collection to add services to
  • Parameter routePrefix: Common prefix applied to generated routes
  • Returns: Returns services for chaining

Fast.DynamicApplication.IDynamicApplication

Source · Targets: net8.0, net9.0, net10.0

csharp
[SuppressSniffer]
public interface IDynamicApplication

Dynamic API application dependency interface