November 25, 2015
November 10, 2015
You want to secure your WCF web services, you want to sign digital signature on your web service here are some good references
October 26, 2015
You may receive following error when try to create TFS Team Project from Visual Studio
Problem: Fail to create team project
The Project Creation Wizard encountered an error while creating reports to the SQL Server Reporting Services on http://win-i20evd01dob/ReportServer/ReportService2005.asmx.
The Project Creation Wizard encountered a problem while creating reports on the SQL Server Reporting Services on http://win-i20evd01dob/ReportServer/ReportService2005.asmx. The reason for the failure cannot be determined at this time. Because the operation failed, the wizard was not able to finish creating the SQL Server Reporting Services site.
Contact the administrator for the SQL Server Reporting Services on http://win-i20evd01dob/ReportServer/ReportService2005.asmx to confirm that the SQL Server Reporting Services server is running and you have sufficient privileges to create a project. Your user account on SQL Server Reporting Services must have Content Manager permission to create a new project. Also, you might find additional helpful information in the project creation log. The log shows each action taken by the wizard at the time of the failure and may include additional details about the error.
Exception Type: Microsoft.TeamFoundation.Client.PcwException
Exception Message: The Project Creation Wizard encountered an error while creating reports to the SQL Server Reporting Services
September 28, 2015
In Windows Phone 8.x, you can use the Marketplace review task to launch the Store or Marketplace and then display the review page for the current app. The code is simple as below
MarketplaceReviewTask marketplaceReviewTask = new MarketplaceReviewTask(); marketplaceReviewTask.Show();
Unfortunately, UWP Windows 10 app does not support this kind of Marketplace review task. So the question is “How to open review page for current app to request user to rate your app on Windows 10?” Solution is, you can use Windows.System.Launcher to launch the ms-windows-store: URI scheme. The URI schema to launches the write a review experience for a product for example are:
Product ID: ms-windows-store://review/?ProductId=9WZDNCRFHVJL
Package Family Name (PFN): ms-windows-store://review/?PFN= Microsoft.Office.OneNote_8wekyb3d8bbwe
And then, in your code, using one of the uriString above
await Windows.System.Launcher.LaunchUriAsync(new Uri(uriString));
For Windows app, using the second schema uri is my recommendation, because you can get PFN dynamically from your code by using Windows.ApplicationModel.PackageId.FamilyName
but Windows.ApplicationModel.PackageId.ProductID is only available for Windows Phone app.
Hope this help!
September 9, 2015
– You have Windows Phone 8.x and Windows 8.x apps and want to upgrade the app to UWP Universal for Windows 10 to take advantage of new API platform?
– You just only want to update the Windows app to UWP but leave the phone app version in 8.x for some reason ex: AdMob SDK has not yet supported for Windows Phone 8.1 or later. Here are some best practices for you:
Open the Package.appxmanifest file then edit the Dependencies as below
<Dependencies> <!--<TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.0.0" MaxVersionTested="10.0.0.0" />--> <TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.10240.0" MaxVersionTested="10.0.10240.0" /> </Dependencies>
<Capabilities> <Capability Name="internetClient" /> <uap:Capability Name="appointments" /> </Capabilities>
Solution is create a new page or usercontrol then change the page/usercontrol class to inherit to Windows.UI.Xaml.Controls.SettingsFlyout. In UWP app the SettingsFlyout control is not visible in template selection but it still there in code.
public sealed partial class SettingsFlyoutControl : SettingsFlyout
<SettingsFlyout x:Class="LichViet.UserControls.SettingsFlyoutControl"...> .... </SettingsFlyout>
Hope this help!