windows-10-universal

How to Authenticate UWP app using Current Windows LoggedIn user

别等时光非礼了梦想. 提交于 2019-12-01 06:03:13
Currently my business UWP app authenticate using AD username and password from users which is generally same as Windows logged-in User. I need to remove this requirement and let user login directly to app based on current Windows user. I've been searching lot and found it for WebSites but not for app. I'm using following client: var filter = new HttpBaseProtocolFilter(); Windows.Web.Http.HttpClient client = new Windows.Web.Http.HttpClient(filter); client.GetAsync(url); Is there any resource using which windows single sign on authentication can be done in UWP app? Edit: Some solution are Azure

How to Authenticate UWP app using Current Windows LoggedIn user

橙三吉。 提交于 2019-12-01 03:24:22
问题 Currently my business UWP app authenticate using AD username and password from users which is generally same as Windows logged-in User. I need to remove this requirement and let user login directly to app based on current Windows user. I've been searching lot and found it for WebSites but not for app. I'm using following client: var filter = new HttpBaseProtocolFilter(); Windows.Web.Http.HttpClient client = new Windows.Web.Http.HttpClient(filter); client.GetAsync(url); Is there any resource

App Certification fails because of PreLaunch Test

本秂侑毒 提交于 2019-12-01 02:59:12
When I run the App Certification on my Template 10 based app, I get the following error: Error Found: The app prelaunch validation detected the following errors:◦The app failed prelaunch test - 49581RisingSoundMedia.ElectionCentral_1.1.7.0_x64__xrbjpqg44kdgm. •Impact if not fixed: The app will take a longer time to launch, even when prelaunch is enabled. •How to fix: In the OnLaunched method implementation of the app, ensure you handle the LaunchActivatedEventArgs.PreLaunch option to be prelaunch event aware. Obviously I can't override the OnLaunched even with Template 10 because the Bootstrap

Xamarin Form - How to make UI Responsive in UWP

喜欢而已 提交于 2019-12-01 02:37:48
I am developing the DMS application in uwp desktop application. I have developed the design.but my designs are not responsive.I am gone through so many UI responsive articles but i am not able to make the ui responsive.:( I am uploaded my one project module please go through it and let me know whats wrong in it.I want to make ui responsive form login page to add new user. link Download the UWPUIResponsive zip file. thanks in advance.:) Xavier Xie - MSFT's reply is correct. And I checked your link, if you want to make UI responsive for your page, You could create VisualStateGroups that contains

How can I set the Windows position on startup

萝らか妹 提交于 2019-12-01 01:57:32
问题 I want to set the position of the window on the right side on the screen similar to WPF. Is there a way in UWP to do this? 回答1: AFAIK it's not possible in UWP (at least not yet), you can change window size or make it fullscreen by accessing ApplicationView class, but there are no such methods/properties like in WPF . There was also similar question on MSDN. 回答2: Yes there is a way :) Go to your xaml for example Windows1.xaml then put this there. Example code <Window x:Class="Poultry

UWP trying to animate scrollviewer with attached dependency propert

让人想犯罪 __ 提交于 2019-12-01 01:09:23
Am trying to animate horizontal offset of scrollviewer in UWP.but the attached properties are not being identified by animation target. <Grid x:Name="maingrid" Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"> <Grid.Resources> <Storyboard x:Key="animation" x:Name="animation"> <DoubleAnimation Storyboard.TargetName="scrolviewer" Storyboard.TargetProperty="(local:ScrollviewerBehaviour.Horizontalofset)" Duration="0:0:1" From="0" To="80"/> </Storyboard> </Grid.Resources> <Button Width="100" Height="50" Click="Button_Click_1"/> <ScrollViewer x:Name="scrolviewer" local

App Certification fails because of PreLaunch Test

别等时光非礼了梦想. 提交于 2019-11-30 22:45:36
问题 When I run the App Certification on my Template 10 based app, I get the following error: Error Found: The app prelaunch validation detected the following errors:◦The app failed prelaunch test - 49581RisingSoundMedia.ElectionCentral_1.1.7.0_x64__xrbjpqg44kdgm. •Impact if not fixed: The app will take a longer time to launch, even when prelaunch is enabled. •How to fix: In the OnLaunched method implementation of the app, ensure you handle the LaunchActivatedEventArgs.PreLaunch option to be

How can i change the Package family name in uwp windows 10

∥☆過路亽.° 提交于 2019-11-30 21:15:13
I want to change the key mentioned in fig., when i change the certificate file it changes to the another temporary key, and the publisher folder is creating with this key as name. but i want it as a meaningful name. is it possible.? if anybody knows, please help me. Together, these elements declare the identity of your app, establishing the "package family" to which all of its packages belong. Individual packages will have additional details, such as architecture and version. The package family name is the combination of YourProjectName and TemporaryKey . And the Temporaraykey is a hash value

UWP trying to animate scrollviewer with attached dependency propert

点点圈 提交于 2019-11-30 21:11:29
问题 Am trying to animate horizontal offset of scrollviewer in UWP.but the attached properties are not being identified by animation target. <Grid x:Name="maingrid" Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"> <Grid.Resources> <Storyboard x:Key="animation" x:Name="animation"> <DoubleAnimation Storyboard.TargetName="scrolviewer" Storyboard.TargetProperty="(local:ScrollviewerBehaviour.Horizontalofset)" Duration="0:0:1" From="0" To="80"/> </Storyboard> </Grid.Resources> <Button

Win 10 Universal App with Cordova trying to load flash

好久不见. 提交于 2019-11-30 19:01:54
I'm building a cross-platform Cordova app with Visual Studio 2015 and tools for Apache Cordova. Therefore I'm using the Blank Cordova App (with TypeScript) from Tools for Apache Cordova. Everything seems to work fine, except there is a strange error in the JavaScript Console when running the App on Windows 10: APPHOST9603: "Can’t load the ActiveX plug-in that has the class ID "{D27CDB6E-AE6D-11CF-96B8-444553540000}". Apps can't load ActiveX controls." This is kind of strange because I'm not unsing any ActiveX plug-in. At least not knowingly... The error is also only visible when running the