Using Action Result Types7:31 with James Churchill
Returning a string literal from a controller action method is unusual. An action method typically returns one of the MVC action result types. Let’s see how to do that.
To follow along commiting your changes to this course, you'll need to fork the aspnet-comic-book-gallery repo. Then you can clone, commit, and push your changes to your fork like this:
git clone <your-fork>
git checkout tags/v2.4 -b using-action-result-types
For more information on the .NET types used in this video, see these MSDN pages:
This Stack Overflow question will show you how to disable the Diagnostic Tools in Visual Studio.
F12- Go To Definition
ALT+F12- Peek Definition
You need to sign up for Treehouse in order to download course files.Sign up