WEBCON.SDK 2027.1.1.21

dotnet add package WEBCON.SDK --version 2027.1.1.21
                    
NuGet\Install-Package WEBCON.SDK -Version 2027.1.1.21
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="WEBCON.SDK" Version="2027.1.1.21" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="WEBCON.SDK" Version="2027.1.1.21" />
                    
Directory.Packages.props
<PackageReference Include="WEBCON.SDK" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add WEBCON.SDK --version 2027.1.1.21
                    
#r "nuget: WEBCON.SDK, 2027.1.1.21"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package WEBCON.SDK@2027.1.1.21
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=WEBCON.SDK&version=2027.1.1.21
                    
Install as a Cake Addin
#tool nuget:?package=WEBCON.SDK&version=2027.1.1.21
                    
Install as a Cake Tool

This package includes the WEBCON assemblies required to develop SDK plugins. The package version matches the WEBCON release it ships with.

You can use this package to develop the following types of plugins: -CustomAction -CustomBusinessRule -CustomDataSource -CustomAuthentication -CustomLabelTemplate -FormFieldExtension

Package id and versioning

The package id is WEBCON.SDK and does not change again.

Up to the 2026 release every WEBCON version had its own package (WEBCON.BPS.2026.SDK.Libraries), so moving a plugin to a newer release meant pointing the reference at a new id. This package is the last such change: from 2027 the id stays put and the release is carried by the version alone.

2027.1.0.<build>

2027.1 is the WEBCON release the assemblies come from. To move a plugin to a newer release, change the version - the id stays the same.

Which version to pick is your call, not ours: a plugin must run on the WEBCON version your customer has. The Visual Studio project template asks for it when the project is created and writes the exact version into the project file. Pick the oldest release you need to support - see API stability below for why that direction is the safe one.

API stability

The public surface of WebCon.WorkFlow.SDK.dll is append-only. Once a signature ships it is not changed or removed, so a plugin built against an older release keeps loading on a newer host. New capabilities arrive as new members or new overloads next to the existing ones.

The guarantee starts with 2027 R1. 2027 R1 itself still changes and removes members of the 2026 SDK - they are listed in its release notes - and a plugin built against 2026 that uses any of them has to be rebuilt against 2027 R1.

Deprecation

A member marked [Obsolete] still works. The attribute message names the replacement and means the member is scheduled for removal in a future release, no earlier than the announced deprecation window. Migrate when you next touch the plugin - do not wait for the removal.

Removals are published with the release that performs them.

Consents

A plugin declares in the package manifest what it needs access to. The administrator sees the declaration when the package is uploaded. In 2027 R1 nothing is blocked at run time - the declaration is reviewed, not enforced - but the upload is rejected when a sensitive or privileged consent has no reason, or when a consent id differs from a known one only in letter case.

Declare consents on the plugin entry that needs them, including what the plugin needs from shared libraries in the package. A consents node at the package level is ignored.

{
  "extensions": [
    {
      "guid": "...",
      "name": "Invoice import",
      "type": "CustomAction",
      "consents": {
        "documents:write": {},
        "security:bypass": { "reason": "Reads the invoice in a service context during the nightly import" }
      }
    }
  ]
}

reason tells the administrator why the plugin needs the consent. It is required for sensitive and privileged consents - the package is rejected without it.

id level
documents:read normal
documents:write normal
attachments:read normal
attachments:write sensitive
identity:read sensitive
datasources:read normal
connections:credentials privileged
network:outbound sensitive
filesystem sensitive
database:access privileged
security:bypass privileged

The list only grows. An id is never removed, and its level is never raised. An id this host does not know is accepted, so a package built for a newer release still uploads to an older one.

Operations that skip the current user's permission checks need security:bypass in addition to the consent of the regular operation. In DocumentsManager, DocumentAttachmentsManager and CustomFilesManager they are separate methods with the WithAdminPrivileges suffix, for example GetDocumentByIdWithAdminPrivilegesAsync. In parameter objects they are the SkipPermissionsCheck flags (SkipPermissionCheck in RemoveAttachmentParams) and the OverridenAuthor / OverridenModifier properties - the consent is needed when the plugin sets them. SqlExecutionHelper is the exception: its WithAdminPrivileges methods are covered by database:access, which already includes bypassing permissions.

Up to the 2026 release the same was done with a skipPermissionsCheck parameter of DocumentsManager.GetDocumentByIdAsync, TryGetDocumentByIdAsync, GetDocumentByInstanceNumberAsync, TryGetDocumentByInstanceNumberAsync, DeleteDocumentAsync, DocumentAttachmentsManager.GetAttachmentAsync and CustomFilesManager.GetFileAsync. A plugin built against 2026 that calls any of them has to be rebuilt, even if it never passed true - the default value is compiled into the plugin, so it still calls the removed signature. When rebuilding, replace calls that passed true with the WithAdminPrivileges method and drop the argument from the others.

