Pregunta

Intenté usar TestServer y descubrió que Fiddler no podía captar el tráfico.

La dirección está establecida en http://localhost y no hay forma de cambiarlo.

        server = TestServer.Create(app =>
        {
            new Startup().Configuration(app);
        });

Sería bueno cambiar la URL a http://ipv4.fiddler o algunos otros métodos candidatos en http://docs.telerik.com/fiddler/observe-traffic/troubleshooting/notraffictolocalhost página.

¿Como lo puedo hacer?

¿Fue útil?

Solución

Esto no funcionará como TestServer falsifica la capa de transporte y simplemente crea y pasa objetos HttpContext a sus controladores.No hay tráfico que Fiddler pueda interceptar ni ningún tráfico real. tcp o HTTP realizado.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top