3 ms·
Personally I look to having a 'common core' for clients that handles all of the actual logic of the application, then implement the interface in whatever librar
by natpalmer1776 4y ago
Personally I look to having a 'common core' for clients that handles all of the actual logic of the application, then implement the interface in whatever library is most appropriate for the target platform.
As an example for .NET 7 I would write an SDK for interfacing with APIs that host the service. For the web client I would use Blazor WASM, for desktop I would use either MAUI or a 'native' wrapper for Blazor, and for mobile I would stick with Xamarin.
In general I would suggest designing for 'the web' as it will be the easiest to port to other platforms quickly and require the lowest care & feeding. Once the project is more established you can then look at creating native-first versions of the client that leverage the design idioms of your intended platform.