I have created an ASP.NET application that connects to microsoft sql database and needs a password for that. When running the application under Windows it takes the password from secrets.json file located in C:Users<user>AppDataRoamingMicrosoftUserSecrets<UserSecretsId> When running under Docker I…
Tag: asp.net
https “bindings” in Linux with XSP4 server
I’m sitting with a bit of a interesting situation. I have a customer that want to try and host their ASP.NET WebAPI from a Linux server. Obviously setting this up on Windows is reasonably straight forward, but I’ve gotten stuck at the point where one needs set up the “bindings” for the…
mod_mono asp MVC4 error: System.Security.SecurityException – Couldn’t impersonate token
I have developed an small webapp in ASP.net MVC4, framework version 4.5. It all works like a charm when debugging with Visual Studio 2015. However I do not have an Windows server, but a Linux (Ubuntu 14.04 VPS) and I wish to deploy there. I have latest mono and mod_mono running with apache2. It seems to execu…
mono on debian: Could not find file “/srv/www/proj/binroslyncsc.exe”
I try to deploy a ASP NET 4.5 Website written in Visual Studio to a Mono Server. System.IO.FileNotFoundException Could not find file “/srv/www/proj/binroslyncsc.exe”. Description: HTTP 500.Error processing request. What am I doing wrong? Answer Finally I managed it to work. For those, who are sear…
Installing (and deploying) Mono ASP.Net to Redhat
I have an Asp.Net app (built in mono) that I am trying to deploy to a Linux Redhat 6 environment. I tried following the instructions on the mono website: http://www.mono-project.com/docs/web/aspnet/ http://www.mono-project.com/docs/getting-started/install/linux/ I was able to get nginx installed and setup; ho…
Deploy ASP.NET MVC on Linux: Best Practices, Tools & Surprises
I’m wondering about best practices to develop ASP.NET MVC apps with an option to deploy on Linux. If you are creating these kinds of MVC apps, What Linux/Mono platform are you targeting? How much of the development are you doing on Windows and how much on Linux? Are you using an ORM to abstract the data…