Best practices for debugging ASP.NET MVC Binding

前端 未结 5 906
Happy的楠姐
Happy的楠姐 2020-12-01 05:44

Can you give me any general advice on how to debug ASP.NET MVC Binding?

When everything works as expected, ASP.NET MVC is great. But if something does not, like some

5条回答
  •  温柔的废话
    2020-12-01 06:41

    A good place to start is download and install FireBug and see what gets posted from the client to the server. Then you will see what's missing, incorrect, ... Blog posts such as Model Binding to a List are good reads as well to get acquainted with the proper syntax that the default model binder uses.

提交回复
热议问题