Working with Model Binding and Validation
暂无分享,去创建一个
In this chapter, we will look at model binding and validation. Model binding is one of the MVC framework features that I find most appealing. It removes the tedious work of constructing model objects from request data. Validation allows us to ensure that the data we receive can be used to create valid model objects, something that goes hand in hand with the model binding process.