From the course: Creating .NET MAUI Applications with Blazor
Unlock the full course today
Join today to access over 24,700 courses taught by industry experts.
How about native APIs? - .NET MAUI Tutorial
From the course: Creating .NET MAUI Applications with Blazor
How about native APIs?
- [Instructor] Here we have opened the MAUI Notes app that we have been working on. In the starting code for this lesson, I have added a Blazor web assembly project that we want to share code with the notes. The Notes.Core project has the services interfaces and note model that have existed in the MAUI Notes app application. So if we look under here, here's the interfaces and here is the note model. This is a pretty standard way of sharing code and in this case, the primary thing we are sharing isn't code, but interfaces. Interfaces allow us to write code against a known API without necessarily knowing what the implementation is. This means that we can have one implementation within the MAUI application and another implementation for the browser. I have already set up three of the services in the WasmNotes project. So if we open this up and look under services we can see we have the global navigation login service and…
Contents
-
-
-
-
-
A single website to rule them all4m 11s
-
(Locked)
How about native APIs?6m 48s
-
(Locked)
Razor Class Libraries5m 52s
-
(Locked)
Handling UI differences between website and app9m 50s
-
(Locked)
Storing local data: Part 14m 55s
-
(Locked)
Storing local data: Part 29m 49s
-
(Locked)
Issues around keeping your app up to date3m 30s
-
(Locked)
The HTML5 service worker and WebAssembly4m 33s
-
(Locked)
Challenge: Implementing IndexedDB1m 56s
-
(Locked)
Solution: Implementing IndexedDB5m 2s
-
-
-