Skip to content
Advertisement

Tag: asp.net-core

CMake Lib in Linux Docker missing dependencies

I use CMake to create the DLL and SO file from my own C++ library, which I then call in my C# code via DLLImport. This has worked so far under Windows and under Linux (Docker). Now the library has been extended, which continues to work on Windows with the DLL. However, under Linux I now get the following error

How to access Azure Linux web app path file

Trying to access file on path – wwwroot/templates/file.txt. It works using -_hostingEnvironment.ContentRootPath + “templatesfile.txt” on windows but same path says file does not exists. What Am I missing Answer Trying to access file on path – wwwroot/templates/file.txt. The following code snippet work for me, you can refer to it. And please make sure the file is really existing under that

Publishing ASP.NET Core Applications on linux nginx server

When publishing an ASP.NET Core application to a Linux server running nginx, is it necessary to install the .NET Core runtime on the server? Answer One of the options when publishing a .NET Core application is self contained deployments which include a version of the .NET Core runtime. They are described (in the above link) as: For a self-contained deployment,

Azure Powershell Module – Linux (.NET Core) Support

There exists an AzureRM module that is built on .NET Core. However, the AzureRM module doesn’t have all of the required functionality to interact with Azure. Many of the other cmdlets, such as New-AzureAffinityGroup, are present in the Azure module. Here are a list of other cmdlets: https://www.powershellgallery.com/packages/Azure/4.2.1 When can we expect support for this module and the remaining Azure

Advertisement