8 questions
0
votes
1
answer
90
views
.NET8 app running as a systemd service getting stuck
I have a .NET8 app which I want to run as a systemd service in Ubuntu. I have created a dummy service and a unit file. When I run the service through systemctl, it is not sending the notification to ...
1
vote
1
answer
58
views
Executing process with process.start causes memory segfault but starting manually in shell does not
I'm attempting to use C# to wrapper a linux executable that needs some hand holding of error and conditions. I am doing this inside a docker container and calling my C# app as the ENTRYPOINT.
My C# ...
0
votes
0
answers
235
views
Visual Studio C# add reference using library to linux
I added one SDK(.dll) to one project, through click righ -> add -> reference -> Browser -> look for the SDK in my local file explorer, then click Add and finnally Ok.
so, The question is ...
1
vote
1
answer
1k
views
calling C++library on linux by dotnet
I am trying to call a C++ wrapper function from dotnet service on Linux the first time.
C++ code:
extern "C" std::string myfunc(int a, int b){
std::string mystring = funcB(a, b);
...
0
votes
1
answer
365
views
ASP.NET Core 5 web app running on Linux - run ssh commands as different user to www-data
I have an ASP.NET Core 5 web app running on Linux (Apache) which is working fine in general. I want it to be able to change passwords of certain Linux users. Basically the user logged into the web app ...
4
votes
1
answer
6k
views
Run asp.net core app in production with path prefix
I have an asp.net core web api, which I can start from the command line (on linux hosts)
dotnet MyWebApi.dll
This will start some webserver that listens on localhost:5000 (per default).
Let's assume ...
2
votes
2
answers
142
views
Wrong paths in css after dotnet bundle on GNU/Linux
Trying to port a web project from dotnet on Windows to dotnet on GNU/Linux. The C# code works fine, but I'm having problems with the minification of dotnet bundle. In minified output css, paths to for ...
2
votes
1
answer
2k
views
On dotnet SDK and Docker containers
This question should hopefully be pretty straight forward.
Say you're trying to run an Asp.Net Core Web Api. The app will run inside of a Docker container inside a clean installation of Linux (...