In the choice of webform and Asp.net MVC, I always tend to recommend MVC. Why? First, let's look at the classification of groups.
1. Learning tips
We recommend that you use webform. Do you want to push it into the abyss of the webform control? If he jumps out one day and says he knows how to learn JS is better than what server controls? If he said that he knew that PHP was better than webform, you didn't need to answer the question. Others ignored you. He recommended MVC and had to use JS if Ajax was needed. Even if someone hated JS, but looking at the development of JS today, we will not regret it at least.
2. Companies without technical Accumulation
Companies without technical accumulation use webform. What do you want him to use? Updatepanel + ajaxtoolkit? What are you doing? The javascript UI is so convenient to use with MVC for free.
3. people or companies with technology (maybe others with bragging skills)
This type of company certainly does not need to be recommended, and will not listen to you if it is said, but some people may find similar questions and answers in this post.
How hard are you trying to create a webform? Me: Okay, continue.
Does webform support JS + Ajax? I know what I can do, but I don't know how to do it well. Do I use asmx for Ajax all day or use ashx for Ajax ?, You can share the technology to see if it is more convenient than MVC.
Do you understand webform? Okay, I don't understand...
Webform controls also have advantages !! Okay, I do not deny it. You can continue using it. Do you want to share one set for free?
Lao Tzu webform can also simulate MVC. You can develop an MVC Framework for us to use.
Do you have something at the bottom of webform and MVC? Me: Yes .. Can I choose the one that is open-source?
Of course, webform is also required for services.
What businesses need updatepanel + ajaxtoolkit?
What? You bought the control library and you said wool.
What, you don't need to drag controls out of your business? Let me do such a good thing.
What, the old system is webform and does not want to migrate MVC? I am also lazy about who asked you to migrate the old system.
From the above process, you can see that the recommended MVC can never be regarded as an error. The person who needs to ask is the person who has nothing at hand, don't mislead people who have something at hand. The framework itself is a kind of guidance for developers. webform guides beginners to use what you recommend webform. You can take responsibility for your speech and help others with the technology and framework.
This kind of example is also very common in our daily life. The Shenzhou computer is inexpensive, with high-definition screens and CPU GPUs not shrinking. In fact, it is no worse than other laptops, but you have recommended it, in case of a problem, isn't it still necessary to say that there are enough people in Lenovo's HP Dell team.
Which phone is better? Which one do you dare to recommend?
I like Linux. Do you dare to recommend it?
I like E3. How many people do I know? E3? Is I3 strong? Is there a game instruction set?
Therefore, when you recommend one thing, it is a kind of guidance, with fewer problems and no harm. Even if the victim does not come to you, you can see how fast Microsoft MVC is updated, obviously it's the main force. You can't tell me about wool.
[Kan Dashan] recommended Art