Filling consents from the code

The package can fill consents for you. In Visual Studio click Consents on the WEBCON SDK Tools toolbar; elsewhere run in the project directory:

dotnet build -t:WebconConsents

The tool builds the project in Release and follows the calls from each plugin class through your own code: the plugin assemblies, every assembly of the package that references the WEBCON SDK and every assembly signed with the same key as a plugin assembly. The package is the plugin assemblies and the libraries listed in dependencies - the same files the Publish command packs. It adds to the plugin's entry:

  • the consents of the SDK methods the plugin reaches;
  • network:outbound, filesystem and database:access when your own code goes to the network, to files or to a database directly - through HttpClient, File, FileStream, DbConnection and similar. new FileInfo(...) and new DirectoryInfo(...) count as file access; to work only with a file name, use Path.GetExtension, Path.GetFileName and similar.

A sensitive or privileged consent is added with an empty reason - fill it in, the upload is rejected without it. Existing entries and reasons are kept; comments in the manifest are not. A declared SDK consent the code no longer needs is reported, not removed.

The tool does not read the code of third-party libraries. When a library of the package uses the network, files or a database (for example an API client that sends HTTP requests), the tool does not add the consent - it reports the library and the .NET API it uses, and you decide whether the plugin uses that feature. Code reached by reflection or native code, and libraries the host provides (not shipped in the package), are not analyzed.

The messages are build warnings, in the language of the build (Visual Studio or DOTNET_CLI_UI_LANGUAGE). With the Consents button they appear in the WEBCON SDK Tools window, not in the Error List.

The project must build for a single target framework, and the manifest must list the package libraries in dependencies. To analyze a configuration other than Release, set the WebconConsentsConfiguration property.

Package manifest

From 2027 R1 the manifest can describe the package itself, and its texts can be translated.

{
  "$schema": "https://developer.webcon.com/schemas/package-manifest/v1/package-manifest.schema.json",
  "package": {
    "guid": "3f2c9a1e-7b4d-4e8a-9c61-0d5e2f8b7a43",
    "name": { "default": "Integracja SAP", "translations": { "en": "SAP Integration", "de": "SAP-Integration" } },
    "description": "Dwukierunkowa integracja obiegow faktur z SAP S/4HANA.",
    "version": "3.2.1",
    "url": "https://example.com/docs/sap",
    "icon": "logo.png",
    "author": { "name": "Example Partner", "email": "support@example.com", "url": "https://example.com" }
  },
  "extensions": [ ... ]
}
  • $schema lets Visual Studio, Visual Studio Code and Rider suggest the fields and point out mistakes while you edit the manifest. The project template adds it. Hosts ignore it, and without access to the address the editor only stops suggesting. New fields are added to the same address - v1 changes only with an incompatible change of the format.
  • package.guid identifies the product and stays the same across its versions. The project template generates it - do not copy it between packages.
  • package.version is the version of the package in SemVer format.
  • url, author and icon are optional.
  • icon is the file name of the package logo. Keep the file next to the manifest - the publish command of WEBCON SDK Tools copies it to the root of the package zip. PNG or JPEG, square, from 128x128 to 512x512 px (256x256 recommended), up to 256 KB. The project template leaves it empty, which means no logo. A logo that breaks these rules does not block the upload of the package.
  • Every text - name and description of the package and of each plugin, and reason of a consent - is either a plain string or an object with a default text and translations keyed by a two-letter language code (pl, en, de). A plain string stays valid. A plugin name can have up to 255 characters in every language.
  • The version node with the WEBCON release number is no longer read. Remove it from the manifest.
  • serviceDependenciesPaths and portalDependenciesPaths are no longer supported - the service and the portal run on the same .NET. Remove them from the manifest and list the assemblies in dependencies.

Library list (bom.json)

Every build of a project that references this package writes bom.json to the output folder, next to the plugin assemblies. It lists the NuGet packages copied to the output, with their versions and licenses, in CycloneDX 1.6 format, so the plugin package can be checked for known vulnerabilities, for example with snyk sbom test --file=bom.json or osv-scanner scan source -L bom.json.

  • Put bom.json into the package zip next to the manifest. The publish command of WEBCON SDK Tools does it for you.
  • Reference this package directly in the plugin project. When it only comes through another project of yours, the list is written for that project, not for the plugin.
  • Only assemblies that come from NuGet packages are listed. The project template sets CopyLocalLockFileAssemblies, so that they are copied to the output folder. Libraries bundled into JS custom controls (.bpspkg) are not listed.
  • To turn the list off, set <WebconBomDisabled>true</WebconBomDisabled> in the project file. You can replace the file with the output of your own generator, as long as it is CycloneDX JSON with a purl for every component.

Documentation and guides: https://developer.webcon.com

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2027.1.1.21 61 11/25/2026