LanguageRuntimeExtensions.UseLanguageRuntime method
Configures the application pipeline to use a specific language runtime for endpoints tagged with the given ScriptLanguage.
public static IApplicationBuilder UseLanguageRuntime(this IApplicationBuilder app,
ScriptLanguage language, Action<IApplicationBuilder> configure)
| parameter | description |
|---|---|
| app | The application builder to configure. |
| language | The script language to filter endpoints by. |
| configure | The configuration action to apply when the language matches. |
Return Value
The configured IApplicationBuilder instance.
See Also
- enum ScriptLanguage
- class LanguageRuntimeExtensions
- namespace Kestrun.Scripting