On Thursday, May 3, 2012, Joao Leme wrote:
> Trying to implement OpenIdWebRingSsoProvider into my MVC Project and was
> having a hard time with the controls "<openid:ProviderEndpoint" so I went
> to look into the sample OpenIdProviderMVC and notice that they are quite
> different. So my questions are:
> 1) What should I use as starting point for
> my OpenIdWebRingSsoProviderMVC? OpenIdWebRingSsoProvider
> OR OpenIdProviderMVC?
Neither, IMO. These are just samples. You should build your own, drawing
on the samples for understand of how to interact with the library.
Besides, if MVC is ultimately what you're going to use, starting from
scratch will let you target MVC 3 or 4, whereas the sample targets MVC 2.
> 2) Why both samples (OpenIdProviderMVC and OpenIdProviderWebForms) seems
> to be quite different? One uses "IAuthenticationRequest" while the other
> just "IRequest". What are the differences other than one is implemented in
> MVC and the other WebForms?
Probably because web forms based Providers can leverage asp.net controls
that aren't available (well, aren't "kosure" anyway) in MVC. I suggest you
lean more heavily on the MVC sample in this case.
> 3) Has anyone already implemented a OpenIdWebRingSsoProviderMVC? Sample
Not that I'm aware of.
"I [may] not agree with what you have to say, but I'll defend to the death
your right to say it." - S. G. Tallentyre