Skip to content

Embedded Reporting

Embedding the Report Viewer in a Microservices Application

Discover the benefits of integrating Bold Reports Viewer into a microservices application & explore how its embedded architecture secures reporting.

Embedding Bold Reports Viewer in Microservices Application

TL;DR: Bold Reports® Report Viewer now supports microservices architecture, enabling scalable, secure, and cost-efficient reporting for distributed applications. By decoupling reporting logic from app services, businesses gain flexibility, performance, and easier maintenance. This blog highlights why microservices matter for modern reporting, the benefits of using a single viewer across services, and how Bold Reports simplifies integration with popular frameworks like ASP.NET Core, Angular, React, and Blazor.

Microservices architecture has revolutionized the way we build applications, offering scalability, flexibility, and resilience. In distributed systems, integrating a robust report viewer is crucial for effective reporting. The Bold Reports Report Viewer works smoothly in a microservice-based reporting applications, offering a wide range of features and seamless integration capabilities. In this blog post, we will explore how the Report Viewer empowers microservice architecture and enhances the reporting capabilities of distributed applications.

Embedding the Report Viewer in microservices

Microservices architecture has revolutionized the way we build applications, offering scalability, flexibility, and resilience. In this era of distributed systems, integrating a robust report viewer is crucial for effective reporting. The Bold Reports Report Viewer emerges as an ideal choice for microservice-based reporting applications, offering a wide range of features and seamless integration capabilities. In this blog post, we will explore how the Bold Report Viewer empowers microservice architecture and enhances the reporting capabilities of distributed applications.

Microservice Architecture
Microservice Architecture

Embedding architecture in microservices

The diagram illustrates how Bold Reports Report Viewer integrates within a microservices environment to securely render reports. Here’s how the process works:Embedding architecture

Key flow

  1. The client browser app with the Bold Reports SDK:
    a. Initiates the process by sending an access token to the Bold Reports Server. This token ensures secure communication and validates user permissions.
  2. The Bold Reports Server:
    a. Validates the incoming request and generates an access token for secure data exchange.
    b. Sends the validated token back to the application server.
  3. Your application Server:
    a. Requests authorization from the Bold Reports Server.
    b. Embeds secret keys, filters, or parameters required for report customization.
    c. Receives the access token and uses it to fetch report data.
    d. Sends the report data to the client browser.
  4. The Bold Reports Viewer:
    a. Renders the report for the end user.

Security highlights

These security measures and design principles make this approach robust and scalable:

  1. Access token validation: Only authorized users can view reports.
  2. Embedded parameters: Dynamic filtering and customization of reports.
  3. Data isolation: Each tenant or user receives only their permitted data, safeguarding information integrity.

Why this architecture works for microservices

  1. Loose coupling: Reporting logic is isolated in its own microservice.
  2. Independent scaling: Reporting service can scale separately from other services.
  3. Interoperability: Works with multiple microservices via REST APIs or gRPC.
  4. Centralized reporting: A single viewer can serve reports across distributed services.
  5. Security and maintainability: Token-based authentication and modular design enhance safety and simplify updates.

Benefits of using Bold Reports Report Viewer with microservices

  1. Decoupled reporting logic: By integrating the Report Viewer with microservices, you can separate your reporting logic from your application logic. This decoupling improves scalability, performance, and maintainability.
  2. Cost and development efficiency: Utilizing a single report viewer across all your microservices reduces development costs and streamlines maintenance efforts.
  3. Scalability and performance: The Report Viewer is designed to scale effortlessly, ensuring optimal performance even in large-scale microservice environments. It provides a seamless user experience for reporting tasks.
  4. Security and data protection: The Report Viewer ensures that your microservice-based reporting applications meet the highest standards of security and data protection. It provides the necessary measures for handling sensitive information.
  5. Extensibility and customization: The Report Viewer provides a highly extensible platform, allowing you to tailor the reporting solution to meet the specific needs of your microservices.

How to integrate the Bold Reports Report Viewer with microservices

To leverage the Report Viewer for microservice-based reporting applications, follow these steps:

Step 1: Create a microservice endpoint.
For guidance on building your microservice, refer to Create an ASP.NET Core web API reporting service in Bold Reports.

Step 2: Configure the Bold Reports Report Viewer.
Configure the Report Viewer to utilize the microservice endpoint for report rendering. Supported platforms include ASP.NET Core, JavaScript, Angular, Blazor,  React, ASP.NET MVC, and ASP.NET Webforms.

Step 3: Design reports.
Design dynamic reports by harnessing the potential of microservice endpoints for data retrieval and generation. Read this this page for feature descriptions.

Embedded report in a microservice-based app example

Here’s how an embedded report looks inside a microservice-driven report.

Real-time example in an embedded report
Real-time example in an embedded report

The Bold Reports Report Viewer seamlessly integrates into your application, displaying dynamic reports like this Retail Inventory Management. This example shows charts for top selling items, inventory turnover ratio, stock availability and gross margin ROI.

Conclusion

The Bold Reports® Report Viewer is an invaluable asset for microservice-based reporting applications. By integrating the Report Viewer with microservices architecture, organizations can unlock a range of benefits. It empowers developers to build robust and secure reporting solutions within a distributed environment, ensuring efficient and effective reporting.

Explore the Report Viewer through our comprehensive documentation or check out its live features with our interactive demos.

If you have any questions, please post them in the comments section below. You can also contact us through our contact page, or if you already have an account, you can log in to ask your question.

Bold Reports offers a 30-day free trial without any credit card information required. We welcome you to start one and experience Bold Reports for yourself. Let us know what you think!

Meet the author

Umamaheswari, a software engineer at Syncfusion, simplifies complex concepts with clear explanations. She bridges the developer-user gap through comprehensive documentation, making software engineering more accessible.

Newsletter

Reporting insights, in your inbox

New posts on embedded reporting, SSRS and Crystal Reports migration, and product updates. No spam.

Keep reading

8 min read

MIS Reports: Benefits, Types, Key Components, and Preparation Steps

This blog will walk you through MIS reports, what are they, their benefits, types, key components, and steps for preparing them using the Bold Reports® reporting tool. What are MIS reports? A management information system (MIS) report is a document that provides information to support decision-making and management activities within an organization.

Arulraj A
6 min read

How to Apply Alternating Row Colors in an SSRS Tablix

Many organizations use SSRS to work with large amounts of data. But as reports get bigger, they can become harder to read. One simple way to improve clarity is by applying alternating row colors. This technique helps users quickly scan through rows and spot patterns more easily.

Eunice Damaris Akinyi

All blog posts

Ready to Get Started?

Ready to Modernize Reporting the Modern Way?

From migrating legacy reports to embedding reporting in applications, Bold Reports helps you move forward with confidence.

No credit card required.