I'm trying to learn some ServiceStack stuff. For now, I've succesfully completed this tutorial (almost completed): http://www.ienablemuch.com/2012/12/self-hosting-servicestack-serving.html
The next step I want to perform is creating html form with submit button and capture data entered, for example into variables in C# code.
I know how to create html form inside cshtml file, but I have no idea how to caputre entered POST data in this case - with ServiceStack. Can you provide any tips/code samples.
Also, there is something I don't understand in this tutorial:
19 . To use strongly-typed model for your razor page, use inherits directive. Create a model first, it must be public and its Copy to Output Directory property must be set to Copy if newer too
What is this "Model" exactly and how to create it? And, section 20, in cshtml code:
@inherits ViewPage
So, what is "ViewPage" and how exactly this statement works?