开发者

asp.net controls in asp.net MVC

I have installed Visual Studio 2010 express edition which has MVC in it. I am cr开发者_高级运维eating my first application and I noticed that I can include basic asp.net controls like [label, gridview, datagrid, drop downbox] in it. and all event related to these controls displayed on the view.

My question is:

Is it good to use asp.net controls in MVC or should I practice more on HTML part and JQuery? Would it harm page speed?


I don't think it's a good idea.

MVC embodies the idea of giving you full control at the client-side and at the server-side. While ASP.NET server side controls were there to mimic the desktop-based development which most developers were used to. They are easy to use but are less flexible and some issues (like ViewState) could really hard to solve.

IMO I think you should only go for ASP.NET controls if you are bounded by some legacy code

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