select tag without asp-for code example Example 1: select asp-items selecte one @model MyViewModel Comments Lucky Employee Please select one Example 2: class selector to property in asp net core dropdown Mike Pete Dean Katy