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