Coming from Desktop development, I'm in the middle of my very first web project (as a small side/learning-project). I'm using ASP.NET Core 2. I'm already thinking about going mobile too.
What are my best options here?
First thing that comes to my mind is separating logic and data interactions into web API, which will run along side the website frontend. Website will consume logic via REST. As for a mobile, I could use Xamarin and consume, logic, data persistence and authentication from API as well. I'll have to build UI twice, for web and mobile.. but I guess I can't avoid that.
Is it the way to go? Thanks for suggestions,