EditoraInovacao.MVC
1.0.19.1
dotnet add package EditoraInovacao.MVC --version 1.0.19.1
NuGet\Install-Package EditoraInovacao.MVC -Version 1.0.19.1
<PackageReference Include="EditoraInovacao.MVC" Version="1.0.19.1" />
paket add EditoraInovacao.MVC --version 1.0.19.1
#r "nuget: EditoraInovacao.MVC, 1.0.19.1"
// Install EditoraInovacao.MVC as a Cake Addin #addin nuget:?package=EditoraInovacao.MVC&version=1.0.19.1 // Install EditoraInovacao.MVC as a Cake Tool #tool nuget:?package=EditoraInovacao.MVC&version=1.0.19.1
Editora Inovação - MVC Helpers
.NET Framework MVC Helpers library
NuGet - Package Manager for .NET
dotnet add package EditoraInovacao.MVC
Features
- Controller
- EmptyController
- EnumFlagsModelBinder
- ExtendedSelectListItem
- NewtonsoftJsonResult
- ViewRenderer
Controller
A base controller that adds two results:
- JsonResult - Generates a NewtonsoftJsonResult result.
- ErrorResponse - Generates a JsonResult with ErrorResponse type, including custom code, custom error message and any ModelState errors key/message pair.
EmptyController
An empty controller class that derives from Controller.
EnumFlagsModelBinder
Adds a model binder that enables binding of a flag enum in the model, allowing multiple flag selection.
ExtendedSelectListItem
A class that extends the System.Web.Mvc.SelectListItem with a new property named HtmlAttributes that can be used with ViewHelpers to send custom HTML properties/attributes from Model to View.
NewtonsoftJsonResult
Extends JsonResult with custom JSON serialization settings.
- Formatting.Indented
- ReferenceLoopHandling.Ignore
ViewRenderer
A helper class that enables view rendering on demand. Expose the following 3 methods:
- CreateController - Creates an instance of a Controller (can be any valid controller)
- RenderView - Renders a view based on the view's name and an object as the model for that view. It uses the EmptyController as the controller.
- RenderView - Extension method for a Controller class, that renders a view based on the view's name and an object as the model for that view.
Developed by Guilherme Branco Stracini for Editora Inovação
© 2012 ~ 2023 All rights reserved.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net48 is compatible. net481 was computed. |
-
.NETFramework 4.8
- CrispyWaffle (>= 4.3.71)
- Microsoft.AspNet.Mvc (>= 5.3.0)
- Microsoft.Web.Infrastructure (>= 2.0.0)
- System.Diagnostics.EventLog (>= 8.0.0)
- System.Security.Permissions (>= 8.0.0)
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 |
---|---|---|
1.0.19.1 | 216 | 12/19/2023 |
1.0.18.1 | 156 | 12/1/2023 |
1.0.17.1 | 139 | 11/21/2023 |
1.0.16.1 | 140 | 11/5/2023 |
1.0.14.1 | 148 | 10/29/2023 |
1.0.13.1 | 135 | 10/22/2023 |
1.0.12.1 | 132 | 10/10/2023 |
1.0.10.1 | 131 | 10/8/2023 |
1.0.9.1 | 145 | 9/26/2023 |
1.0.6.1 | 135 | 9/24/2023 |
1.0.5.1 | 138 | 9/13/2023 |
1.0.4.1 | 117 | 9/5/2023 |