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. Web Development
  3. WCF Reporting - Return Data

WCF Reporting - Return Data

Scheduled Pinned Locked Moved Web Development
databasequestioncsharpwcfdata-structures
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.
  • E Offline
    E Offline
    eddieangel
    wrote on last edited by
    #1

    So I figured out my WCF Reporting service on my own for the most part. From a public standpoint, the service is required to allow users to do the following: 1. Add reports to the queue. 2. View the queue 3. View available reports The service privately is responsible for managing the queue, processing the reports, and notifying the requester when the report is done, but that is outside the scope of what I am here for. In regards to item's one and two, I want to return a list from the service to the client of either available reports or reports in the queue. The service is connected to the database via EF as is the client. I could have the client request the information from the DB, but I think it is better for the service to provide the information. My question is this: Do I need to create some kind of handler class to handle the data from the db and serve it to the client. Something that works as the datacontract and datamembers? Or is there some way that I can serve the data from the service without having to create these helper classes? Obviously I am still new to the WCF service architecture, so I appreciate the patience. Cheers, --EA

    C L 2 Replies Last reply
    0
    • E eddieangel

      So I figured out my WCF Reporting service on my own for the most part. From a public standpoint, the service is required to allow users to do the following: 1. Add reports to the queue. 2. View the queue 3. View available reports The service privately is responsible for managing the queue, processing the reports, and notifying the requester when the report is done, but that is outside the scope of what I am here for. In regards to item's one and two, I want to return a list from the service to the client of either available reports or reports in the queue. The service is connected to the database via EF as is the client. I could have the client request the information from the DB, but I think it is better for the service to provide the information. My question is this: Do I need to create some kind of handler class to handle the data from the db and serve it to the client. Something that works as the datacontract and datamembers? Or is there some way that I can serve the data from the service without having to create these helper classes? Obviously I am still new to the WCF service architecture, so I appreciate the patience. Cheers, --EA

      C Offline
      C Offline
      chester_it21
      wrote on last edited by
      #2

      hi eddieangel, First, you yourself should know what the actual function of WCF itself ... as explained in the description of his by microsoft or mentors about WCF, as the data link service, the latest technology in addition to its webservice before ... this is a first-time assuming I know WCF, and certainly his most important in WCF is a service that with extentions. svc and its interface ... there was DataContract or DataMember is the WCF its Properties, and of her, you can add another Helper class calss-its, You can add Business Logic or DataLayer like EF or Connection String or else it .... and respond to your question, his answer is that you can express all of his in WCF ... whatever ..   I wish there was a little light to determine his or her choice in the style of your code ..

      1 Reply Last reply
      0
      • E eddieangel

        So I figured out my WCF Reporting service on my own for the most part. From a public standpoint, the service is required to allow users to do the following: 1. Add reports to the queue. 2. View the queue 3. View available reports The service privately is responsible for managing the queue, processing the reports, and notifying the requester when the report is done, but that is outside the scope of what I am here for. In regards to item's one and two, I want to return a list from the service to the client of either available reports or reports in the queue. The service is connected to the database via EF as is the client. I could have the client request the information from the DB, but I think it is better for the service to provide the information. My question is this: Do I need to create some kind of handler class to handle the data from the db and serve it to the client. Something that works as the datacontract and datamembers? Or is there some way that I can serve the data from the service without having to create these helper classes? Obviously I am still new to the WCF service architecture, so I appreciate the patience. Cheers, --EA

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        Its quite tricky, but try to post this question at likeplum. I always get good answers there to my computer/programming issues and questions. They have programmers online to help you now. You can get a great answer to your question so fast. https://www.likeplum.com/help/programming?aid=3321

        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