Smart Source architected and built the MEDcloud platform for Mediateknik AB — a modular, multi-tenant IoT web platform on .NET 10 and Blazor Server — and migrated MEDguard from a standalone .NET MAUI mobile app into a fully integrated web module with shared authentication, real-time data, and analytics.

Contact
Case details banner

Smart Source designed and built MEDcloud — a modular IoT platform for Mediateknik AB that serves as the shared infrastructure for all their connected products. The platform handles MQTT ingestion, device lifecycle management, authentication, access control, and analytics, while individual product modules like MEDguard and MEDrecycle plug in and consume these shared services. As part of this engagement, Smart Source also migrated MEDguard from a standalone .NET MAUI mobile app into a full Blazor Server web module — replacing isolated app logic with a clean, scalable architecture built for multi-device, multi-tenant operations.

The Challenge

Mediateknik AB had grown their product portfolio organically. MEDguard existed as a standalone .NET MAUI mobile app with its own login flow, camera control, and status logic handled entirely within the mobile client via REST calls. MEDrecycle was built as a separate web application. As the product family expanded, this approach created real problems: duplicated logic across products, isolated authentication against an external IdP, no shared data layer, and increasing cost of maintaining separate codebases for each solution.

The fundamental challenge was architectural. Each product worked in isolation, which made it difficult to build new modules quickly, share infrastructure, or give customers a unified experience across Mediateknik's growing service offering.

What was needed was a platform — a shared foundation that could own the cross-cutting concerns (authentication, MQTT ingestion, device state, analytics) so that individual product modules could focus purely on their own domain logic, workflows, and UI.

At the same time, MEDGuard needed to be modernised. The transition from a mobile-only experience to a web-based module inside the platform was not just a technical migration — it required a clear rethinking of the application's architecture:

The Solution

Smart Source designed and built MEDcloud as a modular, multi-tenant IoT platform on .NET 10 and ASP.NET Core with Blazor Server interactive server components. The platform owns the shared infrastructure: MQTT ingestion via MQTTnet, device lifecycle management, operational state in SQL Server, historical time-series data in InfluxDB, authentication and role-based access control via Keycloak with OIDC and cookie sessions, and a modular access model that controls which organisations and roles can access which modules and devices.

The architectural principle is a clean separation of concerns: the platform handles the infrastructure, each module handles its own domain. MEDGuard as a web module owns its UI, day/night semantics, camera views, and user flows — while consuming the platform's shared services for authentication, real-time data, state management, and analytics.

MEDGuard was rebuilt as a Blazor Server module with the following capabilities:

The data architecture follows a clear two-layer model: SQL Server holds the latest operational state per device for instant reads, while InfluxDB stores the full historical time-series record. InfluxDB writes are handled by an external MQTT-to-InfluxDB bridge with clearly defined contracts between the writer (bridge) and reader (portal) for measurement series, tags, and fields.

The platform is containerisation-ready with a multi-stage Docker build — SDK container for build/publish, ASP.NET runtime container for execution — and supports reverse proxy scenarios via environment-driven configuration.

Smart Source was responsible for the full platform architecture, backend, frontend, data layer, integration contracts, and deployment model.

Key capabilities delivered

Technologies used

C# · .NET 10 · ASP.NET Core · Blazor Server · MQTTnet · MQTT over TLS · InfluxDB · SQL Server · Dapper · Keycloak (OIDC) · Leaflet · Chart.js · MudBlazor · NLog · Swagger · Docker · Azure DevOps

The Result

The MEDcloud platform gave Mediateknik AB a scalable, shared foundation for their entire connected product portfolio — replacing a fragmented collection of standalone applications with a unified architecture where new modules can be added without rebuilding core infrastructure.

MEDguard, now running as a Blazor Server web module inside MEDCloud, delivers significantly more capability than the original mobile app: multi-device management, geospatial analytics, historical trend data, and a role-based multi-tenant access model — all built on shared platform services rather than duplicated logic.

Key outcomes

About Mediateknik AB

Mediateknik i Varberg AB is a Swedish specialist in broadband connectivity, AI-driven camera surveillance, and connected safety systems. Through their proprietary MEDcloud platform and product family — including MEDguard and MEDrecycle — they serve clients across 12 industries including construction, industry, logistics, and the public sector. Smart Source has been Mediateknik's development partner across the full MEDcloud platform, MEDguard mobile app, and MEDrecycle IoT dashboard.

Contact
Mikael Strand

Co-founder & Senior Project Manager

persons imgs

Our happy clients

Want To Be Updated About Smart Source?

Sign up for the Smart Source newsletter and get the latest news and offers sent directly to your inbox.