Quantcast
Channel: RazorGenerator Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 525

Created Unassigned: Cannot create strongly typed views and use intellisense [177]

$
0
0
I am working in strongly typed view mode in my site, for clarity and ease of use for my developers.

currently, even if i declare a type in my view, I cannot use VS intellisense in my views as my model is dynamic.

to reproduce:
write in the view
```
@model = MyModelClass
```

the generated code is correctly stating:
```
public partial class MyView : System.Web.Mvc.WebViewPage<MyModelClass>
```

but in the precompiled view itself model is dynamic and the view inherits from System.Web.Mvc.WebViewPage;

can you add something to fix the intellisense ?

thanks.

Viewing all articles
Browse latest Browse all 525

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>