diff --git a/samples/MvcSample.Web/Areas/Travel/Controllers/Flight.cs b/samples/MvcSample.Web/Areas/Travel/Controllers/Flight.cs new file mode 100644 index 0000000000..38e5c7af80 --- /dev/null +++ b/samples/MvcSample.Web/Areas/Travel/Controllers/Flight.cs @@ -0,0 +1,13 @@ +using Microsoft.AspNet.Mvc; + +namespace MvcSample.Web +{ + [Area("Travel")] + public class Flight : Controller + { + public IActionResult Fly() + { + return View(); + } + } +} diff --git a/samples/MvcSample.Web/Areas/Travel/Views/Flight/Fly.cshtml b/samples/MvcSample.Web/Areas/Travel/Views/Flight/Fly.cshtml new file mode 100644 index 0000000000..ed15ba423b --- /dev/null +++ b/samples/MvcSample.Web/Areas/Travel/Views/Flight/Fly.cshtml @@ -0,0 +1,33 @@ +@using MvcSample.Web.Models +@model User +@{ + Layout = "/Views/Shared/_Layout.cshtml"; + ViewBag.Title = "This is the FLY action"; +} + +
ASP.NET is a free web framework for building great Web sites and Web applications using HTML, CSS and JavaScript.
+ ++ ASP.NET MVC gives you a powerful, patterns-based way to build dynamic websites that + enables a clean separation of concerns and gives you full control over markup + for enjoyable, agile development. +
+ +NuGet is a free Visual Studio extension that makes it easy to add, remove, and update libraries and tools in Visual Studio projects.
+ +You can easily find a web hosting company that offers the right mix of features and price for your applications.
+ +