Semantica.Lib.Mvc 8.1.0-beta

This is a prerelease version of Semantica.Lib.Mvc.
dotnet add package Semantica.Lib.Mvc --version 8.1.0-beta
                    
NuGet\Install-Package Semantica.Lib.Mvc -Version 8.1.0-beta
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Semantica.Lib.Mvc" Version="8.1.0-beta" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Semantica.Lib.Mvc" Version="8.1.0-beta" />
                    
Directory.Packages.props
<PackageReference Include="Semantica.Lib.Mvc" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Semantica.Lib.Mvc --version 8.1.0-beta
                    
#r "nuget: Semantica.Lib.Mvc, 8.1.0-beta"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Semantica.Lib.Mvc@8.1.0-beta
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Semantica.Lib.Mvc&version=8.1.0-beta&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Semantica.Lib.Mvc&version=8.1.0-beta&prerelease
                    
Install as a Cake Tool

Semantica.Lib.Mvc

This package is part of the core packages of Semantica.Lib.

Summary

A library that provides types and extensions that help with configuration and specific usages of ASP.NET applications.

Dependencies

  • Microsoft.AspNetCore.App (framework)
  • Semantica.Lib.App
  • Semantica.Lib.Checks
  • Semantica.Lib.Linq
  • Semantica.Lib.Patterns
  • Semantica.Lib.Patterns.Converters

Documentation generated from the XMLDoc:

<a name='assembly'></a>

Lib.Mvc

Contents

<a name='T-Semantica-Mvc-Types-CheapDictionary'></a>

CheapDictionary type

Namespace

Semantica.Mvc.Types

Summary

Dit is niet een echte dictionary, gewoon een wrapper om een simpele array, en implementeert alleen de IEnumerable methods. De class is bedoeld voor plekken in het framework die IDictionary als input verwachten, en vervolgens alleen de keyvaluepairs enumereren.

<a name='T-Semantica-Mvc-Conventions-ControllerConventionExtensions'></a>

ControllerConventionExtensions type

Namespace

Semantica.Mvc.Conventions

Summary

Provides several extension methods for use during the WebApplicationBuilder step of the Program.cs.

<a name='M-Semantica-Mvc-Conventions-ControllerConventionExtensions-AddControllersKebabCase-Microsoft-Extensions-DependencyInjection-IServiceCollection,System-Action{Microsoft-AspNetCore-Mvc-MvcOptions}-'></a>

AddControllersKebabCase() method

Summary

Inherit from parent.

Summary

Adds services for controllers to the specified IServiceCollection. Adds a RouteTokenTransformerConvention to the conventions collection that transforms route tokens from pascal case to kebab case. This method will not register services used for views or pages.

Parameters

This method has no parameters.

<a name='M-Semantica-Mvc-Conventions-ControllerConventionExtensions-AddControllersLowerCase-Microsoft-Extensions-DependencyInjection-IServiceCollection,System-Action{Microsoft-AspNetCore-Mvc-MvcOptions}-'></a>

AddControllersLowerCase() method

Summary

Inherit from parent.

Summary

Adds services for controllers to the specified IServiceCollection. Adds a RouteTokenTransformerConvention to the conventions collection that transforms route tokens to lower case. This method will not register services used for views or pages.

Parameters

This method has no parameters.

<a name='M-Semantica-Mvc-Conventions-ControllerConventionExtensions-AddControllersSnakeCase-Microsoft-Extensions-DependencyInjection-IServiceCollection,System-Action{Microsoft-AspNetCore-Mvc-MvcOptions}-'></a>

AddControllersSnakeCase() method

Summary

Inherit from parent.

Summary

Adds services for controllers to the specified IServiceCollection. Adds a RouteTokenTransformerConvention to the conventions collection that transforms route tokens from pascal case to snake case. This method will not register services used for views or pages.

Parameters

This method has no parameters.

<a name='M-Semantica-Mvc-Conventions-ControllerConventionExtensions-AddRouteTransformer``1-System-Collections-Generic-IList{Microsoft-AspNetCore-Mvc-ApplicationModels-IApplicationModelConvention}-'></a>

AddRouteTransformer``1(conventions) method

Summary

Adds an instance of TTransformer as RouteTokenTransformerConvention to the conventions collection.

Returns

conventions, for FluentAPI syntax.

Parameters
Name Type Description
conventions System.Collections.Generic.IList{Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelConvention} The Conventions collection of the MvcOptions.
Generic Types
Name Description
TTransformer A type implementing IOutboundParameterTransformer.
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
8.1.0-beta 85 5/30/2025
8.0.7-beta 78 9/6/2024
8.0.6-beta 692 7/10/2024
8.0.5-beta 117 7/4/2024
8.0.4-beta 82 7/2/2024
8.0.3-beta 78 6/14/2024
8.0.2-beta 112 6/4/2024
8.0.1-beta 71 6/4/2024
8.0.0-beta 76 6/4/2024
6.6.1-beta 86 4/5/2024
6.6.0-beta 85 3/5/2024
6.5.5-alpha2 86 3/4/2024
6.5.5-alpha 87 3/4/2024
6.5.4-beta 90 2/29/2024
6.5.3-beta 123 10/5/2023
6.5.2-beta 102 10/5/2023
6.5.1-beta 113 9/29/2023
6.5.0-beta 104 9/22/2023
6.4.0-beta 147 7/11/2023
6.3.0-beta 142 6/15/2023
6.2.5-beta 220 3/14/2023
6.2.4-beta 603 10/12/2022
6.2.3-beta 285 9/1/2022
6.2.1-beta 190 8/25/2022