<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Where is my solution</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/whereismysolution/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/whereismysolution/feed.xml</link>
    <description>Shop here your solution, no pun intended.</description>
    <lastBuildDate>Wed, 06 Jun 2018 09:38:30 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>[Last Week Dev Bits 1]</title>
      <link>https://docs.microsoft.com/archive/blogs/whereismysolution/last-week-dev-bits-1</link>
      <pubDate>Wed, 06 Jun 2018 09:38:30 GMT</pubDate>
      <dc:creator><![CDATA[José Paulo Pendão]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/whereismysolution/?p=875</guid>
      <description><![CDATA[Being the Dev world such a dynamic vortex of always new cool stuff coming out I thought it would be...]]></description>
      <content:encoded><![CDATA[Being the Dev world such a dynamic vortex of always new cool stuff coming out I thought it would be a good idea to use this Blog also to share the things I had found cool and interesting in our little world.

Not intending to be any kind of exhaustive and complete repository of the news, just what I had stumble upon every week and find out to be useful/funny/awesome regarding Dev stuff.

This will be my first "Last Week Dev Bits", lets see how it goes. :-)
<ul>
 	<li>Bringing custom icons to your <strong>VSCode</strong> projects. See <a href="https://t.co/EO9vaquox9">how</a>:</li>
 	<li>Trying to figure out how to deploy your business logic code to an <strong>IoT Edge</strong> device using <strong>Azure Functions</strong>? <a href="https://t.co/VVcIqi2RZr">Read more</a></li>
 	<li>Say goodbye to custom steps - Microsoft just launched build status notifications for <strong>VSAppCenter</strong>! Read <a href="https://t.co/AMYTPPQtIJ">here</a>.</li>
 	<li>Hear from Elijah Manor &amp; Burke Holland about <a href="https://t.co/IB05AVO6PR">5 VS extensions</a> that'll make your life a bit easier.</li>
 	<li>New keyboard shortcuts make it easier to run <strong>Python</strong> code in the terminal! Get the latest extension for code now. Check it out <a href="https://t.co/Gb7JHP3Qef">here</a>.</li>
 	<li>You can now master <strong>Nodejs</strong> with <a href="https://t.co/XJRU9UziP3">this free</a> <strong>Opensource</strong> eBook on Github! Start building today.</li>
 	<li>Learn how to build immutable infrastructure for Azure using VisualStudio Team Services as CI/CD and popular Open Source tools from Hashi Corp and Red Hat. Great Tutorial on it <a href="https://t.co/YNb34u9yM4">here</a></li>
 	<li>What about bring <strong>AI</strong> to your data with <strong>Machine Learning</strong> services in SQL Server, cool right? <a href="https://youtu.be/ACejZ9optCQ">Watch how</a></li>
 	<li><strong>React</strong> expert Randy Morgan joins John Papa and explains how React handles local state, state flow, props on an all new episode of FiveThings! <a href="https://youtu.be/6HxLxEiUzUk?list=PLlrxD0HtieHgugDxYBujMFnvSveH4fgWN">Watch here</a>.</li>
 	<li>Check out at EdXOnline for an in-depth look at developing NoSQL apps in super-scalable Azure <strong>CosmosDB</strong>. Great stuff. Find it <a href="https://t.co/FaU7u8Pf9e">here</a>.</li>
 	<li>Exponentially Difficult <strong>Debugging</strong> - Debugging in the age of AI – an interesting <a href="https://lnkd.in/gmXYMe7">read</a>.</li>
 	<li>Easily create customizable <strong>CI/CD pipelines in Azure</strong> with VSTS. Learn how with our 5-min quickstarts. Real good stuff! <a href="https://t.co/z7BB7hMzcb">Here</a>.</li>
 	<li>Want to assign a work item to a group of Devs? You can do that. <strong>Extend VSTS</strong> project templates...here's <a href="https://t.co/xtIwIIoTuV">how</a>.</li>
 	<li>Designing apps for the Xbox or TV? Read about everything you need to keep in mind. <a href="https://lnkd.in/gndj-Hb">Learn how</a>.</li>
 	<li>From spinning up containers to tapping <strong>Microservices</strong>, Microsoft is simplifying the developer experience. Check out the Q&amp;A at Redmond to <a href="https://lnkd.in/gXNnB-d">learn</a></li>
 	<li>Check out n<a href="https://t.co/xZiv5uqAFA">ew hands-on Kubernetes labs</a>. Follow step-by-step examples to create containerized and distributed apps in <strong>Kubernetes</strong> &amp; Kubeless, using Azure cloud services to put them into production.</li>
 	<li><span>Catch bugs before your users do with </span><b>VSAppCenter</b><span> service test. <a href="https://t.co/XFV4rMUx11">Learn how</a></span></li>
 	<li>Learn to containerize your <strong>Golang</strong> code by following the step-by-step examples in this <a href="https://lnkd.in/gCJVr5U">free eBook</a>.</li>
 	<li><span>Building </span><b>Java</b><span> applications on </span><b>ServiceFabric</b><span>: A look under the hood with Pavan Kunapareddy</span><span>! <a href="https://youtu.be/Ycr4H2ar3aA">Watch here</a>.</span></li>
 	<li>Start working with <strong>Git</strong> in Visual Studio! Create a local repo for your project and learn how to use the code editor, debugger, and other Git-related features. <a href="https://t.co/gHdxF3VeKb">All you need here</a>.</li>
 	<li><span>Ensure your </span><b>AzureSQLDB</b><span> has the resources it needs and makes the most of those resources. Download the <a href="https://lnkd.in/gYm7C-X">free eBook</a> to learn how</span></li>
 	<li><span>Take a look at our .NET <strong>Application Architecture Guidance</strong> site for a collection for free e-books, videos and code samples. <a href="https://t.co/j6gWEmvpf6">Find it here</a>.</span></li>
 	<li><a href="https://cloudblogs.microsoft.com/enterprisemobility/2018/05/29/this-is-so-cool-use-azure-ad-to-login-to-azure-linux-virtual-machines/?_lrsc=adb95322-c6fe-448d-bc86-01034ce12151">This</a> is SO cool! Use <strong>Azure AD</strong> to login to Azure Linux virtual machines</li>
 	<li>Speed up <strong>R</strong> w/ parallel programming in the cloud. <a href="https://t.co/xxDXsnHDCB">Here's</a> @David Smith's presentation complete w/ slides &amp; all the references you need. And its really good.</li>
 	<li><span>If you couldn’t attend Microsoft Build 2018, now is your opportunity to do so online with Microsoft Build Live 2018. Learn about the Cloud, <strong>AI</strong>, <strong>IoT</strong>, and much more. Check out all the content organized into a <a href="https://lnkd.in/gur7xMb">playlist</a>. </span></li>
 	<li><span>Integrating </span><b>SQLServer</b><span> Data Tools in your </span><b>DevOps</b><span> pipeline makes it easy to develop and manage your database. <a href="https://t.co/1EsG7wB9UK">Learn how</a></span></li>
 	<li><span>Node.js &amp; Cloud-native apps are changing the way </span><s></s><b>devs</b><span> build. Download the <a href="https://lnkd.in/g_6yYV5">free E-book</a> to learn how to create a </span><b>WebApp</b><span> on </span><b>Linux</b><span> and more</span></li>
 	<li><span>How to use the <b>Apache Kafka</b> interface of <b>Azure</b> Event Hubs with <b>Spring Cloud</b> Stream. <a href="https://t.co/P31WQaIajJ">Find it here</a>. </span></li>
 	<li>Install and configure <strong>Ansible</strong> to manage your Azure virtual machines in five minutes! <a href="https://t.co/40FgFwYSWF">Learn how</a></li>
 	<li><span>Using <strong>asynchronous programming</strong> helps your app stay responsive when it does work that might take an extended amount of time. <a href="https://t.co/JQkwKw2ett">Learn more</a>.</span></li>
 	<li><span>Got 10 minutes? Then you have time to learn how to run the </span><s></s><strong>SQLServer</strong><span><strong> 2017</strong> container image with </span><b>Docker</b>. <a href="https://t.co/PZEA8yyE4o">Learn here</a>.</li>
 	<li><b>OpenSource</b><s></s><b> dotNET</b><span> Core runs basically everywhere - even on on ARMv7/ARMv8 chips like the </span><b>RaspberryPi</b><span>. See what </span>Hanselman<span> has done with it now. <a href="https://t.co/pXZNq8GaEs">Watch it here</a>.</span></li>
 	<li>Have you checked out the new <strong>AzureStack developer</strong> features? No? <a href="https://lnkd.in/gJYzDqt">Have a look</a></li>
 	<li>The latest version of the <strong>Service Fabric</strong> tools, part of VS2017 v15.7, includes new container tooling for .NET Framework &amp; dotNET Core apps. Check 'em out <a href="https://t.co/4hAAz5hA6R">here</a></li>
 	<li>Tutorial: learn how to set up CI/CD for Azure using <strong>Terraform</strong>, <strong>Ansible</strong> and VisualStudio Team Services. <a href="https://t.co/ltNxTgztJ4">Read more</a>.</li>
 	<li>Know where to find the best <strong>Web Dev and Design tutorials</strong>! Get the help you need for front end development with these <a href="https://t.co/uytKbSWT7c">15 resources</a></li>
 	<li>Announcing <a href="https://t.co/gq2gRBhezh">Windows Community Toolkit v3.0</a>.</li>
 	<li>Now you can predict and analyze the sentiment of your website's comments with <strong>Machine Learning</strong>! <a href="https://t.co/mVh787d5iO">This tutorial</a> shows how to use API to create a sentiment classifier through a .NET Core console application using C# in VisualStudio!</li>
 	<li>Couldn't make it there live? Let's visit one of the MSBuild Breakout Sessions:  Get in the Zone w/ <strong>VS2017</strong> Productivity Enhancements. Really a great session on Productivity. <a href="https://youtu.be/6ozHCNVmrcw">Watch it here</a>.</li>
 	<li>Sweet news from the dotNET Team: Just released... .<strong>NET Core 2.1</strong>, including improved support for real-time web communication w/ SignalR, Web &amp; Data Stacks, compatibility w/ .NET Framework. <a href="https://t.co/dTsdkuuCpK">Read more</a>.</li>
 	<li>Setting up a new machine...installed code and wanted it to be how I'm used to it. Get you setup. <a href="https://t.co/EIzP25qnaH">Learn how</a>.</li>
 	<li>New feature...Now in VS2017 v 15.7, <strong>IntelliTrace</strong> automatically takes snapshots on exception events, breakpoints &amp; debugger steps. <a href="https://t.co/vI6DkiKRgq">Read here</a>.</li>
 	<li>Discover how integrating SQLServer 2017 into your <strong>DevOps</strong> pipeline can help you build better apps. <a href="https://lnkd.in/g53WwzP">Read more</a></li>
 	<li>Matthew walks us all of the great new features that developers can get right now! <a href="https://youtu.be/mqfJjja9YmA">Another Great <strong>Xamarin</strong> Show Episode</a>.</li>
 	<li><strong>Mixed Reality</strong> + Azure = ? | #ifdef WINDOWS. <a href="https://youtu.be/QwaIjXr8lLU">Watch it here</a></li>
 	<li>Check out the Azure IoT Edge Connector for <strong>Kubernetes</strong>. <a href="https://t.co/WfaBGPyjIZ">Code here</a>.</li>
 	<li>Get a look at all the new features and an awesome overview in the <strong>VisualStudio Tools for Unity</strong> we’re building to improve your productivity in this <a href="https://youtu.be/iTSBNjE2Lz8">MSBuild Theater Session Replay here</a>.</li>
 	<li>Meet Mert Coskun, dev behind Azure <strong>ServiceFabric</strong> State Manager. Tune in to the latest GoingDeep. <a href="https://youtu.be/HYmDWnuYOyo">Watch here</a></li>
 	<li>Like <strong>GoLang</strong>? Want to containerize your code? Check out this<a href="https://lnkd.in/gg76kMP"> free eBook </a>from OReilly</li>
 	<li>Dive into the research to <a href="https://t.co/MwGM3mlraX">see how</a> Microsoft's @tavianator is speeding up the Barnes-Hut algorithm.</li>
 	<li>Just released the <strong>ASPNET</strong> Providers Connected Service VisualStudio Extension, a one-stop shop for installing &amp; configuring Azure-ready ASPNET providers. <a href="https://t.co/My377CPdsM">Check it out</a></li>
 	<li>It's a cookbook! A cookbook!!! No, really. Grab this <a href="https://lnkd.in/gT9NhFB">free Ebook</a> all about <strong>Azure Serverless Computing</strong> and you'll be on your way to mastering Azure Functions</li>
</ul>
Here we go.

HTH]]></content:encoded>
    </item>
    <item>
      <title>.NET Core 2.1 RC 1 released</title>
      <link>https://docs.microsoft.com/archive/blogs/whereismysolution/net-core-2-1-rc-1-released</link>
      <pubDate>Wed, 16 May 2018 07:04:34 GMT</pubDate>
      <dc:creator><![CDATA[José Paulo Pendão]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/whereismysolution/?p=855</guid>
      <description><![CDATA[Microsoft just announced .NET Core 2.1 Release Candidate 1 (RC 1).

The .NET Core 2.1 RC 1 is now...]]></description>
      <content:encoded><![CDATA[Microsoft just announced .NET Core 2.1 Release Candidate 1 (RC 1).

The .NET Core 2.1 RC 1 is now ready for broad testing and for production use.  According with the team .NET Core 2.1 is a large step forward from .NET Core 2.0.

Now go get it.
<ul>
 	<li><a href="https://www.microsoft.com/net/download/dotnet-core/sdk-2.1.300-rc1" rel="nofollow">.NET Core 2.1 RC 1 SDK</a> (includes the runtime)</li>
 	<li><a href="https://www.microsoft.com/net/download/dotnet-core/runtime-2.1.0-rc1" rel="nofollow">.NET Core 2.1 RC 1 Runtime</a></li>
</ul>
<a href="https://blogs.msdn.microsoft.com/webdev/2018/05/07/asp-net-core-2-1-0-rc1-now-available/">ASP.NET Core 2.1 RC 1 </a><span>and </span><a href="https://blogs.msdn.microsoft.com/dotnet/2018/05/07/announcing-entity-framework-core-2-1-rc-1/">Entity Framework 2.1 RC 1</a><span> are also releasing today.</span>

See announcement <a href="https://blogs.msdn.microsoft.com/dotnet/2018/05/07/announcing-net-core-2-1-rc-1/">here</a>

HTH]]></content:encoded>
    </item>
    <item>
      <title>How to use reserved port in netTcpBinding and basicHttpBinding in a WCF Application</title>
      <link>https://docs.microsoft.com/archive/blogs/whereismysolution/how-to-use-reserved-port-in-nettcpbinding-and-basichttpbinding-in-a-wcf-application</link>
      <pubDate>Fri, 11 May 2018 09:36:16 GMT</pubDate>
      <dc:creator><![CDATA[José Paulo Pendão]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/whereismysolution/?p=835</guid>
      <description><![CDATA[One of my colleagues was working with a customer where they were using a self-hosted WCF service...]]></description>
      <content:encoded><![CDATA[One of my colleagues was working with a customer where they were using a self-hosted WCF service with basicHttpBinding.

Basically the customer wanted to use around 20 ports of his choice so that, they can distribute different service URL to different dealers, that's cool stuff, right there.

However there are some issues to consider, in fact, initially ports were getting consumed by different applications in random manner so that was a problem that needed to be adressed.

After some thought about it they came up with the resolution to reserve ports using below command:

<code>netsh int ipv4 add excludedportrange protocol=tcp startport=57069 numberofports=20</code>

Seems ok, right? Not...

After reserving the ports, they started getting below error from WCF application however they were able to consume same port from Powershell command:

<code>System.ServiceModel.AddressAlreadyInUseException: HTTP could not register URL <a href="https://+:57086/">https://+:57069/</a> because TCP port 57086 is being used by another application. ---&gt; System.Net.HttpListenerException: The process cannot access the file because it is being used by another process</code>
<code>at System.Net.HttpListener.AddAllPrefixes()</code>
<code>at System.Net.HttpListener.Start()</code>
<code>at System.ServiceModel.Channels.SharedHttpTransportManager.OnOpen()</code>

To provide some context, below where their working Powershell command

<code>$listener = [system.net.sockets.tcplistener]57069
$listener.Start()</code>

Based on the above lets start discussing the troubleshoot done.

First we tried to isolate the failure, and for that we used Powershell :-) .

The initial step was trying to reproduce the issue that we were seeing on the WCF Application using Powershell only.

And we found out that if we used below commands, we will get the same error as we got from the WCF application.

<code>netsh int ipv4 add excludedportrange protocol=tcp startport=57069 numberofports=1
PS C:\Windows\system32&gt; $httpPrefixUri = New-Object System.Uri("<a href="https://localhost:57069/CalculatorService/">https://localhost:57069/CalculatorService/</a>")
PS C:\Windows\system32&gt; $httpListener = New-Object System.Net.HttpListener
PS C:\Windows\system32&gt; $httpListener.Prefixes.Add($httpPrefixUri)
PS C:\Windows\system32&gt; $httpListener.Start()</code>

And below was the error:

<code>Exception calling "Start" with "0" argument(s): "The process cannot access the file because it is being used by another process"
At line:1 char:1
+ $httpListener.Start()</code>

In the Event Viewer we were seeing the following error:
<p style="padding-left: 30px"><span style="color: #ff0000"><strong>Log Name:      System
Source:        Microsoft-Windows-HttpEvent
Date:          4/17/2018 5:37:32 PM
Event ID:      15005
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      srv2k16
Description:
Unable to bind to the underlying transport for [::]:57069. The IP Listen-Only list may contain a reference to an interface which may not exist on this machine.  The data field contains the error number.</strong></span><em></em></p>
Looking at this information with some attention we clearly understand that the issue is being caused by the fact this "Listen-Only" list wasn't present in the system.

So, obvious solution would be adding it for all addresses that we wanted to use, that will solve our issue.

<span style="text-decoration: underline"><em><strong>Steps to Resolve</strong></em></span>

We had ran below Powershell command:

<code>PS C:\Windows\system32&gt; netsh http add iplisten 0.0.0.0
IP address successfully added</code>

The above command adds registry subkey as below:

<img src="https://msdnshared.blob.core.windows.net/media/2018/05/Untitled.png" alt="" width="739" height="280" class="alignnone size-full wp-image-845" />

<em>Note: Adds a new IP address to the IP listen list. This does not include the port number. The IP listen list is used to scope the list of addresses to which the HTTP service binds. "0.0.0.0" means any IPv4 address and "::" means any IPv6 address.</em>

After implementing the fix, we tested again using below Powershell command:

<code>PS C:\Windows\system32&gt; $httpListener = New-Object System.Net.HttpListener
PS C:\Windows\system32&gt;  $httpListener.Prefixes.Add($httpPrefixUri)
PS C:\Windows\system32&gt; $httpListener.Start()
PS C:\Windows\system32&gt; netstat -ano | select-string -Pattern 57069</code>

And voila, problem solved..

<code>TCP    0.0.0.0:<strong>57069</strong>          0.0.0.0:0              LISTENING       4</code>

&nbsp;

HTH]]></content:encoded>
    </item>
    <item>
      <title>Release of the .NET Framework 4.7.2.</title>
      <link>https://docs.microsoft.com/archive/blogs/whereismysolution/release-of-the-net-framework-4-7-2</link>
      <pubDate>Tue, 01 May 2018 08:05:46 GMT</pubDate>
      <dc:creator><![CDATA[José Paulo Pendão]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/whereismysolution/?p=815</guid>
      <description><![CDATA[Today, Microsoft announce the release of the .NET Framework 4.7.2. 

It’s included in the Windows...]]></description>
      <content:encoded><![CDATA[<span>Today, Microsoft announce the release of the </span><a href="https://go.microsoft.com/fwlink/?LinkId=863262">.NET Framework 4.7.2</a><span>. </span>

<span>It’s included in the</span><span> </span><a href="https://blogs.windows.com/windowsexperience/2018/04/30/how-to-get-the-windows-10-april-2018-update/"><span>Windows 10 April 2018 Update</span></a><span>. .NET Framework 4.7.2 is also available on Windows 7+ and Windows Server 2008 R2+.  </span>]]></content:encoded>
    </item>
    <item>
      <title>Using Face Recognition as Authentication or the CNTK vs Cognitive APIs Discussion</title>
      <link>https://docs.microsoft.com/archive/blogs/whereismysolution/using-face-recognition-as-authentication-or-cntk-vs-cognitive-apis</link>
      <pubDate>Wed, 21 Mar 2018 09:09:47 GMT</pubDate>
      <dc:creator><![CDATA[José Paulo Pendão]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/whereismysolution/?p=805</guid>
      <description><![CDATA[A couple of days ago, in one of those "exciting" conversations that we geeks have by the water...]]></description>
      <content:encoded><![CDATA[A couple of days ago, in one of those "exciting" conversations that we <em>geeks</em> have by the water cooler, I has pulled in to this discussion around using  "Face Recognition" in an app (i.e. validating user in front of the camera) to ensure the right user is using the application.

I saw all this argue about what approach should be used.

The argument were involved around the following. Should be better using "<a href="https://azure.microsoft.com/en-us/services/cognitive-services/">Cognitive APIs</a>"? Should the "<a href="https://www.microsoft.com/en-us/cognitive-toolkit/">CNTK (Microsoft Cognitive Toolkit)</a>" approach be used? Cool discussion, right? That's what we, developers, like to do, discuss cool tech stuff.

However looking a this hard fought battle of the paladins of this two factions, I could not help my self that, in this case, they should be discussing rather the concept itself and tackle the true issue there. And for me this was:

<strong><em><span style="color: #000080">"Should we consider these technologies around "Face Recognition" accurate enough for authentication?" and in my opinion, we should not</span></em>.</strong>

Of course, that I agree that using these new sexy "Face Recognition" technologies as first step or enhancer of the user experience is a good thing. But we need to think about the following. Once the user is authenticated with face recognition what kind of resources can he access? Is face recognition using domain username and password? Can face recognition unlock certificate or PIN number from TPM on laptop? Rightful concerns, right?

So, as a first step let me start by saying that we shouldn’t use the word “<em>Authentication</em>” to describe what this facial recognition does. This isn’t authentication. Cognitive APIs vs CNTK, as a second form, maybe. Even then, one could argue it’s a weak form. In fact, if I can print your photo from Facebook, walk in front of the camera and get myself authenticated, then we have a problem. This is why Windows Hello or iOS aren’t relying just on RGB input.

I know that, for example, Windows Hello is a very good and safer approach, but still is<a href="https://nakedsecurity.sophos.com/2018/01/02/windows-hello-face-recognition-spoofed-with-photographs/"> not 100% reliable</a>, we should use MFA and not solely rely on facial recognition.

Same problem with speaker recognition (<a href="https://azure.microsoft.com/en-us/services/cognitive-services/speaker-recognition/">https://azure.microsoft.com/en-us/services/cognitive-services/speaker-recognition</a>) which despite of what that page says, it really does not perform authentication.

The metric I should be use is FAR (<em><strong>False Acceptance Rate</strong></em>) and it is very low for Hello – 0.001%.  For many apps and customers, that is good enough. For others, they may want to use a second factor.

<a href="https://docs.microsoft.com/en-us/windows-hardware/design/device-experiences/windows-hello-face-authentication">https://docs.microsoft.com/en-us/windows-hardware/design/device-experiences/windows-hello-face-authentication</a>

You may also want to check out the keyword “<em><strong>Adversarial Attacks</strong></em>” – one vulnerability of DNN.

<a href="https://e4c5blog.wordpress.com/2017/11/16/favercial-recognition-adversarial-attack/">https://e4c5blog.wordpress.com/2017/11/16/favercial-recognition-adversarial-attack/</a>
<a href="https://arxiv.org/abs/1801.01944">https://arxiv.org/abs/1801.01944</a>

This could be another layer that we would need to consider when we are taking these technologies for authentication.  Let alone how we would tell if the image taken from the camera is photo or real.

These, while very real, are in my opinion a bit theoretical.  In reality you need to “train” the bad examples before you present them to the network. So if falsified images can be inserted between the camera and the neural network in real time (to the rate of 24-60 per second), without being detected then yes, this becomes real. I know that this feels far fetched… even if it is conceivable. But someone has to hack the system quite a bit. Might as well just hack it and penetrate the system without hacking the facial recognition system. Also, there are ways to train systems to discriminate the liveliness of an image (given enough training data, as always), or augment with infrared signals (like Windows Hello and FaceID on iPhone).

Now getting back to the discussion they were having about "CNTK" over "Cognitive APIs" :-), well CNTK is a general purpose SDK for deep learning. To use it for face recognition, you would have to develop and train your own model based on it. While Cognitive Services Face API is a ready-to-use model which has been trained by Microsoft.
<blockquote><em>So if you want to get something up and running quickly, then you can use Face API. But if you have no control to the model used behind it and the data used to train it, and if you have the expertise and want to develop and tune your own model with your own data, then you should go with CNTK.</em></blockquote>
Hope that helps]]></content:encoded>
    </item>
    <item>
      <title>New Xamarin Docs WebSite</title>
      <link>https://docs.microsoft.com/archive/blogs/whereismysolution/new-xamarin-docs-website</link>
      <pubDate>Wed, 14 Mar 2018 13:22:41 GMT</pubDate>
      <dc:creator><![CDATA[José Paulo Pendão]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/whereismysolution/?p=795</guid>
      <description><![CDATA[Do you want to learn everything about how to develop Cross Platforms Application with...]]></description>
      <content:encoded><![CDATA[Do you want to learn everything about how to develop Cross Platforms Application with Xamarin?

Search no more, go to the below link for your <em>OneStop</em> learning resource.

<a href="https://docs.microsoft.com/en-us/xamarin/"><span>Xamarin Documentation</span></a>

Hope that helps]]></content:encoded>
    </item>
    <item>
      <title>Does System.Net.WebSockets include a keepalive mechanism which automatically takes care of Ping/Pong control frames?</title>
      <link>https://docs.microsoft.com/archive/blogs/whereismysolution/does-system-net-websockets-includes-a-keepalive-mechanism-which-automatically-takes-care-of-pingpong-control-frames</link>
      <pubDate>Mon, 12 Mar 2018 08:47:20 GMT</pubDate>
      <dc:creator><![CDATA[José Paulo Pendão]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/whereismysolution/?p=785</guid>
      <description><![CDATA[Yes, you read it right, sometimes you have those types of existential queries. :-)

This is...]]></description>
      <content:encoded><![CDATA[Yes, you read it right, sometimes you have those types of existential queries. :-)

This is actually a question that seems to be causing some confusion around the developers that are trying to use <em>WebSockets</em>.

In fact, if you look at the RFC of the WebSocket protocol (<span style="text-decoration: underline">see below</span>) you can see that it specifies exactly the case of the Ping-Pong mechanism. When a communication partner sends a Ping the client has to respond (as fast as possible) with a Pong message.
https://tools.ietf.org/html/rfc6455 (see section 5.5.2 and section 5.5.3), in there you can read:
<blockquote>“NOTE: A Ping frame may serve either as a keepalive or as a means to verify that the remote endpoint is still responsive.”</blockquote>
So, there should be no questions around this, right? ... Wrong.

This is really important, usually in the scenario where your client loses the network connection (and that will definitely happen from time to time) and for some security aspects (or any other aspect) you might need to get a notification pretty quick (lets say 3 seconds) when the client is no longer available.

From my experience, normally the developers follow the pah of setting the keepAliveInterval of the HttpListenerContext or sending “Dummy” messages every second, this of course will help on the server side to be informed when a client is no longer accessible.

However, most of times, when you have a running connection and <span style="text-decoration: underline">you simply unplug the network cable at the client side it takes up to 30 seconds till the WebSocket.ReceiveAsync method fails</span>. This is could be OK or could be unacceptable. Usually here resides the point of frustration of a lot of developer teams, this delay of 30 seconds to get the notification that the client is not there anymore.

So, basically we need to clarify the following :

<span style="color: #ff0000"><em><strong>Is there any way to force the Websocket-implementation to send a Websocket-Ping to the clients?</strong></em></span>

I will try to elaborate a little bit on this.

First, to be clear, System.Net.WebSockets includes indeed a keepalive mechanism which automatically takes care of Ping/Pong control frames.

These frames are the same as a regular frame but have a special opcode for ping and pong. <span style="color: #333399"><em><strong>To specify the interval, you need to specify the keepalive argument in the client and/or the server</strong></em>.</span>

The client side is quite easy, by means of WebSocket.CreateClientWebSocket:

<code>public static WebSocket CreateClientWebSocket(Stream innerStream,
string subProtocol,
int receiveBufferSize,
int sendBufferSize,
TimeSpan keepAliveInterval,
bool useZeroMaskingKey,
ArraySegment&lt;byte&gt; internalBuffer)</code>

For the server side it’s a little different. You do it in the AcceptWebSocketAsync method of HttpListenerContext:

<code>public Task&lt;HttpListenerWebSocketContext&gt; AcceptWebSocketAsync(string subProtocol, TimeSpan keepAliveInterval)</code>

When a ping is sent, a pong must be received or else the connection will be closed.

The default keepalive is set to 30 seconds, which would be the reason why most of the developers see the wait ~30 seconds before detecting something went wrong with the connection.

So, to address this delay, as referred above, you just need to specify the keepalive argument in the client and/or the server that fits your needs.

Hope that helps

&nbsp;]]></content:encoded>
    </item>
    <item>
      <title>Update 6 of Visual Studio 2017</title>
      <link>https://docs.microsoft.com/archive/blogs/whereismysolution/update-6-of-visual-studio-2017</link>
      <pubDate>Wed, 07 Mar 2018 10:31:34 GMT</pubDate>
      <dc:creator><![CDATA[José Paulo Pendão]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/whereismysolution/?p=775</guid>
      <description><![CDATA[Today Microsoft released the Update 6 of Visual Studio 2017.

Below are the details.

 	Release...]]></description>
      <content:encoded><![CDATA[Today Microsoft released the Update 6 of Visual Studio 2017.

Below are the details.
<ul>
 	<li><strong><a href="https://www.visualstudio.com/news/releasenotes/vs2017-relnotes">Release Notes</a></strong></li>
 	<li><strong>Build </strong><strong>15.6.27428.01</strong></li>
 	<li><strong>Downloads</strong>
<ul>
 	<li><strong><a href="https://www.visualstudio.com/thank-you-downloading-visual-studio/?sku=Community&amp;rel=15">Community</a></strong></li>
 	<li><strong><a href="https://www.visualstudio.com/thank-you-downloading-visual-studio/?sku=Professional&amp;rel=15">Professional</a></strong></li>
 	<li><strong><a href="https://www.visualstudio.com/thank-you-downloading-visual-studio/?sku=Enterprise&amp;rel=15">Enterprise</a></strong></li>
</ul>
</li>
</ul>
Now go get it!

&nbsp;]]></content:encoded>
    </item>
    <item>
      <title>Desktop Developers, how do you interact with your data?</title>
      <link>https://docs.microsoft.com/archive/blogs/whereismysolution/desktop-developers-how-do-you-interact-with-your-data</link>
      <pubDate>Wed, 28 Feb 2018 14:33:14 GMT</pubDate>
      <dc:creator><![CDATA[José Paulo Pendão]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/whereismysolution/?p=755</guid>
      <description><![CDATA[Did you know Microsoft is seeking feedback from developers about  how do you interact with...]]></description>
      <content:encoded><![CDATA[<span>Did you know Microsoft is seeking feedback from developers about  how do you interact with data?</span>

You can see this announcement <a href="https://blogs.msdn.microsoft.com/dotnet/2018/02/27/calling-all-desktop-developers-how-do-you-interact-with-data/">here</a>.

Please fill out the survey below we can learn more about what you currently use, your biggest challenges, and your future plans. It should only take 5 minutes to complete!

&nbsp;
<h2><a href="https://www.research.net/r/HSBXTZ5">Take the survey now!</a></h2>
<a href="https://www.research.net/r/HSBXTZ5"></a>
<p class="x_MsoNormal">We appreciate your contribution!</p>]]></content:encoded>
    </item>
    <item>
      <title>Xamarin.Forms using plugins vs. Native UI (Part 2)</title>
      <link>https://docs.microsoft.com/archive/blogs/whereismysolution/xamarin-forms-using-plugins-vs-native-ui-part-2</link>
      <pubDate>Mon, 26 Feb 2018 08:41:27 GMT</pubDate>
      <dc:creator><![CDATA[José Paulo Pendão]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/whereismysolution/?p=735</guid>
      <description><![CDATA[Regarding, my last Post about this topic of "Xamarin.Forms using plugins vs. Native UI", I had...]]></description>
      <content:encoded><![CDATA[Regarding, my last Post about this topic of "Xamarin.Forms using plugins vs. Native UI", I had received some questions about this dichotomy.

It seems that is on the fundamentals of this that the developers get lost.

Just to be clear, Xamarin.Forms is UI abstraction to Xamarin.iOS and Xamarin.Android and UWP (and all the other backends we support). <strong>It’s never <span style="text-decoration: underline">either/or</span>, but <span style="text-decoration: underline">both/and</span>. </strong>

Here’s a little diagram that might help. The arrows indicate the UI your app uses. It could be Xamarin.Forms for part of your app, and you can work directly with the underlying UI toolkits for others. A Xamarin.Forms Button is rendered on iOS as a UIButton. An Xamarin.iOS you make a UIButton. Same.

<img src="https://msdnshared.blob.core.windows.net/media/2018/02/Xamarin.png" alt="" width="639" height="407" class="alignnone size-full wp-image-745" />

For a reference of handy plugins for all Xamarin apps, this is a good list to begin. <a href="https://github.com/xamarin/XamarinComponents">https://github.com/xamarin/XamarinComponents</a>

And just a quick search of NuGet will turn up many other options.

ALSO we have an effort underway to consolidate many of these most commonly used libraries/plugins/components/things into an official package which would then be made a default part of Xamarin solutions. Any Xamarin project would have them at the ready and reduce the need to go plugin hunting.

Does this help clarify these relationships and how you would choose or recommend mobile development strategy? Hope it does.

&nbsp;]]></content:encoded>
    </item>
  </channel>
</rss>