Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Deploying new WCF service does not expose client ???!!!

Deploying new WCF service does not expose client ???!!!

Scheduled Pinned Locked Moved C#
csharpwcfdatabaselinqquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Michael Eber
    wrote on last edited by
    #1

    I built a brand new WCF Service which has 11 methods. Added the data layer (linq to sql) and added a test project. I have the service defined for basicHTTP and SecurityMode=None. When I do a Service Reference in the test project, I get all of my data object but no client for my service. I've looked over everything and can find nothing wrong with the coding of the service. I've looked over the web.config and can find nother wrong with that either. I'm coding the service under VS2010, C#, I've done a VIew in Browser and the service displays properly and the WSDL displays properly. Yet no matter what I do I cannot get client code (CentralServicesClient) to appear in the class. Has anyone expereinced this with VS2010??? I swear all Microsoft does is take something that is easy to do and works and then they break it and make it hard to deploy!!!

    P A 2 Replies Last reply
    0
    • M Michael Eber

      I built a brand new WCF Service which has 11 methods. Added the data layer (linq to sql) and added a test project. I have the service defined for basicHTTP and SecurityMode=None. When I do a Service Reference in the test project, I get all of my data object but no client for my service. I've looked over everything and can find nothing wrong with the coding of the service. I've looked over the web.config and can find nother wrong with that either. I'm coding the service under VS2010, C#, I've done a VIew in Browser and the service displays properly and the WSDL displays properly. Yet no matter what I do I cannot get client code (CentralServicesClient) to appear in the class. Has anyone expereinced this with VS2010??? I swear all Microsoft does is take something that is easy to do and works and then they break it and make it hard to deploy!!!

      P Offline
      P Offline
      PIEBALDconsult
      wrote on last edited by
      #2

      I don't know; I didn't do it that way.

      1 Reply Last reply
      0
      • M Michael Eber

        I built a brand new WCF Service which has 11 methods. Added the data layer (linq to sql) and added a test project. I have the service defined for basicHTTP and SecurityMode=None. When I do a Service Reference in the test project, I get all of my data object but no client for my service. I've looked over everything and can find nothing wrong with the coding of the service. I've looked over the web.config and can find nother wrong with that either. I'm coding the service under VS2010, C#, I've done a VIew in Browser and the service displays properly and the WSDL displays properly. Yet no matter what I do I cannot get client code (CentralServicesClient) to appear in the class. Has anyone expereinced this with VS2010??? I swear all Microsoft does is take something that is easy to do and works and then they break it and make it hard to deploy!!!

        A Offline
        A Offline
        Abhinav S
        wrote on last edited by
        #3

        You can try adding the reference using SvcUtil. To be honest, I dont think VS2010 has anything to do with this.

        The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it. My latest tip/trick Visit the Hindi forum here.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups