Devo testare un metodo sulla mia applicazione asp.net che dovrebbe funzionare su https. C'è un modo in cui posso eseguire l'applicazione su localhost su https in modo da poter eseguire il debug?ASP.net debug https su localhost
5
A
risposta
7
È possibile creare un certificato SSL autofirmato e quindi creare un'app Web con SSL e il certificato autofirmato sul computer locale in IIS (utilizzare un URL come http://dummy.test e aggiungerlo al file hosts in c: \ windows cartella \ system32 \ drivers \ etc, fare riferimento a 127.0.0.1), quindi avviare VS, collegarsi al processo w3wp.exe ed eseguire il debug.
Create a self-signed SSL certificate with IIS 6.0 Resource Kit SelfSSL
0
Sì, procurati un certificato autofirmato e installalo. In generale, però, disabiliterei la necessità di SSL nell'ambiente di sviluppo locale.
Problemi correlati
- 1. Fiddler reindirizza https a localhost
- 2. ASP.NET MVC: Come disabilitare automaticamente [RequireHttps] su localhost?
- 3. Utilizzo di WCF su Localhost su Azure
- 4. Google Chrome per Android Debug remoto - "localhost: 9222" Non disponibile
- 5. SWFUpload su HTTPS non funzionante
- 6. POST https: // localhost: 26143/skypectoc/v1/pnr/parse net :: ERR_CONNECTION_REFUSED
- 7. Debug JavaScript in ASP.NET
- 8. Abilita ZipArchive su localhost
- 9. Localhost su Windows 7
- 10. context.getImageData() su localhost?
- 11. URL IIS Riscrivi la regola https ignorando localhost
- 12. Testare localmente HTTPS su Sinatra
- 13. simulare la connessione internet lenta su localhost
- 14. PHP Curl non funziona su localhost?
- 15. ASP.NET MVC3 reindirizzamento da https a http
- 16. Debug del progetto cloud ASP.NET sulla LAN
- 17. Websocket su HTTPS 403 Proibito
- 18. Visual Studio 2013: debug utilizzando l'indirizzo IP invece di LocalHost
- 19. Debug di origine MVC ASP.NET?
- 20. w3c html checker su localhost
- 21. accesso negato su .htacces localhost
- 22. Omniauth Autenticazione Facebook su localhost
- 23. Mojolicious su HTTPS
- 24. HTTPS su Cocos2d-x
- 25. GAE dev_appserver.py su HTTPS
- 26. Alternativa HTTPS su Arduino
- 27. Running gunicorn su https?
- 28. Come ascoltare solo su localhost su MongoDB
- 29. Reindirizzare da HTTPS con ASP.NET MVC App
- 30. validatore carta di Twitter su localhost