kennybu / cityhall-dotnet Goto Github PK
View Code? Open in Web Editor NEWThis project forked from f00f-nyc/cityhall-dotnet
This project forked from f00f-nyc/cityhall-dotnet
This is the .Net/C# library for City Hall Enterprise Settings Server ABOUT This project is written in C# 4.5 and can be installed using: Install-Package CityHall USAGE The intention is to use the built-in City Hall web site for actual settings management, and then use this library for consuming those settings, in an application. As such, there are only a few commands to be familiar with: using CityHall; var asyncSettings = Settings(url, user, password); - Must be called to initiate a session with City Hall. The password should be in plaintext, it will be hashed by the library. asyncSettings.Logout(); - To be called when the session is over. asyncSettings.Get()- This should be the most common way to retrieve a value. To get the value of '/some_app/value1', use: string value = await asyncSettings.Get("/some_app/value1"); In case you need synchronous operations, the entire API is duplicated: using CityHall.Synchronous; var syncSettings = Settings(url, user, password); string value = syncSettings.Get("/some_app/value1"); You may also switch between them by using: var syncSettings = asyncSettings.SynchronousSettings(); For more in depth information about this library, please check the wiki. LICENSE City Hall source files are made available under the terms of the GNU Affero General Public License (AGPL).
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.