Ways to register a user in an asp.net mvc website from another mvc website -


i'm looking suggestions on how go creating user in 1 of asp.net mvc websites one, integrate 2 sites bit.

site (asp.net mvc 4, vs 2012) needs take information customer upon post action , within action (server side) send post site b (mvc 5, vs 2013, asp.net identity 2) create user in (it doesn't have wait post complete, can fire , forget...but open suggestions here too). both sites owned , operated myself, exist different purposes until now.

i'm thinking need expose controller action on site b allow site post information needed create user.

would make sense add action existing controller in site b creates user accounts, or make more sense create web api controller handles separately? there performance differences between 2 controller types?

also, how secure new endpoint/action - i'm considering generating api key of sorts (generating , storing guid private key submit request) verify in fact site making request (all on https of course), , no 1 else. want open site do, , single action far integrating these sites ever go.

any feedback helpful. thanks!


Comments

Popular posts from this blog

html - Styling progress bar with inline style -

java - Oracle Sql developer error: could not install some modules -

How to use autoclose brackets in Jupyter notebook? -