Created
November 18, 2012 03:38
-
-
Save CoreyKaylor/4103357 to your computer and use it in GitHub Desktop.
Getting Started with FubuMVC Again
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<viewdata model="HelloWorld.Features.Home.HomeViewModel" /> | |
<h1>Hello ${Model.Message}</h1> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace HelloWorld.Features.Home | |
{ | |
public class HomeEndpoint | |
{ | |
public HomeViewModel Get(HomeInputModel input) | |
{ | |
return new HomeViewModel(); | |
} | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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