What should I return from my service layer? DotNetOpenAuth?

You could return an OutgoingWebResponse: public OutgoingWebResponse SendOpenIdRequest(OpenId openId) { using (var openIdRelyingParty = new OpenIdRelyingParty()) { var response = openIdRelyingParty.GetResponse(); Identifier id; if (Identifier. TryParse(openId. Url, out id)) { try { var req = openIdRelyingParty.

CreateRequest(openId. Url); return req. RedirectingResponse } catch (ProtocolException ex) { } } return null; } } and then in your controller: HttpPost public ActionResult Login(LoginViewModel loginViewModel) { var response = accountService.

SendOpenIdRequest(loginViewModel. OpenId); if (response == null) { ModelState. AddModelError( "openid_identifier", "The specified login identifier is invalid" ); return View(); } return response.AsActionResult(); }.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions