This session begins the exploration of using SMART FHIR servers from C#.
- SMART C# With a Local Server Part 01
- SMART C# With a Local Server Part 02
- SMART C# With a Local Server Part 03
- SMART C# With a Local Server Part 04
- SMART C# With a Local Server Part 05
- Part 1: Setup
- Project goals
- Access a SMART FHIR Server
- Use a local web server for redirection
- Create repo
- Install NuGet Packages
- Project goals
- Part 2: Discovering SMART
- Via FHIR metadata
- Via .well-known
- Part 3: Setting up a webserver
- Basic setup
- Determining port
- Running in the background
- Part 4: Completing a flow
- Launch authorization
- Receive code
- Exchange code for Token
- Part 5: Using a Token
- Parsing the SMART return
- Using a Token with a FHIRClient
- Hl7.Fhir.R4
dotnet add package Hl7.Fhir.R4 --version 1.9.0
- Microsoft.AspNetCore.App
dotnet add package Microsoft.AspNetCore.App --version 2.2.8
- Microsoft.AspNetCore.Cors
dotnet add package Microsoft.AspNetCore.Cors --version 2.2.0
- Microsoft.AspNetCore.Razor.Design
dotnet add package Microsoft.AspNetCore.Razor.Design --version 2.2.0
- Microsoft.Extensions.Configuration
dotnet add package Microsoft.Extensions.Configuration --version 3.1.9
- Microsoft.Extensions.Configuration.EnvironmentVariables
dotnet add package Microsoft.Extensions.Configuration.EnvironmentVariables --version 3.1.9
- Microsoft.Extensions.Configuration.Json
dotnet add package Microsoft.Extensions.Configuration.Json --version 3.1.9
- System.CommandLine.DragonFruit
dotnet add package System.CommandLine.DragonFruit --version 0.3.0-alpha.20371.2