BeginCollectionItemCore 1.1.0

This Html Helper leverages the default model binder in ASP.NET Core 1.0 and higher to materialize viewmodel collection properties from an HTTP POST. It will also work with ASP.Net Core on .Net Framework 4.6.

Install-Package BeginCollectionItemCore -Version 1.1.0
dotnet add package BeginCollectionItemCore --version 1.1.0
<PackageReference Include="BeginCollectionItemCore" Version="1.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BeginCollectionItemCore --version 1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: BeginCollectionItemCore, 1.1.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install BeginCollectionItemCore as a Cake Addin
#addin nuget:?package=BeginCollectionItemCore&version=1.1.0

// Install BeginCollectionItemCore as a Cake Tool
#tool nuget:?package=BeginCollectionItemCore&version=1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

BeginCollectionItemCore

Usage

@using HtmlHelpers.BeginCollectionItemCore;
@model BeginCollectionItemCoreDemo.ViewModels.OrderItemModel


@using (Html.BeginCollectionItem("orderItems"))
{
    @Html.LabelFor(x => x.Title);
    @Html.EditorFor(x => x.Title);
    @Html.LabelFor(x => x.Quantity);
    @Html.EditorFor(x => x.Quantity);
}

Release Notes:

  • 1.1.0: Updated to Target .Net 5.0
  • 1.0.9: Updated to Target .Net Core 2.0
  • 1.0.8: Server Side Validation Issue Fixed
  • 1.0.7: Bug Fixes for Nested Collections Support
  • 1.0.6: Fixed Version Number
  • 1.0.5: Added Support for Nested Collections
  • 1.0.4: Added Support for ASP.Net Core on .Net Framework 4.6

BeginCollectionItemCore

Usage

@using HtmlHelpers.BeginCollectionItemCore;
@model BeginCollectionItemCoreDemo.ViewModels.OrderItemModel


@using (Html.BeginCollectionItem("orderItems"))
{
    @Html.LabelFor(x => x.Title);
    @Html.EditorFor(x => x.Title);
    @Html.LabelFor(x => x.Quantity);
    @Html.EditorFor(x => x.Quantity);
}

Release Notes:

  • 1.1.0: Updated to Target .Net 5.0
  • 1.0.9: Updated to Target .Net Core 2.0
  • 1.0.8: Server Side Validation Issue Fixed
  • 1.0.7: Bug Fixes for Nested Collections Support
  • 1.0.6: Fixed Version Number
  • 1.0.5: Added Support for Nested Collections
  • 1.0.4: Added Support for ASP.Net Core on .Net Framework 4.6

Release Notes

1.1.0: Updated to Target .Net 5.0

  • net5.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on BeginCollectionItemCore:

Repository Stars
VocaDB/vocadb
VocaDB is a Vocaloid Database with translated artists, albums, music videos and more.

Version History

Version Downloads Last updated
1.1.0 5,675 2/11/2021
1.0.9 735 2/11/2021
1.0.8 233,928 4/3/2017
1.0.7 1,278 2/23/2017
1.0.6 1,871 12/17/2016
1.0.4 2,173 8/14/2016
1.0.3 830 8/14/2016