public App()
{
//bool result = Windows.UI.ViewManagement.ApplicationViewScaling.TrySetDisableLayoutScaling(true);
// Setup the exception handler first
this.UnhandledException += OnUnhandledException;
// Now setup the baconman
BaconMan = new BaconManager(false);
// Now telemetry
Microsoft.ApplicationInsights.WindowsAppInitializer.InitializeAsync(
Microsoft.ApplicationInsights.WindowsCollectors.Metadata |
Microsoft.ApplicationInsights.WindowsCollectors.UnhandledException |
Microsoft.ApplicationInsights.WindowsCollectors.Session);
// Init the app
this.InitializeComponent();
// Register for events.
this.Suspending += OnSuspending_Fired;
this.Resuming += OnResuming_Fired;
}