Difference between revisions of "Xamarin Forms"
From MgmtWiki
(→Full Title) |
(→Logging) |
||
Line 3: | Line 3: | ||
==Solutions== | ==Solutions== | ||
+ | ===Navigation=== | ||
+ | * Typically Modal pages ares used to collect user data. The API pushmodalasync is not normally modal except for calls from a ListView on the main page. | ||
+ | * | ||
+ | |||
===Logging=== | ===Logging=== | ||
+ | |||
* [https://devblogs.microsoft.com/xamarin/enhanced-device-logging-in-visual-studio/ Enhanced Device Logging in Visual Studio] | * [https://devblogs.microsoft.com/xamarin/enhanced-device-logging-in-visual-studio/ Enhanced Device Logging in Visual Studio] | ||
* [https://forums.xamarin.com/discussion/23832/logging-with-xamarin-pcl Logging with Xamarin PCL] also includes some comments on best practice with Xamarin Forms. For example: "NLog works just fine with Android and iOS projects. For UWP you can use MetroLog which is very similar with NLog but on a smaller scale." | * [https://forums.xamarin.com/discussion/23832/logging-with-xamarin-pcl Logging with Xamarin PCL] also includes some comments on best practice with Xamarin Forms. For example: "NLog works just fine with Android and iOS projects. For UWP you can use MetroLog which is very similar with NLog but on a smaller scale." |
Revision as of 15:37, 30 September 2020
Contents
Full Title
The best practice use of Xamarin Forms to make a cross-platform Native App for [[Smart Phone]s.
Solutions
- Typically Modal pages ares used to collect user data. The API pushmodalasync is not normally modal except for calls from a ListView on the main page.
Logging
- Enhanced Device Logging in Visual Studio
- Logging with Xamarin PCL also includes some comments on best practice with Xamarin Forms. For example: "NLog works just fine with Android and iOS projects. For UWP you can use MetroLog which is very similar with NLog but on a smaller scale."
- Serilog.Sinks.Xamarin writes Serilog events to the console of Xamarin.iOS (NSLog) / Xamarin.Android (AndroidLog).
References
Other Reference Material
- See the wiki page Compliant Implementation of Native User Agent for an example of a Xamarin Forms Native App.
- Petzold Xamarin Book Chaper 24 on navigation