{"id":17224861,"url":"https://github.com/pseudomuto/is-this-on","last_synced_at":"2025-03-25T16:44:46.022Z","repository":{"id":10016934,"uuid":"12055419","full_name":"pseudomuto/is-this-on","owner":"pseudomuto","description":"A Feature Flipper for .NET Applications","archived":false,"fork":false,"pushed_at":"2013-09-16T17:26:54.000Z","size":2068,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-30T14:52:44.241Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://pseudomuto.github.io/is-this-on","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pseudomuto.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-08-12T12:31:53.000Z","updated_at":"2013-09-16T17:26:58.000Z","dependencies_parsed_at":"2022-09-01T22:23:29.872Z","dependency_job_id":null,"html_url":"https://github.com/pseudomuto/is-this-on","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pseudomuto%2Fis-this-on","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pseudomuto%2Fis-this-on/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pseudomuto%2Fis-this-on/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pseudomuto%2Fis-this-on/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pseudomuto","download_url":"https://codeload.github.com/pseudomuto/is-this-on/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245503479,"owners_count":20626167,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-15T04:12:12.893Z","updated_at":"2025-03-25T16:44:45.988Z","avatar_url":"https://github.com/pseudomuto.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Is This On? \n\n[![Build Status](https://travis-ci.org/pseudomuto/is-this-on.png)](https://travis-ci.org/pseudomuto/is-this-on)\n\nA Feature Flipper for .NET Applications.\n\n## Overview\n\nThis project aims to allow developers to employ some continuous deployment practices easily by toggling features on/off based on boolean values, percentages, user role, etc.\n\nThe see what I mean by Continuous Delivery, check out [this presentation](http://prezi.com/5zm8xplapff2/continuous-deployment/)\n\n## Usage\n\nSetup the `SwitchBoard` in your web/app config file:\n\n    \u003c?xml version=\"1.0\" encoding=\"utf-8\" ?\u003e\n  \u003cconfiguration\u003e\n    \u003cconfigSections\u003e\n      \u003csection \n        name=\"switchboard\" \n        type=\"IsThisOn.SwitchBoardConfig, \n        IsThisOn\" /\u003e\n    \u003c/configSections\u003e\n    \n    \u003cswitchboard provider=\"IsThisOn.ConfigSwitchProvider, IsThisOn\"\u003e\n      \u003cfeatures\u003e\n        \u003cswitch name=\"BoolSwitch\" type=\"IsThisOn.BoolSwitch, IsThisOn\" value=\"true\" /\u003e\n        \u003cswitch name=\"PercentageSwitch\" type=\"IsThisOn.PercentageSwitch, IsThisOn\" value=\"55.2\" /\u003e\n      \u003c/features\u003e\n    \u003c/switchboard\u003e\n  \u003c/configuration\u003e\n\nThen in your app, ask the SwitchBoard if a feature is on:\n\n    if (SwitchBoard.IsOn(\"BoolSwitch\")) {\n        // do the new thing...\n    } else {\n        // do the old thing...\n    }\n\nOr, you could (maybe should?) do both things:\n\n    if (SwitchBoard.IsOn(\"BoolSwitch\")) {\n        // do the new thing...\n    }\n    \n    // do the old thing...\n\n## Upcoming\n\n1. Many more switch types\n\n## Contributing\n\nYou know the drill...\n\n1. Fork It\n2. Change It\n3. Test It\n4. Pull It\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpseudomuto%2Fis-this-on","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpseudomuto%2Fis-this-on","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpseudomuto%2Fis-this-on/lists"}