Altinn.App.Core 8.5.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Altinn.App.Core --version 8.5.0                
NuGet\Install-Package Altinn.App.Core -Version 8.5.0                
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="Altinn.App.Core" Version="8.5.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Altinn.App.Core --version 8.5.0                
#r "nuget: Altinn.App.Core, 8.5.0"                
#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.
// Install Altinn.App.Core as a Cake Addin
#addin nuget:?package=Altinn.App.Core&version=8.5.0

// Install Altinn.App.Core as a Cake Tool
#tool nuget:?package=Altinn.App.Core&version=8.5.0                

GitHub Workflow Status GitHub<br/>

NuGet / Altinn.App.Core NuGet / Altinn.App.Api

Altinn.App .NET libraries

Altinn.App .NET libraries for apps running on Altinn 3, part of the Altinn Studio product.

These libraries support the runtime of Altinn apps by

  • Exposing APIs used by service owners and the frontend (app-frontend-react) of an Altinn app
  • Exposing abstractions to interact with features of Altinn Studio and Altinn 3 Platform services

Contributing

See /CONTRIBUTING.md.

Documentation

Documentation on how to develop Altinn apps can be found here.

Architecture

This template is built using .NET

The below diagram shows the different layers.

Template

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (9)

Showing the top 5 NuGet packages that depend on Altinn.App.Core:

Package Downloads
Altinn.App.Api

This class library holds all the API controllers used by a standard Altinn 3 App.

PsA3Forms

Package Description

Altinn.Codelists

Package Description

mattilsynet.foniks.altinn.common

Felles funksjonalitet for altinnskjemaer

