https://github.com/splitio/example-dotnet
https://github.com/splitio/example-dotnet
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/splitio/example-dotnet
- Owner: splitio
- Created: 2023-05-10T13:41:13.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-05-10T14:13:49.000Z (over 2 years ago)
- Last Synced: 2024-12-21T14:38:26.929Z (about 1 year ago)
- Language: HTML
- Size: 889 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Example Demo application to show Split .NET SDK
This is a single page that shows how to set up the .NET SDK. Follow the instructions below to make the changes
needed using the information obtained from Split user interface.
### Get started
* Log in to Split user interface, go to the "Admin Tab" -> "API keys" and copy an SDK key.
* Paste your SDK key, in `sdkKey` variable in SplitioInitializer.cs
* Create a feature flag and assign its name to the variable `featureFlagName` in Index.cshtml.cs
* Run your application, open your browser and you should see the treatment for the feature flag specified.
You can also set a value for `featureFlagName` and `userKey`, using url parameters as follows:
[http://localhost:7113?featureFlagName=test-net&userKey=test-id](http://localhost:7113?featureFlagName=test-net&userKey=test-id)