Closed robisim74 closed 6 years ago
I believe IdentityServer is ready
done
Hello Roberto,
How are you?
Since I will probably need to perform this step also in the short future, I would like to ask you if there has been neccesary to do many important changes (regarding net core 2.0 and Identity Server new version).
Does this update result in many breaking changes?
Regards, Andrés.
Hi Andrés,
now that all packages have been updated, it's not difficult: basically you need to change:
Startup.cs
:
Authorize
attribute into controllers: https://github.com/robisim74/AngularSPAWebAPI/blob/master/AngularSPAWebAPI/Controllers/ValuesController.cs#L13For this project, I preferred starting from scratch because there were a lot of things that were no longer needed (ASP.NET Core 2 has simplified several things).
What seems to be the biggest problem is the publication: I had to clean all the dlls from the production, the nuget cache before compiling and ultimately raise the self-generated certicate.
Hi Roberto,
Thanks for your help, this will help me a lot when I need to perform this update!
Regards, Andrés.
Upgrade to ASP.NET Core 2 when IdentityServer will be ready.