Altinn.FileAnalyzers

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
8.5.3 65 1/31/2025
8.5.2 220 1/27/2025
8.5.1 27 1/24/2025
8.5.0 233 1/14/2025
8.5.0-rc9 152 11/22/2024
8.5.0-rc7 106 11/21/2024
8.5.0-rc6 105 11/15/2024
8.5.0-rc5 87 11/11/2024
8.5.0-rc4 84 10/31/2024
8.5.0-rc3 75 10/28/2024
8.5.0-rc2 179 10/18/2024
8.5.0-rc16 88 1/9/2025
8.5.0-rc15 23 1/9/2025
8.5.0-rc14 96 12/20/2024
8.5.0-rc13 102 12/11/2024
8.5.0-rc12 120 12/11/2024
8.5.0-rc11 96 12/5/2024
8.5.0-rc10 299 11/26/2024
8.5.0-rc1 116 10/11/2024
8.5.0-preview.7 611 10/8/2024
8.5.0-preview.6 53 10/8/2024
8.5.0-preview.5 66 10/7/2024
8.5.0-preview.4 79 10/3/2024
8.5.0-preview.3 84 10/3/2024
8.5.0-preview.2 117 9/11/2024
8.5.0-preview.1 71 9/9/2024
8.5.0-preview.0 80 9/4/2024
8.4.0-preview.1 98 8/12/2024
8.3.8 1,773 11/8/2024
8.3.7 826 10/17/2024
8.3.5 2,204 9/25/2024
8.3.4 692 9/12/2024
8.3.3 595 8/26/2024
8.3.2 481 8/19/2024
8.3.1 328 8/7/2024
8.3.0 94 8/7/2024
8.3.0-preview.6 56 8/7/2024
8.3.0-preview.5 51 8/6/2024
8.3.0-preview.4 91 7/5/2024
8.3.0-preview.3 64 7/1/2024
8.3.0-preview.2 90 6/12/2024
8.2.8 660 7/10/2024
8.2.7 154 7/4/2024
8.2.6 157 7/3/2024
8.2.5 301 6/24/2024
8.2.4 1,039 6/13/2024
8.2.3 644 5/30/2024
8.2.2 286 5/28/2024
8.2.1 205 5/27/2024
8.2.0-preview.1 98 4/30/2024
8.1.1 785 4/26/2024
8.1.0 231 4/25/2024
8.1.0-preview.6 101 4/19/2024
8.1.0-preview.5 183 4/16/2024
8.1.0-preview.4 112 4/12/2024
8.1.0-preview.3 118 4/4/2024
8.1.0-preview.1 89 3/21/2024
8.0.0 3,690 3/6/2024
8.0.0-rc2 136 3/4/2024
8.0.0-rc1 36,122 2/27/2024
8.0.0-preview.17 265 2/15/2024
8.0.0-preview.16 224 1/30/2024
8.0.0-preview.15 136 1/22/2024
8.0.0-preview.14 322 12/21/2023
8.0.0-preview.13 540 12/8/2023
8.0.0-preview.12 117 12/6/2023
8.0.0-preview.11 933 11/27/2023
8.0.0-preview.10 10,128 10/4/2023
8.0.0-preview.9 252 8/9/2023
8.0.0-preview.8 96 8/9/2023
8.0.0-preview.7 138 6/26/2023
8.0.0-preview.6 117 6/26/2023
8.0.0-preview.5 169 6/23/2023
8.0.0-preview.4 140 6/16/2023
8.0.0-preview.3 132 6/14/2023
8.0.0-preview.2 131 6/13/2023 8.0.0-preview.2 is deprecated because it has critical bugs.
8.0.0-preview.1 160 5/22/2023 8.0.0-preview.1 is deprecated because it has critical bugs.
7.15.3 2,063 1/22/2024
7.15.2 2,905 12/13/2023
7.15.1 2,570 9/26/2023
7.15.0 1,085 9/18/2023
7.14.0 2,563 9/6/2023
7.14.0-preview.3 140 8/30/2023
7.14.0-preview.2 110 8/24/2023
7.14.0-preview.1 99 8/22/2023
7.13.1 1,024 8/8/2023
7.13.0 262 8/7/2023
7.12.0 268 7/18/2023
7.11.0 994 6/16/2023
7.10.1 1,089 6/13/2023
7.10.1-preview.6 162 6/9/2023
7.10.1-preview.5 149 6/8/2023
7.10.1-preview.4 124 6/8/2023
7.10.1-preview.3 135 6/5/2023
7.10.1-preview.2 112 6/5/2023
7.10.1-preview.1 137 6/1/2023
7.9.2 1,000 5/31/2023
7.9.1 541 5/24/2023
7.9.1-preview.1 133 5/23/2023
7.9.0 452 5/15/2023
7.9.0-preview.2 114 5/9/2023
7.9.0-preview.1 161 5/2/2023
7.8.0 2,539 4/20/2023
7.7.0 458 4/18/2023
7.7.0-preview.2 232 3/29/2023
7.7.0-preview.1 219 3/20/2023
7.6.0 1,794 2/27/2023
7.6.0-preview.2 148 2/23/2023
7.6.0-preview.1 130 2/10/2023
7.5.0 758 2/9/2023
7.4.0 480 1/31/2023
7.4.0-preview.2 168 1/25/2023
7.4.0-preview.1 153 1/24/2023
7.3.0 628 1/13/2023
7.3.0-preview.1 136 1/12/2023
7.2.1-preview.1 144 1/12/2023
7.2.0 603 1/9/2023
7.2.0-preview.9 155 1/5/2023
7.2.0-preview.8 414 12/14/2022
7.2.0-preview.7 131 12/9/2022
7.2.0-preview.6 153 12/8/2022
7.2.0-preview.5 137 12/7/2022
7.2.0-preview.4 144 12/6/2022
7.2.0-preview.3 190 11/17/2022
7.2.0-preview.2 140 11/16/2022
7.1.4 1,884 11/11/2022
7.1.4-preview.14 147 11/8/2022
7.1.4-preview.13 137 11/8/2022
7.1.4-preview.12 142 11/8/2022
7.1.4-preview.11 148 11/8/2022
7.1.4-preview.10 138 11/7/2022
7.1.4-preview.9 137 11/7/2022
7.1.4-preview.8 129 11/7/2022
7.1.4-preview.7 132 11/6/2022
7.1.4-preview.6 152 11/6/2022
7.1.4-preview.5 144 11/6/2022
7.1.4-preview.4 152 11/6/2022
7.1.4-preview.3 149 11/6/2022
7.1.4-preview.2 140 11/6/2022
7.1.4-preview.1 148 11/6/2022
7.1.2 597 11/4/2022
7.1.1 555 11/2/2022
7.1.0 572 11/1/2022
7.1.0-preview.1 214 10/21/2022
7.0.0 2,134 10/5/2022
7.0.0-preview.11 204 10/3/2022
7.0.0-preview.10 200 9/23/2022
7.0.0-preview.9 180 9/16/2022
7.0.0-preview.8 228 9/14/2022
7.0.0-preview.7 174 9/9/2022
7.0.0-preview.6 161 9/6/2022
7.0.0-preview.5 144 9/6/2022
7.0.0-preview.4 152 8/30/2022
7.0.0-preview.3 174 8/16/2022
7.0.0-preview.1.15 170 8/8/2022

