Pro XAML with C# by James Buddy & Lalonde Lori
Author:James, Buddy & Lalonde, Lori
Language: eng
Format: epub
ISBN: 978-1-4302-6776-8
Publisher: Apress
Published: 2015-06-30T04:00:00+00:00
Figure 7-16. App.config exception handling and logging configuration markup
As you scroll through the App.config file to view all of the markup that was added by the Enterprise Configuration Console, think about how tedious and error prone the process would have been if you had to write this XML from scratch!
Logging Options for Windows Device Apps
As we mentioned in the first section within this chapter, the Enterprise Library Application Blocks are available for a variety of .NET applications. Unfortunately, Windows Store and Windows Phone apps are not among them. So, you will need to devise an exception handling approach that works for your application, which means handling it the old-fashioned way. And by this we mean putting in those try/catch blocks that you’ve been desperately attempting to avoid at all costs.
The following are some options that you can use to handle logging within Windows Store and Windows Phone applications:
Custom logging library: Create your own portable class library to write messages to a log file, SQLite database, or Azure SQL database, or to your own web service endpoint.
MetroLog: This is an open source project available on GitHub, https://github.com/mbrit/MetroLog, which allows you easily to implement logging based on NLog.
Visual Studio Application Insights: This is a client library for an Azure service that allows you easily to incorporate tracing, logging, and analytics within your Windows Phone and Windows Store applications.
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
The Mikado Method by Ola Ellnestam Daniel Brolund(22432)
Hello! Python by Anthony Briggs(21622)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(20183)
Dependency Injection in .NET by Mark Seemann(19563)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(19311)
Kotlin in Action by Dmitry Jemerov(19233)
OCA Java SE 8 Programmer I Certification Guide by Mala Gupta(18774)
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(17576)
Adobe Camera Raw For Digital Photographers Only by Rob Sheppard(16965)
Grails in Action by Glen Smith Peter Ledbrook(16726)
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(14219)
Secrets of the JavaScript Ninja by John Resig & Bear Bibeault(12199)
Test-Driven iOS Development with Swift 4 by Dominik Hauser(10923)
A Developer's Guide to Building Resilient Cloud Applications with Azure by Hamida Rebai Trabelsi(10597)
Jquery UI in Action : Master the concepts Of Jquery UI: A Step By Step Approach by ANMOL GOYAL(10029)
Hit Refresh by Satya Nadella(9115)
The Kubernetes Operator Framework Book by Michael Dame(8537)
Exploring Deepfakes by Bryan Lyon and Matt Tora(8362)
Robo-Advisor with Python by Aki Ranin(8305)