Solved

WCF - Won't let go of temp code

Posted on 2011-03-19
2
208 Views
Last Modified: 2012-05-11
I'm using WCF ( in a project with Silverlight/Entity Framework, I don't know if that's germane to my problem), and every time I change any code behind the WCF I have to break the interface, re-run Update Service ref in the consuming project to clear the (I guess) web server/cassini's use of the old code in c:\users\appdata\local\blah blah.
I can't delete the files without closing down VS.
Is there an easier way of doing this?
0
Comment
Question by:Silas2
2 Comments
 
LVL 35

Accepted Solution

by:
Miguel Oz earned 250 total points
ID: 35223702
Steps:
- Close the aspnet server (icon on your main window toolbar when running your web service)
- On  your solution context menu click clear.
- Now build and run your solution.
(Assumption: You are using VS only, you are not deploying to IIS)
0
 

Author Comment

by:Silas2
ID: 35242357
Thanks for getting back to me, sorry about my late response, I've been away.
When I pull up the context (right mouse click) menu on the solution in the solution explorer, I don't get a 'clear' option, 'Clean Solution' is the only entry starting with 'CL'.
I'm using VS 2010 Pro with the PowerCommands Extensions, am I missing something?
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
wcf json/ajax 3 154
Problem with wsdl in vb.net application 5 218
How to set base address for WCF in IIS 7 314
web api web service - can i connect with soap or xml over http 3 78
While working on Silverlight and WCF application, I faced one issue where fault exception occurred at WCF operation contract is not getting propagated to Silverlight client. So after searching net I came to know that it was behavior by default for s…
Here I am going to explain creating proxies at runtime for WCF Service. So basically we use to generate proxies using Add Service Reference and then giving the Url of the WCF service then generate proxy files at client side. Ok, what if something ge…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

839 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