Things I cannot do in ASP.NET MVC

前端 未结 6 2184
轻奢々
轻奢々 2021-02-08 05:13

Are there some things I cannot do with ASP.NET MVC? Things that are only possible with ASP.NET WebForms, or extremely much easier with WebForms?

We consider u

6条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-02-08 05:57

    Validation is not as easy as in WebForms. In Webforms you can add a validator and just set a property that enables clientside validation. You can localize the errormessage. The localization works clientside and serverside.

    There is no out of the box clientside validation in MVC and you need to find a way to localize clientside errormessages.

    Localization itself is different. Ressources obviously by default dont exist per page, because there is no page. But there is a good way to have ressources per view.

    I still did not check, if it is possible to set SSL-required per folder.

    EDIT

    The story is different with MVC3. There is a good validation support now.

    There are still things that are not implemented in MVC. The biggest issue for me is a complete implementation for donut cashing and partial cashing. There is some improvement in MVC3 in this area but it is still not complete. Anyway stay tuned: the MVC team seams to be aware that this is something they should work on.

提交回复
热议问题