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 am unable to find out where I should put the secrets.json file. I tried /root/.microsoft/usersecrets/ as it seemed to work for
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 application. Simply running xsp4 –https –p12file=cert.pfx –pkpwd=lolno results
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 execute as it should,
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 searching for a similar solution: In my Apache vHost Configuration I need to add That directive
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; however it appears I don’t have fastcgi-mono-server4 installed. I’ve been googling all over the place trying to find how to
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 database? Which one? Are you