The UmbracoTv video on Creating a Member uses a custom RegisterModel class in the Models folder. It then goes on to imply that the RegisterModel passed to the RegisterController is an instance of that class. However, I have noticed that the RegisterModel passed to the controller is actually a different type that exists in the Umbraco.Web.Models namespace;
It also seems to be the latter that is instantiated when calling:
I also have to notice that the View partial in the video is quite different from the partial snippet created by Umbraco. What is the view supposed to inherit from? The partial in the video uses @model = ..., while the latter calls CreateRegistrationModel. I am utterly confused :-(.
In all, I would appreciate if anyone could assist with a blueprint to properly implement membership with custom properties in Umbraco 7.9.
What is a RegisterModel and how to actually write a complete member registration process?
The UmbracoTv video on Creating a Member uses a custom RegisterModel class in the Models folder. It then goes on to imply that the RegisterModel passed to the RegisterController is an instance of that class. However, I have noticed that the RegisterModel passed to the controller is actually a different type that exists in the Umbraco.Web.Models namespace; It also seems to be the latter that is instantiated when calling:
I also have to notice that the View partial in the video is quite different from the partial snippet created by Umbraco. What is the view supposed to inherit from? The partial in the video uses @model = ..., while the latter calls CreateRegistrationModel. I am utterly confused :-(.
In all, I would appreciate if anyone could assist with a blueprint to properly implement membership with custom properties in Umbraco 7.9.
Thanks
is working on a reply...