简体   繁体   中英

Microsoft.AspNet.Identity and Umbraco

Hi I have a umbraco site setup at the moment. It is the latest version of umbraco.

Umbraco does not support mvc 5 as of yet. I am trying to setup an admin area for the site. I want the admin area to use the default setting you get with a new mvc site as in Microsoft.AspNet.Identity.

Alot of the class that Microsoft.AspNet.Identity dont seem to work well within the umbraco site. Ie I have assembly that are reliant on different versions of assembly that are already in the umbraco solution.

I looked at creating a virtual application for another mvc site within the umbraco site. This was failing based on

Could not load file or assembly 'umbraco' or one of its dependencies. When this reference is added other errors occur.

I am best trying to add the functunality login area in the umbraco.web.ui solution itself, a virtual application directory with a new mvc site or another approach. Any help would be most appreciated.

I ended up in dependency hell trying to get this working in v6.2.4 but you should be ok in the latest v7 if you want to try this https://github.com/Shazwazza/UmbracoIdentity . It's a project started by one of the lead developers on the Umbraco Core team.

Simon

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM