Today is the 15th day of my internship. As the preparation progresses, our team will gradually begin the development of mobile-side BBS, and we will plan to use the MVC framework for the development of the system. While we are not very familiar with the MVC framework, it may reduce our efficiency in developing the system, but we can do it in a way that we learn to do. This not only facilitates our future management and maintenance of the system, but also gives us a place to learn the power and practice.
But when we were creating a project based on the MVC framework, we had some problems. That is, there are two kinds of MVC view engine, one is razor, the file with cshtml suffix as the view file, the other is aspx, the aspx suffix file as the view file. At first, we also have a lot of doubts about the two view engines, and then after some Baidu and practice to discover: The former is a new view engine razor, it has a more intelligent syntax, and @{} to replace the previous <%%> make the statement more concise, and can be tested While the latter is the ASPX we used to use, one of the differences with razor is its ability to drag and pull controls for ease of use.
So, after a long discussion, we haven't decided which view engine to use, one is concise, can be tested, the other is mobile and easy to use. I hope you can put forward a valuable suggestion, help us make better decisions, thank you!