Solved

Why this test API didn't work when I run from my PC but works after i closed the solution and open, run again?

Posted on 2015-01-28
1
73 Views
Last Modified: 2015-01-29
Hi, I'm using VS2013 and following this example here, http://www.asp.net/web-api/overview/getting-started-with-aspnet-web-api/tutorial-your-first-web-api
It seems simple enough but when I run and open the index.html file from VS2013, it shows no data is retrieved from the API.    However, after I closed the application then open and run again it works.  Why is that so?  Thank you.
I would upload the solution, compressed with 7zip but it doesn't allow that extension here.
0
Comment
Question by:lapucca
1 Comment
 
LVL 53

Accepted Solution

by:
COBOLdinosaur earned 500 total points
ID: 40577733
It is probably a caching issue. closing it clears the cache and then when it gets re-started it is picking up the latest version of everything instead of using stuff that is cached.

Cd&
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question