Click here to Skip to main content
15,888,984 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
C#
Hi guys,

I want to use ASP.NET MVC but i am afraid from displaying controls like GridView,

i think it is difficult to use  displaying controls in MVC

Is MVC 6 facilitate using displaying controls than MVC 5 or it is still difficult

I thing it is easy to work with ASP.NET WebForm than MVC

i need your advice from experience people 

Thanks all


What I have tried:

I need your advice from experience people
Posted
Updated 2-Nov-16 23:20pm

ASP.NET Web Forms and MVC are very different from one another. Web Forms user Server Controls and is very much Event driven. MVC is a completely different paradigm and one that MS has embraced.

I am not advocating for one over the other I work with both technologies on a daily basis, but over the last several years my focus has been on MVC and today I actually spend most of my development time using it.

What are you finding difficult about working with MVC? I would guess it binding, or dropping a control on screen and a little configuration and presto you have data. While MVC does not give you this simplicity it is simple to work with.

You had to start somewhere with Web Form, right? Take that same approach to learning MVC. Find a good book, a class or even start at www.asp.net.
 
Share this answer
 
Comments
MrLonely_2 2-Nov-16 14:55pm    
Thanks for replay,
but why i have to start with web form if it is not the future, why not start with mvc.
AnvilRanger 2-Nov-16 15:09pm    
I did not mean to start with Web Forms. Your post implied that you already had experience with them. No matter what people make think, Web Forms are not going away anytime soon.

So if you are just starting out I would recommend ASP.NET MVC.
If you are using a GridView because you couldn't possible emulate that functionality without it then you're probably better sticking with WebForms. If you want to move to MVC there is going to be a large learning curve, you're going to have to get to grips with a lot of concepts that WebForms hides\abstracts from you.

To answer your specific question there is nothing out of the box like gridview etc in MVC, you pretty much have to implement everything yourself, but there are obviously third-party libraries and extensions people have written that will help you get the functionality without the effort.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900