ASP.NET Core Rating Setup

Shield UI Rating for ASP.NET Core is a server-side wrapper component implemented as an ASP.NET Core MVC Helper.

For a detailed guide how to setup Shield UI for your ASP.NET Core project, check out this page.

The ASP.NET Core MVC helper API is a 1:1 mapping of the JavaScript Rating widget configuration, so you only have to get familiar with a single set of configuration options:

// JavaScript Rating demo
$('#rate1').shieldRating({
    max: 7,
    step: 0.1,
    value: 3,
    markPreset: false
});
// ASP.NET Core Rating demo
@(Html.ShieldRating()
    .Name("rate1")
    .Max(7)
    .Step(0.1)
    .Value(3)
    .MarkPreset(false)
)

To see the configuration options in action, please refer to our online demos.