Problem background: I am new to ASP.NET MVC; I used it to practice by writing a blog myself! Some abnormal phenomena were discovered when building the Model, as shown below
This is a screenshot of the VS2010 Object Browser. My first question is: Why are three namespaces used! Is this normal? If normally a number 1 is added after the second WebLogEntities, when you see such a naming, you usually know that there is a problem. What’s the explanation?
I encountered such a problem later when writing the Controller, as shown below
This prompt message appears in this picture. Not sure what to do? This is the second question.
According to the prompts given by the development environment, click the prompts in the picture to eliminate the red wavy lines, but I don’t know why, and there may be problems later!
Regarding "options for generating method stubs", can you give some intuitive explanation, or a link?
This is the second day of learning ASP.NET MVC, so I forgot to give you some guidance!
The development tool you use is vs2010? This method has been deprecated by Microsoft. If the compilation fails, you can only use other methods or development tools