jason-roberts / featuretoggle Goto Github PK
View Code? Open in Web Editor NEWSimple, reliable feature toggles in .NET
Home Page: http://dontcodetired.com/blog/?tag=/featuretoggle
License: Apache License 2.0
Simple, reliable feature toggles in .NET
Home Page: http://dontcodetired.com/blog/?tag=/featuretoggle
License: Apache License 2.0
Why would you use these toggles? I read through your blog posts and the wiki, but I am missing something. Would you switch to one of these toggles after using the simple toggle? Once you prove out a feature or want to remove it, you can change the toggle type to always on or always off?
Re-org tests
Migrate to xUnit.net ?
Add convention test that all toggles end with Toggle and implement IFeatureToggle ? - move all toggle to own folder/namespace
Related to #14
Want the default namespace that needs to be imported to be FeatureToggle for all 80% use cases. Features that are not/should not generally be used (or internal / infrastructure things) will be in sub namespaces
The documentation seems to imply that you can access your features staticly:
if (!MyAwesomeFeature.FeatureEnabled)
{
// code to disable stuff (e.g. UI buttons, etc)
}
But it is missing initializing the type:
if (!new MyAwesomeFeature().FeatureEnabled)
{
// code to disable stuff (e.g. UI buttons, etc)
}
https://github.com/blog/1547-release-your-software
Might be better than https://github.com/jason-roberts/FeatureToggle/blob/master/Release-Notes.md, unless that is also being used for the NuGet package
Need to choose either a locale-aware or fixed date time string in web/app configs
Not having the key defined in AppSettings should default it to false, so that you do not expose those information to customers which might look at the file
Create a base toggle that allows the derived toggle classes to provide a Func delegate to determine feature enabled. Not sure if this is worth doing as you can just implement the toggle interface and provide custom logic anyway
Instead of the separate repo https://github.com/jason-roberts/FeatureToggle.Docs
The URL would then be http://jason-roberts.github.io/FeatureToggle
The branch can be setup as an orphan rather than deleting all the content in the new branch and adding (which creates a weird commit history)
Better packaging for win8 & winphone?
Add wpf extensions nuget into wpf nuget target?
How do we use this feature - it looks like this functionality is missing
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.