I have an existing Xamarin mobile application hooked to a backend that is a .NET Framework 4.7.1 web application hosted in Azure. It only contains the logic and links to push notifications hubs in azure, and also does the new user registration and login authentication for the mobile app.
I researched and realized it would not be a good idea (or cannot even) upgrade the .NET Framework 4.7.1 existing Web API to a .NET Core 3.1 / Net 6 Web API.
I am thinking to create a new .NET Core 3.1/ Net 6 project that will ALSO hook up to the existing database and keep adding functionality for the mobile in this new project, such as a password reset feature, more modern and easy to maintain. Both web apis will be operational (so I can avoid updating the mobile azure notfication packages and hub, which would result if i modified the original backend project)
The multi-part questions:
Is this approach a good approach? If not, what is the alternative?
The existing database has Microsoft Identity tables, so when I create the new NET Core 3.1 / Net 6 project, do I select Authentication with Microsoft Identity as an option? When scaffolding the azure existing db connection string, will this hook the authentication logic automatically for me into the new project with the existing tables (even though the users tables has a slightly modified custom name and added some columns in previous project when created)?