Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Beemer <[email protected]>
  • Loading branch information
beeme1mr authored Jan 15, 2025
1 parent 367f95c commit e05cbd0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/tutorials/getting-started/dotnet.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ dotnet build
dotnet run
```

In the logs you should see a line with the following `Now listening on: http://localhost:5251`, although the port number may differ. You can visit the following URL in your browser http://localhost:5251/hello (adjust port number as necessary) to view the hello world message. You should see the message "Hello!".
In the logs you should see a line with the following `Now listening on: http://localhost:5251`, although the port number may differ. You can visit the following URL in your browser [http://localhost:5251/hello](http://localhost:5251/hello) (adjust port number as necessary) to view the hello world message. You should see the message "Hello!".

"Why I'm I seeing that value?", you may ask. Well, it's because a provider hasn't been configured yet. Without a provider to actually evaluate flags, OpenFeature will return the default value. In the next step, you'll learn how to add a provider.

Expand All @@ -156,6 +156,7 @@ Finally, let's add the required code change to enable the flagd provider in our
using OpenFeature;
//diff-add
using OpenFeature.Contrib.Providers.Flagd
//diff-remove
using OpenFeature.Providers.Memory;

var builder = WebApplication.CreateBuilder(args);
Expand Down

0 comments on commit e05cbd0

Please sign in to comment.