嗨,我已經使用這個帖子創建在asp.net mvc的嚮導: multi-step registration process issues in asp.net mvc (splitted viewmodels, single model) 它僅適用於在接口 IStepViewModel 背後的具體類dataannotations在StepViewModelBinder中是否可以添加一些功能來在具體
下面來消毒的Web API輸入數據是我的代碼片段 Model類 // Customer.cs using CommonLayer;
namespace Models
{
public class Customer
{
public int Id { get; set; }
[MyAntiXss]
public string Name