开发者

Specify namespaces for controller in web.config

So I was able to specify some name spaces for my razor pages in MVC3 using the web.config file.

Is there a way to do thi开发者_运维百科s for the controller's as well so I don't have to keep typing using statements for commonly used ones from an external library?

Thanks.


Controllers are normal C# files.
Unlike VB.Net, there is no way to add using statements to the entire project.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