<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:blogChannel="http://backend.userland.com/blogChannelModule" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:pingback="http://madskills.com/public/xml/rss/module/pingback/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:betag="https://blogengine.io/schemas/tags">
  <channel>
    <title>Learn MS NET</title>
    <description>Our journey learning how to write .NET</description>
    <link>http://www.learnmsnet.com/</link>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>BlogEngine.NET 3.3.8.0</generator>
    <language>en-US</language>
    <blogChannel:blogRoll>http://www.learnmsnet.com/opml.axd</blogChannel:blogRoll>
    <dc:creator>Sam MacDonald</dc:creator>
    <dc:title>Learn MS NET</dc:title>
    <geo:lat>0.000000</geo:lat>
    <geo:long>0.000000</geo:long>
    <item>
      <title>How to permanently disable Windows Compatibility Telemetry</title>
      <description>&lt;div id="AdnTop"&gt;&lt;div class="AdnTopLeft" style="float:left"&gt;&lt;/div&gt;&lt;div class="AdnTopRight" style="float:right"&gt;&lt;/div&gt;&lt;div style="clear:both"&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;While looking at Task Manager on my Windows 10 computer, I noticed a Windows Compatibility Telemetry process running and consuming about 12% of my CPU. &lt;/p&gt;&lt;p&gt;I was wondering what this was and how to turn it off if it is not necessary, after some research I came up with the answers and thought I would post them here for reference for anyone else who was looking for the same information.&lt;/p&gt;&lt;p&gt;The Windows Compatibility Telemetry is a service in Windows 10 which contains technical data on how the computer and its software are working. This services periodically sends data to Microsoft for improvement of the system and how to enhance the customer user experience. To stop the service from running and consuming resources we can disable the services from the Task Scheduler with the following steps:&lt;/p&gt;&lt;ol&gt;&lt;li&gt;Click Start, type Task Scheduler, and press Enter.&lt;/li&gt;&lt;li&gt;On the TaskScheduler window, go to the following path: Task Scheduler Library\Microsoft\Windows\Application Experience.&lt;/li&gt;&lt;li&gt;ON the Application Experience folder, look for Microsoft Compatibility Appraiser.&lt;/li&gt;&lt;li&gt;Right-click on it, select Disable, and then confirm to complete the process.&lt;/li&gt;&lt;li&gt;Once you’re done, check that the issue is resolved.&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;&lt;a href="http://www.learnmsnet.com/image.axd?picture=wct.png" target="_blank"&gt;&lt;img width="644" height="274" title="wct" style="margin: 10px 0px; border: 0px currentcolor; border-image: none; display: inline; background-image: none;" alt="wct" src="http://www.learnmsnet.com/image.axd?picture=wct_thumb.png" border="0"&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;This will stop the service from running on your Windows 10 machine.&lt;/p&gt;&lt;div id="AdnBottom"&gt;&lt;div class="AdnBottomLeft" style="float:left"&gt;&lt;/div&gt;&lt;div class="AdnBottomRight" style="float:right"&gt;&lt;/div&gt;&lt;div style="clear:both"&gt;&lt;/div&gt;&lt;/div&gt;</description>
      <link>http://www.learnmsnet.com/post/How-to-permanently-disable-Windows-Compatibility-Telemetry</link>
      <author>sam@hykedesigns.com</author>
      <comments>http://www.learnmsnet.com/post/How-to-permanently-disable-Windows-Compatibility-Telemetry#comment</comments>
      <guid>http://www.learnmsnet.com/post.aspx?id=f1dce5b6-6a67-4677-9f93-48baf8b60ff1</guid>
      <pubDate>Sun, 3 May 2020 22:59:40 -0800</pubDate>
      <dc:publisher>admin</dc:publisher>
      <pingback:server>http://www.learnmsnet.com/pingback.axd</pingback:server>
      <pingback:target>http://www.learnmsnet.com/post.aspx?id=f1dce5b6-6a67-4677-9f93-48baf8b60ff1</pingback:target>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://www.learnmsnet.com/trackback.axd?id=f1dce5b6-6a67-4677-9f93-48baf8b60ff1</trackback:ping>
      <wfw:comment>http://www.learnmsnet.com/post/How-to-permanently-disable-Windows-Compatibility-Telemetry#comment</wfw:comment>
      <wfw:commentRss>http://www.learnmsnet.com/syndication.axd?post=f1dce5b6-6a67-4677-9f93-48baf8b60ff1</wfw:commentRss>
    </item>
    <item>
      <title>How to fix docker: Got permission denied issue on Ubuntu</title>
      <description>&lt;div id="AdnTop"&gt;&lt;div class="AdnTopLeft" style="float:left"&gt;&lt;/div&gt;&lt;div class="AdnTopRight" style="float:right"&gt;&lt;/div&gt;&lt;div style="clear:both"&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;With .NET Core cross platform and working on Linux as well as Windows and Macs, I've started to dabble again with Ubuntu and trying to see how I can use it for work with Docker and .NET Core.&lt;/p&gt;
