A
A
Avrong2015-01-26 23:50:11
ASP.NET
Avrong, 2015-01-26 23:50:11

Asp.NET WebForms or MVC?

Already tired of PHP, DJango tried it. Now I want Asp.NET. What will be better, simpler, more modern? I'm waiting for your answers

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey Nemiro, 2015-01-27
@Avrong

ASP .NET WebForms are relatively simple. They are more suitable for beginners. WebForms has a lot of ready-made components, but most of them are of dubious quality (in terms of performance). You can make simple sites (although you can not unpretentious, if the server and users are not sorry) quickly enough and with minimal knowledge of HTML , CSS and JavaScript . If something more is required, then ASP .NET WebForms will have to be pretty tricky and it is not certain that the desired result will be achieved.
While ASP.NET WebFormsare developing and, now, it is easier and more convenient to get control over what is happening than, for example, in earlier versions (1.x/2.0/3.5). But still, there will be many limitations and WebForms are not suitable for large projects. I note that ASP .NET WebForms are good together with Visual Basic .NET - it is more convenient to work than with C# .
To make normal projects under ASP .NET WebForms , you will have to do it manually, minimize the use of standard components and solutions. But then all the WebForms chips turn into one big hemorrhoids. You can live, but not very pleasant :-)
In ASP .NET MVCfull control over everything that happens, there are no restrictions, but more manual work and more knowledge is required.
Your best bet is to use ASP .NET MVC with Razor and C# . It will be more convenient to work, the code is more concise and more beautiful.
Now I even do simple projects on ASP .NET MVC .
I would not say that the time of ASP .NET WebForms is over, it is still going on. Often I have to answer questions on the topic of working with WebForms . In fact, for this reason, I am aware of some positive changes in the latest versions of WebForms . Sites made on WebFormsalso come across often (I pay attention to this, even when I don’t specifically look). I don't use it myself anymore, but there are a lot of old projects left, I hope someday they will be converted to MVC .

E
Eugene, 2015-01-27
@Eugene22

definitely MVC, WebForms are supported more by inertia, but in fact webforms are almost dead

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question