I just got the Mvc.sln/Authentication example working and in the Home->Index.cshtml there is a register action…
form id=“form-register” action="/api/register" method=“POST”
That route isn’t mapped anywhere in the Solution, it seems to be in…
Question 1: Where in the SS code does this code get ‘mapped’ to “api/register”? I think it has something to do with [DefaultRequest(typeof(Register))]?
Question 2: What is the proper way to ‘override’ this RegisterService functionality? (As a simple example let’s say we want to improve the validation, and maybe check some other user DB to make sure this is not a duplicate registration.) My instinct would be to add an ‘api/register1’ route, then copy all this RegisterService code to my project and hack it, but there has got to be a better way?
I’m totally new to ServiceStack and these forums; feel free to tell me if I’m not ‘appropriate’.