heaven heaven - 1 year ago 82
ASP.NET (C#) Question

multiple request "/" to asp.net web form

I have a simple web form application(C# with .NET 4.5) that has some css and script.

When I call "localhost:4765/Default.aspx" every things are going right and page loads normally,
But when i call "localhost:4765", it seems some thing! makes multiple request like the below image(That capture from IntelliTrace window). all requests were made in the same time!.

It takes about 2 minutes from first request until pause on break point on default's page load.

I'm glad to say something that helps me.

Thanks in advance.

enter image description here

Answer Source

Finally, I wrote below line in Route table and it's working...

routes.MapPageRoute("Home", "", "~/Default.aspx");