{"id":227197,"date":"2014-06-23T11:42:03","date_gmt":"2014-06-23T07:42:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=227197"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=227197","title":{"rendered":"<span class=\"post_title\">\u041f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f Windows 8.1 \u043d\u0430 Windows Phone 8.0 \u0441 \u0440\u0430\u0437\u0431\u043e\u0440\u043e\u043c \u043f\u0440\u043e\u0431\u043b\u0435\u043c<\/span>"},"content":{"rendered":"<div class=\"content html_format\">     \t<img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/611\/5cf\/279\/6115cf2795b1820f6d2762a4c8b885b0.png\"\/><\/p>\n<p>  \u041d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u043f\u0440\u043e\u0441\u0442\u043e\u0433\u043e Windows 8.1 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043d\u0430\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u0438\u0442\u044c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0441 WinRT (Windows 8.1) \u043d\u0430 Silverlight (WP8.0) \u0438 \u043f\u043e \u0445\u043e\u0434\u0443 \u0440\u0430\u0437\u0431\u0435\u0440\u0435\u043c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0434\u0432\u043e\u0434\u043d\u044b\u0445 \u043a\u0430\u043c\u043d\u0435\u0439. <br \/>  <a name=\"habracut\"><\/a><\/p>\n<p>  \u0412\u044b \u043d\u0430\u0432\u0435\u0440\u043d\u044f\u043a\u0430 \u0441\u043b\u044b\u0448\u0430\u043b\u0438 \u043e \u043f\u0440\u043e\u0434\u0432\u0438\u0433\u0430\u0435\u043c\u043e\u043c \u0441\u043f\u043e\u0441\u043e\u0431\u0435 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 Windows \/ Windows Phone \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u2013 Universal Apps. \u041f\u043e\u0434\u0445\u043e\u0434 \u0437\u0434\u0440\u0430\u0432\u044b\u0439, \u043d\u043e \u0440\u044b\u043d\u043e\u0447\u043d\u0430\u044f \u0434\u043e\u043b\u044f WP8.1 \u043f\u043e\u043a\u0430 \u0435\u0449\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442 \u0440\u0430\u0441\u0442\u0438, \u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043d\u0443\u0436\u043d\u043e \u0434\u0435\u043b\u0430\u0442\u044c \u0441\u0435\u0439\u0447\u0430\u0441, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c\u0441\u044f \u043d\u0430 WP8.0 (Silverlight). \u041f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u0430: \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u0434\u0435\u0432\u0430\u0439\u0441\u043e\u0432 \u043a\u0430\u043a \u043d\u0430 WP8.0 \u0442\u0430\u043a \u0438 \u043d\u0430 WP8.1, \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u0432\u0441\u0435\u0445 \u0442\u0438\u043f\u043e\u0432 \u044d\u043a\u0440\u0430\u043d\u043e\u0432 \u0431\u0435\u0437 \u00ab\u0447\u0435\u0440\u043d\u044b\u0445 \u043f\u043e\u043b\u043e\u0441\u00bb (\u0432 \u043e\u0442\u043b\u0438\u0447\u0438\u0435 \u043e\u0442 WP7 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439), \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u044b\u0435 \u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u0442.\u0434.<\/p>\n<h4>\u041a\u0440\u0430\u0442\u043a\u043e \u043e\u0431 \u0438\u0441\u0445\u043e\u0434\u043d\u043e\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438<\/h4>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/7e7\/1b9\/7be\/7e71b97befbb074580b425d6500fe5ca.png\"\/><br \/>  \u041f\u043e\u0434\u043e\u043f\u044b\u0442\u043d\u044b\u043c \u043a\u0440\u043e\u043b\u0438\u043a\u043e\u043c \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0441\u0442\u0443\u043f\u0430\u0442\u044c \u043f\u043e\u0447\u0442\u0438 \u0433\u043e\u0442\u043e\u0432\u043e\u0435 \u043e\u0434\u043d\u043e\u0441\u0442\u0440\u0430\u043d\u0438\u0447\u043d\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 Windows 8.1 \u0434\u043b\u044f \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0445 \u043a\u0443\u0440\u0441\u043e\u0432 \u0432\u0430\u043b\u044e\u0442. <\/p>\n<p>  \u041f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e\u0435 \u0438 \u0431\u0435\u0437 \u0440\u0435\u043a\u043b\u0430\u043c\u044b, \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b \u0436\u0435\u0441\u0442\u043a\u043e \u043b\u0438\u043c\u0438\u0442\u0438\u0440\u043e\u0432\u0430\u043d. \u0422\u043e\u043b\u044c\u043a\u043e \u0441\u0430\u043c\u044b\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438: \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0441\u0440\u0435\u0434\u043d\u0435\u0433\u043e \u043a\u0443\u0440\u0441\u0430 \u0432\u0430\u043b\u044e\u0442 (USD, EUR, RUB), \u0433\u0440\u0430\u0444\u0438\u043a \u0444\u043b\u0443\u043a\u0442\u0443\u0430\u0446\u0438\u0438 \u0437\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0435 30 \u0434\u043d\u0435\u0439, \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u043a\u0443\u0440\u0441\u043e\u0432 \u043f\u043e \u0431\u0430\u043d\u043a\u0430\u043c, \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0435\u0440 \u0432\u0430\u043b\u044e\u0442 \u0438 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 Live Tiles.<br \/>  \u0421\u0435\u0440\u0432\u0435\u0440\u043d\u0443\u044e \u0447\u0430\u0441\u0442\u044c \u043e\u0441\u0442\u0430\u0432\u0438\u043c \u0437\u0430 \u043a\u0430\u0434\u0440\u043e\u043c \u0442.\u043a. \u0442\u0430\u043c \u043d\u0435\u0442 \u043d\u0438\u0447\u0435\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u0433\u043e.<\/p>\n<h4>\u0421\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u043f\u0440\u043e\u0435\u043a\u0442\u0430<\/h4>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/ee1\/bf8\/3bc\/ee1bf83bc2e3b2145c9081e007ef2007.png\"\/><br \/>  \u0421 \u043f\u0440\u0438\u0446\u0435\u043b\u043e\u043c \u043d\u0430 Universal Apps \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u0431\u043b\u043e\u043a\u0438 \u0432\u044b\u043d\u0435\u0441\u0435\u043d\u044b \u0432 \u044e\u0437\u0435\u0440 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044b, \u043a\u043b\u0430\u0441\u0441\u044b \u0434\u0430\u043d\u043d\u044b\u0445 \u0432\u044b\u043d\u0435\u0441\u0435\u043d\u044b \u0432 Portable Library, \u0430 \u043a\u043e\u0434 \u043e\u0442\u0432\u0435\u0447\u0430\u044e\u0449\u0438\u0439 \u0437\u0430 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u043e\u0442\u0434\u0435\u043b\u0435\u043d \u043e\u0442 UI.<\/p>\n<h5>\u041f\u0435\u0440\u0435\u043d\u043e\u0441\u0438\u043c \u043a\u043e\u0434 \u043d\u0430 Windows Phone 8.0<\/h5>\n<p>  \u0421\u043e\u0437\u0434\u0430\u0435\u043c \u043f\u0443\u0441\u0442\u043e\u0439 \u043f\u0440\u043e\u0435\u043a\u0442, \u0432\u044b\u043a\u0438\u0434\u044b\u0432\u0430\u0435\u043c \u0432\u0441\u0435 \u043b\u0438\u0448\u043d\u0435\u0435 \u0438\u0437 MainPage, \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043d\u0443\u0436\u043d\u044b\u0435 \u0440\u0435\u0444\u0435\u0440\u0435\u043d\u0441\u044b \u0438 NuGet \u043f\u0430\u043a\u0435\u0442\u044b. \u041f\u0435\u0440\u0432\u044b\u043c \u0434\u0435\u043b\u043e\u043c \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043a\u0430\u043a \u0441\u0441\u044b\u043b\u043a\u0438 (Add -&gt; Existing Item -&gt; <a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/ee707369(v=vs.91).aspx\">Add As Link<\/a> ) \u0444\u0430\u0439\u043b\u044b \u043a\u043b\u0430\u0441\u0441\u043e\u0432 \u0434\u043b\u044f \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u0437 Windows 8 \u043f\u0440\u043e\u0435\u043a\u0442\u0430.<\/p>\n<h6>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u044b:<\/h6>\n<p>  \u25ca \u041e\u0436\u0438\u0434\u0430\u0442\u044c \u0447\u0442\u043e \u043d\u0435\u0439\u043c\u0441\u043f\u0435\u0439\u0441\u044b \u0441\u043e\u0439\u0434\u0443\u0442\u0441\u044f \u043d\u0435 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f (WinRT vs Silverlight), \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u0442\u0435\u043f\u043b\u044b\u0439 \u043b\u0430\u043c\u043f\u043e\u0432\u044b\u0439 #if #endif, \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f \u0447\u0442\u043e \u0442\u043e \u0442\u0438\u043f\u0430 \u0442\u0430\u043a\u043e\u0433\u043e:  <\/p>\n<pre><code class=\"cs\">#if NETFX_CORE using Windows.Web.Http; using System.Runtime.InteropServices.WindowsRuntime; using Windows.Networking.BackgroundTransfer; #endif #if WINDOWS_PHONE using System.Net.Http; #endif <\/code><\/pre>\n<p>  \u0414\u043e\u043b\u0436\u0435\u043d \u043e\u0442\u043c\u0435\u0442\u0438\u0442\u044c, \u0447\u0442\u043e \u0445\u043e\u0442\u044c \u043c\u044b \u0438 \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c Universal Apps, Visual Studio 2013 Update 2 \u0441\u0438\u043b\u044c\u043d\u043e \u0443\u043f\u0440\u043e\u0449\u0430\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0443 \u0441 #if #endif \u0434\u043b\u044f \u0440\u0430\u0437\u043d\u044b\u0445 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c. \u041f\u043e\u044f\u0432\u0438\u043b\u0441\u044f \u0435\u0449\u0435 \u043e\u0434\u0438\u043d \u0432\u044b\u043f\u0430\u0434\u0430\u044e\u0449\u0438\u0439 \u0441\u043f\u0438\u0441\u043e\u043a \u043f\u0440\u044f\u043c\u043e \u043d\u0430\u0434 \u043a\u043e\u0434\u043e\u043c, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0438\u0439 \u0431\u044b\u0441\u0442\u0440\u043e \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0443 \u0431\u0435\u0437 \u043f\u0435\u0440\u0435\u043e\u0442\u043a\u0440\u044b\u0442\u0438\u044f \u0444\u0430\u0439\u043b\u0430. IntelliSense \u0431\u043e\u043b\u044c\u0448\u0435 \u043d\u0435 \u043f\u0430\u0434\u0430\u0435\u0442, Resharper \u043d\u0435 \u043e\u0442\u0432\u0430\u043b\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0432 \u0441\u0430\u043c\u044b\u0439 \u043d\u0435 \u043f\u043e\u0434\u0445\u043e\u0434\u044f\u0449\u0438\u0439 \u043c\u043e\u043c\u0435\u043d\u0442. \u041d\u0438\u043a\u0430\u043a\u0438\u0445 \u0431\u043e\u043b\u044c\u0448\u0435 \u00abThis document is opened by another project.\u00bb \u0438 \u0442.\u043f.<\/p>\n<p>  \u25ca \u041f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0434\u0430\u043d\u043d\u044b\u0435 \u043c\u044b \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e HttpClient (\u043f\u043e\u0437\u0436\u0435 \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u043d\u044f\u0442\u043d\u043e, \u043f\u043e\u0447\u0435\u043c\u0443 \u0438\u043c\u0435\u043d\u043d\u043e HttpClient), \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0432 WP8.0, \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c NuGet \u043f\u0430\u043a\u0435\u0442 Microsoft.Net.Http. \u041d\u043e \u0438 \u0442\u0443\u0442 \u043d\u0435 \u0431\u0435\u0437 \u0441\u044e\u0440\u043f\u0440\u0438\u0437\u043e\u0432, \u0431\u0435\u0437 #if \u043d\u0435 \u043e\u0431\u043e\u0448\u043b\u043e\u0441\u044c:  <\/p>\n<pre><code class=\"cs\">            var client = new HttpClient();             byte[] buff; #if NETFX_CORE             var ibuff = await client.GetBufferAsync(uri);             buff = ibuff.ToArray(); #endif #if WINDOWS_PHONE             buff = await client.GetByteArrayAsync(uri); #endif <\/code><\/pre>\n<p>  \u0412\u043e\u043f\u0440\u043e\u0441 \u043d\u0430 \u0437\u0430\u0441\u044b\u043f\u043a\u0443, \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0445 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0439 HttpClient \u0432\u044b \u0437\u043d\u0430\u0435\u0442\u0435?<\/p>\n<p>  \u25ca \u041f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u043c\u044b \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u043c \u0432 \u043f\u0430\u043c\u044f\u0442\u0438 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430, \u0447\u0442\u043e \u0431\u044b \u0431\u044b\u043b\u043e \u0447\u0442\u043e \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0440\u0430\u0437 \u043f\u0440\u0438 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u0438 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f, \u043d\u043e\u2026 \u043d\u0443 \u0432\u044b \u043f\u043e\u043d\u044f\u043b\u0438:  <\/p>\n<pre><code class=\"cs\">#if NETFX_CORE                 var file = await ApplicationData.Current.LocalFolder.CreateFileAsync(LOCAL_DATA_FILENAME, CreationCollisionOption.ReplaceExisting);                 await FileIO.WriteTextAsync(file, json); #endif #if WINDOWS_PHONE                 var fs = await ApplicationData.Current.LocalFolder.OpenStreamForWriteAsync(LOCAL_DATA_FILENAME, CreationCollisionOption.ReplaceExisting);                  using (StreamWriter streamWriter = new StreamWriter(fs))                 {                     await streamWriter.WriteAsync(json);                 } #endif <\/code><\/pre>\n<p>  \u0422\u0443\u0442 \u0441\u0442\u043e\u0438\u0442 \u043f\u043e\u043c\u043d\u0438\u0442\u044c \u043e \u0440\u0430\u0437\u043d\u0438\u0446\u0435 \u043c\u0435\u0436\u0434\u0443 LocalFolder \u0438 LocalCache (\u043d\u0430\u0447\u0438\u043d\u0430\u044f \u0441 WP8.1), \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0435 \u043e\u0442\u043b\u0438\u0447\u0438\u0435 \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e LocalFolder \u0432 \u043e\u0442\u043b\u0438\u0447\u0438\u0435 \u043e\u0442 LocalCache \u043f\u043e\u0434\u0432\u0435\u0440\u0436\u0435\u043d \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u043e\u043c\u0443 beckup\/restore (\u043d\u0435 \u043f\u0443\u0442\u0430\u0442\u044c \u0441 roaming) \u0438 \u043a\u0430\u043a \u0441\u043b\u0435\u0434\u0441\u0442\u0432\u0438\u0435 \u0432\u0430\u0448\u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u043c\u043e\u0433\u0443\u0442 \u043e\u043a\u0430\u0437\u0430\u0442\u044c\u0441\u044f \u043d\u0430 \u0441\u043e\u0432\u0441\u0435\u043c \u0434\u0440\u0443\u0433\u043e\u043c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0435 (\u0438\u043b\u0438 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445) \u0441\u043e \u0432\u0441\u0435\u043c\u0438 \u0432\u044b\u0442\u0435\u043a\u0430\u044e\u0449\u0438\u043c\u0438. \u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0439 \u043a\u0430\u043a \u044d\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c <a href=\"http:\/\/channel9.msdn.com\/Events\/Build\/2014\/2-522\">\u0442\u0443\u0442<\/a>. \u0412 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 LocalCache \u043d\u0430 WP8.0 \u043d\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u0447\u0442\u043e \u0438\u043c\u0435\u0435\u043c.<\/p>\n<p>  \u25ca \u041e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u0441\u0442\u043e\u0438\u0442 \u0443\u043f\u043e\u043c\u044f\u043d\u0443\u0442\u044c \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445, \u0438\u0441\u0442\u043e\u0440\u0438\u0447\u0435\u0441\u043a\u0438 \u0441\u043b\u043e\u0436\u0438\u043b\u043e\u0441\u044c \u0447\u0442\u043e \u0443 \u043c\u0435\u043d\u044f \u0443\u0436\u0435 \u0431\u044b\u043b \u0441\u0430\u043c\u043e\u043f\u0438\u0441\u043d\u044b\u0439 \u043a\u0440\u043e\u0441\u0441\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435\u043d\u043d\u044b\u0439 \u0431\u0438\u043d\u0430\u0440\u043d\u043e \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u044b\u0439 \u043a\u043b\u0430\u0441\u0441 \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f <a href=\"http:\/\/en.wikipedia.org\/wiki\/Advanced_Encryption_Standard\">AES<\/a>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043a\u043e\u0447\u0443\u0435\u0442 \u0438\u0437 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0432 \u043f\u0440\u043e\u0435\u043a\u0442. \u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u044d\u0442\u043e\u0433\u043e \u043a\u043b\u0430\u0441\u0441\u0430 \u0432\u044b\u0445\u043e\u0434\u0438\u0442 \u0437\u0430 \u0440\u0430\u043c\u043a\u0438 \u0441\u0442\u0430\u0442\u044c\u0438, \u0441\u043a\u0430\u0436\u0443 \u0442\u043e\u043b\u044c\u043a\u043e \u0447\u0442\u043e \u043f\u043e\u0434 WP8.0 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u0437\u0430\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u043a\u043b\u0430\u0441\u0441 AesManaged, \u0430 \u043f\u043e\u0434 WinRT \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e \u043c\u0430\u043f\u043f\u0435\u0440\u044b \u043d\u0430 \u043d\u0430\u0442\u0438\u0432\u043d\u0443\u044e \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e:  <\/p>\n<pre><code class=\"cs\">#if NETFX_CORE using Windows.Security.Cryptography; using Windows.Security.Cryptography.Core; using Windows.Storage.Streams; #else using System.Security.Cryptography; #endif    <\/code><\/pre>\n<h5>\u041f\u0435\u0440\u0435\u043d\u043e\u0441\u0438\u043c UI \u043d\u0430 Windows Phone 8.0<\/h5>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/7e7\/1b9\/7be\/7e71b97befbb074580b425d6500fe5ca.png\"\/><\/p>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e \u043a\u0430\u043a \u0432\u0441\u043f\u043e\u043c\u043e\u0433\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u043a\u043e\u0434 \u043f\u0435\u0440\u0435\u043d\u0435\u0441\u0435\u043d \u0438 \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0443\u0435\u0442\u0441\u044f, \u0431\u0435\u0440\u0435\u043c\u0441\u044f \u0437\u0430 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441. \u0422.\u043a. \u0442\u0435\u043b\u0435\u0444\u043e\u043d, \u043f\u043b\u0430\u043d\u0448\u0435\u0442 \u0438\u043b\u0438 \u0434\u0435\u0441\u043a\u0442\u043e\u043f \u044d\u0442\u043e \u0441\u043e\u0432\u0441\u0435\u043c \u043d\u0435 \u043e\u0434\u043d\u043e \u0438 \u0442\u043e \u0436\u0435. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u043f\u043e-\u0440\u0430\u0437\u043d\u043e\u043c\u0443. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e Windows 8 \u0438 Windows Phone \u043f\u0440\u043e\u0435\u043a\u0442\u044b \u0431\u0443\u0434\u0443\u0442 \u0438\u043c\u0435\u0442\u044c \u0441\u0432\u043e\u0438 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 MainPage \u0430 \u044e\u0437\u0435\u0440 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044b \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c \u043a\u0430\u043a \u0441\u0441\u044b\u043b\u043a\u0438 (Add As Link, \u0432 \u0431\u0443\u0434\u0443\u0449\u0435\u043c \u0432\u0441\u0435 \u044d\u0442\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u0435\u0440\u0435\u0435\u0434\u0435\u0442 \u0432 <a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/windows\/apps\/dn609832.aspx\">Shared project<\/a>). \u041f\u043b\u044e\u0441 \u0441\u0430\u043c\u0438 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044b \u0431\u0443\u0434\u0443\u0442 \u0430\u0434\u0430\u043f\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043f\u043e\u0434 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044e, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0448\u0438\u0440\u0438\u043d\u0443 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0430 (\u043d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0435\u0442 \u043f\u0440\u043e snapped mode \u0432 Windows 8).<\/p>\n<h6>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u044b:<\/h6>\n<p>  \u25ca \u041f\u0435\u0440\u0432\u043e\u0435 \u0447\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c, \u044d\u0442\u043e \u0440\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u044c \u043d\u0435\u0439\u043c\u0441\u043f\u0435\u0439\u0441\u044b \u0432 code behind \u043a\u043b\u0430\u0441\u0441\u0430\u0445 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0432\u0441\u0435 \u0442\u0435\u0445 \u0436\u0435 #if #endif, \u043f\u0440\u0438\u043c\u0435\u0440 \u043f\u0440\u0438\u0432\u043e\u0434\u0438\u0442\u044c \u043d\u0435 \u0431\u0443\u0434\u0443, \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u0441\u044f Shift+Alt+F10 \u043d\u0430 \u0432\u0441\u0435\u043c \u0447\u0442\u043e \u043f\u043e\u0434\u0447\u0435\u0440\u043a\u043d\u0443\u0442\u043e \u043a\u0440\u0430\u0441\u043d\u044b\u043c.<\/p>\n<p>  \u25ca \u0422\u0430\u043a \u0441\u043b\u043e\u0436\u0438\u043b\u043e\u0441\u044c \u0447\u0442\u043e \u0432 WP8.0 \u043d\u0435\u0442 \u0441\u043e\u0431\u044b\u0442\u0438\u044f DataContextChanged, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043c\u0435\u043d\u044f\u0435\u043c \u043b\u043e\u0433\u0438\u043a\u0443, \u0447\u0442\u043e \u0431\u044b \u043e\u0442 \u043d\u0435\u0433\u043e \u0438\u0437\u0431\u0430\u0432\u0438\u0442\u0441\u044f.<\/p>\n<p>  \u25ca \u041f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0432 WP8.0 \u043d\u0435\u0442 \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0445 \u0441\u0442\u0438\u043b\u0435\u0439 \u0438\u0437 WinRT\u0448\u043d\u043e\u0433\u043e XAML\u0430, \u0442\u0430\u043a\u0438\u0445 \u043a\u0430\u043a \u00abSymbolThemeFontFamily\u00bb, \u00abBaseTextBlockStyle\u00bb, \u00abBodyTextBlockStyle\u00bb \u0438 \u0434\u0440. \u0441\u043e\u0437\u0434\u0430\u0435\u043c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 ResourceDictionary \u0432 WP8.0 \u043f\u0440\u043e\u0435\u043a\u0442\u0435. \u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u00abc:\\Program Files (x86)\\Windows Kits\\8.1\\Include\\winrt\\xaml\\design\\generic.xaml\u00bb \u0438 \u0432\u044b\u0434\u0438\u0440\u0430\u0435\u043c \u0432\u0441\u0435 \u0447\u0442\u043e \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0438 \u043a\u043b\u0430\u0434\u0435\u043c \u0432 \u0442\u043e\u043b\u044c\u043a\u043e \u0447\u0442\u043e \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0439 ResourceDictionary, \u043f\u043e\u043f\u0443\u0442\u043d\u043e \u0437\u0430\u043c\u0435\u043d\u044f\u044f \u0438\u043b\u0438 \u0432\u044b\u043a\u0438\u0434\u044b\u0432\u0430\u044f \u0442\u043e \u0447\u0442\u043e \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043d\u0430 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0435 (CharacterEllipsis -&gt; WordEllipsis, SemiLight -&gt; Light, Typography.* -&gt; c:\\NUL).<br \/>  \u041f\u043e\u0442\u043e\u043c \u043c\u0435\u0440\u0436\u0438\u043c \u044d\u0442\u043e\u0442 \u0441\u043f\u0440\u0430\u0432\u043e\u0447\u043d\u0438\u043a \u0432 App.xaml:  <\/p>\n<pre><code class=\"xml\">    &lt;Application.Resources&gt;         &lt;ResourceDictionary&gt;             &lt;ResourceDictionary.MergedDictionaries&gt;                 &lt;ResourceDictionary Source=&quot;CommonStyles.xaml&quot;\/&gt;             &lt;\/ResourceDictionary.MergedDictionaries&gt;             &lt;local:LocalizedStrings xmlns:local=&quot;clr-namespace:BXFinanceWP&quot; x:Key=&quot;LocalizedStrings&quot;\/&gt;         &lt;\/ResourceDictionary&gt;     &lt;\/Application.Resources&gt; <\/code><\/pre>\n<p>  \u0421\u0442\u043e\u0438\u0442 \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u044c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435, \u0435\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0443\u0436\u0435 \u0435\u0441\u0442\u044c \u0447\u0442\u043e-\u0442\u043e \u0432 Application.Resources (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, LocalizedStrings, \u0435\u0441\u043b\u0438 \u0432\u044b \u0435\u0433\u043e \u043d\u0435 \u0432\u044b\u043a\u0438\u043d\u0443\u043b\u0438 \u043d\u0430 \u043f\u0435\u0440\u0432\u043e\u043c \u044d\u0442\u0430\u043f\u0435) \u0435\u0433\u043e \u043d\u0443\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u043c\u0435\u0441\u0442\u0438\u0442\u044c \u0432\u043d\u0443\u0442\u0440\u044c ResourceDictionary, \u043a\u0430\u043a \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u043e \u0432\u044b\u0448\u0435.<\/p>\n<p>  \u25ca \u0423\u0436 \u043d\u0435 \u0437\u043d\u0430\u044e \u043f\u043e\u0447\u0435\u043c\u0443, \u043d\u043e IValueConverter \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u044b \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043e\u0442\u043b\u0438\u0447\u0430\u044e\u0442\u0441\u044f \u043c\u0435\u0436\u0434\u0443 WinRT \u0438 Silverlight, \u0442\u0430\u043a \u0447\u0442\u043e \u043f\u0440\u0430\u0432\u0438\u043c \u0432\u0441\u0435 \u043e\u0431\u0449\u0438\u0435 (\u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0435 As Link) \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u043e\u0440\u044b \u0447\u0442\u043e \u0435\u0441\u0442\u044c \u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0435:  <\/p>\n<pre><code class=\"cs\">        public object Convert(object value, Type targetType, object parameter  #if NETFX_CORE             ,string language  #endif #if WINDOWS_PHONE             ,System.Globalization.CultureInfo culture #endif             ) <\/code><\/pre>\n<p>  \u25ca \u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435 \u0441 \u0447\u0435\u043c \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0441\u0442\u043e\u043b\u043a\u043d\u0443\u0442\u044c\u0441\u044f, \u044d\u0442\u043e \u0440\u0430\u0437\u043d\u0438\u0446\u0430 \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u044f \u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u0445 \u043d\u0435\u0439\u043c\u0441\u043f\u0435\u0439\u0441\u043e\u0432 \u0432 XAML. \u0412 WinRT \u043d\u0435\u0439\u043c\u0441\u043f\u0435\u0439\u0441\u044b \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u0447\u0435\u0440\u0435\u0437 \u00abusing:\u00bb, \u0430 \u0432 Silverlight \u0447\u0435\u0440\u0435\u0437 \u00abclr-namespace:\u00bb, \u043f\u0440\u0438\u043c\u0435\u0440:  <\/p>\n<pre><code class=\"cs\">xmlns:Common=&quot;using:BXFinanceDashboard.Common&quot; xmlns:Common=&quot;clr-namespace:BXFinanceDashboard.Common&quot; <\/code><\/pre>\n<p>  \u0420\u0435\u0448\u0435\u043d\u0438\u0439 \u044d\u0442\u043e\u0439 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u043d\u0435 \u0442\u0430\u043a \u043c\u043d\u043e\u0433\u043e, \u0438 \u043d\u0438 \u043e\u0434\u043d\u043e\u0433\u043e \u0445\u043e\u0440\u043e\u0448\u0435\u0433\u043e, #ifdef \u0434\u043b\u044f XAML \u043d\u0435\u0442. \u0412 \u0442\u0430\u043a\u0438\u0445 \u0441\u043b\u0443\u0447\u0430\u044f\u0445, \u0438\u0441\u0445\u043e\u0434\u044f \u0438\u0437 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u0439 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0438, \u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044b \u0432 \u043a\u043e\u0434\u0435, \u0437\u0430\u043c\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u0441 \u043a\u0441\u0442\u043e\u043c\u043d\u044b\u043c\u0438 build action, \u0432\u044b\u043d\u043e\u0441\u0438\u0442\u044c \u0432\u0441\u0435 \u0447\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0432 \u0441\u0442\u0438\u043b\u0438 \u0438\/\u0438\u043b\u0438 \u0440\u0430\u0437\u0434\u0435\u043b\u044f\u0442\u044c \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u043d\u0430 \u043e\u0431\u0449\u0438\u0435 \u0438 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u043e-\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u044b\u0435 \u0444\u0430\u0439\u043b\u044b. \u041d\u0430 \u043a\u0440\u0430\u0439\u043d\u0438\u0439 \u0441\u043b\u0443\u0447\u0430\u0439 copy-paste.<br \/>  \u041d\u043e \u0432 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043d\u0435 \u0432\u0441\u0435 \u0442\u0430\u043a \u0441\u043b\u043e\u0436\u043d\u043e, \u0442.\u043a. \u0432 \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u0435 \u0441\u043b\u0443\u0447\u0430\u0435\u0432 \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u0435 \u043d\u0435\u0439\u043c\u0441\u043f\u0435\u0439\u0441\u0430 \u0431\u044b\u043b\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0447\u0442\u043e \u0431\u044b \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u043e\u0440\u044b. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u044f \u043f\u0440\u043e\u0441\u0442\u043e \u0441\u043e\u0437\u0434\u0430\u043b \u043f\u043e \u043e\u0434\u043d\u043e\u043c\u0443 ResourceDictionary \u0432 \u043a\u0430\u0436\u0434\u043e\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u0438 \u043e\u0431\u044a\u044f\u0432\u0438\u043b \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u043e\u0440\u044b \u0442\u0430\u043c. \u0418 \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043d\u0435 \u0431\u043e\u043b\u044c\u0448\u043e\u0435, \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u043b \u0435\u0433\u043e \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u043e \u0432 App.xaml. \u041f\u043b\u044e\u0441 \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u043e\u0440\u044b \u043d\u0435 \u0441\u043e\u0437\u0434\u0430\u044e\u0442\u0441\u044f \u043f\u043e\u0432\u0442\u043e\u0440\u043d\u043e, \u043d\u043e \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u043c\u043d\u0438\u0442\u044c, \u0447\u0442\u043e \u0438\u043c\u0435\u043d\u0430 \u0442\u0435\u043f\u0435\u0440\u044c \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u044b\u0435 \u0438 \u043d\u0435 \u043c\u043e\u0433\u0443\u0442 \u043f\u043e\u0432\u0442\u043e\u0440\u044f\u0442\u044c\u0441\u044f.<br \/>  \u041d\u0430 \u0432\u0441\u044f\u043a\u0438\u0439 \u0441\u043b\u0443\u0447\u0430\u0439 \u043f\u0440\u0438\u0432\u0435\u0434\u0443 \u043b\u0438\u0441\u0442\u0438\u043d\u0433, WinRT (Windows 8.1):  <\/p>\n<pre><code class=\"xml\">&lt;ResourceDictionary     xmlns=&quot;http:\/\/schemas.microsoft.com\/winfx\/2006\/xaml\/presentation&quot;      xmlns:x=&quot;http:\/\/schemas.microsoft.com\/winfx\/2006\/xaml&quot;     xmlns:Common=&quot;using:BXFinanceDashboard.Common&quot;&gt;     &lt;Common:HighlightValueConverter x:Key=&quot;HighlightUSDBuyConverter&quot; HighlightBrush=&quot;#FFFF4646&quot;  \/&gt;     &lt;Common:HighlightValueConverter x:Key=&quot;HighlightUSDSellConverter&quot; HighlightBrush=&quot;#FFFF4646&quot;  \/&gt;     &lt;Common:HighlightValueConverter x:Key=&quot;HighlightEURBuyConverter&quot; HighlightBrush=&quot;#FFFF4646&quot;  \/&gt;     &lt;Common:HighlightValueConverter x:Key=&quot;HighlightEURSellConverter&quot; HighlightBrush=&quot;#FFFF4646&quot;  \/&gt;     &lt;Common:HighlightValueConverter x:Key=&quot;HighlightRUBBuyConverter&quot; HighlightBrush=&quot;#FFFF4646&quot;  \/&gt;     &lt;Common:HighlightValueConverter x:Key=&quot;HighlightRUBSellConverter&quot; HighlightBrush=&quot;#FFFF4646&quot;  \/&gt;     &lt;Common:BoolToVisibilityConverter x:Key=&quot;BoolVisibilityConverter&quot;\/&gt;     &lt;Common:BoolToVisibilityConverter x:Key=&quot;BoolNotVisibilityConverter&quot; IsReversed=&quot;True&quot;\/&gt;     &lt;Common:OpacityConverter x:Key=&quot;OpacityConverter&quot;\/&gt;     &lt;Common:OpacityConverter x:Key=&quot;OpacityNotConverter&quot; IsReversed=&quot;True&quot;\/&gt; &lt;\/ResourceDictionary&gt; <\/code><\/pre>\n<p>  Silverlight (WP8.0):  <\/p>\n<pre><code class=\"xml\">&lt;ResourceDictionary     xmlns=&quot;http:\/\/schemas.microsoft.com\/winfx\/2006\/xaml\/presentation&quot;      xmlns:x=&quot;http:\/\/schemas.microsoft.com\/winfx\/2006\/xaml&quot;     xmlns:Common=&quot;clr-namespace:BXFinanceDashboard.Common&quot;&gt;      &lt;Common:HighlightValueConverter x:Key=&quot;HighlightUSDBuyConverter&quot; HighlightBrush=&quot;#FFFF4646&quot; NormalBrush=&quot;{StaticResource PhoneForegroundBrush}&quot;  \/&gt;     &lt;Common:HighlightValueConverter x:Key=&quot;HighlightUSDSellConverter&quot; HighlightBrush=&quot;#FFFF4646&quot; NormalBrush=&quot;{StaticResource PhoneForegroundBrush}&quot;  \/&gt;     &lt;Common:HighlightValueConverter x:Key=&quot;HighlightEURBuyConverter&quot; HighlightBrush=&quot;#FFFF4646&quot; NormalBrush=&quot;{StaticResource PhoneForegroundBrush}&quot;  \/&gt;     &lt;Common:HighlightValueConverter x:Key=&quot;HighlightEURSellConverter&quot; HighlightBrush=&quot;#FFFF4646&quot; NormalBrush=&quot;{StaticResource PhoneForegroundBrush}&quot;  \/&gt;     &lt;Common:HighlightValueConverter x:Key=&quot;HighlightRUBBuyConverter&quot; HighlightBrush=&quot;#FFFF4646&quot; NormalBrush=&quot;{StaticResource PhoneForegroundBrush}&quot;  \/&gt;     &lt;Common:HighlightValueConverter x:Key=&quot;HighlightRUBSellConverter&quot; HighlightBrush=&quot;#FFFF4646&quot; NormalBrush=&quot;{StaticResource PhoneForegroundBrush}&quot;  \/&gt;     &lt;Common:BoolToVisibilityConverter x:Key=&quot;BoolVisibilityConverter&quot;\/&gt;     &lt;Common:BoolToVisibilityConverter x:Key=&quot;BoolNotVisibilityConverter&quot; IsReversed=&quot;True&quot;\/&gt;     &lt;Common:OpacityConverter x:Key=&quot;OpacityConverter&quot;\/&gt;     &lt;Common:OpacityConverter x:Key=&quot;OpacityNotConverter&quot; IsReversed=&quot;True&quot;\/&gt; &lt;\/ResourceDictionary&gt; <\/code><\/pre>\n<p>  \u25ca \u0421\u044e\u0440\u043f\u0440\u0438\u0437\u043e\u043c \u0441\u0442\u0430\u043b\u043e \u043e\u0442\u043b\u0438\u0447\u0438\u0435 \u0448\u0440\u0438\u0444\u0442\u043e\u0432 \u043d\u0430 Windows \u0438 Windows Phone. \u041f\u043e \u043a\u0430\u043a\u043e\u0439-\u0442\u043e \u043f\u0440\u0438\u0447\u0438\u043d\u0435 \u0434\u043b\u044f \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0441\u0442\u0440\u0435\u043b\u043e\u0447\u0435\u043a \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043a\u0443\u0440\u0441\u0430 \u044f \u0432\u044b\u0431\u0440\u0430\u043b \u0441\u0438\u043c\u0432\u043e\u043b\u044b #128314 \/ #128315 \u0438\u0437 \u00abSegoe UI Symbol\u00bb \u043d\u043e \u043d\u0435\u0434\u043e\u0433\u043b\u044f\u0434\u0435\u043b, \u0447\u0442\u043e \u043e\u043d\u0438 \u043d\u0430\u0437\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u00abUp\/Down-Pointing Red Triangle\u00bb. \u041d\u0430 Windows \u043e\u043d\u0438 \u0432\u044b\u0433\u043b\u044f\u0434\u044f\u0442 \u0438\u043c\u0435\u043d\u043d\u043e \u0442\u0430\u043a \u043a\u0430\u043a \u043d\u0443\u0436\u043d\u043e, \u0430 \u043d\u0430 Windows Phone \u043e\u043d\u0438 \u043e\u0431\u0430 \u043a\u0440\u0430\u0441\u043d\u044b\u0435 \u043a\u0430\u043a \u043d\u0435 \u043f\u0435\u0440\u0435\u043a\u0440\u0430\u0448\u0438\u0432\u0430\u0439, \u0438 \u043a \u0442\u043e\u043c\u0443 \u0436\u0435 \u0441\u0438\u043c\u0432\u043e\u043b \u0443\u0436\u0435 \u043f\u043e \u0448\u0438\u0440\u0438\u043d\u0435. \u041f\u043e\u0440\u044b\u0432\u0448\u0438\u0441\u044c \u0435\u0449\u0435, \u043d\u0430\u0448\u0435\u043b \u0431\u043e\u043b\u0435\u0435 \u043f\u043e\u0434\u0445\u043e\u0434\u044f\u0449\u0438\u0435 #9650 \/ #9660. \u041d\u0435 \u0441\u0440\u0430\u0437\u0443 \u0431\u044b\u043b\u043e \u043f\u043e\u043d\u044f\u0442\u043d\u043e \u0432 \u0447\u0435\u043c \u0434\u0435\u043b\u043e, \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0434\u0430\u0436\u0435 \u043f\u0440\u043e\u0432\u0435\u0441\u0442\u0438 \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 \u043d\u0430 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0435:<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/131\/0c2\/356\/1310c2356df1f851ed598bd32bfe665f.png\"\/><\/p>\n<p>  \u041a\u0441\u0442\u0430\u0442\u0438 \u043d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0439\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0438\u043c\u0435\u043d\u043d\u043e \u0433\u043b\u0438\u0444\u044b (\u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e <a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/windows\/apps\/windows.ui.xaml.controls.symbol.aspx\">\u0432 \u043a\u043d\u043e\u043f\u043a\u0430\u0445 \u043d\u0430 \u0430\u043f\u043f \u0431\u0430\u0440\u0435<\/a>), \u0430 \u043d\u0435 \u0441\u0432\u043e\u0438 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0438. \u0417\u0430\u0434\u043e\u043b\u0431\u0430\u0435\u0442\u0435\u0441\u044c \u0433\u0435\u043d\u0435\u0440\u0438\u0442\u044c \u0434\u0435\u0441\u044f\u0442\u043e\u043a \u043a\u0430\u0440\u0442\u0438\u043d\u043e\u043a \u043f\u043e\u0434 \u0440\u0430\u0437\u043d\u044b\u0435 DPI, \u0434\u043b\u044f \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u0441\u043a\u0440\u0438\u043d \u0434\u0440\u0443\u0433\u043e\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0441 Nokia 1520:<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/009\/514\/5dc\/0095145dc1c376e1c65f8114b3aabfcf.png\"\/><\/p>\n<h4>\u0410\u0434\u0430\u043f\u0442\u0438\u0440\u0443\u0435\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043f\u043e\u0434 \u0442\u0435\u043b\u0435\u0444\u043e\u043d<\/h4>\n<p>  \u041f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0441\u043e\u0431\u0440\u0430\u043b\u043e\u0441\u044c, \u0445\u043e\u0440\u043e\u0448\u043e, \u043d\u043e \u043e\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u043d\u0435 \u0441\u0442\u043e\u0438\u0442. \u0412\u0441\u0435-\u0442\u0430\u043a\u0438 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u0439 \u044d\u0442\u043e \u043d\u0435 \u0442\u043e \u0436\u0435 \u0441\u0430\u043c\u043e\u0435 \u0447\u0442\u043e \u043f\u043b\u0430\u043d\u0448\u0435\u0442 \u0438\u043b\u0438 \u0434\u0435\u0441\u043a\u0442\u043e\u043f (\u043a\u0441\u0442\u0430\u0442\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043d\u0430 \u0434\u0435\u0441\u043a\u0442\u043e\u043f\u0435 \u0441\u0430\u043c\u043e \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0435\u0441\u043b\u0438 \u0432\u0438\u0441\u0438\u0442 \u043d\u0430 \u044d\u043a\u0440\u0430\u043d\u0435, \u0443\u0434\u043e\u0431\u043d\u043e \u0434\u043b\u044f \u0432\u0441\u044f\u043a\u0438\u0445 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u043f\u0430\u043d\u0435\u043b\u0435\u0439). <\/p>\n<h5>Layout<\/h5>\n<p>  \u0414\u043b\u044f \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0433\u0440\u0430\u0444\u0438\u043a\u0430 \u043a\u0443\u0440\u0441\u043e\u0432, \u0441\u043f\u0438\u0441\u043a\u0430 \u0431\u0430\u043d\u043a\u043e\u0432 \u0438 \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0435\u0440\u0430 \u0432\u0430\u043b\u044e\u0442 \u0431\u0435\u0440\u0435\u043c \u0431\u043e\u043b\u0435\u0435 \u043f\u0440\u0438\u0432\u044b\u0447\u043d\u044b\u0439 \u043d\u0430 Windows Phone \u043a\u043e\u043d\u0442\u0440\u043e\u043b Pivot. \u0412\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u0442\u0440\u0435\u0439 (\u043f\u0440\u044f\u0442\u0430\u0442\u044c \u0442\u0440\u0435\u0439 \u0431\u0435\u0437 \u0432\u0435\u0441\u043a\u043e\u0439 \u043f\u0440\u0438\u0447\u0438\u043d\u044b \u043f\u043b\u043e\u0445\u043e), \u043f\u043e\u0434\u0433\u043e\u043d\u044f\u0435\u043c \u0432\u0435\u0440\u0445\u043d\u0438\u0439 \u043e\u0442\u0441\u0442\u0443\u043f, \u0447\u0442\u043e \u0431\u044b \u0442\u0440\u0435\u0439 \u043d\u0435 \u0441\u044a\u0435\u0434\u0430\u043b \u043c\u043d\u043e\u0433\u043e \u043c\u0435\u0441\u0442\u0430. \u0411\u043b\u0430\u0433\u043e \u0432 WP8 \u0441 \u0442\u0440\u0435\u0435\u043c \u043c\u0435\u043d\u044c\u0448\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u0447\u0435\u043c \u043d\u0430 WP7, \u043f\u0440\u044b\u0433\u0430\u0435\u0442 \u0440\u0435\u0436\u0435, \u043d\u043e \u043d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0435\u043c \u0447\u0442\u043e \u0432 \u043a\u043e\u0434\u0435 \u0446\u0432\u0435\u0442 \u0442\u0440\u0435\u044f \u043c\u043e\u0436\u043d\u043e \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u043d\u0435 \u0440\u0430\u043d\u044c\u0448\u0435 Page.Loaded. \u0427\u0442\u043e \u0431 \u0438\u0437\u0431\u0435\u0436\u0430\u0442\u044c \u043d\u0435\u043a\u0440\u0430\u0441\u0438\u0432\u043e\u0439 \u043f\u043e\u043b\u043e\u0441\u043a\u0438 \u043c\u0435\u0436\u0434\u0443 \u0442\u0440\u0435\u0435\u043c \u0438 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435\u0439 \u0441\u0442\u0432\u0438\u043c \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0441\u0442\u044c 0.99.<\/p>\n<p>  \u041f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u044d\u043a\u0440\u0430\u043d \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430 \u0443\u0436\u0435 \u043f\u043e \u0448\u0438\u0440\u0438\u043d\u0435, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0447\u0442\u043e \u0431\u044b \u0432\u0441\u0435 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044b \u0430\u0434\u0430\u043f\u0442\u0438\u0440\u043e\u0432\u0430\u043b\u0438\u0441\u044c \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e (\u0442\u0430\u043a \u0436\u0435 \u044d\u0442\u043e \u043f\u043e\u043b\u0435\u0437\u043d\u043e \u0434\u043b\u044f snapped mode \u043d\u0430 \u0434\u0435\u0441\u043a\u0442\u043e\u043f\u0435).<\/p>\n<p>  \u0421\u043f\u0438\u0441\u043e\u043a \u0431\u0430\u043d\u043a\u043e\u0432 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0434\u043d\u0443 \u0432\u0430\u043b\u044e\u0442\u0443 \u0435\u0441\u043b\u0438 \u043c\u0435\u0441\u0442\u0430 \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e, \u0430 \u0432\u043d\u0438\u0437\u0443 \u043f\u043e\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u0442\u0435\u043b\u044c. \u041f\u0440\u0438\u0447\u0435\u043c \u0432\u0430\u0436\u043d\u044b\u043c \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0437\u0434\u0435\u0441\u044c \u0431\u044b\u043b\u043e, \u0447\u0442\u043e \u0431\u044b \u043f\u0440\u043e\u043a\u0440\u0443\u0442\u043a\u0430 \u0441\u043f\u0438\u0441\u043a\u0430 \u043e\u0441\u0442\u0430\u0432\u0430\u043b\u0430\u0441\u044c \u043d\u0430 \u043c\u0435\u0441\u0442\u0435 \u043f\u0440\u0438 \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0438 \u0432\u0430\u043b\u044e\u0442. \u0422.\u0435. \u0447\u0442\u043e \u0431\u044b \u043d\u0435 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u043b\u043e\u0441\u044c \u0437\u0430\u043d\u043e\u0432\u043e \u043b\u0438\u0441\u0442\u0430\u0442\u044c \u0434\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0433\u043e \u0431\u0430\u043d\u043a\u0430.<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/4a9\/c89\/65e\/4a9c8965e8f43a2aa2914e5e8e9286e8.png\"\/><\/p>\n<p>  \u041a\u043e\u043d\u0432\u0435\u0440\u0442\u0435\u0440 \u0432\u0430\u043b\u044e\u0442, \u0432 \u0441\u0432\u043e\u044e \u043e\u0447\u0435\u0440\u0435\u0434\u044c, \u0437\u0430\u0432\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u0435\u0442 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u0438 \u0432\u044b\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u043e \u0448\u0438\u0440\u0438\u043d\u0435:<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/bd7\/2f3\/1a5\/bd72f31a5e788faf2e34cc9808d68ff0.png\"\/><\/p>\n<p>  \u0414\u043e\u0431\u0438\u0442\u044c\u0441\u044f \u0442\u0430\u043a\u043e\u0433\u043e \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u043c\u043e\u0436\u043d\u043e \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u043c\u0438 \u0441\u043f\u043e\u0441\u043e\u0431\u0430\u043c\u0438, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u044f (states), \u043d\u043e \u0432 \u044d\u0442\u043e\u0442 \u0440\u0430\u0437 \u044f \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u0440\u0438\u0431\u0438\u043d\u0434\u0438\u043b \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 HorizontalAlignment \u043a \u0441\u0430\u043c\u043e\u043c\u0443 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u0443, \u0433\u043b\u0430\u0432\u043d\u043e\u0435 \u0440\u0430\u0437\u0431\u0440\u043e\u0441\u0430\u0442\u044c \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u0433\u0440\u0438\u0434\u0430\u043c\u0438 \u0430 \u043d\u0435 StackPanel. \u041f\u0440\u0438\u043c\u0435\u0440:  <\/p>\n<pre><code class=\"xml\">&lt;UserControl \u2026     x:Name=&quot;Parent&quot; HorizontalAlignment=&quot;Left&quot;&gt;      &lt;Grid x:Name=&quot;RootPanel&quot;&gt; \u2026         &lt;Grid Grid.Column=&quot;1&quot; HorizontalAlignment=&quot;{Binding HorizontalAlignment, ElementName=Parent}&quot;&gt;             &lt;Grid.ColumnDefinitions&gt;                 &lt;ColumnDefinition Width=&quot;*&quot;\/&gt;                 &lt;ColumnDefinition Width=&quot;*&quot;\/&gt;             &lt;\/Grid.ColumnDefinitions&gt;             &lt;ToggleButton x:Name=&quot;btnActionSell&quot; Content=&quot;\u041f\u0440\u043e\u0434\u0430\u0436\u0430&quot; Grid.Column=&quot;0&quot; VerticalAlignment=&quot;Center&quot; \/&gt;             &lt;ToggleButton x:Name=&quot;btnActionBuy&quot; Content=&quot;\u041f\u043e\u043a\u0443\u043f\u043a\u0430&quot; Grid.Column=&quot;1&quot; VerticalAlignment=&quot;Center&quot; \/&gt;         &lt;\/Grid&gt; <\/code><\/pre>\n<p>  \u0410 \u0432 MainPage \u043d\u0430 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0435 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c Stretch:  <\/p>\n<pre><code class=\"xml\">&lt;Controls:CurrencyConverter x:Name=&quot;currencyConverterControl&quot; HorizontalAlignment=&quot;Stretch&quot; \/&gt; <\/code><\/pre>\n<p>  \u0422\u0430\u043a\u0436\u0435 \u0441 \u0442\u043e\u0447\u043a\u0438 \u0437\u0440\u0435\u043d\u0438\u044f \u044e\u0437\u0430\u0431\u0438\u043b\u0438\u0442\u0438, \u0431\u044b\u043b\u043e \u043e\u0447\u0435\u043d\u044c \u0436\u0435\u043b\u0430\u0442\u0435\u043b\u044c\u043d\u043e, \u0447\u0442\u043e \u0431\u044b \u043d\u0430 \u0432\u0441\u0435\u0445 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043c\u044b\u0445 DPI \u043a\u043b\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u0430 \u043d\u0435 \u0437\u0430\u043a\u0440\u044b\u0432\u0430\u043b\u0430 \u043a\u043d\u043e\u043f\u043a\u0438 \u0432\u044b\u0431\u043e\u0440\u0430. \u041f\u043b\u044e\u0441 \u0434\u043e\u0431\u0430\u0432\u0438\u043b, \u0447\u0442\u043e \u0431\u044b \u043f\u0440\u0438 \u0432\u0432\u043e\u0434\u0435 (\u0438\u043b\u0438 \u0432\u0441\u0442\u0430\u0432\u043a\u0435) \u0441\u0443\u043c\u043c\u044b, \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u043f\u0440\u044f\u043c\u043e \u043d\u0430 \u043a\u043b\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u0435 \u043d\u0430\u0436\u0430\u0442\u044c \u0437\u043d\u0430\u043a \u0434\u043e\u043b\u043b\u0430\u0440\u0430 \u0438\u043b\u0438 \u0435\u0432\u0440\u043e (\u0437\u043d\u0430\u043a \u0440\u0443\u0431\u043b\u044f \u043d\u0430 \u043a\u043b\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u0435 \u0438 \u0432 \u0448\u0440\u0438\u0444\u0442\u0435 <a href=\"http:\/\/habrahabr.ru\/post\/226499\/\">\u043f\u043e\u043a\u0430<\/a> \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442) \u0441 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u043c \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435\u043c \u0432\u0430\u043b\u044e\u0442\u044b.<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/927\/9d3\/ea2\/9279d3ea20322bb4cba2766c74f2ba20.png\"\/><\/p>\n<h5>Live Tiles<\/h5>\n<p>  \u041f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043f\u043e\u0434 Windows Phone 8.0, \u043e <a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/windows\/apps\/hh465460.aspx\">WNS<\/a> \u043c\u0435\u0447\u0442\u0430\u0442\u044c \u043d\u0435 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0430 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u0441\u0442\u0430\u0440\u044b\u0439, \u0434\u043e\u0431\u0440\u044b\u0439 Periodic Background Agent. \u041a\u043e\u0434 \u043d\u0438\u0447\u0435\u043c \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u044b\u043c <a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/windowsphone\/develop\/hh202941(v=vs.105).aspx\">\u043d\u0435 \u043e\u0442\u043b\u0438\u0447\u0430\u0435\u0442\u0441\u044f<\/a>, \u043d\u0443\u0436\u043d\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0435 \u0437\u0430\u0431\u044b\u0442\u044c \u0441\u043f\u0440\u043e\u0441\u0438\u0442\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u043f\u0440\u0438 \u043f\u0435\u0440\u0432\u043e\u043c \u0441\u0442\u0430\u0440\u0442\u0435, \u0445\u043e\u0447\u0435\u0442 \u043b\u0438 \u043e\u043d \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u0432 \u0444\u043e\u043d\u0435. \u041f\u043e\u0431\u043e\u0447\u043d\u044b\u043c \u043f\u043e\u043b\u043e\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u043c \u044d\u0444\u0444\u0435\u043a\u0442\u043e\u043c \u043e\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0441\u0432\u043e\u0435\u0433\u043e \u0430\u0433\u0435\u043d\u0442\u0430, \u0441\u0442\u0430\u043b\u043e \u0442\u043e \u0447\u0442\u043e, \u043a\u043e\u0433\u0434\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432 \u0434\u043e\u0440\u043e\u0433\u0435 \u0438 \u0431\u0435\u0437 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0430, \u0443 \u043d\u0430\u0441 \u0443\u0436\u0435 \u0435\u0441\u0442\u044c \u043d\u0435 \u0441\u0438\u043b\u044c\u043d\u043e \u0441\u0442\u0430\u0440\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0434\u043b\u044f \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f (\u043d\u0430 Windows 8.1 \u044d\u0442\u0443 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 \u0440\u0435\u0448\u0430\u0435\u043c \u043d\u0435\u043c\u043e\u0433\u043e \u043f\u043e-\u0434\u0440\u0443\u0433\u043e\u043c\u0443, \u0441\u043c. \u043d\u0438\u0436\u0435). \u041f\u0440\u0438 \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0435 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0439 \u0434\u043b\u044f \u0442\u0430\u0439\u043b\u043e\u0432, \u043f\u043e\u043c\u043d\u0438\u043c, \u0447\u0442\u043e \u0432 Windows Phone \u043b\u043e\u0433\u043e\u0442\u0438\u043f \u0440\u0430\u0441\u043f\u043e\u043b\u0430\u0433\u0430\u0435\u0442\u0441\u044f \u0441\u0442\u0440\u043e\u0433\u043e \u043f\u043e \u0446\u0435\u043d\u0442\u0440\u0443 (\u0441 \u043f\u043e\u0434\u043f\u0438\u0441\u044c\u044e \u0438\u043b\u0438 \u0431\u0435\u0437), \u0430 \u0432 Windows 8 \u2013 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0441\u043c\u0435\u0449\u0430\u0435\u0442\u0441\u044f \u0432\u0432\u0435\u0440\u0445.<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/a86\/803\/2db\/a868032dbc6d0bfa2fe4620182f323ca.png\"\/><\/p>\n<h5>\u0413\u0440\u0430\u0444\u0438\u043a\u0438<\/h5>\n<p>  \u041e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u0441\u0442\u043e\u0438\u0442 \u0443\u043f\u043e\u043c\u044f\u043d\u0443\u0442\u044c \u043f\u0435\u0440\u0435\u043d\u043e\u0441 \u0433\u0440\u0430\u0444\u0438\u043a\u0430 \u0444\u043b\u0443\u043a\u0442\u0443\u0430\u0446\u0438\u0439. \u041f\u043e \u043f\u0440\u0438\u0432\u044b\u0447\u043a\u0435 \u043d\u0430 Windows \u0433\u0440\u0430\u0444\u0438\u043a \u0431\u044b\u043b \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e Controls.DataVisualization (\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0434\u0435\u043b\u0430\u043b\u043e\u0441\u044c \u0441 \u043f\u0440\u0438\u0446\u0435\u043b\u043e\u043c \u043d\u0430 Universal Apps, \u0430 \u0422\u0435\u043b\u0435\u0440\u0438\u043a\u043e\u0432\u0441\u043a\u0438\u0435 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044b \u0435\u0449\u0435 \u043d\u0435 \u0432\u044b\u0448\u043b\u0438 (\u043d\u0430 \u043c\u043e\u043c\u0435\u043d\u0442 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f)). \u0418 \u043a\u0430\u043a \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c, \u0438\u043c\u0435\u043d\u043d\u043e \u043f\u043e\u0434 Windows Phone 8.0 \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043f\u043e\u0440\u0442\u0430 DataVisualization \u043d\u0435\u0442. \u041f\u043e\u0434 WinRT (Windws 8 \u0438 Windows Phone 8.1) \u0435\u0441\u0442\u044c <a href=\"https:\/\/www.nuget.org\/packages\/winrtxamltoolkit\">WinRTXamlToolkit<\/a>, \u0434\u0430\u0436\u0435 \u043d\u0430 Windows Phone 7 \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043b\u0438\u0431\u0443 \u043e\u0442 \u043e\u0431\u044b\u0447\u043d\u043e\u0433\u043e Silverlight. \u0410 \u0432\u043e\u0442 \u043f\u043e\u0434 WP8.0 \u043d\u0438\u043a\u0430\u043a (\u0432 WPToolkit \u043f\u0440\u0438 \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u0435 \u043d\u0430 WP8 DataVisualization \u043f\u043e\u0442\u0435\u0440\u044f\u043b\u0441\u044f). \u0412\u043e\u043e\u0431\u0449\u0435 \u0435\u0449\u0435 \u0441 WP7, WPToolkit \u043d\u0435 \u043f\u0435\u0440\u0435\u0441\u0442\u0430\u0435\u0442 \u00ab\u0440\u0430\u0434\u043e\u0432\u0430\u0442\u044c\u00bb.<br \/>  \u0412 \u043e\u0431\u0449\u0435\u043c, \u043f\u043e\u0442\u0440\u0430\u0442\u0438\u0432 \u043f\u043e\u043b\u0447\u0430\u0441\u0430 \u043d\u0430 \u043f\u043e\u0438\u0441\u043a\u0438, \u043a\u0438\u043d\u0443\u043b \u0422\u0435\u043b\u0435\u0440\u0438\u043a\u043e\u0432\u044b\u0439 \u043a\u043e\u043d\u0442\u0440\u043e\u043b \u043d\u0430 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0435 (\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0438 \u043d\u0430 Windows 8 \u043d\u0430 \u043d\u0435\u0433\u043e \u043f\u0435\u0440\u0435\u0439\u0434\u0443 \u043f\u0440\u0438 \u043f\u043e\u0440\u0442\u0435 \u043d\u0430 Universal Apps), \u043f\u043e\u0434\u043e\u0433\u043d\u0430\u043b \u0432\u043d\u0435\u0448\u043d\u0438\u0439 \u0432\u0438\u0434 \u0438 \u0437\u0430\u0431\u044b\u043b \u043a\u0430\u043a \u0441\u0442\u0440\u0430\u0448\u043d\u044b\u0439 \u0441\u043e\u043d.<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/0f9\/c89\/467\/0f9c89467ea8f6b8be788a3c862bb3f4.png\"\/><\/p>\n<h5>\u041a\u0435\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435<\/h5>\n<p>  \u0412 Windows 8.1 (\u0432 WP8.1 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442) \u043f\u043e\u044f\u0432\u0438\u043b\u0430\u0441\u044c \u0437\u0430\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u0444\u0438\u0447\u0430: \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u0430\u0442\u044c \u041e\u0421 \u043a\u0430\u043a\u0438\u0435 \u0443\u0440\u043b\u044b \u043a\u0435\u0448\u0438\u0440\u043e\u0432\u0430\u0442\u044c. \u0422.\u0435. \u0435\u0441\u043b\u0438 \u0437\u0432\u0435\u0437\u0434\u044b \u0441\u043e\u0439\u0434\u0443\u0442\u0441\u044f, (\u0430 \u0442\u043e\u0447\u043d\u0435\u0435, \u0435\u0441\u043b\u0438 \u0432\u0430\u0448\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f) Windows \u0441\u0430\u043c\u0430 \u0437\u0430\u043a\u0435\u0448\u0438\u0440\u0443\u0435\u0442 \u043d\u0443\u0436\u043d\u044b\u0435 \u0432\u0430\u043c \u0434\u0430\u043d\u043d\u044b\u0435 \u0435\u0449\u0435 \u0434\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f. \u041d\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u044d\u0442\u0430 \u0448\u0442\u0443\u043a\u0430 <a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/windows\/apps\/windows.networking.backgroundtransfer.contentprefetcher.aspx\">Content Prefetcher<\/a>. \u041c\u043e\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u044b\u0435 \u0443\u0440\u043b\u044b \u0438\u043b\u0438 xml \u0444\u0430\u0439\u043b-\u0441\u043f\u0438\u0441\u043e\u043a \u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 (\u0435\u0441\u043b\u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u0438\u0435, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u043d\u043e\u0432\u043e\u0441\u0442\u0438). \u041f\u0440\u043e\u0441\u0442\u043e\u0439 \u043f\u0440\u0438\u043c\u0435\u0440:  <\/p>\n<pre><code class=\"cs\">        public static void RegisterPrefetchUrls()         {                 if (!ContentPrefetcher.ContentUris.Any(u =&gt; u.AbsoluteUri == LIVE_DATA_URL))                 {                     ContentPrefetcher.ContentUris.Clear();                     ContentPrefetcher.ContentUris.Add(new Uri(LIVE_DATA_URL));                 }         } <\/code><\/pre>\n<p>  \u0421\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0433\u0440\u0443\u0437\u0438\u043c \u0434\u0430\u043d\u043d\u044b\u0435 \u043a\u0430\u043a \u043e\u0431\u044b\u0447\u043d\u043e \u0447\u0435\u0440\u0435\u0437 HttpClient. \u041d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0441 <a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/windows\/apps\/windows.web.http.httpclient\">Windows.Web.Http.HttpClient<\/a> (\u0442\u043e\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0447\u0435\u0440\u0435\u0437 WinInet, \u043d\u0435 \u043f\u0443\u0442\u0430\u0442\u044c \u0441 \u0434\u0440\u0443\u0433\u0438\u043c\u0438 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f\u043c\u0438 HttpClient). \u0415\u0441\u043b\u0438 \u043d\u0443\u0436\u043d\u043e \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0438\u0437 \u043a\u0435\u0448\u0430, \u0435\u0441\u043b\u0438 \u043e\u043d\u0438 \u0435\u0441\u0442\u044c, \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0435\u043c \u0444\u0438\u043b\u044c\u0442\u0440 <a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/windows\/apps\/windows.web.http.filters.httpcachereadbehavior.aspx\">Filters.HttpCacheReadBehavior.OnlyFromCache<\/a>.<br \/>  \u041a \u0441\u043b\u043e\u0432\u0443 \u0432 VS Update 2 \u043f\u043e\u044f\u0432\u0438\u043b\u0430\u0441\u044c \u043f\u043e\u043b\u0435\u0437\u043d\u0430\u044f \u043c\u0435\u043d\u044e\u0448\u043a\u0430 \u0447\u0442\u043e \u0431\u044b \u0437\u0430\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u041e\u0421 \u0437\u0430\u043a\u0435\u0448\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 \u0446\u0435\u043b\u044f\u0445 \u043e\u0442\u043b\u0430\u0434\u043a\u0438, \u0440\u0430\u043d\u044c\u0448\u0435 \u0431\u044b\u043b\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u0441 \u043a\u043e\u043d\u0441\u043e\u043b\u0438. \u041d\u043e \u043d\u0443\u0436\u043d\u043e \u043d\u0435 \u0437\u0430\u0431\u044b\u0442\u044c \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0441\u0430\u043c\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435, \u0447\u0442\u043e \u0431\u044b \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0443\u0440\u043b\u044b, \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0439 <a href=\"http:\/\/blogs.msdn.com\/b\/visualstudioalm\/archive\/2014\/02\/06\/triggering-prefetch-for-windows-store-apps-in-visual-studio-2013-update-2.aspx\">\u0442\u0443\u0442<\/a>.<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/b04\/aea\/933\/b04aea933ed3006a41c9bde742592973.png\"\/><\/p>\n<h4>\u0421\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f<\/h4>\n<p>  \u0412 \u044d\u0442\u043e\u0442 \u0440\u0430\u0437 \u0431\u044b\u043b\u043e \u0440\u0435\u0448\u0435\u043d\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c Google Analytics, \u0430 \u043d\u0435 Flurry. \u0423\u0436 \u0431\u043e\u043b\u044c\u043d\u043e Flurry \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u0435 \u0446\u0438\u0444\u0440\u044b \u043f\u043e \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044e \u0441 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u043e\u0439 (<a href=\"http:\/\/habrahabr.ru\/company\/alawar\/blog\/210032\/\">\u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0443 \u043c\u0435\u043d\u044f<\/a>). \u041f\u043b\u044e\u0441 \u0431\u0435\u0434\u043d\u0430\u044f \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c \u043e\u0442\u043b\u0438\u0447\u043d\u044b\u0445 \u043e\u0442 iOS\/Android \u0438 \u0436\u0443\u0442\u043a\u043e \u0442\u0443\u043f\u044f\u0449\u0430\u044f \u0432\u0435\u0431-\u043f\u0430\u043d\u0435\u043b\u044c (80+ http \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 \u043f\u0440\u0438 \u043a\u0430\u0436\u0434\u043e\u0439 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0435). \u041a\u0430\u043a \u043f\u043e \u043c\u043d\u0435, \u0435\u0441\u0442\u044c \u0441\u043c\u044b\u0441\u043b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c Flurry \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f \u043a\u0440\u043e\u0441\u0441-\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435\u043d\u043d\u044b\u0445 \u0438\u0433\u0440 \u0442.\u043a. \u0435\u0441\u0442\u044c \u043e\u0447\u0435\u043d\u044c \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0435 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b \u043e\u0442\u0441\u043b\u0435\u0436\u0438\u0432\u0430\u043d\u0438\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043e\u043a, in-app \u0438 \u0442.\u043f.<\/p>\n<p>  \u0414\u043b\u044f Windows \/ Windows Phone \u0435\u0441\u0442\u044c \u0433\u043e\u0442\u043e\u0432\u0430\u044f \u043b\u0438\u0431\u0430 \u00ab<a href=\"http:\/\/googleanalyticssdk.codeplex.com\/\">Google Analytics SDK for Windows 8 and Windows Phone<\/a>\u00bb. \u0418\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044f \u043f\u0440\u043e\u0441\u0442\u0430\u044f, \u0442\u043e\u043b\u044c\u043a\u043e \u044f \u0431\u044b \u043f\u043e\u0441\u043e\u0432\u0435\u0442\u043e\u0432\u0430\u043b \u0432\u044b\u0437\u044b\u0432\u0430\u0442\u044c SendView() \u043d\u0435 \u0438\u0437 OnNavigatedTo() \u043a\u0430\u043a \u0432 \u043f\u0440\u0438\u043c\u0435\u0440\u0435, \u0430 \u0438\u0437 Page.Loaded \u0447\u0442\u043e \u0431\u044b \u0437\u0430\u0441\u0447\u0438\u0442\u0430\u0442\u044c \u043f\u043e\u043a\u0430\u0437\u044b \u043a\u043e\u0433\u0434\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442\u0441\u044f \u043a\u043d\u043e\u043f\u043a\u043e\u0439 \u043d\u0430\u0437\u0430\u0434. \u0422\u0430\u043a\u0436\u0435 \u044f \u0434\u043e\u0431\u0430\u0432\u0438\u043b \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0443 \u0432 \u043f\u043e\u043b\u0435 \u0432\u0435\u0440\u0441\u0438\u0438 \u0432 analytics.xml:  <\/p>\n<pre><code class=\"xml\">&lt;appVersion&gt;1.0.0.0 (WP)&lt;\/appVersion&gt; <\/code><\/pre>\n<p>  \u0412 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u043a\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0435\u0441\u0442\u044c \u0441\u043c\u044b\u0441\u043b \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u044b\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u044f (SendEvent()). \u041a\u0430\u043a \u043f\u0440\u0438\u043c\u0435\u0440, \u043c\u043d\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0435\u0440 \u0432\u0430\u043b\u044e\u0442, \u0438\u043b\u0438 \u043a\u0430\u043a\u043e\u0439 \u043f\u0440\u043e\u0446\u0435\u043d\u0442 \u043e\u0442\u043a\u043b\u044e\u0447\u0438\u043b Live Tile.<\/p>\n<h4>\u0424\u0438\u043d\u0430\u043b\u044c\u043d\u044b\u0435 \u0448\u0442\u0440\u0438\u0445\u0438<\/h4>\n<p>  \u0414\u0435\u043b\u0430\u0435\u043c \u0441\u0442\u0440\u0430\u043d\u0438\u0447\u043a\u0443 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u043d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0435\u043c \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c <a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/windows\/apps\/hh781489.aspx\">msApplication-ID<\/a> \u0432 \u043c\u0435\u0442\u0430 \u0442\u0435\u0433\u0438, \u0447\u0442\u043e \u0431\u044b \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043c\u043e\u0433 \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0438\u0437 \u043c\u0435\u043d\u044e IE. \u0415\u0441\u043b\u0438 \u0435\u0441\u0442\u044c \u0436\u0435\u043b\u0430\u043d\u0438\u0435, \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u0443\u0435\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0432 Bing, \u0447\u0442\u043e \u0431\u044b \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043c\u043e\u0433 \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043f\u0440\u044f\u043c\u043e \u0441\u043e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b <a href=\"http:\/\/channel9.msdn.com\/Events\/Build\/2014\/2-655\">\u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432 \u0432\u0435\u0431 \u043f\u043e\u0438\u0441\u043a\u0430<\/a> (\u043d\u0430 Windows 8.1 \/ Windows Phone 8.0\/8.1).<br \/>  \u0415\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0435 \u0447\u0442\u043e \u043e\u0433\u043e\u0440\u0447\u0430\u0435\u0442 \u044d\u0442\u043e \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u0435 \u0440\u0443\u0441\u0441\u043a\u043e\u044f\u0437\u044b\u0447\u043d\u043e\u0439 \u043a\u043d\u043e\u043f\u043a\u0438 \u00ab\u0441\u043a\u0430\u0447\u0430\u0442\u044c\u00bb \u0434\u043b\u044f Windows Phone Store (\u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u0435\u043b\u0438 MS \u043f\u0440\u043e\u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0438\u0440\u0443\u044e\u0442?). \u0415\u0441\u043b\u0438 \u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u0430\u0432\u0438\u043b\u0430\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0442\u043e\u0440\u0433\u043e\u0432\u044b\u0445 \u043c\u0430\u0440\u043e\u043a Microsoft, \u043d\u0443\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0443\u0436\u0435 \u0433\u043e\u0442\u043e\u0432\u044b\u0435 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f, \u0435\u0441\u0442\u044c \u0434\u0430\u0436\u0435 \u0446\u0435\u043b\u044b\u0439 <a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/windows\/apps\/hh694084.aspx\">\u0433\u0430\u0439\u0434<\/a> \u0433\u0434\u0435 \u0438 \u043a\u0430\u043a \u0438\u0445 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c. \u0412 \u0438\u0442\u043e\u0433\u0435 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u0434\u043b\u044f Windows Phone Store \u043d\u0435\u0442 \u043a\u043d\u043e\u043f\u043a\u0438 \u043d\u0430 \u0440\u0443\u0441\u0441\u043a\u043e\u043c, \u0430 \u0434\u043b\u044f Windows Store \u043d\u0435\u0442 \u0431\u0435\u0437 \u0441\u043b\u043e\u0432\u0430 \u00abDownload\u00bb. \u041f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u0438\u0435 \u0432\u0435\u0440\u0441\u0438\u0438 \u043a\u043d\u043e\u043f\u043e\u043a:<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/3af\/95f\/c09\/3af95fc0916adb318d58e208913765b0.png\"\/><\/p>\n<h4>\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/h4>\n<p>  \u041f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c \u043a\u0430\u043a-\u0442\u043e \u0434\u043b\u0438\u043d\u043d\u043e \u0438 \u0441\u0443\u043c\u0431\u0443\u0440\u043d\u043e, \u0445\u043e\u0442\u044c \u044f \u0438 \u0441\u0442\u0430\u0440\u0430\u043b\u0441\u044f \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u0435 \u043c\u043e\u043c\u0435\u043d\u0442\u044b. \u0415\u0441\u043b\u0438 \u0447\u0442\u043e \u0443\u043f\u0443\u0441\u0442\u0438\u043b, \u0441\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0439\u0442\u0435 \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445.      \t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/227197\/\"> http:\/\/habrahabr.ru\/post\/227197\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">     \t<img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/611\/5cf\/279\/6115cf2795b1820f6d2762a4c8b885b0.png\"\/><\/p>\n<p>  \u041d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u043f\u0440\u043e\u0441\u0442\u043e\u0433\u043e Windows 8.1 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043d\u0430\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u0438\u0442\u044c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0441 WinRT (Windows 8.1) \u043d\u0430 Silverlight (WP8.0) \u0438 \u043f\u043e \u0445\u043e\u0434\u0443 \u0440\u0430\u0437\u0431\u0435\u0440\u0435\u043c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0434\u0432\u043e\u0434\u043d\u044b\u0445 \u043a\u0430\u043c\u043d\u0435\u0439.   <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-227197","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/227197","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=227197"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/227197\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=227197"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=227197"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=227197"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}