Added Blazor UI with shared Models, View Models and services from Froms App#16
Added Blazor UI with shared Models, View Models and services from Froms App#16lachlanwgordon wants to merge 14 commits intojfversluis:masterfrom
Conversation
refactored everything some things are still broken Blazor is successfully using all services
|
Oh wait, I've got 24hours more that I thought. Let's fix some stuff. |
|
Site is online at https://blazortravelmonkey.azurewebsites.net/ Azure Devops build and publish is public at https://dev.azure.com/lachlanwgordon/TravelMonkey/_build I developed most of this live at twitch, you can watch here https://www.twitch.tv/videos/605607179 Screen shotsHome page is basically the same as the mobile app. Translation page is a work in progress, I need some flags. Add Photo page uses file upload and can be expanded to allow webcam. Solution StructureSolution has two extra projects. TravelMonkey.Core is mostly code removed from the Forms App. TravelMonkey.Blazor had the UI that sits on top of shared code. |
Moved logic of culture code conversion to .core project so forms and blazor can use updated translation layout
|
Thanks for completing the challenge! Fill out this form so we can send you the swag! https://aka.ms/cog-svcs-swag |




Hi there,
Thanks for a fun challenge.
I've refactored as much code as possible into a .Net standard library with no dependency on forms. This allows me to share the bulk of the code between Xamarin Forms Targets(iOS, Android etc.) and Blazor with only views written differently.
I've run out of time to fully implement it so the UI is pretty darn ugly(and the mobile app is a bit broken) but the concept is sound and I've got blazor successfully using all three services.