Sunday, August 11, 2013

MVC Sample 2

File->New->Project


Select Project Template as

Internet Application


And Click on Ok Button

And Go to Controller Folder and Right Click  àAddController.


Now in DemoController ,write the following Code.

Now, write click on Demo Controller .cs(that is exactly on ViewResult)

Click on AddView


View Name: Show
And Click on Add, and now the View is Created.
Demo:is the name of the controller

Show is the method name.

No comments:

Post a Comment

Thank you for visiting my blog

Kubernetes

Prerequisites We assume anyone who wants to understand Kubernetes should have an understating of how the Docker works, how the Docker images...