windows-store-apps

Are there any Database solutions for Windows Runtime other than SQLite?

二次信任 提交于 2019-12-25 01:39:26
问题 I have around 1000 - 5000 records and want to save them in a database for a fast access. I used SQLite in Windows Phone Runtime, but it is VERY slow, only 2-3 inserts in a second. I'm wondering if there even exists any other database solutions faster than SQLite? 回答1: I think the answer is - in short - no. Microsoft has dropped the good old LINQ to SQL when they introduced Windows Store apps. That feature remains available only for Silverlight apps. So far SQLite is the only way to go (imo).

Invalid PDF digital signature in WinRT app

橙三吉。 提交于 2019-12-25 00:52:23
问题 I am trying to port a working solution for signing PDFs from a standard C# class library to portable class library (or windows store app 8.1). iTextSharp version: 5.5.3.0 The logic is as follows: I create a signature appearance in iTextSharp, hash it (SHA256, it's a third party requirement), send the hash to a webservice which returns me the signed content. As mentioned, the solution is working fine e.g. in ASP.net web applications, but all the attempts to implement it in the WinRT

Do I need to revalidate my Bing Maps credentials?

*爱你&永不变心* 提交于 2019-12-25 00:23:20
问题 Do Bing Maps credentials time out? My Bing Maps credentials, supplied like so (but with a bogus value shown here): <maps:Map x:Name="bingMap" Grid.Column="1" Grid.Row="1" Grid.RowSpan="2" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" LandmarkTapped="BingMap_OnLandmarkTapped" Credentials="jkdfsjkfadjkdfsajkdfsasdfaasdf" /> ...have worked fine until today, and now I get this message across the map on my main page when I run my app: " The specified credentials are invalid. You can

Add timestamp to signed AppX bundle

心不动则不痛 提交于 2019-12-24 22:25:29
问题 Our Windows Store app is signed by Visual Studio with our custom code signing certificate to allow sideloading of the resulting AppX bundle. The AppX bundle generated by Visual Studio (during the _CreateBundle build step I guess) will add no trusted timestamp to the digital signature. This prevents the bundle from being installed after the certficate has expired. Is there a way to adjust or configure the _CreateBundle build task to add a timestamp during the packaging and singing process? I

windows store app 8.1 file system access

柔情痞子 提交于 2019-12-24 22:08:08
问题 Can windows store apps only access "library" files and not other locations on the hard drives of PCs? Like if I had a D drive that was full of video media that I wanted the app to have access to, is there no way to get to that? I've been searching for a while now and can't find anything but "knownfolder" examples and documentation. 回答1: In order to access files outside of the libraries and other specific locations, you'd need to use the FileOpenPicker or FolderPicker. You can find more

Error with Windows App Certification Kit

六月ゝ 毕业季﹏ 提交于 2019-12-24 19:33:49
问题 I keep getting the following error when I run the Windows App Certification Kit. "Task failed to enable HighVersionLie" I am using VS 2017 Community and it happens on multiple machines. The only thing I add is the Template Studio templates with a couple pages. I have reinstalled VS 2017 Community and updated windows. 回答1: According to "Don’t Fail the HighVersionLie": ... there is a certification test called the HighVersionLie that tests for just this case. The test sets the Windows version to

Error when trying to view designer in windows store app c#

冷暖自知 提交于 2019-12-24 19:03:03
问题 I am getting the below error messages when I try and view any xaml design page in my project, can anyone tell me what it means? System.Exception Package failed updates, dependency or conflict validation. Windows cannot install package App.a9a122e61.a5503.a4c46.a9cbd.ad0f269743658 because this package depends on another package that could not be found. This package requires minimum version 0.0.0.0 of framework Microsoft.VCLibs.110.00.Debug published by any publisher to install. Provide the

Portable class library and resx localization

痴心易碎 提交于 2019-12-24 17:14:35
问题 I have Portable class library, where I have resx files containing localization strings (Resources.resx, Resources.en.resx, Resources.de.resx ). Then I use this resources in the PCL LocalizationViewModel in this way : public string SettingsLogin { get { return Resources.Settings_Login; } } Language switching code looks like following : In PCL CultureInfo.DefaultThreadCurrentCulture = new CultureInfo(lang); CultureInfo.DefaultThreadCurrentUICulture = new CultureInfo(lang); Resources.Culture =

Using XSD files in WinRT Projects

这一生的挚爱 提交于 2019-12-24 15:32:45
问题 I'm trying to use some existing C# code in a WinRT (Windows Store/Metro) project. This code relied on some xml files generated using XSD. Unfortunately it seems the old XmlDocument classes aren't available in WinRT... there are some alternatives, but they don't seem to be quite the same - so I need to generate some new files for WinRT. Is there a way to import an XSD file into a WinRT project so that all the data classes, and enums are generated and can be used in the Metro project? I've

WinRT: How to read images from the pictures library via an URI?

六月ゝ 毕业季﹏ 提交于 2019-12-24 14:32:01
问题 Trying to read an image that is stored in the pictures library via an URI the image is never displayed (in an Image control). Reading the same image via a stream works (assuming the app hat the Picture Library capability declared of course). Reading images from the application's data folder via an URI works. Does someone know what could be wrong? Here is how I (unsucessfully) try to read an image via an URI: var imageFile = (await KnownFolders.PicturesLibrary.GetFilesAsync()).FirstOrDefault()