G4mvc.Generator
1.0.0-preview.1.22253.6
See the version list below for details.
dotnet add package G4mvc.Generator --version 1.0.0-preview.1.22253.6
NuGet\Install-Package G4mvc.Generator -Version 1.0.0-preview.1.22253.6
<PackageReference Include="G4mvc.Generator" Version="1.0.0-preview.1.22253.6" />
<PackageVersion Include="G4mvc.Generator" Version="1.0.0-preview.1.22253.6" />
<PackageReference Include="G4mvc.Generator" />
paket add G4mvc.Generator --version 1.0.0-preview.1.22253.6
#r "nuget: G4mvc.Generator, 1.0.0-preview.1.22253.6"
#:package G4mvc.Generator@1.0.0-preview.1.22253.6
#addin nuget:?package=G4mvc.Generator&version=1.0.0-preview.1.22253.6&prerelease
#tool nuget:?package=G4mvc.Generator&version=1.0.0-preview.1.22253.6&prerelease
G4mvc
G4mvc is a source generator for ASP.NET Core MVC apps that creates strongly typed helpers that eliminate the use of literal strings in many places.
It is a re-implementation of R4MVC using a C# Source Generator.
Installation
Install the G4mvc and G4mvc.Generator NuGet packages.
To enable the use of the tag helpers for anchor and form tags, add the @addTagHelper *, G4mvc
directive either in the view, or in the _ViewImports.cshtml to enable them globally.
If you want to use the IUrlHelper
and IHtmlHelper
Extension methods, add a using directive for G4mvc.Extensions
either in the view, or in the _ViewImports.cshtml to enable them globally.
It might be necessary to restart Visual Studio for these changes to take affect.
Use
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- G4mvc (>= 1.0.0-preview.1.22253.6)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.