Release notes look best on GitHub: https://github.com/Altinn/app-lib-dotnet/releases/tag/v8.5.0
Versjon 8.5.0 baserer seg på enkelte endringer i localtest, så hvis du oppgraderer vil appen din ikke starte før du har oppdatert localtest (husk  i kommandoen til docker)
De viktiste endringene er de følgende (se nedenfor for liste over pull requests)
* Forbedret synkronisering av endrede skjemadata mellom backend og frontend
* Nye interfaces IValidator  og IDataWriteProcessor
* Underskjema og flere datamodeller
* Støtte for å slå opp personer og organisasjoner uten å skrive egen kode
## What's Changed
### New Features 🎉
* Add an optional footer for the generated PDF by @Magnusrm in https://github.com/Altinn/app-lib-dotnet/pull/792
* Support Extra data models and subforms in validation by @ivarne in https://github.com/Altinn/app-lib-dotnet/pull/730
* Use text resource bindings to get footer title by @Magnusrm in https://github.com/Altinn/app-lib-dotnet/pull/836
* Call IDataWriteProcessor on all data element mutations and add new POST endpoint with better response type by @ivarne in https://github.com/Altinn/app-lib-dotnet/pull/853
* Implement IInstanceDataMutator.AbandonAllChanges by @ivarne in https://github.com/Altinn/app-lib-dotnet/pull/870
* Added support for displaying a text if the user is previewing the pdf by @adamhaeger in https://github.com/Altinn/app-lib-dotnet/pull/904
* Correspondence client by @danielskovli in https://github.com/Altinn/app-lib-dotnet/pull/897
* Use extension methods instead of properties for convenience methods on IInstantanceDataAccessor by @ivarne in https://github.com/Altinn/app-lib-dotnet/pull/907
* Use 'instanceandevents' endpoint when updating process state, so that process and events are updated in a single transaction by @martinothamar in https://github.com/Altinn/app-lib-dotnet/pull/937
* Endpoint for fetching current party roles by @adamhaeger in https://github.com/Altinn/app-lib-dotnet/pull/983
* Person and Organisation Lookup Controllers by @cammiida in https://github.com/Altinn/app-lib-dotnet/pull/997
* Validate that the localtest version is new enough for the app on startup by @martinothamar in https://github.com/Altinn/app-lib-dotnet/pull/1007
### Bugfixes 🐛
* Fix process history with telemetry by @ivarne in https://github.com/Altinn/app-lib-dotnet/pull/841
* Handle invalid XML chars by @martinothamar in https://github.com/Altinn/app-lib-dotnet/pull/838
* Send language to IUserAction's when running process/next by @ivarne in https://github.com/Altinn/app-lib-dotnet/pull/872
* Fix compatibility code in ActionsController to properly handle the obsolete UpdatedDataModels by @ivarne in https://github.com/Altinn/app-lib-dotnet/pull/885
* Add tests for data element Post and fix bug with AbandonChanges by @ivarne in https://github.com/Altinn/app-lib-dotnet/pull/875
* POST instance: don't attempt to parse instance from body when it's empty or not json by @ivarne in https://github.com/Altinn/app-lib-dotnet/pull/888
* use presence of org in user claims for conditionally setting read status on instance create by @chrrust in https://github.com/Altinn/app-lib-dotnet/pull/887
* Fix VerifyDataElementsUnchangedSincePreviousChanges by @ivarne in https://github.com/Altinn/app-lib-dotnet/pull/905
* Revert to using Newtonsoft.Json for parsing instance by @ivarne in https://github.com/Altinn/app-lib-dotnet/pull/910
* Fix double save in multipart requests by @ivarne in https://github.com/Altinn/app-lib-dotnet/pull/967
### Dependency Upgrades 📦
* Update dependency Verify.Xunit to v28 (main) by @renovate in https://github.com/Altinn/app-lib-dotnet/pull/891
* Update csharpier by @ivarne in https://github.com/Altinn/app-lib-dotnet/pull/917
* Update nuget non-major dependencies (main) by @renovate in https://github.com/Altinn/app-lib-dotnet/pull/747
* Update dependency MinVer to v6 (main) by @renovate in https://github.com/Altinn/app-lib-dotnet/pull/766
* Fix issues exposed by dotnet 9 sdk by @ivarne in https://github.com/Altinn/app-lib-dotnet/pull/920
* Update dependency Microsoft.Extensions.TimeProvider.Testing to v9 (main) by @renovate in https://github.com/Altinn/app-lib-dotnet/pull/949
* Update dependency Microsoft.Extensions.Diagnostics.Testing to v9 (main) by @renovate in https://github.com/Altinn/app-lib-dotnet/pull/936
* Update dependency FluentAssertions to v7 (main) by @renovate in https://github.com/Altinn/app-lib-dotnet/pull/948
* Update nuget non-major dependencies (main) by @renovate in https://github.com/Altinn/app-lib-dotnet/pull/933
* chore(deps): update dependency microsoft.featuremanagement.aspnetcore to v4 (main) by @renovate in https://github.com/Altinn/app-lib-dotnet/pull/890
* Update dependency Swashbuckle.AspNetCore to v7 (main) by @renovate in https://github.com/Altinn/app-lib-dotnet/pull/950
### Other Changes
* Add draft support for adding/removing/modifying other data elements in dataProcessWrite by @ivarne in https://github.com/Altinn/app-lib-dotnet/pull/809
* Make backend expression equals support float and long data types by @ivarne in https://github.com/Altinn/app-lib-dotnet/pull/807
* Use ApiConventions to solve enum serialization on assembly scope by @HauklandJ in https://github.com/Altinn/app-lib-dotnet/pull/784
* Add test for posting instance simplified with prefill by @martinothamar in https://github.com/Altinn/app-lib-dotnet/pull/819
* Remove default implementation from IDataWriteProcessor by @ivarne in https://github.com/Altinn/app-lib-dotnet/pull/834
* Include the full instance in single patch response by @ivarne in https://github.com/Altinn/app-lib-dotnet/pull/835
* Fix NullReferenceException when using a gateway before instance is created by @chrrust in https://github.com/Altinn/app-lib-dotnet/pull/848
* Ensure that we cleanup instances after running tests that create instances by @ivarne in https://github.com/Altinn/app-lib-dotnet/pull/855
## New Contributors
* @chrrust made their first contribution in https://github.com/Altinn/app-lib-dotnet/pull/848
* @adamhaeger made their first contribution in https://github.com/Altinn/app-lib-dotnet/pull/904
**Full Changelog**: https://github.com/Altinn/app-lib-dotnet/compare/v8.3.8...8.5.0