-
Covered Topics: .NET Core Intro Frameworks and Runtime Creating .NET Core Framework Dependent Applications Creating .NET Core Self Contained Applications .NET Core and Docker Creating UI with .NET Core .NET Foundation .NET Standard and runtimes Machine Learning with .NET Core HoloLens, Unity3D, and ...
-
When trying to install .NET Core on Ubuntu as described here , with following command: sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod xenial main" > /etc/apt/sources.list.d/dotnetdev.list' you might get following error: Failed...
-
Microsoft .NET Conf is partnering with Azure Meetup Frankfurt and will organize around the globe many local in-person events between September 19 through the end of October! For more information please refer here . You can join us to learn more about .NET and the new .NET Core 2.0 release. We will start...
-
When you are building Self Contained Deployments, sometimes the publish process cannot resolve the target framework. For example: dotnet publish -r win10-x64 dotnet publish -r win10-x64 --self-contained In this case you will get following error: Error : The 'Publish' target is not supported without...
-
Assume, there is a .NET Framework application called NetDesktopApp and .NET Core library NetCoreLib2 . Further, NetCoreDesktopApp references NetCoreLib2. Implementation of NetCoreLib2 looks like: using System; namespace NetCoreLib2 { public class MyNetCoreLib2 {...
-
Sometimes, it is very difficult to understand what happen behind build process inside of complex solutions. You think you did all correct, and then you write simple line of, which is basically doing ‘nothing’ and then: “ You must add a reference to assembly mscorlib, version=4.0.0 ” It means you miss...
-
When implementing .NET Core dependency injection inside of ASP.NET Core or .NET Core. Assume you have implemented some class like 'IoTService.Config.GatewayConfig' and get following error on startup: {"message":"Unable to resolve service for type 'IoTService.Config.GatewayConfig'...
-
Most enterprise application soon or latter, have a requirement to trace out the version of a currently running application. This post shows few example, which demonstrates how to do this in .NET Core. var ver = Assembly .GetEntryAssembly().GetCustomAttribute< AssemblyInformationalVersionAttribute...
-
We have a WebApplication build on top of .NET Core Webproject template, which targets full .NET framework version instead of .NET Core. Some of you may ask why somebody would do that. The reason is simple. There are libraries out there, which currently runs on .NET Framework only. For example...
-
VS 2017 provides a new Unit Test project template related to .NET core projects. However, you might already have a test project build with .NET Core 1.0. When migrating existing .NET Core Test projects to VS2017, this process might fail for several reasons. If it does not work, please check following...
-
With introducing of .NET Core, Microsoft started after longer time, to fix a problem called “framework hell“. Today we have . netstandard strategy. For more information see this article. However, introducing of netstadard has opened many new questions related o practical using. For this reason, the team...
-
Maybe you know this great and informative error message "An error occurred while starting the application." from asp.net core when there was an exception during the startup. To identify and understand what happened, you must extend the Main method with the following things: UseSetting("detailedErrors"...
-
I ported an MVC WEB API project to ASP.NET Core and now the Service just returned StatusCode: 500 every time I called it. Visual Studio doesn't give me any information or Exception to indicate what happened. To find the error I disabled "Enable just my Code" in the visual studio settings...
-
When building Distributed Systems in Cloud or On-Prem, you will usually have to deal with token flow. That means, some application or user have to securely enter the system on some specific place. If you have distributed system if is not unusual that some applications in the system do not use authentication...
-
Today we deployed .NET Core application on a test machine and then configured the application as environmental variable in the system. When we started the command line application, it couldn't find 'settings.json' file for reading the configuration. This happens because the application looks...