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
71 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

777 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