How do I get the “Add Controller” and “Add View” menu options in my ASP.NET MVC project?

Technically controllers are just . CS files that are put in the controllers folder and views are just . ASPX files that are put in the views folder.

Your controllers classes need to inherit from the base Controller class and your ASPX page needs to inherit from System.Web.Mvc.ViewPage.

I got this same problem, except I started off cleanly with an Asp.Net MVC project. Don't know why this is happening. While I realize full well what controllers are(Harv) I still desire the auto-generation that the context-senstive menu options offer.

CS menu's are not appearing in Solution Explorer or in the document window when editing the controller file, according to Walther video, he simply right-clicks on the Index method and he gets a cs menu option to create a view, an Add View dialog window. Oh BTW, my project guids are identical to the ones you provided, so that didn't help.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions


Thank You!
send