Add comprehensive sample demo application and tutorial for Optimizely C# SDK #385
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds a complete sample demo application with comprehensive documentation to help developers get started with the Optimizely C# SDK quickly and effectively.
What's Added
🎯 Sample Demo Application (
SampleDemo/OptimizelySDK.SampleDemo
)A fully functional console application that demonstrates all core SDK features:
📚 Comprehensive Documentation
Why This Helps
The existing
OptimizelySDK.DemoApp
is a valuable ASP.NET MVC application, but it has some limitations for learning:This new sample demo addresses these issues by providing:
Demo Scenario
The demo simulates an e-commerce application testing different product sorting algorithms:
This scenario is easy to understand and demonstrates key concepts like user bucketing, variation handling, and conversion tracking.
Usage
cd SampleDemo/OptimizelySDK.SampleDemo dotnet run
The demo includes sample users with different attributes and shows how they get bucketed into variations, plus demonstrates event tracking with realistic revenue data.
Learning Path
QUICKSTART.md
for immediate resultsTUTORIAL.md
for comprehensive understandingREADME.md
for detailed explanations and customization optionsOptimizelySDK.DemoApp
for web-specific patternsThis provides a clear progression from simple console demo to full web application, making the SDK accessible to developers at all skill levels.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.