开发者

Microsoft Reporting Services. Should I use webservices as a datasource?

I have a dilemma. Here is my set-up: ASP.NET/NET 3.5 web application build using standards(DB layers, BL l开发者_Python百科ayers, etc...)

I need to generate some reports. Standard way of doing that is to have reporting service query database directly OR I can have reporting services query web services(which I will create).

I like web services approach because if underlying schema changes, I only need to make sure that my web services return correct data. Reporting services are not affected.

If using direct query to the database, reporting services need to be updated.

Should I use web services(http://msdn.microsoft.com/en-us/library/aa964129(SQL.90).aspx) or direct queries?


Using a web service makes maintenance easier. The performance will suffer some but to what extent is relative to your hardware, database design, queries, etc... I would use the web service as this is the way Adobe Flex applications are suppose to do it and Microsoft WCF seems to be pointing DotNet developers in the direction of web service data sources.

Another benefit is that you can use multiple clients with the same service.


I think a better approach would be (if possible) to use services as your API for both (application and reporting services). That would keep the code/logic in a central spot as well as accomplish your goals on the reporting services.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