Environment versions
Network:
Windows 2008 Server
>>>It's an HTML page. A controller shouldn't be needed.
>>>
>>>>Did you wire up the View to a controller ?
>>
>>Tried it. Doesn't seem to work without one.
>
>You'd have to adjust your routing to allow for it to be rendered in VS I believe.
Not sure what you mean. I know that if you just create, say, a razor view and try to open it in Page Inspector then you get the 404 error Dimtry mentioned.
If you add a ActionResult method in the controller that uses the View then it works....
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only