&lt;p&gt;After installing the latest version of Ubuntu 20.04 and getting it up and running I started to work on installing Docker.&amp;nbsp; After looking I found several ways to install the latest stable version of Docker.&lt;/p&gt;
&lt;p&gt;If you want to run docker as non-root user then you need to add it to the docker group.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Create the docker group if it does not exist&lt;/li&gt;
&lt;/ol&gt;
&lt;pre class="brush:bash;auto-links:false;toolbar:false" contenteditable="false"&gt;$ sudo groupadd docker&lt;/pre&gt;
&lt;ol start="2"&gt;
&lt;li&gt;Add your user to the docker group.&lt;/li&gt;
&lt;/ol&gt;
&lt;pre class="brush:bash;auto-links:false;toolbar:false" contenteditable="false"&gt;$ sudo usermod -aG docker $USER&lt;/pre&gt;
&lt;ol start="3"&gt;
&lt;li&gt;Run the following command or Logout and login again and run (that doesn't work you may need to reboot your machine first)&lt;/li&gt;
&lt;/ol&gt;
&lt;pre class="brush:bash;auto-links:false;toolbar:false" contenteditable="false"&gt;$ newgrp docker&lt;/pre&gt;
&lt;ol start="4"&gt;
&lt;li&gt;Check if docker can be run without root&lt;/li&gt;
&lt;/ol&gt;
&lt;pre class="brush:bash;auto-links:false;toolbar:false" contenteditable="false"&gt;$ docker run hello-world&lt;/pre&gt;
&lt;pre class="lang-sh prettyprint prettyprinted"&gt;Taken from the docker official documentation:&amp;nbsp;&lt;a href="https://docs.docker.com/install/linux/linux-postinstall/#manage-docker-as-a-non-root-user" rel="noreferrer"&gt;manage-docker-as-a-non-root-user&lt;/a&gt;&lt;/pre&gt;
&lt;div id="gtx-trans" style="position: absolute; left: 241px; top: 494px;"&gt;&amp;nbsp;&lt;/div&gt;&lt;div id="AdnBottom"&gt;&lt;div class="AdnBottomLeft" style="float:left"&gt;&lt;/div&gt;&lt;div class="AdnBottomRight" style="float:right"&gt;&lt;/div&gt;&lt;div style="clear:both"&gt;&lt;/div&gt;&lt;/div&gt;</description>
      <link>http://www.learnmsnet.com/post/how-to-fix-docker-got-permission-denied-issue-on-ubuntu</link>
      <author>sam@hykedesigns.com</author>
      <comments>http://www.learnmsnet.com/post/how-to-fix-docker-got-permission-denied-issue-on-ubuntu#comment</comments>
      <guid>http://www.learnmsnet.com/post.aspx?id=58ba1634-5ff3-4f90-ab31-51b251fa83b3</guid>
      <pubDate>Thu, 30 Apr 2020 17:24:00 -0800</pubDate>
      <category>Docker</category>
      <category>Linux</category>
      <dc:publisher>Admin</dc:publisher>
      <pingback:server>http://www.learnmsnet.com/pingback.axd</pingback:server>
      <pingback:target>http://www.learnmsnet.com/post.aspx?id=58ba1634-5ff3-4f90-ab31-51b251fa83b3</pingback:target>
      <slash:comments>10</slash:comments>
      <trackback:ping>http://www.learnmsnet.com/trackback.axd?id=58ba1634-5ff3-4f90-ab31-51b251fa83b3</trackback:ping>
      <wfw:comment>http://www.learnmsnet.com/post/how-to-fix-docker-got-permission-denied-issue-on-ubuntu#comment</wfw:comment>
      <wfw:commentRss>http://www.learnmsnet.com/syndication.axd?post=58ba1634-5ff3-4f90-ab31-51b251fa83b3</wfw:commentRss>
    </item>
    <item>
      <title>Setting a custom location for node_modules path with yarn</title>
      <description>&lt;div id="AdnTop"&gt;&lt;div class="AdnTopLeft" style="float:left"&gt;&lt;/div&gt;&lt;div class="AdnTopRight" style="float:right"&gt;&lt;/div&gt;&lt;div style="clear:both"&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;When installing packages with yarn the default folder that they are added to is “node_modules” in the directory of the project. Normally this does not present a problem unless you want to setup a different folder structure for your project. The problem I have seen with yarn as I have just started to use it with my projects is that the documentation is not the most concise that can be found.&lt;/p&gt;&lt;p&gt;One way we can change the output is to append the command line with the option of &lt;code&gt;--modules-folder&lt;/code&gt;. this option works but can be a problem when updating modules or if you have a large number of packages that you would like to add to your project.&lt;/p&gt;&lt;p&gt;Yarn does have a way of configuring command line options for a project by including a &lt;code&gt;.yarnrc&lt;/code&gt; file in the same folder as your &lt;code&gt;package.json&lt;/code&gt; file. Yarn will use this file every time a command is executed. Within this file we can place the following &lt;code&gt;–-modules-folder some/folder&lt;/code&gt;, now when we run yarn it will automatically place the packages in the some/folder structure.&lt;/p&gt;&lt;p&gt;This allows us to provide a custom location for using our packages and changing the project file structure easily and consistently.&lt;/p&gt;&lt;div id="AdnBottom"&gt;&lt;div class="AdnBottomLeft" style="float:left"&gt;&lt;/div&gt;&lt;div class="AdnBottomRight" style="float:right"&gt;&lt;/div&gt;&lt;div style="clear:both"&gt;&lt;/div&gt;&lt;/div&gt;</description>
      <link>http://www.learnmsnet.com/post/Setting-a-custom-location-for-node_modules-path-with-yarn</link>
      <author>sam@hykedesigns.com</author>
      <comments>http://www.learnmsnet.com/post/Setting-a-custom-location-for-node_modules-path-with-yarn#comment</comments>
      <guid>http://www.learnmsnet.com/post.aspx?id=197a6ecc-b3d2-454d-b086-a6b57ebc54c8</guid>
      <pubDate>Wed, 9 Oct 2019 13:49:16 -0800</pubDate>
      <category>Yarn</category>
      <category>Node</category>
      <betag:tag>Yarn</betag:tag>
      <betag:tag>Node</betag:tag>
      <dc:publisher>admin</dc:publisher>
      <pingback:server>http://www.learnmsnet.com/pingback.axd</pingback:server>
      <pingback:target>http://www.learnmsnet.com/post.aspx?id=197a6ecc-b3d2-454d-b086-a6b57ebc54c8</pingback:target>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://www.learnmsnet.com/trackback.axd?id=197a6ecc-b3d2-454d-b086-a6b57ebc54c8</trackback:ping>
      <wfw:comment>http://www.learnmsnet.com/post/Setting-a-custom-location-for-node_modules-path-with-yarn#comment</wfw:comment>
      <wfw:commentRss>http://www.learnmsnet.com/syndication.axd?post=197a6ecc-b3d2-454d-b086-a6b57ebc54c8</wfw:commentRss>
    </item>
    <item>
      <title>IdentityUI has a breaking change in .NET Core 3.0</title>
      <description>&lt;div id="AdnTop"&gt;&lt;div class="AdnTopLeft" style="float:left"&gt;&lt;/div&gt;&lt;div class="AdnTopRight" style="float:right"&gt;&lt;/div&gt;&lt;div style="clear:both"&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;With ASP.NET Core 3.0, Identity UI was moved to use the new static web assets introduced in this version. With this move there are some breaking changes to be aware of:&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;font style="background-color: rgb(204, 204, 204);"&gt;.AddDefaultUI(UIFramework.Bootstrap4)&lt;/font&gt;&lt;/strong&gt; no longer works.&lt;/p&gt;&lt;p&gt;With the new change Bootstrap 4 is now the default UI Framework for use with Identity UI. If you are in need of using an older version of the framework then this can be done by using the &lt;font style="background-color: rgb(204, 204, 204);"&gt;IdentityUIFrameworkVersion&lt;/font&gt; property in your project file.&lt;/p&gt;&lt;p&gt;The overload for &lt;font style="background-color: rgb(204, 204, 204);"&gt;AddIdentityUI&lt;/font&gt; that took a &lt;font style="background-color: rgb(204, 204, 204);"&gt;UIFramework&lt;/font&gt; parameter no longer exists in the latest versions of 3.0. If you are using Bootstrap 4, simply call &lt;font style="background-color: rgb(204, 204, 204);"&gt;AddIdentityUI()&lt;/font&gt;. If you need to use Bootstrap3, add the following line to your project file inside a &lt;font style="background-color: rgb(204, 204, 204);"&gt;PropertyGroup&lt;/font&gt;.&lt;/p&gt;&lt;p&gt;&lt;font style="background-color: rgb(204, 204, 204);"&gt;&lt;strong&gt;&amp;lt;IdentityUIFrameworkVersion&amp;gt;Bootstrap3&amp;lt;/IdentityUIFrameworkVersion&amp;gt;&lt;/strong&gt;&lt;p&gt;As I find more changes they will be posted here.&lt;/p&gt;&lt;/font&gt;&lt;/p&gt;&lt;div id="AdnBottom"&gt;&lt;div class="AdnBottomLeft" style="float:left"&gt;&lt;/div&gt;&lt;div class="AdnBottomRight" style="float:right"&gt;&lt;/div&gt;&lt;div style="clear:both"&gt;&lt;/div&gt;&lt;/div&gt;</description>
      <link>http://www.learnmsnet.com/post/IdentityUI-has-a-breaking-change-in-NET-Core-30</link>
      <author>sam@hykedesigns.com</author>
      <comments>http://www.learnmsnet.com/post/IdentityUI-has-a-breaking-change-in-NET-Core-30#comment</comments>
      <guid>http://www.learnmsnet.com/post.aspx?id=49b621e4-0577-4c51-a3cc-669d1dac3910</guid>
      <pubDate>Wed, 11 Sep 2019 00:54:09 -0800</pubDate>
      <category>ASP.NET</category>
      <category>.NET Core</category>
      <betag:tag>.NET Core</betag:tag>
      <betag:tag>ASP.NET</betag:tag>
      <dc:publisher>admin</dc:publisher>
      <pingback:server>http://www.learnmsnet.com/pingback.axd</pingback:server>
      <pingback:target>http://www.learnmsnet.com/post.aspx?id=49b621e4-0577-4c51-a3cc-669d1dac3910</pingback:target>
      <slash:comments>1</slash:comments>
      <trackback:ping>http://www.learnmsnet.com/trackback.axd?id=49b621e4-0577-4c51-a3cc-669d1dac3910</trackback:ping>
      <wfw:comment>http://www.learnmsnet.com/post/IdentityUI-has-a-breaking-change-in-NET-Core-30#comment</wfw:comment>
      <wfw:commentRss>http://www.learnmsnet.com/syndication.axd?post=49b621e4-0577-4c51-a3cc-669d1dac3910</wfw:commentRss>
    </item>
    <item>
      <title>How to update a Docker container to the latest version</title>
      <description>&lt;div id="AdnTop"&gt;&lt;div class="AdnTopLeft" style="float:left"&gt;&lt;/div&gt;&lt;div class="AdnTopRight" style="float:right"&gt;&lt;/div&gt;&lt;div style="clear:both"&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;Having needed to update some Docker containers and getting familiar with how Docker works I though I would post this here so I have it for reference and if anyone else is looking to do the same thing.&lt;/p&gt;&lt;p&gt;On my installation of docker I run DotNet Core in containers and with each new update to the SDK new containers get published and it becomes necessary to update them every month or so.&lt;/p&gt;&lt;p&gt;As we can see on my installation at the moment the 2.2 versions are 4 months old&lt;/p&gt;
&lt;pre&gt;PS C:\WINDOWS\system32&amp;gt; docker images | findstr "dotnet"                                                                
mcr.microsoft.com/dotnet/core/sdk          3.0-buster               3930ade3a33a        4 days ago          695MB
mcr.microsoft.com/dotnet/core/aspnet       3.0-buster-slim          1d97a08ada5a        4 days ago          207MB
mcr.microsoft.com/dotnet/core/sdk          &amp;lt;none&amp;gt;&lt;none&gt;                   4e9e8dec2900        3 weeks ago         707MB
mcr.microsoft.com/dotnet/core/aspnet       &amp;lt;none&amp;gt;&lt;none&gt;                   de4e4dcb9041        3 weeks ago         196MB
mcr.microsoft.com/dotnet/core/sdk          2.2                      e268893be733        4 months ago        1.74GB
mcr.microsoft.com/dotnet/core/sdk          2.2-stretch              e268893be733        4 months ago        1.74GB
mcr.microsoft.com/dotnet/core/aspnet       2.2-stretch-slim         cb2dd04458bc        4 months ago        260MB
microsoft/dotnet                           2.1-aspnetcore-runtime   a5f99632e68d        4 months ago        253MB
mcr.microsoft.com/dotnet/core/aspnet       2.2                      df2a085ca3a8        4 months ago        260MB
&lt;/none&gt;&lt;/none&gt;&lt;/pre&gt;
&lt;p&gt;In order to update the container and make sure they are the latest version, I ran &lt;code&gt;pull:&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre&gt;PS C:\WINDOWS\system32&amp;gt; docker pull mcr.microsoft.com/dotnet/core/sdk:2.2                                               
2.2: Pulling from dotnet/core/sdk
9cc2ad81d40d: Pull complete                                                                                             
e6cb98e32a52: Pull complete                                                                                             
ae1b8d879bad: Pull complete                                                                                             
42cfa3699b05: Pull complete                                                                                             
dcc190332ff6: Pull complete                                                                                             
b49aea48d777: Pull complete                                                                                             
67e832fd5d6a: Pull complete                                                                                             
Digest: sha256:e1b19d391986f21b177c1ba47f8a8519bf5cff66a9459d04f3aea23e1a7ec30f
Status: Downloaded newer image for mcr.microsoft.com/dotnet/core/sdk:2.2
mcr.microsoft.com/dotnet/core/sdk:2.2&lt;/pre&gt;
&lt;p&gt;Now I have an update container for version 2.2 of the DotNet Core SDK &lt;/p&gt;
&lt;pre&gt;PS C:\WINDOWS\system32&amp;gt; docker images | findstr "dotnet"                                                                
mcr.microsoft.com/dotnet/core/sdk    2.2                   08657316a4cd        4 days ago          1.74GB&lt;/pre&gt;
&lt;p&gt;This will update the container that is located locally and if you were having any problems simply restart any container that uses that particular container to gain the latest version. The concludes the update of the container.&lt;/p&gt;&lt;div id="AdnBottom"&gt;&lt;div class="AdnBottomLeft" style="float:left"&gt;&lt;/div&gt;&lt;div class="AdnBottomRight" style="float:right"&gt;&lt;/div&gt;&lt;div style="clear:both"&gt;&lt;/div&gt;&lt;/div&gt;</description>
      <link>http://www.learnmsnet.com/post/How-to-update-a-Docker-container-to-the-latest-version</link>
      <author>sam@hykedesigns.com</author>
      <comments>http://www.learnmsnet.com/post/How-to-update-a-Docker-container-to-the-latest-version#comment</comments>
      <guid>http://www.learnmsnet.com/post.aspx?id=3f97779a-aca8-4734-add2-1c7f2d079b9c</guid>
      <pubDate>Mon, 19 Aug 2019 05:31:00 -0800</pubDate>
      <category>Docker</category>
      <category>Linux</category>
      <category>Windows Server</category>
      <betag:tag>Docker</betag:tag>
      <betag:tag>Linux</betag:tag>
      <betag:tag>Windows Server</betag:tag>
      <dc:publisher>admin</dc:publisher>
      <pingback:server>http://www.learnmsnet.com/pingback.axd</pingback:server>
      <pingback:target>http://www.learnmsnet.com/post.aspx?id=3f97779a-aca8-4734-add2-1c7f2d079b9c</pingback:target>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://www.learnmsnet.com/trackback.axd?id=3f97779a-aca8-4734-add2-1c7f2d079b9c</trackback:ping>
      <wfw:comment>http://www.learnmsnet.com/post/How-to-update-a-Docker-container-to-the-latest-version#comment</wfw:comment>
      <wfw:commentRss>http://www.learnmsnet.com/syndication.axd?post=3f97779a-aca8-4734-add2-1c7f2d079b9c</wfw:commentRss>
    </item>
    <item>
      <title>Can’t run dotnet in Windows Subsystem for Linux (WSL)</title>
      <description>&lt;div id="AdnTop"&gt;&lt;div class="AdnTopLeft" style="float:left"&gt;&lt;/div&gt;&lt;div class="AdnTopRight" style="float:right"&gt;&lt;/div&gt;&lt;div style="clear:both"&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;Having installed &lt;a title="Running Bash on Ubuntu on Windows 10" href="http://learnmsnet.com/post/Running-Bash-on-Ubuntu-on-Windows-10" target="_blank"&gt;Bash on Ubuntu on your Windows 10&lt;/a&gt; computer, your now looking to create a new application using .NET Core.&lt;/p&gt;&lt;p&gt;You start up a windows command prompt and run the bash command or directly run the Ubuntu command from your Windows menu. Once it is up and running you type in dotnet to create a new project and you receive this.&lt;/p&gt;&lt;p&gt;&lt;img width="596" height="196" title="Annotation 2019-08-12 133450" style="margin: 1px 10px 0px; border: 0px currentcolor; border-image: none; display: inline; background-image: none;" alt="Annotation 2019-08-12 133450" src="http://www.learnmsnet.com/image.axd?picture=Annotation_2019-08-12_133450.png" border="0"&gt;&lt;/p&gt;&lt;p&gt;As you can see from the image it says that command not found, this will not work but the problem isn’t that the command doesn’t exists unless the .NET Core SDK is not installed, but that in linux you need to add the .exe extension to your command. If we type in dotnet.exe we will receive the following instead:&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.learnmsnet.com/image.axd?picture=Annotation_2019-08-12_134205.png"&gt;&lt;img width="718" height="363" title="Annotation 2019-08-12 134205" style="display: inline; background-image: none;" alt="Annotation 2019-08-12 134205" src="http://www.learnmsnet.com/image.axd?picture=Annotation_2019-08-12_134205_thumb.png" border="0"&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Now that we have figured out how to launch dotnet in WSL we can continue to develop our application using this framework.&lt;/p&gt;&lt;div id="AdnBottom"&gt;&lt;div class="AdnBottomLeft" style="float:left"&gt;&lt;/div&gt;&lt;div class="AdnBottomRight" style="float:right"&gt;&lt;/div&gt;&lt;div style="clear:both"&gt;&lt;/div&gt;&lt;/div&gt;</description>
      <link>http://www.learnmsnet.com/post/Cant-run-dotnet-in-Windows-Subsystem-for-Linux-(WSL)</link>
      <author>sam@hykedesigns.com</author>
      <comments>http://www.learnmsnet.com/post/Cant-run-dotnet-in-Windows-Subsystem-for-Linux-(WSL)#comment</comments>
      <guid>http://www.learnmsnet.com/post.aspx?id=595919ae-da5c-4d45-91ac-14921303ab36</guid>
      <pubDate>Mon, 12 Aug 2019 04:43:14 -0800</pubDate>
      <category>Linux</category>
      <category>.NET Core</category>
      <dc:publisher>admin</dc:publisher>
      <pingback:server>http://www.learnmsnet.com/pingback.axd</pingback:server>
      <pingback:target>http://www.learnmsnet.com/post.aspx?id=595919ae-da5c-4d45-91ac-14921303ab36</pingback:target>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://www.learnmsnet.com/trackback.axd?id=595919ae-da5c-4d45-91ac-14921303ab36</trackback:ping>
      <wfw:comment>http://www.learnmsnet.com/post/Cant-run-dotnet-in-Windows-Subsystem-for-Linux-(WSL)#comment</wfw:comment>
      <wfw:commentRss>http://www.learnmsnet.com/syndication.axd?post=595919ae-da5c-4d45-91ac-14921303ab36</wfw:commentRss>
    </item>
    <item>
      <title>HTTP Error 500.30–ANCM In-Process Start Failure</title>
      <description>&lt;div id="AdnTop"&gt;&lt;div class="AdnTopLeft" style="float:left"&gt;&lt;/div&gt;&lt;div class="AdnTopRight" style="float:right"&gt;&lt;/div&gt;&lt;div style="clear:both"&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;While preparing an app to run on my local IIS server for the first time I received this error. It provides some clues as to what is happening but does not give a direct cause and can be very frustrating when trying to get that app ready for production.&lt;/p&gt;&lt;h3&gt;HTTP Error 500.30 - ANCM In-Process Start Failure&lt;/h3&gt;&lt;h4&gt;Common causes of this issue:&lt;/h4&gt;&lt;ul&gt;&lt;li&gt;The application failed to start
&lt;li&gt;The application started but then stopped
&lt;li&gt;The application started but threw an exception during startup&lt;/li&gt;&lt;/ul&gt;&lt;h4&gt;Troubleshooting steps:&lt;/h4&gt;&lt;ul&gt;&lt;li&gt;Check the system event log for error messages
&lt;li&gt;Enable logging the application process' stdout messages
&lt;li&gt;Attach a debugger to the application process and inspect&lt;/li&gt;&lt;/ul&gt;&lt;h4&gt;For more information visit: &lt;a href="https://go.microsoft.com/fwlink/?LinkID=2028265"&gt;&lt;cite&gt;https://go.microsoft.com/fwlink/?LinkID=2028265&lt;/cite&gt;&lt;/a&gt;&lt;/h4&gt;&lt;p&gt;The page that we receive here basically takes us to the standard installation for the ASP.NET Core Module, which may be a good place to start to see if there was a misconfiguration when the module was installed.&lt;/p&gt;&lt;p&gt;Now if the issue continues there are some ways to determine what the issue is&lt;/p&gt;&lt;h3&gt;Check Application Event Log&lt;/h3&gt;&lt;p&gt;Access the Application Event Log:&lt;/p&gt;&lt;ol&gt;&lt;li&gt;Open the Start menu, search for &lt;strong&gt;Event Viewer&lt;/strong&gt;, and then select the &lt;strong&gt;Event Viewer&lt;/strong&gt; app.
&lt;li&gt;In &lt;strong&gt;Event Viewer&lt;/strong&gt;, open the &lt;strong&gt;Windows Logs&lt;/strong&gt; node.
&lt;li&gt;Select &lt;strong&gt;Application&lt;/strong&gt; to open the Application Event Log.
&lt;li&gt;Search for errors associated with the failing app. Errors have a value of &lt;em&gt;IIS AspNetCore Module&lt;/em&gt; or &lt;em&gt;IIS Express AspNetCore Module &lt;/em&gt;in the &lt;em&gt;Source&lt;/em&gt; column.&lt;/li&gt;&lt;/ol&gt;&lt;h3&gt;Run the app at a command prompt&lt;/h3&gt;&lt;p&gt;Many start-up errors don’t produce much useful information in the Application Event Log. Another option is to run the app at a command prompt on the hosting system if there is access to do that.&lt;/p&gt;&lt;h3&gt;Framework-dependent deployment&lt;/h3&gt;&lt;p&gt;If the app is deployed as framework-dependent:&lt;/p&gt;&lt;ol&gt;&lt;li&gt;At a command prompt or PowerShell window, navigate to the folder that contains the app and launch the app by executing the assembly with dotnet.exe. &lt;/li&gt;&lt;ol&gt;&lt;li&gt;&lt;strong&gt;&lt;em&gt;dotnet .\&amp;lt;assembly_name&amp;gt;.dll&lt;/em&gt;&lt;/strong&gt; – substitute &amp;lt;assembly_name&amp;gt; with the name of the application&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;In the console window, if there are any errors they will written in the output.&lt;/li&gt;&lt;li&gt;If the errors only occur when making a request to the app, launch a browser and make a request to the app. Usually this will be at &lt;strong&gt;http://localhost:5000/. &lt;/strong&gt;If the app responds normally with no error, the problem more likely related to the hosting configuration and not the app.&lt;/li&gt;&lt;/ol&gt;&lt;h3&gt;Self-contained deployment&lt;/h3&gt;&lt;p&gt;If the app is deployed as self-contained then follow the above steps substituting &lt;strong&gt;&amp;lt;assembly_name&amp;gt;.exe&lt;/strong&gt; for &lt;strong&gt;dotnet .\&amp;lt;assembly_name&amp;gt;.dll &lt;/strong&gt;and follow the rest of the steps.&lt;/p&gt;&lt;h3&gt;ASP.NET Core Module stdout log&lt;/h3&gt;&lt;p&gt;To enable and view stdout logs:&lt;/p&gt;&lt;ol&gt;&lt;li&gt;Navigate to the app folder on the host system.&lt;/li&gt;&lt;li&gt;If the logs folder isn’t present create the folder.&lt;/li&gt;&lt;li&gt;Edit the &lt;em&gt;&lt;strong&gt;web.config&lt;/strong&gt;&lt;/em&gt; file. Set &lt;strong&gt;stdoutLogEnabled&lt;/strong&gt; to &lt;strong&gt;true&lt;/strong&gt; and change the &lt;strong&gt;stdoutLogFile&lt;/strong&gt; path to point to the logs folder (for example: &lt;strong&gt;.\logs\stdout&lt;/strong&gt;) stdout in the path is the log file name prefix.&lt;/li&gt;&lt;li&gt;Ensure your application pool’s identity has write permissions to the logs folder.&lt;/li&gt;&lt;li&gt;Save the updated &lt;strong&gt;&lt;em&gt;web.config&lt;/em&gt;&lt;/strong&gt; file.&lt;/li&gt;&lt;li&gt;Make a request to the app or site.&lt;/li&gt;&lt;li&gt;Look in the logs folder and find the latest log file.&lt;/li&gt;&lt;li&gt;Check the file for errors.&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;Once trouble shooting is complete make sure to turn off logging in the web.config file by setting &lt;strong&gt;stdoutLogEnabled&lt;/strong&gt; to &lt;strong&gt;false&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;Hopefully this helps solve your issue.&lt;/p&gt;&lt;div id="AdnBottom"&gt;&lt;div class="AdnBottomLeft" style="float:left"&gt;&lt;/div&gt;&lt;div class="AdnBottomRight" style="float:right"&gt;&lt;/div&gt;&lt;div style="clear:both"&gt;&lt;/div&gt;&lt;/div&gt;</description>
      <link>http://www.learnmsnet.com/post/HTTP-Error-50030-ANCM-In-Process-Start-Failure</link>
      <author>sam@hykedesigns.com</author>
      <comments>http://www.learnmsnet.com/post/HTTP-Error-50030-ANCM-In-Process-Start-Failure#comment</comments>
      <guid>http://www.learnmsnet.com/post.aspx?id=775776ef-34b4-4a73-b12a-e2e7894e7055</guid>
      <pubDate>Tue, 18 Jun 2019 04:41:07 -0800</pubDate>
      <category>.NET Core</category>
      <category>ASP.NET</category>
      <category>IIS</category>
      <category>Windows Server</category>
      <betag:tag>.NET Core</betag:tag>
      <betag:tag>ASP.NET</betag:tag>
      <betag:tag>IIS</betag:tag>
      <betag:tag>Windows Server</betag:tag>
      <dc:publisher>admin</dc:publisher>
      <pingback:server>http://www.learnmsnet.com/pingback.axd</pingback:server>
      <pingback:target>http://www.learnmsnet.com/post.aspx?id=775776ef-34b4-4a73-b12a-e2e7894e7055</pingback:target>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://www.learnmsnet.com/trackback.axd?id=775776ef-34b4-4a73-b12a-e2e7894e7055</trackback:ping>
      <wfw:comment>http://www.learnmsnet.com/post/HTTP-Error-50030-ANCM-In-Process-Start-Failure#comment</wfw:comment>
      <wfw:commentRss>http://www.learnmsnet.com/syndication.axd?post=775776ef-34b4-4a73-b12a-e2e7894e7055</wfw:commentRss>
    </item>
    <item>
      <title>How to serve files without extensions in IIS</title>
      <description>&lt;div id="AdnTop"&gt;&lt;div class="AdnTopLeft" style="float:left"&gt;&lt;/div&gt;&lt;div class="AdnTopRight" style="float:right"&gt;&lt;/div&gt;&lt;div style="clear:both"&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;By default, IIS will not serve up files without an extension. Never the less sometimes we need to allow IIS to serve up these files.&lt;/p&gt;&lt;p&gt;The following web.config file can be placed in the directory that you want to serve up these files from.&lt;/p&gt;&lt;p&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;configuration&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;system.webServer&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;staticContent&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;clear /&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;mimeMap fileExtension="." mimeType="*/*" /&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/staticContent&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/system.webServer&amp;gt;&lt;br&gt;&amp;lt;/configuration&amp;gt;&lt;p&gt;The mimeType can be adjusted to allow a specific type of file to be downloaded from the server as well.&lt;/p&gt;&lt;div id="AdnBottom"&gt;&lt;div class="AdnBottomLeft" style="float:left"&gt;&lt;/div&gt;&lt;div class="AdnBottomRight" style="float:right"&gt;&lt;/div&gt;&lt;div style="clear:both"&gt;&lt;/div&gt;&lt;/div&gt;</description>
      <link>http://www.learnmsnet.com/post/How-to-serve-files-without-extensions-in-IIS</link>
      <author>sam@hykedesigns.com</author>
      <comments>http://www.learnmsnet.com/post/How-to-serve-files-without-extensions-in-IIS#comment</comments>
      <guid>http://www.learnmsnet.com/post.aspx?id=7aa2a56f-311e-4f6c-b8c0-5cebbd050487</guid>
      <pubDate>Mon, 17 Jun 2019 10:53:00 -0800</pubDate>
      <category>Windows Server</category>
      <category>ASP.NET</category>
      <category>IIS</category>
      <betag:tag>ASP.NET</betag:tag>
      <betag:tag>IIS</betag:tag>
      <betag:tag>Windows Server</betag:tag>
      <dc:publisher>admin</dc:publisher>
      <pingback:server>http://www.learnmsnet.com/pingback.axd</pingback:server>
      <pingback:target>http://www.learnmsnet.com/post.aspx?id=7aa2a56f-311e-4f6c-b8c0-5cebbd050487</pingback:target>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://www.learnmsnet.com/trackback.axd?id=7aa2a56f-311e-4f6c-b8c0-5cebbd050487</trackback:ping>
      <wfw:comment>http://www.learnmsnet.com/post/How-to-serve-files-without-extensions-in-IIS#comment</wfw:comment>
      <wfw:commentRss>http://www.learnmsnet.com/syndication.axd?post=7aa2a56f-311e-4f6c-b8c0-5cebbd050487</wfw:commentRss>
    </item>
    <item>
      <title>Stopping Chrome from redirecting from http to https for a domain</title>
      <description>&lt;div id="AdnTop"&gt;&lt;div class="AdnTopLeft" style="float:left"&gt;&lt;/div&gt;&lt;div class="AdnTopRight" style="float:right"&gt;&lt;/div&gt;&lt;div style="clear:both"&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;While moving a website that had SSL enabled previously and trying to get SSL setup back I was having issues in chrome redirecting to the https:// protocol.&lt;/p&gt;&lt;p&gt;I found a solution in the new version of chrome, browse to chrome://net-internals on the menu on the left Click Domain Security Policy and at the bottom of the page that comes up enter the domain you want to delete security policies on the &lt;strong&gt;Delete domain security policies&lt;/strong&gt; input box.&lt;/p&gt;&lt;p&gt;This resolved the redirect for me and made the site work as I wanted it to at the moment.&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.learnmsnet.com/image.axd?picture=chrome1.png"&gt;&lt;img width="905" height="772" title="chrome1" style="display: inline; background-image: none;" alt="chrome1" src="http://www.learnmsnet.com/image.axd?picture=chrome1_thumb.png" border="0"&gt;&lt;/a&gt;&lt;/p&gt;&lt;div id="AdnBottom"&gt;&lt;div class="AdnBottomLeft" style="float:left"&gt;&lt;/div&gt;&lt;div class="AdnBottomRight" style="float:right"&gt;&lt;/div&gt;&lt;div style="clear:both"&gt;&lt;/div&gt;&lt;/div&gt;</description>
      <link>http://www.learnmsnet.com/post/Stopping-Chrome-from-redirecting-from-http-to-https-for-a-domain</link>
      <author>sam@hykedesigns.com</author>
      <comments>http://www.learnmsnet.com/post/Stopping-Chrome-from-redirecting-from-http-to-https-for-a-domain#comment</comments>
      <guid>http://www.learnmsnet.com/post.aspx?id=a68c39ee-6dc0-42de-af90-f4d6ad5e4ce0</guid>
      <pubDate>Fri, 14 Jun 2019 10:54:00 -0800</pubDate>
      <betag:tag>Chrome</betag:tag>
      <dc:publisher>admin</dc:publisher>
      <pingback:server>http://www.learnmsnet.com/pingback.axd</pingback:server>
      <pingback:target>http://www.learnmsnet.com/post.aspx?id=a68c39ee-6dc0-42de-af90-f4d6ad5e4ce0</pingback:target>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://www.learnmsnet.com/trackback.axd?id=a68c39ee-6dc0-42de-af90-f4d6ad5e4ce0</trackback:ping>
      <wfw:comment>http://www.learnmsnet.com/post/Stopping-Chrome-from-redirecting-from-http-to-https-for-a-domain#comment</wfw:comment>
      <wfw:commentRss>http://www.learnmsnet.com/syndication.axd?post=a68c39ee-6dc0-42de-af90-f4d6ad5e4ce0</wfw:commentRss>
    </item>
    <item>
      <title>Denied: requested access to the resource is denied</title>
      <description>&lt;div id="AdnTop"&gt;&lt;div class="AdnTopLeft" style="float:left"&gt;&lt;/div&gt;&lt;div class="AdnTopRight" style="float:right"&gt;&lt;/div&gt;&lt;div style="clear:both"&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;While working on a project I recently was working on pushing up a Docker image to the Docker registry and received the following&lt;/p&gt;&lt;pre&gt;The push refers to repository [docker.io/user/project]&lt;br&gt;
9a6d7cb5cc75: Preparing&lt;br&gt;
a7ab0be8f866: Preparing&lt;br&gt;
91b97cbb40f2: Preparing&lt;br&gt;
04e6caa5b49e: Preparing&lt;br&gt;
3bffb3181da2: Preparing&lt;br&gt;
5dacd731af1b: Waiting&lt;br&gt;
denied: requested access to the resource is denied&lt;/pre&gt;&lt;p&gt;This did not seem right as I had just previously logged in successfully to the Docker Registry with my username and password.&amp;nbsp; Turns out that I had not logged in to docker.io only the registry itself so I was not allowed to do what I wanted to do with my Docker push command.&lt;/p&gt;&lt;p&gt;I then proceeded to login in with the following command&lt;/p&gt;&lt;pre&gt;docker login –u “username” –p “password” docker.io &lt;/pre&gt;&lt;p&gt;This will log you in to the correct location in Docker Hub to push your container.&lt;/p&gt;&lt;p&gt;Hope this helps.&lt;/p&gt;&lt;div id="AdnBottom"&gt;&lt;div class="AdnBottomLeft" style="float:left"&gt;&lt;/div&gt;&lt;div class="AdnBottomRight" style="float:right"&gt;&lt;/div&gt;&lt;div style="clear:both"&gt;&lt;/div&gt;&lt;/div&gt;</description>
      <link>http://www.learnmsnet.com/post/Denied-requested-access-to-the-resource-is-denied</link>
      <author>sam@hykedesigns.com</author>
      <comments>http://www.learnmsnet.com/post/Denied-requested-access-to-the-resource-is-denied#comment</comments>
      <guid>http://www.learnmsnet.com/post.aspx?id=590987e2-65fd-4a82-8079-cc0d1b1a7cd2</guid>
      <pubDate>Thu, 13 Jun 2019 10:55:00 -0800</pubDate>
      <betag:tag>Docker</betag:tag>
      <dc:publisher>admin</dc:publisher>
      <pingback:server>http://www.learnmsnet.com/pingback.axd</pingback:server>
      <pingback:target>http://www.learnmsnet.com/post.aspx?id=590987e2-65fd-4a82-8079-cc0d1b1a7cd2</pingback:target>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://www.learnmsnet.com/trackback.axd?id=590987e2-65fd-4a82-8079-cc0d1b1a7cd2</trackback:ping>
      <wfw:comment>http://www.learnmsnet.com/post/Denied-requested-access-to-the-resource-is-denied#comment</wfw:comment>
      <wfw:commentRss>http://www.learnmsnet.com/syndication.axd?post=590987e2-65fd-4a82-8079-cc0d1b1a7cd2</wfw:commentRss>
    </item>
  </channel>
</rss>