Using Fiddler to debug AJAX in ASP.NET MVC -


I am using Fidler to debug my MVC application and view all HTTP requests.

On http Moving: // Local Host: 51234 / MVC

Anyone who hosts a site on a local host can use Fidler As you know, there is an issue as there is - the windows will not be forwarded if you hit this link directly, then you can work around local host traffic via proxy, like URL http: My favorite way to use //ipv4.fiddler: 51234 / aboutus / contact> is very good Defense works.

Using the problem I was starting to do AJAX:

 using  <%> (Html.BeginForm ()) {%>  

If you generate the source then it has actually originated:

Oops!

generated ipv4.fiddler: 51234 instead of localhost . So definitely I do not see it when I run the AJAX query fielder.

In principle, the machine should work using the name, but if you try to get the machine name http WebDev.WebServer will not answer: // win -538 lf: 51234 / aboutus / Contact:

[fielder] to win the connection -538lf failed exception text: No connection because the target machine can be actively denied it fe80 :: 81fc: 8f0f: 457a: 27df% 12: 51234

Is there a solution for this?

Is it possible to configure WebDev.WebServer to answer machine names? Or am I going to make or do a virtual directory? I do not want to do this, but I think this is not a big deal.

"post-text" itemprop = "text">

So it turns out that if you use this surcharge:

 using  Tax code (Ajax.BeginForm (New AjaxOptions ())   You generated (code 'breaks'): 

  
action = "Http: // localhost: 51234 / aboutus / contact" method = "post"

But if you do so and include action names:

 < Code> (Ajax.BeginForm ("Contact", New AjaxOptions ()  

You Generate This Code:

  & lt; Form action = "contact" method = "post"  

Does it now have to heal, but would welcome any other solution.


Comments