Scott Smith

Blog Tutorials Projects Speaking RSS

Introducing Humanizer

Mehdi Khalili has a new project, a micro-framework that turns your normal strings, type names, enum fields, date fields ETC into a human friendly format.

Details on the project including samples and links can be found here: 

http://www.mehdi-khalili.com/introducing-humanizer

If you want to check out the source code or contribute, then head over to the GitHub repository:

https://github.com/MehdiK/Humanizer

Finally, a NuGet package is available here:

https://nuget.org/packages/Humanizer

Or you can install the package via the package manager console command:

1
PM> Install-Package Humanizer

JSON Web API Consumption

The web is packed full of web APIs just waiting to be consumed. Sites such as Meetup, GitHub, Twitter, LinkedIn, and Facebook to name a few all have developer APIs that can be used programmatically to consume the data contained within their site. By implementing their APIs in similar fashions using REST, JSON, and OAuth, the ease at which these APIs can be consumed is amazing.

For this post, I am going to discuss how to consume GitHub’s RESTful web API using web resources, NuGet packages, the .NET framework, and a few lines of C# code.