Last active
December 27, 2022 16:24
-
-
Save crjcodes/ca2dda912dc9cde200dde57d63f1fd39 to your computer and use it in GitHub Desktop.
Pull your own json into the app configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var builder = WebApplication.CreateBuilder(args); | |
builder.Configuration.AddJsonFile("mockdata.json"); | |
builder.Services.AddEndpointsApiExplorer(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment