Whenever you use a strongly typed ASP.NET MVC view?

Assuming ASP.NET MVC View will show data, is there any scenario in which you don't want to use a strongly typed view?

+3
source share
3 answers

I think you should follow the practice of always using strongly typed views, unless the model is used at all, as previously mentioned for pages like login.

+3
source

Places where there is no model - for example, Entry / Exit.

+6
source

. , , viewData .

, , .

0
source

Source: https://habr.com/ru/post/1709519/


All Articles