How can I change sent data to controllers some where like OnActionExcuting?
Imagine I want develop a middle ware (something like asp.net attributes) replace all "a" to "A" and then bind values to model(in all action just can see "A"!)
How can I change sent data to controllers some where like OnActionExcuting?
Imagine I want develop a middle ware (something like asp.net attributes) replace all "a" to "A" and then bind values to model(in all action just can see "A"!)
You can create a custom ModelBinder and use it on specific actions: