ASP.NET MVC - TempData - Good or bad practice

前端 未结 8 2215
南方客
南方客 2020-11-28 02:24

I\'m using the AcceptVerbs method detailed in Scott Gu\'s Preview 5 blog post for dealing with form entries in ASP.NET MVC:

  • User gets an empty for
8条回答
  •  北荒
    北荒 (楼主)
    2020-11-28 02:58

    Why do you have such an aversion? This thing is simply make its job and make it well :)

    If you don't like it because of it non-strongly-typed, you can always make a wrapper around which will provide you strongly-typed interface.

提交回复
热议问题