How To Get HTTPS for dotnet Local Development - asp.net-web-api

I have been running a dotnet webapi project. I just changed my machine. On my old laptop HTTPS was working fine in my local development. But now that I have changed my machine my browser does not trust the localhost server certificate. I have tried running dotnet dev-certs https --trust but it did not work. My old and my new machine are running on Windows. Any help?

Related

Deploy docker contained backend on windows 11 by single file click

The task is - deploy Django rest backend via docker on clean Windows 11. It must be done by client clicking single application / bat file. Everything should be installed and set up automatically.
Docker related files are set up okay and test backend works well on ubuntu machine. But how to do automatic deploy on windows?
Using virtual machine with linux is not accepted as well.

PhpStorm code coverage with remote Xdebug - can't connect (Xdebug 2.5.5)

I have a problem which I've been facing for 2 days. I've already configured my PHPUnit in PhpStorm, made code coverage save to log folders. I want to connect with Xdebug so I can make code coverage visible in my IDE. The problem is, I can't connect to remote Xdebug. I'm having a message: "Connection with 'Xdebug 2.5.5' was not established."
Guy from other team helped me to configure Xdebug as they have it configured for other project. I cloned this project, set it up and working, configured everything as he has it configured. And still cannot connect.
Port: 9000 (also got proxy for 9001-9005).
Windows firewall is off, ports are unlocked
IDE key is set on.
Tried with -dxdebug.remote_host command - still nothing
Set up our proxy host IP for Xdebug - still nothing.
Anyone has other idea?

Jenkins build project "Unable to access to repository"

I am a complete Jenkins noob so if I have missed something completely obvious I apologise in advance!
I am building an intranet web application using Visual Studio 2010 and commit changes using AnkhSVN to a repository stored on a server that is running Visual SVN Server.
Due to budget restrictions this server is also acting as our web server and also running Jenkins. It is connected to our internal network but doesn't have external internet access so I have had to manually install Jenkins plugins and dependencies.
I am trying to build a Jenkins project that would build the web application when it detects a commit but when I enter the repository URL and the user credentials in the source code management window I get the following error message:
Unable to access to repository
However when I enter the url in a browser and enter the same credentials I can access the repository without any errors.
Any ideas would be greatly appreciated.
Server Specs
Windows Server 2012 R2 Datacenter 64bit
Visual SVN Server
Port: 443
Version 3.5.6
Jenkins
Port: 8080
Credentials Plugin 2.1.9
MapDB API Plugin 1.0.9.0
Pipeline: SCM Step 2.3
Pipeline: Step API 2.5
SCM API Plugin 1.3
SSH Credentials Plugin 1.12
Structs Plugin 1.5
Subversion Plug-in 2.7.1
check if the ip of jenkins server can access the svn ip server....i have the same problem and i found that my ci server can not access the svn server .using ping command
That actually might be okay. For some reason I see similar error message (could be a bug in Jenkins frontend) when edit SCM details for a job in Jenkins, but it does work flawlessly if I actually save and run the job.
Give it a try it might actually work during the build time.

Cannot access sinatra app on AWS Windows from remote machine

I have a simple sinatra app running on an AWS windows instance. Running the application from the localhost works fine (i.e. http://localhost:4567), but I am unable to run it remotely.
My AWS windows instance is available to me from remote as I am able to connect to it using RDP.
After reading some other similar issues, I have already applied the following:
My AWS security group is opened for port 4567 (I actually also opened it for any inbound connection just to see if that will solve the issue - it didn't)
I tried running: ruby my_sinatra_app.rb -o 0.0.0.0
I tried running: ruby my_sinatra_app.rb -e production
I tried adding to the application itself the following code: set :bind, '0.0.0.0'
I am still unable to run the application remotely. Any idea?
I was able to solve my issue, so for the sake of completeness I am publishing the answer.
This wasn't a Sinatra issue, but an AWS issue (maybe not really an issue, more like my misunderstanding). I was under the impression that updating the AWS security group for opening the 4567 port will do the trick.
However, it turns out that I needed also to open the port on the Windows Firewall on my Windows AWS instance. After opening the port on the Windows Firewall I was able to remotely connect to my Sinatra app.

How do I use MAMP, SVN Server, and the SVN client all on the same machine?

I have a dev box (mac mini) that hosts all of my development sites. I have SVN server configured on the server and have created 2 repositories so that I can push my work from my laptop to the server. Now I want to "update" the webdev directory (where I have my files set up for MAMP) so that I can see my changes on my dev server. Is there any way to do this? I've tried connecting to localhost using the SVN client and I get a 200 OK error -- and another error I can't remember how to recreate.
Can SVN Server, Client, and Webserver all co-exist on the same machine -- and if so -- how do I update/commit/checkout using the client on the same machine?
Can SVN Server, Client, and Webserver all co-exist on the same machine
Yes
how do I update/commit/checkout using the client on the same machine
same way as for any remote host - connect to repo and use svn commands
BTW - site as working copy is "worst practice"

Resources