ActionParameterAlias 6.0.0
.NET Framework 4.0
dotnet add package ActionParameterAlias --version 6.0.0
NuGet\Install-Package ActionParameterAlias -Version 6.0.0
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="ActionParameterAlias" Version="6.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ActionParameterAlias --version 6.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: ActionParameterAlias, 6.0.0"
#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.
// Install ActionParameterAlias as a Cake Addin
#addin nuget:?package=ActionParameterAlias&version=6.0.0
// Install ActionParameterAlias as a Cake Tool
#tool nuget:?package=ActionParameterAlias&version=6.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Adds ability to support aliases for model binding. Set action parameter to "product" and place "productid" on querystring. i.e. public ActionResult Index([Alias("pid"]Product product) ... add global filter ... filters.Add(new AliasInitializer());
Product | Versions |
---|---|
.NET Framework | net40 net403 net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48 net481 |
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Added global filter AliasInitializer, which enables adding Alias attributes directly on model binding properties