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
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="EditoraInovacao.MVC" Version="1.0.19.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add EditoraInovacao.MVC --version 1.0.19.1
#r "nuget: EditoraInovacao.MVC, 1.0.19.1"
#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 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

wakatime GitHub license GitHub last commit

Build & Bump Version Build & Deploy Linter check Update packages

logo.png

.NET Framework MVC Helpers library


NuGet - Package Manager for .NET

EditoraInovacao.MVC NuGet Version EditoraInovacao.MVC NuGet Downloads


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 Compatible and additional computed target framework versions.
.NET Framework net48 is compatible.  net481 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
1.0.19.1 179 12/19/2023
1.0.18.1 131 12/1/2023
1.0.17.1 114 11/21/2023
1.0.16.1 114 11/5/2023
1.0.14.1 122 10/29/2023
1.0.13.1 108 10/22/2023
1.0.12.1 105 10/10/2023
1.0.10.1 104 10/8/2023
1.0.9.1 114 9/26/2023
1.0.6.1 108 9/24/2023
1.0.5.1 110 9/13/2023
1.0.4.1 92 9/5/2023