Skip to content
This repository was archived by the owner on Feb 3, 2026. It is now read-only.

Added Blazor UI with shared Models, View Models and services from Froms App#16

Open
lachlanwgordon wants to merge 14 commits intojfversluis:masterfrom
lachlanwgordon:BlazorUI
Open

Added Blazor UI with shared Models, View Models and services from Froms App#16
lachlanwgordon wants to merge 14 commits intojfversluis:masterfrom
lachlanwgordon:BlazorUI

Conversation

@lachlanwgordon
Copy link
Copy Markdown

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.

refactored everything
some things are still broken
Blazor is successfully using all services
@lachlanwgordon
Copy link
Copy Markdown
Author

Oh wait, I've got 24hours more that I thought. Let's fix some stuff.

@lachlanwgordon
Copy link
Copy Markdown
Author

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 shots

Home page is basically the same as the mobile app.
Screen Shot 2020-05-01 at 3 42 26 pm

Translation page is a work in progress, I need some flags.
Screen Shot 2020-05-01 at 3 12 27 pm

Add Photo page uses file upload and can be expanded to allow webcam.

Screen Shot 2020-05-01 at 3 18 37 pm

Solution Structure

Solution 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.
Screen Shot 2020-05-01 at 3 20 04 pm

@codemillmatt
Copy link
Copy Markdown
Contributor

Thanks for completing the challenge! Fill out this form so we can send you the swag! https://aka.ms/cog-svcs-swag

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants