Visual Studio 2013 - project shows up as “Miscellaneous Files” when debugging - c#

I have a project set up of web api and wcf service. I need to debug wcf service by sending request through web api. When i debug, wcf service class is showing in webapi project and project shows as 'Miscellaneous files'. Due to that am not able to debug the service.

Related

WPF Desktop and web service in same solution

I am revising .NET and web services and attempting to test calling the web service I created with a WPF desktop application. The web service builds and runs fine and when I start without debugging in VS Community 2017 it works as expected and I can see the web service end points in the browser along with the WSDL. But when I attempt to add a WPF desktop application and start without debugging to the browser does NOT have the .asmx file in the URL anymore and states -
HTTP Error 403.14 Forbidden
the web server is configured to not list the contents of this directory
I have googled this error and tried several of the suggested fixes but none of them have resolved the issue. Can this be done at all or do I have to publish the web service to IIS Express on its own and have the WPF desktop application on its own? Its just that it would be very useful to have a desktop application within the same solution to code and test

Adding wsdl web reference in asp .Net Core project

I've got web service http://www.mcommunicator.ru/m2m/m2m_api.asmx?WSDL
And I've got a problem with connecting to it from Visual Studio 2015
in my Web API project
There is no "Add web reference" anymore
I've tried to add is with:
References-> Add connected Service -> WCF Service - Preview
It finds 1 web service by my address, but I get an error when click finish.
I guess it's not a WCF service, that's why I get an error.
But I don't see any other ways to add it. Please, help me.
To add the SOAP service references for clients built on top of WCF for .NET Core 1.0 install the extension Visual studio WCF Connected Service via the “Extensions and Updates” dialog box.
After installed, In Solution Explorer, right-click on the References project item and then click on the Add Connected Service option.
The Add Connected Service dialog box appears and you should have a new option "WCF Service - Preview".

WCF Consuming Error

I have a problem with a Published on local network WCF project ,
My WCF project is running and was Published smoothly , but when trying to consume it on ASP.NET web forms project , this error shows up ,
The Error
Note : I have installed Microsoft Visual studio tools on the local server which holds the IIS which my WCF project is published on.
My Web.Config :
Web Config Service Model Part
This happens because of a faulty debugging setting in your VS. Take a look at this. http://social.technet.microsoft.com/wiki/contents/articles/17418.the-famous-system-servicemodel-faultexception1-was-unhandled-by-user-code.aspx

Publish Web service using Visual Studio development server

I have a Web Service that I am trying to publish from VS.
This is the configuration in my project's properties:
When I try to run the code I get this message:
It works when I choose Use Local IIS Web Server, but why doesn't it work in the first case as well?

Debugging WCF services : Multiple Startup project

My solution constists of -
WCF service hosted on Visual Studio Development server. (Port 8001)
Web Application consuming services. (Port 8002)
I use start multiple projects in debug mode in visual studio solution.
Starting with WebApp debugging, I set few break points in WCF service code.
Issue:
WCF services breakpoint is not being hit. Although the code executes fine & returns the response to UI (WebApp)
These work fine when starting WebApp & Wcf services using two different solution.
Any suggestions ?

Categories

Resources