Learn MS NET | All posts by admin

Our journey learning how to write .NET

Learn MS NET

  • Join Us on Facebook!
  • Follow Us on Twitter!
  • LinkedIn
  • Subcribe to Our RSS Feed

Setting a custom location for node_modules path with yarn


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.One way we can change the output is to append the command line with the option of --modules-folder. this op... [More]

IdentityUI has a breaking change in .NET Core 3.0


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:.AddDefaultUI(UIFramework.Bootstrap4) no longer works.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 IdentityUIFrameworkVersion property in your project file.The overload for AddIdentityUI tha... [More]

How to update a Docker container to the latest version


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.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.As we can see on my installation at the moment the 2.2 versions are 4 months old PS C:\WINDOWS\system32> docker ... [More]