viewbag selectlist in razor component code example Example: class selector to property in asp net core dropdown Mike Pete Dean Katy