Skip to content

Instantly share code, notes, and snippets.

@CoreyKaylor
Created November 18, 2012 03:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save CoreyKaylor/4103357 to your computer and use it in GitHub Desktop.
Save CoreyKaylor/4103357 to your computer and use it in GitHub Desktop.
Getting Started with FubuMVC Again
<viewdata model="HelloWorld.Features.Home.HomeViewModel" />
<h1>Hello ${Model.Message}</h1>
namespace HelloWorld.Features.Home
{
public class HomeEndpoint
{
public HomeViewModel Get(HomeInputModel input)
{
return new HomeViewModel();
}
}
}
namespace HelloWorld.Features.Home
{
public class HomeViewModel
{
public string Message { get; set; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment