Tech News

Advantages of using strongly typed views ?

There are several ways available to pass data from a controller to a view in an ASP.Net MVC application.
1.ViewBag or ViewData   2.Data Strongly typed view
The following are the advantages of using strongly typed views. We will get
  1. Intellisense
  2. Compile time error checking
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x