The type or namespace name ServiceHost does not exist in the namespace System ServiceModel

0 votes

So, I'm attempting to add this wcf service in an app for Windows IoT(Raspberry Pi) using Visual Studio 2015.

Now, I can't add a reference 'on the usual way' .So, I tried adding a nuget reference to System.ServiceModel.

        using (var host = new System.ServiceModel.ServiceHost (typeof(HelloWorldService), _baseAddress))
        {

        }

How can I reach the ServiceHost? Resharper doesn't help either!

Mar 14, 2019 in IoT (Internet of Things) by Upasana
• 8,620 points
1,464 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In IoT (Internet of Things)

0 votes
1 answer

Does executable exist in Python?

This is a way I can think ...READ MORE

answered Sep 21, 2018 in IoT (Internet of Things) by Upasana
• 8,620 points
1,242 views
0 votes
0 answers
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

The MQTT folder is missing in Bluemix IoT NodeJS code,

IoT-Workbench now uses new improved code generation ...READ MORE

answered Aug 8, 2018 in IoT (Internet of Things) by anonymous2
• 4,280 points
950 views
0 votes
1 answer

Finding the Unicast, DNS and Gateway Address in UWP

Try the PInvoke api methods from Iphlpapi.dll. ...READ MORE

answered Aug 20, 2018 in IoT (Internet of Things) by nirvana
• 3,130 points
868 views
0 votes
1 answer

Visual Designer errors when there are no other errors

Verify none of your custom user controls ...READ MORE

answered Sep 25, 2018 in IoT (Internet of Things) by Annie97
• 2,160 points
537 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP