diff --git a/README.md b/README.md index 6b649ffd28..6cc1b85ddb 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ The samples use Linked files in Visual Studio to reduce duplication of common fi **Reminder:** If you unzip individual samples, they will not build due to references to other portions of the ZIP file that were not unzipped. You must unzip the entire archive if you intend to build the samples. -For more info about the programming models, platforms, languages, and APIs demonstrated in these samples, please refer to the guidance, tutorials, and reference topics provided in the Windows 10 documentation available in the [Windows Developer Center](https://dev.windows.com). These samples are provided as-is in order to indicate or demonstrate the functionality of the programming models and feature APIs for Windows. +For more info about the programming models, platforms, languages, and APIs demonstrated in these samples, please refer to the guidance, tutorials, and reference topics provided in the Windows 10 documentation available in the [Windows Developer Center](http://go.microsoft.com/fwlink/?LinkID=532421). These samples are provided as-is in order to indicate or demonstrate the functionality of the programming models and feature APIs for Windows. ## Contributions diff --git a/Samples/AllJoyn/ConsumerExperiences/README.md b/Samples/AllJoyn/ConsumerExperiences/README.md index cff5247643..a9ad681f99 100644 --- a/Samples/AllJoyn/ConsumerExperiences/README.md +++ b/Samples/AllJoyn/ConsumerExperiences/README.md @@ -19,7 +19,7 @@ Specifically, this sample covers: **Note** The Universal Windows samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/AllJoyn/ProducerExperiences/README.md b/Samples/AllJoyn/ProducerExperiences/README.md index 14ba77ef05..8c2ecd2c6b 100644 --- a/Samples/AllJoyn/ProducerExperiences/README.md +++ b/Samples/AllJoyn/ProducerExperiences/README.md @@ -19,7 +19,7 @@ Specifically, this sample covers: **Note** The Universal Windows samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/AnimationLibrary/README.md b/Samples/AnimationLibrary/README.md index 32846bdd84..0e893377f2 100644 --- a/Samples/AnimationLibrary/README.md +++ b/Samples/AnimationLibrary/README.md @@ -36,7 +36,7 @@ This sample is written in HTML, CSS, and JavaScript. For the XAML version, see t **Note** The Universal Windows app samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/AnimationMetrics/README.md b/Samples/AnimationMetrics/README.md index 45f9c24568..ac8f396cf1 100644 --- a/Samples/AnimationMetrics/README.md +++ b/Samples/AnimationMetrics/README.md @@ -14,7 +14,7 @@ The sample shows the metrics involved in the following scenarios: **Note** The Universal Windows app samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/ApplicationResources/README.md b/Samples/ApplicationResources/README.md index 5065a3d6ad..bf00c85421 100644 --- a/Samples/ApplicationResources/README.md +++ b/Samples/ApplicationResources/README.md @@ -13,7 +13,7 @@ We encourage you to separate your resources, such as strings and files, from you **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/BarcodeScanner/README.md b/Samples/BarcodeScanner/README.md index a98db996e0..0116324581 100644 --- a/Samples/BarcodeScanner/README.md +++ b/Samples/BarcodeScanner/README.md @@ -36,7 +36,7 @@ In addition to the devices listed, you can use barcode scanners from various man **Note** The Universal Windows app samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/BasicFaceDetection/README.md b/Samples/BasicFaceDetection/README.md index 501506e7ef..b426dc9064 100644 --- a/Samples/BasicFaceDetection/README.md +++ b/Samples/BasicFaceDetection/README.md @@ -17,7 +17,7 @@ Specifically, this sample shows how to: **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/BasicFaceTracking/README.md b/Samples/BasicFaceTracking/README.md index 0f23f3fbd0..009e7281dd 100644 --- a/Samples/BasicFaceTracking/README.md +++ b/Samples/BasicFaceTracking/README.md @@ -17,7 +17,7 @@ Specifically, this sample shows how to: **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/BasicInput/README.md b/Samples/BasicInput/README.md index 0ac9eaadd4..b24ecbf941 100644 --- a/Samples/BasicInput/README.md +++ b/Samples/BasicInput/README.md @@ -17,7 +17,7 @@ Specifically, this sample shows how to: **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/BluetoothRfcommChat/README.md b/Samples/BluetoothRfcommChat/README.md index c2594a3a7e..0ffdde4672 100644 --- a/Samples/BluetoothRfcommChat/README.md +++ b/Samples/BluetoothRfcommChat/README.md @@ -22,7 +22,7 @@ to communicate over sockets. **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/CameraFaceDetection/cpp/MainPage.xaml.cpp b/Samples/CameraFaceDetection/cpp/MainPage.xaml.cpp index ed9fce14ed..c9ff798898 100644 --- a/Samples/CameraFaceDetection/cpp/MainPage.xaml.cpp +++ b/Samples/CameraFaceDetection/cpp/MainPage.xaml.cpp @@ -450,29 +450,29 @@ task MainPage::ReencodeAndSavePhotoAsync(Streams::IRandomAccessStream^ str { // Using this state variable to pass multiple values through our task chain ReencodeState^ state = ref new ReencodeState(); - state->_orientation = photoOrientation; + state->Orientation = photoOrientation; return create_task(BitmapDecoder::CreateAsync(stream)) .then([state](BitmapDecoder^ decoder) { - state->_decoder = decoder; + state->Decoder = decoder; return create_task(KnownFolders::PicturesLibrary->CreateFileAsync("SimplePhoto.jpg", CreationCollisionOption::GenerateUniqueName)); }).then([](StorageFile^ file) { return create_task(file->OpenAsync(FileAccessMode::ReadWrite)); }).then([state](Streams::IRandomAccessStream^ outputStream) { - return create_task(BitmapEncoder::CreateForTranscodingAsync(outputStream, state->_decoder)); + return create_task(BitmapEncoder::CreateForTranscodingAsync(outputStream, state->Decoder)); }).then([state](BitmapEncoder^ encoder) { - state->_encoder = encoder; + state->Encoder = encoder; auto properties = ref new Windows::Graphics::Imaging::BitmapPropertySet(); - properties->Insert("System.Photo.Orientation", ref new BitmapTypedValue((unsigned short)state->_orientation, Windows::Foundation::PropertyType::UInt16)); + properties->Insert("System.Photo.Orientation", ref new BitmapTypedValue((unsigned short)state->Orientation, Windows::Foundation::PropertyType::UInt16)); - return create_task(state->_encoder->BitmapProperties->SetPropertiesAsync(properties)); + return create_task(state->Encoder->BitmapProperties->SetPropertiesAsync(properties)); }).then([state]() { - return state->_encoder->FlushAsync(); + return state->Encoder->FlushAsync(); }); } diff --git a/Samples/CameraFaceDetection/cpp/MainPage.xaml.h b/Samples/CameraFaceDetection/cpp/MainPage.xaml.h index 36b46c0f33..678b6ce864 100644 --- a/Samples/CameraFaceDetection/cpp/MainPage.xaml.h +++ b/Samples/CameraFaceDetection/cpp/MainPage.xaml.h @@ -18,9 +18,9 @@ namespace FaceDetection ref class ReencodeState sealed { internal: - Windows::Graphics::Imaging::BitmapDecoder^ _decoder; - Windows::Graphics::Imaging::BitmapEncoder^ _encoder; - Windows::Storage::FileProperties::PhotoOrientation _orientation; + Windows::Graphics::Imaging::BitmapDecoder^ Decoder; + Windows::Graphics::Imaging::BitmapEncoder^ Encoder; + Windows::Storage::FileProperties::PhotoOrientation Orientation; }; public ref class MainPage sealed diff --git a/Samples/CameraHdr/cpp/MainPage.xaml.cpp b/Samples/CameraHdr/cpp/MainPage.xaml.cpp index b85798948b..ff19ba2576 100644 --- a/Samples/CameraHdr/cpp/MainPage.xaml.cpp +++ b/Samples/CameraHdr/cpp/MainPage.xaml.cpp @@ -444,14 +444,14 @@ task MainPage::TakeHdrPhotoAsync() auto context = ref new AdvancedCaptureContext(); // Create file based off the current time - context->_captureFileName = L"SimplePhoto_" + GetTimeStr() + L".jpg";; - context->_captureOrientation = ConvertOrientationToPhotoOrientation(GetCameraOrientation()); + context->CaptureFileName = L"SimplePhoto_" + GetTimeStr() + L".jpg"; + context->CaptureOrientation = ConvertOrientationToPhotoOrientation(GetCameraOrientation()); return create_task(_advancedCapture->CaptureAsync(context)) .then([this, context](Capture::AdvancedCapturedPhoto^ photo) { WriteLine("HDR photo taken!"); - return ReencodeAndSavePhotoAsync(photo->Frame, context->_captureFileName, context->_captureOrientation); + return ReencodeAndSavePhotoAsync(photo->Frame, context->CaptureFileName, context->CaptureOrientation); }).then([this](task previousTask) { try @@ -509,29 +509,29 @@ task MainPage::ReencodeAndSavePhotoAsync(Streams::IRandomAccessStream^ str { // Using this state variable to pass multiple values through our task chain ReencodeState^ state = ref new ReencodeState(); - state->_orientation = photoOrientation; + state->Orientation = photoOrientation; return create_task(BitmapDecoder::CreateAsync(stream)) .then([state, fileName](BitmapDecoder^ decoder) { - state->_decoder = decoder; + state->Decoder = decoder; return create_task(KnownFolders::PicturesLibrary->CreateFileAsync(fileName, CreationCollisionOption::GenerateUniqueName)); }).then([](StorageFile^ file) { return create_task(file->OpenAsync(FileAccessMode::ReadWrite)); }).then([state](Streams::IRandomAccessStream^ outputStream) { - return create_task(BitmapEncoder::CreateForTranscodingAsync(outputStream, state->_decoder)); + return create_task(BitmapEncoder::CreateForTranscodingAsync(outputStream, state->Decoder)); }).then([state](BitmapEncoder^ encoder) { - state->_encoder = encoder; + state->Encoder = encoder; auto properties = ref new Windows::Graphics::Imaging::BitmapPropertySet(); - properties->Insert("System.Photo.Orientation", ref new BitmapTypedValue((unsigned short)state->_orientation, Windows::Foundation::PropertyType::UInt16)); + properties->Insert("System.Photo.Orientation", ref new BitmapTypedValue((unsigned short)state->Orientation, Windows::Foundation::PropertyType::UInt16)); - return create_task(state->_encoder->BitmapProperties->SetPropertiesAsync(properties)); + return create_task(state->Encoder->BitmapProperties->SetPropertiesAsync(properties)); }).then([state]() { - return state->_encoder->FlushAsync(); + return state->Encoder->FlushAsync(); }); } @@ -1005,14 +1005,14 @@ void MainPage::AdvancedCapture_OptionalReferencePhotoCaptured(Capture::AdvancedP // Retrieve the context (i.e. what capture does this belong to?) auto context = static_cast(args->Context); - WriteLine("AdvancedCapture_OptionalReferencePhotoCaptured for " + context->_captureFileName); + WriteLine("AdvancedCapture_OptionalReferencePhotoCaptured for " + context->CaptureFileName); // Remove "_HDR" from the name of the capture to create the name of the reference std::wstringstream fileName; - fileName << context->_captureFileName->Data(); + fileName << context->CaptureFileName->Data(); StringReplace(fileName.str(), std::wstring(L"_HDR"), std::wstring(L"")); - ReencodeAndSavePhotoAsync(args->Frame, ref new String(fileName.str().c_str()), context->_captureOrientation); + ReencodeAndSavePhotoAsync(args->Frame, ref new String(fileName.str().c_str()), context->CptureOrientation); } /// diff --git a/Samples/CameraHdr/cpp/MainPage.xaml.h b/Samples/CameraHdr/cpp/MainPage.xaml.h index e90b7c1d97..3f09e2ded6 100644 --- a/Samples/CameraHdr/cpp/MainPage.xaml.h +++ b/Samples/CameraHdr/cpp/MainPage.xaml.h @@ -18,9 +18,9 @@ namespace CameraHdr ref class ReencodeState sealed { internal: - Windows::Graphics::Imaging::BitmapDecoder^ _decoder; - Windows::Graphics::Imaging::BitmapEncoder^ _encoder; - Windows::Storage::FileProperties::PhotoOrientation _orientation; + Windows::Graphics::Imaging::BitmapDecoder^ Decoder; + Windows::Graphics::Imaging::BitmapEncoder^ Encoder; + Windows::Storage::FileProperties::PhotoOrientation Orientation; }; /// @@ -29,8 +29,8 @@ namespace CameraHdr ref class AdvancedCaptureContext { internal: - Platform::String^ _captureFileName; - Windows::Storage::FileProperties::PhotoOrientation _captureOrientation; + Platform::String^ CaptureFileName; + Windows::Storage::FileProperties::PhotoOrientation CaptureOrientation; }; public ref class MainPage sealed diff --git a/Samples/CameraStarterKit/cpp/MainPage.xaml.cpp b/Samples/CameraStarterKit/cpp/MainPage.xaml.cpp index 545f1b7932..e074e79102 100644 --- a/Samples/CameraStarterKit/cpp/MainPage.xaml.cpp +++ b/Samples/CameraStarterKit/cpp/MainPage.xaml.cpp @@ -384,29 +384,29 @@ task MainPage::ReencodeAndSavePhotoAsync(Streams::IRandomAccessStream^ str { // Using this state variable to pass multiple values through our task chain ReencodeState^ state = ref new ReencodeState(); - state->_orientation = photoOrientation; + state->Orientation = photoOrientation; return create_task(BitmapDecoder::CreateAsync(stream)) .then([state](BitmapDecoder^ decoder) { - state->_decoder = decoder; + state->Decoder = decoder; return create_task(KnownFolders::PicturesLibrary->CreateFileAsync("SimplePhoto.jpg", CreationCollisionOption::GenerateUniqueName)); }).then([](StorageFile^ file) { return create_task(file->OpenAsync(FileAccessMode::ReadWrite)); }).then([state](Streams::IRandomAccessStream^ outputStream) { - return create_task(BitmapEncoder::CreateForTranscodingAsync(outputStream, state->_decoder)); + return create_task(BitmapEncoder::CreateForTranscodingAsync(outputStream, state->Decoder)); }).then([state](BitmapEncoder^ encoder) { - state->_encoder = encoder; + state->Encoder = encoder; auto properties = ref new Windows::Graphics::Imaging::BitmapPropertySet(); - properties->Insert("System.Photo.Orientation", ref new BitmapTypedValue((unsigned short)state->_orientation, Windows::Foundation::PropertyType::UInt16)); + properties->Insert("System.Photo.Orientation", ref new BitmapTypedValue((unsigned short)state->Orientation, Windows::Foundation::PropertyType::UInt16)); - return create_task(state->_encoder->BitmapProperties->SetPropertiesAsync(properties)); + return create_task(state->Encoder->BitmapProperties->SetPropertiesAsync(properties)); }).then([state]() { - return state->_encoder->FlushAsync(); + return state->Encoder->FlushAsync(); }); } diff --git a/Samples/CameraStarterKit/cpp/MainPage.xaml.h b/Samples/CameraStarterKit/cpp/MainPage.xaml.h index c709c41461..d2056609b3 100644 --- a/Samples/CameraStarterKit/cpp/MainPage.xaml.h +++ b/Samples/CameraStarterKit/cpp/MainPage.xaml.h @@ -18,9 +18,9 @@ namespace CameraStarterKit ref class ReencodeState sealed { internal: - Windows::Graphics::Imaging::BitmapDecoder^ _decoder; - Windows::Graphics::Imaging::BitmapEncoder^ _encoder; - Windows::Storage::FileProperties::PhotoOrientation _orientation; + Windows::Graphics::Imaging::BitmapDecoder^ Decoder; + Windows::Graphics::Imaging::BitmapEncoder^ Encoder; + Windows::Storage::FileProperties::PhotoOrientation Orientation; }; public ref class MainPage sealed diff --git a/Samples/CashDrawer/README.md b/Samples/CashDrawer/README.md index 5678087a62..be84c3eb27 100644 --- a/Samples/CashDrawer/README.md +++ b/Samples/CashDrawer/README.md @@ -24,7 +24,7 @@ Specifically, this sample shows how to: **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/Clipboard/README.md b/Samples/Clipboard/README.md index 7352dd40f1..05882995f7 100644 --- a/Samples/Clipboard/README.md +++ b/Samples/Clipboard/README.md @@ -17,7 +17,7 @@ This sample covers the following: **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/CommunicationBlockAndFilter/README.md b/Samples/CommunicationBlockAndFilter/README.md index 39ace43272..034f18b4ae 100755 --- a/Samples/CommunicationBlockAndFilter/README.md +++ b/Samples/CommunicationBlockAndFilter/README.md @@ -30,7 +30,7 @@ a communication blocking and filtering app must declare. **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/ComplexInk/README.md b/Samples/ComplexInk/README.md index f05a04d7ea..e1362b7603 100644 --- a/Samples/ComplexInk/README.md +++ b/Samples/ComplexInk/README.md @@ -23,7 +23,7 @@ Specifically, this sample covers using the [**Windows.UI.Input.Inking**](http:// - All buttons and menu choices can be activated with mouse, pen, or touch. - Message box at the bottom of the page will report any events generated by current active inking input devices. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/CompositionVisual/README.md b/Samples/CompositionVisual/README.md index 7e536f4f78..2b90851990 100644 --- a/Samples/CompositionVisual/README.md +++ b/Samples/CompositionVisual/README.md @@ -27,7 +27,7 @@ The sample demonstrates the following: **Note** The Universal Windows app samples require Visual Studio 2015 to build and Windows 10 to execute. (See additional discussion below under **Prerequisites**.) -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com). +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421). To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422). diff --git a/Samples/Compression/README.md b/Samples/Compression/README.md index 708c5f3431..ce8cc9c1d1 100644 --- a/Samples/Compression/README.md +++ b/Samples/Compression/README.md @@ -20,7 +20,7 @@ Specifically, this sample shows the following: - Read the compressed data from a file. - Decompress the data. -To obtain the Windows 10 developer tools preview, go to [Windows 10 developer tools](https://dev.windows.com/en-us/downloads/windows-10-developer-tools). +To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) ## Operating system requirements diff --git a/Samples/ContactCardIntegration/README.md b/Samples/ContactCardIntegration/README.md index 92935f7e12..0a3506683b 100644 --- a/Samples/ContactCardIntegration/README.md +++ b/Samples/ContactCardIntegration/README.md @@ -9,7 +9,7 @@ This sample shows how to integrate your app into the People App's contact card a **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/ContactCards/README.md b/Samples/ContactCards/README.md index 2a1efd2e0e..fc8f4c4518 100644 --- a/Samples/ContactCards/README.md +++ b/Samples/ContactCards/README.md @@ -38,7 +38,7 @@ The samples also demonstrate how to detect support for mini contact cards. **Note** The Universal Windows app samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/ContactPicker/README.md b/Samples/ContactPicker/README.md index fc1ce0bf7a..4a7108c90d 100644 --- a/Samples/ContactPicker/README.md +++ b/Samples/ContactPicker/README.md @@ -18,7 +18,7 @@ The sample demonstrates the following tasks: **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/ContentIndexer/README.md b/Samples/ContentIndexer/README.md index 001032a02c..913f32615d 100644 --- a/Samples/ContentIndexer/README.md +++ b/Samples/ContentIndexer/README.md @@ -39,7 +39,7 @@ The sample demonstrates these tasks: **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/ContextMenu/README.md b/Samples/ContextMenu/README.md index 851d260a99..ab2d7e3b70 100644 --- a/Samples/ContextMenu/README.md +++ b/Samples/ContextMenu/README.md @@ -22,7 +22,7 @@ Additional APIs for this sample include: **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/D2DCustomEffects/README.md b/Samples/D2DCustomEffects/README.md index 14ea6a554d..8d0059adc8 100644 --- a/Samples/D2DCustomEffects/README.md +++ b/Samples/D2DCustomEffects/README.md @@ -15,7 +15,7 @@ Specifically, this sample shows how to: **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/D2DPhotoAdjustment/README.md b/Samples/D2DPhotoAdjustment/README.md index 561d7aec93..f6dda133f7 100644 --- a/Samples/D2DPhotoAdjustment/README.md +++ b/Samples/D2DPhotoAdjustment/README.md @@ -23,7 +23,7 @@ This sample uses the following Direct2D effects: **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/DataReaderWriter/README.md b/Samples/DataReaderWriter/README.md index 3633dc9741..8994aa9fca 100644 --- a/Samples/DataReaderWriter/README.md +++ b/Samples/DataReaderWriter/README.md @@ -12,7 +12,7 @@ This sample shows how to use the [**DataReader**](http://msdn.microsoft.com/libr **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/DisablingScreenCapture/README.md b/Samples/DisablingScreenCapture/README.md index 74ab349af7..35e082d7aa 100644 --- a/Samples/DisablingScreenCapture/README.md +++ b/Samples/DisablingScreenCapture/README.md @@ -20,7 +20,7 @@ The sample consists of the following scenarios: **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/DisplayOrientation/README.md b/Samples/DisplayOrientation/README.md index 6a6e75f5bc..81ba142396 100644 --- a/Samples/DisplayOrientation/README.md +++ b/Samples/DisplayOrientation/README.md @@ -23,7 +23,7 @@ see the Orientation Changed scenario of the [the Accelerometer sample](../Accele **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/DpiScaling/README.md b/Samples/DpiScaling/README.md index a86733db4f..d28c10e304 100644 --- a/Samples/DpiScaling/README.md +++ b/Samples/DpiScaling/README.md @@ -23,7 +23,7 @@ Important APIs in this sample include: **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/FeedReader/README.md b/Samples/FeedReader/README.md index ad80d46061..f024ae3b38 100644 --- a/Samples/FeedReader/README.md +++ b/Samples/FeedReader/README.md @@ -67,7 +67,7 @@ Here are some general Windows Store app features demonstrated by this app. **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/FileAccess/README.md b/Samples/FileAccess/README.md index 07ff53055b..214ac325b3 100644 --- a/Samples/FileAccess/README.md +++ b/Samples/FileAccess/README.md @@ -63,7 +63,7 @@ The sample demonstrates these tasks: **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/FileAccess/cpp/Scenario7_TrackAFileOrFolderSoThatYouCanAccessItLater.xaml.cpp b/Samples/FileAccess/cpp/Scenario7_TrackAFileOrFolderSoThatYouCanAccessItLater.xaml.cpp index ddbfe2fcba..8d79e55a7c 100644 --- a/Samples/FileAccess/cpp/Scenario7_TrackAFileOrFolderSoThatYouCanAccessItLater.xaml.cpp +++ b/Samples/FileAccess/cpp/Scenario7_TrackAFileOrFolderSoThatYouCanAccessItLater.xaml.cpp @@ -109,21 +109,17 @@ void Scenario7::OpenFromListButton_Click(Object^ sender, RoutedEventArgs^ e) { if (rootPage->MruToken != nullptr) { - // Open the file via the token that was stored when adding this file into the MRU list - fileTask = create_task(StorageApplicationPermissions::MostRecentlyUsedList->GetFileAsync(rootPage->MruToken)).then([this](task task) + // When the MRU becomes full, older entries are automatically deleted, so check if the + // token is still valid before using it. + if (StorageApplicationPermissions::MostRecentlyUsedList->ContainsItem(rootPage->MruToken)) { - StorageFile^ file = nullptr; - try - { - file = task.get(); - } - catch (InvalidArgumentException^) - { - // When the MRU becomes full, older entries are automatically deleted. - rootPage->NotifyUser("The token is no longer valid.", NotifyType::ErrorMessage); - } - return file; - }); + // Open the file via the token that was stored when adding this file into the MRU list + fileTask = create_task(StorageApplicationPermissions::MostRecentlyUsedList->GetFileAsync(rootPage->MruToken)); + } + else + { + rootPage->NotifyUser("The token is no longer valid.", NotifyType::ErrorMessage); + } } else { @@ -134,7 +130,8 @@ void Scenario7::OpenFromListButton_Click(Object^ sender, RoutedEventArgs^ e) { if (rootPage->FalToken != nullptr) { - // Open the file via the token that was stored when adding this file into the FAL list + // Open the file via the token that was stored when adding this file into the FAL list. + // The token remains valid until we explicitly remove it. fileTask = create_task(StorageApplicationPermissions::FutureAccessList->GetFileAsync(rootPage->FalToken)); } else diff --git a/Samples/FileAccess/cs/Scenario7_TrackAFileOrFolderSoThatYouCanAccessItLater.xaml.cs b/Samples/FileAccess/cs/Scenario7_TrackAFileOrFolderSoThatYouCanAccessItLater.xaml.cs index 595c3da702..aa32554bfa 100644 --- a/Samples/FileAccess/cs/Scenario7_TrackAFileOrFolderSoThatYouCanAccessItLater.xaml.cs +++ b/Samples/FileAccess/cs/Scenario7_TrackAFileOrFolderSoThatYouCanAccessItLater.xaml.cs @@ -116,14 +116,15 @@ private async void OpenFromListButton_Click(object sender, RoutedEventArgs e) { if (rootPage.mruToken != null) { - try + // When the MRU becomes full, older entries are automatically deleted, so check if the + // token is still valid before using it. + if (StorageApplicationPermissions.MostRecentlyUsedList.ContainsItem(rootPage.mruToken)) { // Open the file via the token that was stored when adding this file into the MRU list file = await StorageApplicationPermissions.MostRecentlyUsedList.GetFileAsync(rootPage.mruToken); } - catch (ArgumentException) + else { - // When the MRU becomes full, older entries are automatically deleted. rootPage.NotifyUser("The token is no longer valid.", NotifyType.ErrorMessage); } } @@ -137,6 +138,7 @@ private async void OpenFromListButton_Click(object sender, RoutedEventArgs e) if (rootPage.falToken != null) { // Open the file via the token that was stored when adding this file into the FAL list. + // The token remains valid until we explicitly remove it. file = await StorageApplicationPermissions.FutureAccessList.GetFileAsync(rootPage.falToken); } else diff --git a/Samples/FileAccess/js/js/scenario7_TrackAFileOrFolderSoThatYouCanAccessItLater.js b/Samples/FileAccess/js/js/scenario7_TrackAFileOrFolderSoThatYouCanAccessItLater.js index 2651899d64..9c10f34d4b 100644 --- a/Samples/FileAccess/js/js/scenario7_TrackAFileOrFolderSoThatYouCanAccessItLater.js +++ b/Samples/FileAccess/js/js/scenario7_TrackAFileOrFolderSoThatYouCanAccessItLater.js @@ -6,6 +6,8 @@ var FA_E_MAX_PERSISTED_ITEMS_REACHED = 0x80270220 | 0; var E_INVALIDARG = 0x80070057 | 0; + var StorageApplicationPermissions = Windows.Storage.AccessCache.StorageApplicationPermissions; + var page = WinJS.UI.Pages.define("/html/scenario7_TrackAFileOrFolderSoThatYouCanAccessItLater.html", { ready: function (element, options) { document.getElementById("addToList").addEventListener("click", addToList, false); @@ -23,12 +25,12 @@ var visibility = systemMRUcheckbox.checked ? Windows.Storage.AccessCache.RecentStorageItemVisibility.appAndSystem : Windows.Storage.AccessCache.RecentStorageItemVisibility.appOnly; - SdkSample.mruToken = Windows.Storage.AccessCache.StorageApplicationPermissions.mostRecentlyUsedList.add(SdkSample.sampleFile, SdkSample.sampleFile.name, + SdkSample.mruToken = StorageApplicationPermissions.mostRecentlyUsedList.add(SdkSample.sampleFile, SdkSample.sampleFile.name, visibility); WinJS.log && WinJS.log("The file '" + SdkSample.sampleFile.name + "' was added to the MRU list and a token was stored.", "sample", "status"); } else { try { - SdkSample.falToken = Windows.Storage.AccessCache.StorageApplicationPermissions.futureAccessList.add(SdkSample.sampleFile, SdkSample.sampleFile.name); + SdkSample.falToken = StorageApplicationPermissions.futureAccessList.add(SdkSample.sampleFile, SdkSample.sampleFile.name); WinJS.log && WinJS.log("The file '" + SdkSample.sampleFile.name + "' was added to the FAL list and a token was stored.", "sample", "status"); } catch (error) { if (error.number == FA_E_MAX_PERSISTED_ITEMS_REACHED) { @@ -50,10 +52,10 @@ var MRUradio = document.getElementById("MRUradio"); if (MRUradio.checked) { listName = "MRU"; - entries = Windows.Storage.AccessCache.StorageApplicationPermissions.mostRecentlyUsedList.entries; + entries = StorageApplicationPermissions.mostRecentlyUsedList.entries; } else { listName = "FAL"; - entries = Windows.Storage.AccessCache.StorageApplicationPermissions.futureAccessList.entries; + entries = StorageApplicationPermissions.futureAccessList.entries; } if (entries.size > 0) { @@ -73,24 +75,23 @@ var MRUradio = document.getElementById("MRUradio"); if (MRUradio.checked) { if (SdkSample.mruToken !== null) { - // Open the 'sample.dat' via the token that was stored when adding this file into the MRU list - try { - fileTask = Windows.Storage.AccessCache.StorageApplicationPermissions.mostRecentlyUsedList.getFileAsync(SdkSample.mruToken); - } catch (error) { + // When the MRU becomes full, older entries are automatically deleted, so check if the + // token is still valid before using it. + if (StorageApplicationPermissions.mostRecentlyUsedList.containsItem(SdkSample.mruToken)) { + // Open the 'sample.dat' via the token that was stored when adding this file into the MRU list. + fileTask = StorageApplicationPermissions.mostRecentlyUsedList.getFileAsync(SdkSample.mruToken); + } else { // When the MRU becomes full, older entries are automatically deleted. - if (error.number == E_INVALIDARG) { - WinJS.log && WinJS.log("The token is no longer valid.", "sample", "error"); - } else { - throw error; - } + WinJS.log && WinJS.log("The token is no longer valid.", "sample", "error"); } } else { WinJS.log && WinJS.log("This operation requires a token. Add file to the MRU list first.", "sample", "error"); } } else { if (SdkSample.falToken !== null) { - // Open the 'sample.dat' via the token that was stored when adding this file into the FAL list - fileTask = Windows.Storage.AccessCache.StorageApplicationPermissions.futureAccessList.getFileAsync(SdkSample.falToken); + // Open the 'sample.dat' via the token that was stored when adding this file into the FAL list. + // The token remains valid until we explicitly remove it. + fileTask = StorageApplicationPermissions.futureAccessList.getFileAsync(SdkSample.falToken); } else { WinJS.log && WinJS.log("This operation requires a token. Add file to the FAL list first.", "sample", "error"); } diff --git a/Samples/FilePicker/README.md b/Samples/FilePicker/README.md index 78d167512f..a27c649176 100644 --- a/Samples/FilePicker/README.md +++ b/Samples/FilePicker/README.md @@ -41,7 +41,7 @@ To learn more about accessing and saving files and folders through file pickers, **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/FileSearch/README.md b/Samples/FileSearch/README.md index 2e82770c2c..3a726d2859 100644 --- a/Samples/FileSearch/README.md +++ b/Samples/FileSearch/README.md @@ -17,7 +17,7 @@ For a walkthrough, see [Quickstart: Accessing files programmatically](http://msd **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/FileThumbnails/README.md b/Samples/FileThumbnails/README.md index 4e12a691e2..6211388c77 100644 --- a/Samples/FileThumbnails/README.md +++ b/Samples/FileThumbnails/README.md @@ -35,7 +35,7 @@ Important APIs in this sample include: **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/FolderEnumeration/README.md b/Samples/FolderEnumeration/README.md index 3360487b46..0d8e86468d 100644 --- a/Samples/FolderEnumeration/README.md +++ b/Samples/FolderEnumeration/README.md @@ -41,7 +41,7 @@ Additional important APIs in this sample include: **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/FullScreenMode/README.md b/Samples/FullScreenMode/README.md index 652d9657b0..c7098955b4 100644 --- a/Samples/FullScreenMode/README.md +++ b/Samples/FullScreenMode/README.md @@ -17,7 +17,7 @@ The sample shows the following techniques: **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/GlobalizationPreferences/README.md b/Samples/GlobalizationPreferences/README.md index 325a44c9b7..31cab98b3a 100644 --- a/Samples/GlobalizationPreferences/README.md +++ b/Samples/GlobalizationPreferences/README.md @@ -35,7 +35,7 @@ class also enables the caller to obtain details about a given geographic region **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/HomeGroup/README.md b/Samples/HomeGroup/README.md index db7424a1f5..a206bfe7e4 100644 --- a/Samples/HomeGroup/README.md +++ b/Samples/HomeGroup/README.md @@ -16,7 +16,7 @@ This sample covers the following processes: **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/Ink/README.md b/Samples/Ink/README.md index 388fc96dc0..312b078d07 100644 --- a/Samples/Ink/README.md +++ b/Samples/Ink/README.md @@ -37,14 +37,12 @@ Specifically, this sample covers using the [**Windows.UI.Input.Inking**](http:// - Use **Save** and **Load** to read and write Ink Serialized Format (ISF) files to the Libraries or Pictures folder or both. - All buttons and menu choices can be activated with mouse, pen, or touch. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) ## Related topics -[Getting started with apps](https://dev.windows.com/getstarted) - [Responding to pen and stylus interactions](http://msdn.microsoft.com/library/windows/apps/hh700425) [Responding to user interaction](http://msdn.microsoft.com/library/windows/apps/hh700412) @@ -76,4 +74,4 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel ## Run the sample -To debug the app and then run it, press F5 or use **Debug** \> **Start Debugging**. To run the app without debugging, press Ctrl+F5 or use **Debug** \> **Start Without Debugging**. \ No newline at end of file +To debug the app and then run it, press F5 or use **Debug** \> **Start Debugging**. To run the app without debugging, press Ctrl+F5 or use **Debug** \> **Start Without Debugging**. diff --git a/Samples/JapanesePhoneticAnalysis/README.md b/Samples/JapanesePhoneticAnalysis/README.md index ff5f9e8d1e..cd7d4d8cc5 100644 --- a/Samples/JapanesePhoneticAnalysis/README.md +++ b/Samples/JapanesePhoneticAnalysis/README.md @@ -16,7 +16,7 @@ The sample demonstrates these tasks: **Note** The Universal Windows app samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/LanguageFont/README.md b/Samples/LanguageFont/README.md index beb36f5cfb..b48d97fd9e 100644 --- a/Samples/LanguageFont/README.md +++ b/Samples/LanguageFont/README.md @@ -16,7 +16,7 @@ Be aware that if the content to which the font is applied contains text that is **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/LibraryManagement/README.md b/Samples/LibraryManagement/README.md index be248cb3da..212bceb7df 100644 --- a/Samples/LibraryManagement/README.md +++ b/Samples/LibraryManagement/README.md @@ -23,7 +23,7 @@ The sample demonstrates these tasks: **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/LinguisticServices/README.md b/Samples/LinguisticServices/README.md index af3705a874..392a080b6e 100644 --- a/Samples/LinguisticServices/README.md +++ b/Samples/LinguisticServices/README.md @@ -25,7 +25,7 @@ The scenarios demonstrate the use of the these services: **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/Logging/README.md b/Samples/Logging/README.md index 11ccfc343f..123ad77103 100644 --- a/Samples/Logging/README.md +++ b/Samples/Logging/README.md @@ -38,7 +38,7 @@ Toolkit (WPT), as well as utilities such as tracerpt.exe or xperf.exe. **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/LowLatencyInput/README.md b/Samples/LowLatencyInput/README.md index f7ecd8ed29..ea4390135e 100644 --- a/Samples/LowLatencyInput/README.md +++ b/Samples/LowLatencyInput/README.md @@ -17,7 +17,7 @@ Specifically, this sample shows: **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/MagneticStripeReader/README.md b/Samples/MagneticStripeReader/README.md index eb398e7b8a..e2045ed8fe 100644 --- a/Samples/MagneticStripeReader/README.md +++ b/Samples/MagneticStripeReader/README.md @@ -39,7 +39,7 @@ The following list shows the magnetic stripe readers that were used with this co **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/MediaImport/README.md b/Samples/MediaImport/README.md index 55df0d3809..d646f0ac8b 100644 --- a/Samples/MediaImport/README.md +++ b/Samples/MediaImport/README.md @@ -18,7 +18,7 @@ Important APIs in this sample include: **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/MessageDialog/README.md b/Samples/MessageDialog/README.md index 26f9ca0e03..54008a6506 100644 --- a/Samples/MessageDialog/README.md +++ b/Samples/MessageDialog/README.md @@ -11,7 +11,7 @@ The [**Windows.UI.Popups**](http://msdn.microsoft.com/library/windows/apps/br242 **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/Nfc/README.md b/Samples/Nfc/README.md index c51e66c1e5..3de73c2c81 100644 --- a/Samples/Nfc/README.md +++ b/Samples/Nfc/README.md @@ -12,7 +12,7 @@ This sample shows how to: **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/NfcProvisioner/README.md b/Samples/NfcProvisioner/README.md index 273f4bb686..3fc912d2f3 100644 --- a/Samples/NfcProvisioner/README.md +++ b/Samples/NfcProvisioner/README.md @@ -14,7 +14,7 @@ Specifically, this sample shows how to: **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/NumberFormatting/README.md b/Samples/NumberFormatting/README.md index 066ff5b6c6..1b67b42227 100644 --- a/Samples/NumberFormatting/README.md +++ b/Samples/NumberFormatting/README.md @@ -17,7 +17,7 @@ The [**Windows.Globalization.NumberFormatting**](http://msdn.microsoft.com/libra **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/Package/README.md b/Samples/Package/README.md index 7d709616a6..89e23f3013 100644 --- a/Samples/Package/README.md +++ b/Samples/Package/README.md @@ -27,7 +27,7 @@ The sample covers these new tasks for Windows 10: - Getting package logo using [**Package.Logo**](http://msdn.microsoft.com/library/windows/apps/dn175747) - Getting publisher display name of the package using [**Package.PublisherDisplayName**](http://msdn.microsoft.com/library/windows/apps/dn175748) -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/PasswordVault/README.md b/Samples/PasswordVault/README.md index 1c0a8ee379..6a47e3b6d9 100644 --- a/Samples/PasswordVault/README.md +++ b/Samples/PasswordVault/README.md @@ -32,7 +32,7 @@ User Accounts, Credential Manager. **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/PdfDocument/README.md b/Samples/PdfDocument/README.md index 02e1fab2cf..a47853c30f 100644 --- a/Samples/PdfDocument/README.md +++ b/Samples/PdfDocument/README.md @@ -17,7 +17,7 @@ The sample shows the following techniques: **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/Playlists/README.md b/Samples/Playlists/README.md index 5bee7cd30a..954a5c31df 100644 --- a/Samples/Playlists/README.md +++ b/Samples/Playlists/README.md @@ -31,7 +31,7 @@ This sample uses classes that are in the [**Windows.Media.Playlists**](http://ms **Note** The Universal Windows app samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/PosPrinter/README.md b/Samples/PosPrinter/README.md index 7bac6aad3e..b876501422 100644 --- a/Samples/PosPrinter/README.md +++ b/Samples/PosPrinter/README.md @@ -23,7 +23,7 @@ Specifically, this sample shows how to: **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/ProxyStubsForWinRTComponents/README.md b/Samples/ProxyStubsForWinRTComponents/README.md index 68f7eb7075..e98fe3cc7a 100644 --- a/Samples/ProxyStubsForWinRTComponents/README.md +++ b/Samples/ProxyStubsForWinRTComponents/README.md @@ -9,7 +9,7 @@ Create proxies and stubs for a Windows Runtime in-process component that is cons **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/ResizeAppView/README.md b/Samples/ResizeAppView/README.md index afdc36bd64..5c4013df8f 100644 --- a/Samples/ResizeAppView/README.md +++ b/Samples/ResizeAppView/README.md @@ -18,7 +18,7 @@ In particular, the view resizing feature is not enabled on phones or on PCs in T **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/SemanticTextQuery/README.md b/Samples/SemanticTextQuery/README.md index b161e926cd..c468da3951 100644 --- a/Samples/SemanticTextQuery/README.md +++ b/Samples/SemanticTextQuery/README.md @@ -15,7 +15,7 @@ The sample demonstrates the following scenarios: **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/ShareSource/README.md b/Samples/ShareSource/README.md index 79181e5029..759adf5316 100644 --- a/Samples/ShareSource/README.md +++ b/Samples/ShareSource/README.md @@ -24,7 +24,7 @@ Also, this sample shows how to display text when your app can't support a share **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/Simple3DGameDX/README.md b/Samples/Simple3DGameDX/README.md index 6ff835612b..9df723b2f6 100644 --- a/Samples/Simple3DGameDX/README.md +++ b/Samples/Simple3DGameDX/README.md @@ -26,7 +26,7 @@ Both versions share significant amounts of logic: the Common and GameContent fol **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/Simple3DGameXaml/README.md b/Samples/Simple3DGameXaml/README.md index 0e90467854..240ae4cc24 100644 --- a/Samples/Simple3DGameXaml/README.md +++ b/Samples/Simple3DGameXaml/README.md @@ -27,7 +27,7 @@ Both versions share significant amounts of logic: the Common and GameContent fol **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/SimpleImaging/README.md b/Samples/SimpleImaging/README.md index 09fee39b24..8ca0c35655 100644 --- a/Samples/SimpleImaging/README.md +++ b/Samples/SimpleImaging/README.md @@ -18,7 +18,7 @@ Specifically, this sample demonstrates how to: **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/SpatialSound/README.md b/Samples/SpatialSound/README.md index cdf654e8aa..388e85b1b8 100644 --- a/Samples/SpatialSound/README.md +++ b/Samples/SpatialSound/README.md @@ -27,7 +27,7 @@ Specifically, this sample covers hosting the HRTF xAPO in an XAudio2 graph for r **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/TextSegmentation/README.md b/Samples/TextSegmentation/README.md index 6ee20d411c..11814985e7 100644 --- a/Samples/TextSegmentation/README.md +++ b/Samples/TextSegmentation/README.md @@ -9,7 +9,7 @@ This sample shows how to identify separate boundaries of individual words in tex **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/TitleBar/README.md b/Samples/TitleBar/README.md index 683c61d592..82b2e03018 100644 --- a/Samples/TitleBar/README.md +++ b/Samples/TitleBar/README.md @@ -18,7 +18,7 @@ The sample shows the following techniques: **Note** Not all of the title bar functionality is available in all builds. Functionality will arrive gradually as newer builds are released. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/Unicode/README.md b/Samples/Unicode/README.md index 280b3be6c1..5503fd5e73 100644 --- a/Samples/Unicode/README.md +++ b/Samples/Unicode/README.md @@ -13,7 +13,7 @@ To obtain an evaluation copy of Microsoft Visual Studio 2013, go to [Visual Stu **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/UserInfo/README.md b/Samples/UserInfo/README.md index f15a4f931c..40b191da9e 100644 --- a/Samples/UserInfo/README.md +++ b/Samples/UserInfo/README.md @@ -17,7 +17,7 @@ Specifically, this sample demonstrates the following scenarios: **Note** The Universal Windows app samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/UserInteractionMode/README.md b/Samples/UserInteractionMode/README.md index 0254027bdd..27f3f9fd4c 100644 --- a/Samples/UserInteractionMode/README.md +++ b/Samples/UserInteractionMode/README.md @@ -14,7 +14,7 @@ The sample shows the following techniques: **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/WRLInProcessWinRTComponent/README.md b/Samples/WRLInProcessWinRTComponent/README.md index 20fb8c6c84..5d414df32d 100644 --- a/Samples/WRLInProcessWinRTComponent/README.md +++ b/Samples/WRLInProcessWinRTComponent/README.md @@ -9,7 +9,7 @@ Create an in-process component in C++ using WRL that is consumed in C++, JS, and **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/WRLOutOfProcessWinRTComponent/README.md b/Samples/WRLOutOfProcessWinRTComponent/README.md index 16139c5699..28e702aaba 100644 --- a/Samples/WRLOutOfProcessWinRTComponent/README.md +++ b/Samples/WRLOutOfProcessWinRTComponent/README.md @@ -9,7 +9,7 @@ This sample shows how to create an out-of-process component in C++ using WRL tha **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/WebAccountManagement/README.md b/Samples/WebAccountManagement/README.md index 0be244ddb0..55bbf4dee7 100644 --- a/Samples/WebAccountManagement/README.md +++ b/Samples/WebAccountManagement/README.md @@ -19,7 +19,7 @@ Specifically, this sample demonstrates the following scenarios: **Note 2** The app as provided will not be able to get tokens without having it's app manifest being modified to use the App Identity of a registered Microsoft Store/registered AAD app. See 'Related Topics' for instructions on how to register an app. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/XamlAnimatedGif/README.md b/Samples/XamlAnimatedGif/README.md index 3cecd58fcb..75d0f041e7 100644 --- a/Samples/XamlAnimatedGif/README.md +++ b/Samples/XamlAnimatedGif/README.md @@ -8,7 +8,7 @@ This sample demonstrates a solution for playback of animated GIF images using Wi **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/XamlAnimatedGif/cs/GifView.xaml.cs b/Samples/XamlAnimatedGif/cs/GifView.xaml.cs index 0e9a90fd39..05236969a0 100644 --- a/Samples/XamlAnimatedGif/cs/GifView.xaml.cs +++ b/Samples/XamlAnimatedGif/cs/GifView.xaml.cs @@ -52,16 +52,9 @@ public Uri UriSource private GifPresenter _gifPresenter; private bool _isLoaded; - private CancellationTokenSource _initializationCancellationTokenSource; - public GifView() { this.InitializeComponent(); - - // Register for visibility changed to stop the timer when minimized - Window.Current.VisibilityChanged += Window_VisibilityChanged; - // Register for SurfaceContentsLost to recreate the image source if necessary - CompositionTarget.SurfaceContentsLost += CompositionTarget_SurfaceContentsLost; } private async static void OnSourcePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) @@ -73,7 +66,6 @@ private async static void OnSourcePropertyChanged(DependencyObject d, Dependency private async Task UpdateSourceAsync() { _gifPresenter?.StopAnimation(); - _initializationCancellationTokenSource?.Cancel(); GifImage.Source = null; _gifPresenter = null; @@ -81,48 +73,43 @@ private async Task UpdateSourceAsync() if (UriSource != null) { var uriSource = UriSource; - var cancellationTokenSource = new CancellationTokenSource(); - - _initializationCancellationTokenSource = cancellationTokenSource; - try { var streamReference = RandomAccessStreamReference.CreateFromUri(uriSource); - var inMemoryStream = new InMemoryRandomAccessStream(); + var readStream = await streamReference.OpenReadAsync(); + + if (readStream.ContentType.ToLowerInvariant() != "image/gif") + { + throw new ArgumentException("Unsupported content type: " + readStream.ContentType); + } - using (inMemoryStream) + using (readStream) + using (var inMemoryStream = new InMemoryRandomAccessStream()) { - var readStream = await streamReference.OpenReadAsync().AsTask(cancellationTokenSource.Token); + await RandomAccessStream.CopyAndCloseAsync( + readStream.GetInputStreamAt(0L), + inMemoryStream.GetOutputStreamAt(0L) + ); - if (readStream.ContentType.ToLowerInvariant() != "image/gif") - { - throw new ArgumentException("Unsupported content type: " + readStream.ContentType); - } - var copyAction = RandomAccessStream.CopyAndCloseAsync( - readStream.GetInputStreamAt(0L), - inMemoryStream.GetOutputStreamAt(0L) - ); - await copyAction.AsTask(cancellationTokenSource.Token); - if (uriSource.Equals(UriSource)) { var gifPresenter = new GifPresenter(); - GifImage.Source = await gifPresenter.InitializeAsync(inMemoryStream); - _gifPresenter = gifPresenter; - if (_isLoaded) + if (uriSource.Equals(UriSource)) { - _gifPresenter.StartAnimation(); + _gifPresenter?.StopAnimation(); + _gifPresenter = gifPresenter; + + if (_isLoaded) + { + _gifPresenter.StartAnimation(); + } } } } } - catch (TaskCanceledException) - { - // Just keep the empty image source. - } catch (FileNotFoundException) { // Just keep the empty image source. @@ -146,12 +133,22 @@ private void Window_VisibilityChanged(object sender, VisibilityChangedEventArgs private void GifImage_Loaded(object sender, RoutedEventArgs e) { + // Register for visibility changed to stop the timer when minimized + Window.Current.VisibilityChanged += Window_VisibilityChanged; + // Register for SurfaceContentsLost to recreate the image source if necessary + CompositionTarget.SurfaceContentsLost += CompositionTarget_SurfaceContentsLost; + _isLoaded = true; _gifPresenter?.StartAnimation(); } private void GifImage_Unloaded(object sender, RoutedEventArgs e) { + // Register for visibility changed to stop the timer when minimized + Window.Current.VisibilityChanged -= Window_VisibilityChanged; + // Register for SurfaceContentsLost to recreate the image source if necessary + CompositionTarget.SurfaceContentsLost -= CompositionTarget_SurfaceContentsLost; + _isLoaded = false; _gifPresenter?.StopAnimation(); } @@ -205,7 +202,7 @@ public FrameProperties(Rect rect, double delayMilliseconds, bool shouldDispose) private BitmapDecoder _bitmapDecoder; private ImageProperties _imageProperties; - private IList _frameProperties; + private FrameProperties?[] _frameProperties; private CanvasImageSource _canvasImageSource; private CanvasRenderTarget _accumulationRenderTarget; @@ -218,15 +215,8 @@ public async Task InitializeAsync(IRandomAccessStream streamSource) { var bitmapDecoder = await BitmapDecoder.CreateAsync(BitmapDecoder.GifDecoderId, streamSource); var imageProperties = await RetrieveImagePropertiesAsync(bitmapDecoder); - var frameProperties = new List(); - for (var i = 0u; i < bitmapDecoder.FrameCount; i++) - { - var bitmapFrame = await bitmapDecoder.GetFrameAsync(i); - frameProperties.Add(await RetrieveFramePropertiesAsync(bitmapFrame)); - } - - _frameProperties = frameProperties; + _frameProperties = new FrameProperties?[bitmapDecoder.FrameCount]; _bitmapDecoder = bitmapDecoder; _imageProperties = imageProperties; @@ -247,7 +237,7 @@ public void StartAnimation() _animationTimer = new DispatcherTimer(); _animationTimer.Tick += AnimationTimer_Tick; - _animationTimer.Interval = TimeSpan.Zero; + _animationTimer.Interval = TimeSpan.FromMilliseconds(1.0); _animationTimer.Start(); _isAnimating = true; @@ -273,7 +263,14 @@ private async Task AdvanceFrame() } var frameIndex = _currentFrameIndex; - var frameProperties = _frameProperties[frameIndex]; + BitmapFrame frame = null; + + if (!_frameProperties[frameIndex].HasValue) + { + frame = await _bitmapDecoder.GetFrameAsync((uint)frameIndex); + _frameProperties[frameIndex] = await RetrieveFramePropertiesAsync(frame); + } + FrameProperties frameProperties = _frameProperties[frameIndex].Value; // Increment frame index and loop count _currentFrameIndex++; @@ -295,7 +292,10 @@ private async Task AdvanceFrame() } // Decode the frame - var frame = await _bitmapDecoder.GetFrameAsync((uint)frameIndex); + if (frame == null) + { + frame = await _bitmapDecoder.GetFrameAsync((uint)frameIndex); + } var pixelData = await frame.GetPixelDataAsync( BitmapPixelFormat.Bgra8, BitmapAlphaMode.Premultiplied, @@ -309,7 +309,7 @@ private async Task AdvanceFrame() if (frameIndex > 0) { - var previousFrameProperties = _frameProperties[frameIndex - 1]; + var previousFrameProperties = _frameProperties[frameIndex - 1].GetValueOrDefault(); if (previousFrameProperties.ShouldDispose) { // Clear the pixels from the last frame @@ -567,3 +567,4 @@ private async Task RetrieveFramePropertiesAsync(BitmapFrame fra } } } + diff --git a/Samples/XamlAutoSuggestBox/README.md b/Samples/XamlAutoSuggestBox/README.md index d8a5f17290..4e67bb39ce 100644 --- a/Samples/XamlAutoSuggestBox/README.md +++ b/Samples/XamlAutoSuggestBox/README.md @@ -14,7 +14,7 @@ Specifically, this sample shows how to: **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/XamlBind/README.md b/Samples/XamlBind/README.md index a4cb8a1662..05583adec1 100644 --- a/Samples/XamlBind/README.md +++ b/Samples/XamlBind/README.md @@ -16,7 +16,7 @@ Specifically, this sample shows how to: **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/XamlCommanding/README.md b/Samples/XamlCommanding/README.md index 1a76cb0acc..055812748b 100644 --- a/Samples/XamlCommanding/README.md +++ b/Samples/XamlCommanding/README.md @@ -18,7 +18,7 @@ This sample shows: **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/XamlContextMenu/README.md b/Samples/XamlContextMenu/README.md index e3500c671a..3dd75e12f2 100644 --- a/Samples/XamlContextMenu/README.md +++ b/Samples/XamlContextMenu/README.md @@ -16,7 +16,7 @@ Specifically, this sample shows how to: **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/XamlCustomMediaTransportControls/README.md b/Samples/XamlCustomMediaTransportControls/README.md index a52ac11e39..6cc99a1325 100644 --- a/Samples/XamlCustomMediaTransportControls/README.md +++ b/Samples/XamlCustomMediaTransportControls/README.md @@ -16,7 +16,7 @@ which show how to use the custom template in your app **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/XamlDeferLoadStrategy/README.md b/Samples/XamlDeferLoadStrategy/README.md index fb5424abcc..32654e0add 100644 --- a/Samples/XamlDeferLoadStrategy/README.md +++ b/Samples/XamlDeferLoadStrategy/README.md @@ -15,7 +15,7 @@ Specifically, this sample shows how to: **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/XamlDragAndDrop/README.md b/Samples/XamlDragAndDrop/README.md index 14fe7be755..23bd869c79 100644 --- a/Samples/XamlDragAndDrop/README.md +++ b/Samples/XamlDragAndDrop/README.md @@ -15,7 +15,7 @@ Specifically, this sample shows how to: **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/XamlFocusVisuals/README.md b/Samples/XamlFocusVisuals/README.md index 664e74b3b8..3ce5a06f56 100644 --- a/Samples/XamlFocusVisuals/README.md +++ b/Samples/XamlFocusVisuals/README.md @@ -14,7 +14,7 @@ Specifically, this sample shows how to: **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/XamlListView/README.md b/Samples/XamlListView/README.md index 3b92d2891a..523aa47dc5 100644 --- a/Samples/XamlListView/README.md +++ b/Samples/XamlListView/README.md @@ -18,7 +18,7 @@ Specifically, this sample shows how to: **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/XamlListView/cs/Model/Contact.cs b/Samples/XamlListView/cs/Model/Contact.cs index be6b305272..15d0a7028d 100644 --- a/Samples/XamlListView/cs/Model/Contact.cs +++ b/Samples/XamlListView/cs/Model/Contact.cs @@ -123,6 +123,11 @@ orderby g.Key return groups; } + + public override string ToString() + { + return Name; + } #endregion #region Helpers diff --git a/Samples/XamlMasterDetail/README.md b/Samples/XamlMasterDetail/README.md index 206917d8ed..c1e4c208f4 100644 --- a/Samples/XamlMasterDetail/README.md +++ b/Samples/XamlMasterDetail/README.md @@ -17,7 +17,7 @@ Specifically, this sample demonstrates: **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/XamlNavigation/README.md b/Samples/XamlNavigation/README.md index 58e9802bc9..aad2be5c13 100644 --- a/Samples/XamlNavigation/README.md +++ b/Samples/XamlNavigation/README.md @@ -14,7 +14,7 @@ Specifically, this sample shows how to: **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/XamlPivot/README.md b/Samples/XamlPivot/README.md index cd38f90e84..2ce384348a 100644 --- a/Samples/XamlPivot/README.md +++ b/Samples/XamlPivot/README.md @@ -15,7 +15,7 @@ Specifically, this sample shows how to: **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/XamlPullToRefresh/README.md b/Samples/XamlPullToRefresh/README.md index e436617484..bda6ac4981 100644 --- a/Samples/XamlPullToRefresh/README.md +++ b/Samples/XamlPullToRefresh/README.md @@ -9,7 +9,7 @@ This sample shows how to implement a "pull-to-refresh" feature for a scrollable **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/XamlResponsiveTechniques/README.md b/Samples/XamlResponsiveTechniques/README.md index 34ec31c276..fa8cbcddae 100644 --- a/Samples/XamlResponsiveTechniques/README.md +++ b/Samples/XamlResponsiveTechniques/README.md @@ -9,7 +9,7 @@ Showcases a UI scenario from Settings (Personalization UI) and highlights the si **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/XamlStateTriggers/README.md b/Samples/XamlStateTriggers/README.md index ae0f6a50c8..f839da957a 100644 --- a/Samples/XamlStateTriggers/README.md +++ b/Samples/XamlStateTriggers/README.md @@ -9,7 +9,7 @@ Showcases extensible StateTriggers with a couple of different custom triggers bu **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/XamlTailoredMultipleViews/README.md b/Samples/XamlTailoredMultipleViews/README.md index ce346cb1b1..c9c43a5ec2 100644 --- a/Samples/XamlTailoredMultipleViews/README.md +++ b/Samples/XamlTailoredMultipleViews/README.md @@ -9,7 +9,7 @@ Showcases how to build tailored UI using multiple views that are optimized for o **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/XamlTransform3DAnimations/README.md b/Samples/XamlTransform3DAnimations/README.md index 9cf7b60ed8..41bfca038b 100644 --- a/Samples/XamlTransform3DAnimations/README.md +++ b/Samples/XamlTransform3DAnimations/README.md @@ -14,7 +14,7 @@ Specifically, two effects are demonstrated in this sample: **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/XamlTransform3DParallax/README.md b/Samples/XamlTransform3DParallax/README.md index 153352df03..a0a26ff395 100644 --- a/Samples/XamlTransform3DParallax/README.md +++ b/Samples/XamlTransform3DParallax/README.md @@ -14,7 +14,7 @@ Specifically, this sample shows how to: **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/XamlUIBasics/README.md b/Samples/XamlUIBasics/README.md index 5cf452185e..cbc77877a8 100644 --- a/Samples/XamlUIBasics/README.md +++ b/Samples/XamlUIBasics/README.md @@ -15,7 +15,7 @@ Specifically, this sample shows how to: **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/XamlUIBasics/cs/AppUIBasics/ControlPages/HyperlinkButtonPage.xaml b/Samples/XamlUIBasics/cs/AppUIBasics/ControlPages/HyperlinkButtonPage.xaml index 6c77fb9281..0a128a3e6e 100644 --- a/Samples/XamlUIBasics/cs/AppUIBasics/ControlPages/HyperlinkButtonPage.xaml +++ b/Samples/XamlUIBasics/cs/AppUIBasics/ControlPages/HyperlinkButtonPage.xaml @@ -23,12 +23,12 @@ - + - <HyperlinkButton Content="Windows Dev Center" NavigateUri="http://dev.windows.com"/> + <HyperlinkButton Content="Microsoft home page" NavigateUri="http://www.microsoft.com"/> diff --git a/Samples/XamlWebView/README.md b/Samples/XamlWebView/README.md index c694b2609c..6a8ac41729 100644 --- a/Samples/XamlWebView/README.md +++ b/Samples/XamlWebView/README.md @@ -52,7 +52,7 @@ Specifically, this sample shows how to **Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute. -To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com) +To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421) To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422) diff --git a/Samples/XamlWebView/cs/Scenario1_NavToUrl.xaml b/Samples/XamlWebView/cs/Scenario1_NavToUrl.xaml index 78ec57552a..0c27155107 100644 --- a/Samples/XamlWebView/cs/Scenario1_NavToUrl.xaml +++ b/Samples/XamlWebView/cs/Scenario1_NavToUrl.xaml @@ -34,7 +34,7 @@ - +