开发者

MVC 3 razor custom webhelper how to?

I am using MVC3 Be开发者_运维知识库ta and I would like to know how could I create my library of custom WebHelpers and reuse them either in my project or in other projects, kind of like the Microsoft NuGet web helper.

In other words something like HTML Helpers in MVC2.


You can download the source code for MVC 3 and WebPages here http://aspnet.codeplex.com/releases/view/54306 and use that as a guide for your own project.


Scott Hanselman has a very nice post on How to create a NuGet package in 7 easy steps.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