We have a existing project in Asp.net Core MVC + Jquery with framework .net2.1 and version 6.2.1. We are going to upgrade in .net 8 and version 13.1.1.
I have downloaded the latest version 13.1.1 and .net 8 project with same name.
As mention in documentation "Switch to aspnetzero branch in your source control and copy new AspNet Zero version into this branch". What does it mean to copy new AspNet Zero version into your branch?. Which files, and folder needs to copy ? Can you please describe in detail?
12 Answer(s)
-
0
Hi @razkhan78
It means copying all files of the newly downloaded project onto your existing project. But note that, this operaiton must be done in a different branch so you will not lost your existing code.
-
0
Hi @ismcagdas
Thank you for your reply. Do you mean copy all project files by Folder in file explorer of the newly downloaded project (Latest version 13.1.1) onto my existing project (version 6.2.1) OR by Merging two (newly downloaded project & existing project) branches ?
Second thing is that what does it mean in documentation "Both approaches explained above doesn't delete the files which are renamed or deleted in the original AspNet Zero repository".
-
0
Hi,
Yes, first you need to copy all files and then you need to merge this branch into your main branch.
It means that, if we delete a rename a file during the development and if you copy new file into your project, the renamed or deleted file will remain in your source code.
-
0
alright got it.
As you know, we are upgrading from 6.2.0 to 13.1.1. What you suggest, can we continue with v13.1.1 or should continue with 13.2.0? What is the expected release date of 13.2.0? I read in one comment 13.2.0 will be release on Tuesday 05/14/2024. Can you please confirm?
-
0
Hi,
13.2 is released yesterday. Instead of v13.1.1, I suggest upgrading to 13.2 because the upgrade process is same and there are no breaking changes between 13.1.1 and 13.2.
-
0
Hi @ismcagdas,
As we are upgrading to latest version from 6.2.0 to 13.1.1 following documentation. I have read in one of your comment "We don't support IdentityServer4 anymore. In v12.3 we will integrate and support OpenIdDict".
I have seen in latest version you have removed IdentityServer4 and using OpenIdDict but we still want to use IdentityServer4. Need your assistance on this. What we have to do to use IdentityServer4 instead of OpenIdDict?
-
0
Hi @razkhan78
IdentityServer4 is removed and when you upgrade your solution to latest version, you will still have IdentityServer4 related code in your project because suggested upgrade method doesn't remove deleted items from your project.
You can keep IdentityServer4 related code and just delete
OpenIdDict
related code when your upgrade progress is completed.But, just note that IdentityServer4 itself doesn't have an official support anymore, see the warning message on https://identityserver4.readthedocs.io/en/latest/
-
0
Hi @ismcagdas
We have tried with IdentityServer4 by installing latest version of IdentityServer4 and commented all OpenIdDict related code. The problem is upon login keeps redirecting back to login page and doesn't go to next page (HomeController -> Index page). Tried with clear caches, cookies etc. but no success. Receiving suscceed response from SignInManager but keeps redirecting back to login page.
Installing Packages:
LoadStop.Core Project: Abp.ZeroCore.IdentityServer4.EntityFrameworkCore Version="9.2.2"
LoadStop.Web.Core Project: Abp.ZeroCore.IdentityServer4 Version="8.4.0" IdentityServer4.AccessTokenValidation Version="3.0.1"
-
0
Hi,
Are there any error logs in the log file ?
-
0
Hi
I checked the logs but no error found. I think the problem is with Authorization. When I remove [AbpMvcAuthorize] from controller it goes to HomeController.
-
0
Could you share the log file with [email protected] ?
-
0
We have successfully updated project. You can close this ticket.