From 425bca70fe31de9215a3e144b048ac92e628ff36 Mon Sep 17 00:00:00 2001 From: Andre Lafleur Date: Fri, 15 May 2026 00:58:44 +0800 Subject: [PATCH 1/5] docs: add Genetec Web Player section to root README The repository now contains three Genetec Web Player hosting samples (WPF + WebView2, ASP.NET Core Minimal API, ASP.NET Core Razor Pages) that were not described in the root README. - Update intro to acknowledge GWP samples alongside the four Security Center SDKs - Add a "Genetec Web Player Samples" section linking to per-sample READMEs - Add a row for GWP to the SDK Framework Support Matrix - Update the matrix's trailing note to reflect GWP's .NET 8 targeting --- README.md | 32 ++++++++++++++++++++++++++++++-- 1 file changed, 30 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index be542a5b..95626585 100644 --- a/README.md +++ b/README.md @@ -64,7 +64,7 @@ After setting up your environment, you can explore the sample projects in this r ## Security Center SDKs -The sample projects in this repository are organized into four main SDKs, each building upon the foundational Platform SDK: +The sample projects in this repository are organized into four Security Center SDKs (each building upon the foundational Platform SDK) and a separate collection of Genetec Web Player samples: @@ -178,6 +178,33 @@ Server-side plugin development samples that **build upon Platform SDK infrastruc See the [Plugin SDK README](Samples/Plugin%20SDK/README.md). + +### Genetec Web Player Samples (`/Genetec Web Player/`) + + + +Hosting samples for the **Genetec Web Player** (GWP), the JavaScript video player that ships with the Media Gateway. Unlike the SDK samples, these projects do not connect through the .NET Security Center SDK; they demonstrate three different application shells that load `gwp.js` from a Media Gateway and supply it with opaque camera tokens. + + + +**Hosting models demonstrated:** + +- **GwpDesktopPlayerSample**: A WPF desktop application that hosts GWP in an embedded `WebView2` control, with token retrieval performed natively in .NET. +- **GwpMinimalApiSample**: An ASP.NET Core Minimal API application that serves a static page and proxies token requests through a server-side endpoint. +- **GwpRazorPagesSample**: An ASP.NET Core Razor Pages application that adds production-ready CSP nonce support and server-rendered configuration on top of the Minimal API pattern. + + + +**Prerequisites differ from the SDK samples**: GWP samples require a reachable Media Gateway, a trusted (or development) Media Gateway certificate, and CORS configuration that allows the hosting page's origin. See each sample's README for details. + + + +See the per-sample READMEs: +- [GwpDesktopPlayerSample](Samples/Genetec%20Web%20Player/GwpDesktopPlayerSample/README.md) +- [GwpMinimalApiSample](Samples/Genetec%20Web%20Player/GwpMinimalApiSample/README.md) +- [GwpRazorPagesSample](Samples/Genetec%20Web%20Player/GwpRazorPagesSample/README.md) + + ## Sample Project Structure @@ -300,8 +327,9 @@ The following table shows which .NET frameworks are supported by each SDK: | **Media SDK** | ✅ | ❌ | .NET 8 support planned for future release | | **Workspace SDK** | ✅ | ❌ | Client applications use .NET Framework | | **Plugin SDK** | ✅ | ❌ | .NET 8 support planned for future release | +| **Genetec Web Player** | ❌ | ✅ | Targets .NET 8 only; ASP.NET Core or WPF + WebView2 | -**Important**: Only Platform SDK samples support multi-targeting. All other SDK samples target .NET Framework 4.8.1 exclusively. +**Important**: Only Platform SDK samples support multi-targeting. The other Security Center SDK samples target .NET Framework 4.8.1 exclusively, and the Genetec Web Player samples target .NET 8 exclusively. From d8958fe3ab7ca7ebdfafeea4b0fa00f471ee36d3 Mon Sep 17 00:00:00 2001 From: Andre Lafleur Date: Fri, 15 May 2026 01:08:58 +0800 Subject: [PATCH 2/5] docs: drop per-sample README links from GWP section --- README.md | 7 ------- 1 file changed, 7 deletions(-) diff --git a/README.md b/README.md index 95626585..b66e38a2 100644 --- a/README.md +++ b/README.md @@ -198,13 +198,6 @@ Hosting samples for the **Genetec Web Player** (GWP), the JavaScript video playe **Prerequisites differ from the SDK samples**: GWP samples require a reachable Media Gateway, a trusted (or development) Media Gateway certificate, and CORS configuration that allows the hosting page's origin. See each sample's README for details. - -See the per-sample READMEs: -- [GwpDesktopPlayerSample](Samples/Genetec%20Web%20Player/GwpDesktopPlayerSample/README.md) -- [GwpMinimalApiSample](Samples/Genetec%20Web%20Player/GwpMinimalApiSample/README.md) -- [GwpRazorPagesSample](Samples/Genetec%20Web%20Player/GwpRazorPagesSample/README.md) - - ## Sample Project Structure From 5086015ac75f4c55c341a2d67376f3dbbc0c948c Mon Sep 17 00:00:00 2001 From: Andre Lafleur Date: Fri, 15 May 2026 01:13:05 +0800 Subject: [PATCH 3/5] docs: remove sample names from GWP bullets to match SDK section pattern --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b66e38a2..8c9ccc4d 100644 --- a/README.md +++ b/README.md @@ -189,9 +189,9 @@ Hosting samples for the **Genetec Web Player** (GWP), the JavaScript video playe **Hosting models demonstrated:** -- **GwpDesktopPlayerSample**: A WPF desktop application that hosts GWP in an embedded `WebView2` control, with token retrieval performed natively in .NET. -- **GwpMinimalApiSample**: An ASP.NET Core Minimal API application that serves a static page and proxies token requests through a server-side endpoint. -- **GwpRazorPagesSample**: An ASP.NET Core Razor Pages application that adds production-ready CSP nonce support and server-rendered configuration on top of the Minimal API pattern. +- WPF desktop application that hosts GWP in an embedded `WebView2` control, with token retrieval performed natively in .NET +- ASP.NET Core Minimal API application that serves a static page and proxies token requests through a server-side endpoint +- ASP.NET Core Razor Pages application that adds production-ready CSP nonce support and server-rendered configuration on top of the Minimal API pattern From 552824fae42c508c2363abc8bdcf2ddebebbf3df Mon Sep 17 00:00:00 2001 From: Andre Lafleur <158597251+alafleur-genetec@users.noreply.github.com> Date: Fri, 15 May 2026 09:18:07 +0800 Subject: [PATCH 4/5] Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8c9ccc4d..2c2e68e2 100644 --- a/README.md +++ b/README.md @@ -322,7 +322,7 @@ The following table shows which .NET frameworks are supported by each SDK: | **Plugin SDK** | ✅ | ❌ | .NET 8 support planned for future release | | **Genetec Web Player** | ❌ | ✅ | Targets .NET 8 only; ASP.NET Core or WPF + WebView2 | -**Important**: Only Platform SDK samples support multi-targeting. The other Security Center SDK samples target .NET Framework 4.8.1 exclusively, and the Genetec Web Player samples target .NET 8 exclusively. +**Important**: Only Platform SDK samples support multi-targeting. Platform SDK samples may target either .NET Framework 4.8.1 or .NET 8. Media SDK, Workspace SDK, and Plugin SDK samples target .NET Framework 4.8.1 exclusively, while Genetec Web Player samples target .NET 8 exclusively. From a75cae3748ddb6dab8bb51c4b4e111c060399408 Mon Sep 17 00:00:00 2001 From: Andre Lafleur Date: Sat, 16 May 2026 11:57:30 +0800 Subject: [PATCH 5/5] docs: align GWP README with Plugin SDK net8 support --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 2c2e68e2..d1911145 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ Visit [Genetec's DAP](https://www.genetec.com/partners/sdk-dap) and join the pro - **.NET Framework 4.8.1**: The sample projects can be built using .NET Framework 4.8.1, which is supported by all versions of Security Center. -- **.NET 8**: Some sample projects can be built using .NET 8, but only with **Security Center SDK 5.12.2 or later**. Currently, only the **Platform SDK** (Genetec.Sdk.dll) supports .NET 8. +- **.NET 8**: Some sample projects can be built using .NET 8. Platform SDK samples require **Security Center SDK 5.12.2 or later**; Plugin SDK .NET 8 support applies to server modules in **Security Center 5.13 or later**; Genetec Web Player samples target .NET 8 and do not use the .NET Security Center SDK. @@ -312,17 +312,17 @@ Remember to use the appropriate version of the Security Center SDK that matches ## SDK Framework Support Matrix -The following table shows which .NET frameworks are supported by each SDK: +The following table shows which .NET frameworks are supported by each SDK or sample group: | SDK | .NET Framework 4.8.1 | .NET 8 | Notes | |-----|:-------------------:|:------:|-------| +| **Genetec Web Player** | ❌ | ✅ | Targets .NET 8 only; ASP.NET Core or WPF + WebView2 | | **Platform SDK** | ✅ | ✅ | .NET 8 requires Security Center SDK 5.12.2+ | | **Media SDK** | ✅ | ❌ | .NET 8 support planned for future release | | **Workspace SDK** | ✅ | ❌ | Client applications use .NET Framework | -| **Plugin SDK** | ✅ | ❌ | .NET 8 support planned for future release | -| **Genetec Web Player** | ❌ | ✅ | Targets .NET 8 only; ASP.NET Core or WPF + WebView2 | +| **Plugin SDK** | ✅ | ✅ | .NET 8 support for the `ServerModule` requires Security Center 5.13+. The `ClientModule` (Config Tool / Security Desk UI) targets .NET Framework only. See [Building .NET plugins](https://github.com/Genetec/DAP/wiki/plugin-sdk-net8). | -**Important**: Only Platform SDK samples support multi-targeting. Platform SDK samples may target either .NET Framework 4.8.1 or .NET 8. Media SDK, Workspace SDK, and Plugin SDK samples target .NET Framework 4.8.1 exclusively, while Genetec Web Player samples target .NET 8 exclusively. +**Important**: Only Platform SDK samples in this repository are configured to multi-target. The Plugin, Workspace, and Media SDK samples target .NET Framework 4.8.1 exclusively, even where the SDK itself supports additional runtimes (see Plugin SDK row above). @@ -442,4 +442,4 @@ While this repository is primarily for reference purposes, contributions such as -If you encounter any issues or have questions regarding the Security Center SDK or the provided samples, please reach out to the Genetec support team through the [Genetec Technical Assistance Portal](https://portal.genetec.com/). \ No newline at end of file +If you encounter any issues or have questions regarding the Security Center SDK or the provided samples, please reach out to the Genetec support team through the [Genetec Technical Assistance Portal](https://portal.genetec.com/).