Hey there. Today I took a gander at my DreamInCode library I released for .NET and decided to merge it over to Github.
https://github.com/s...DreamInCode.Net
The source code is very easy to follow and hopefully I managed to clean out a lot of the crap and over engineering I managed to cram in the previous version.
This time it's simple, clean and barebones.
There's a NuGet Package!
http://nuget.org/Lis...DreamInCode.Net

Using it in Visual Studio 2010.
You just have to right click and select Manage NuGet Packages. Then search for DreamInCode and you'll find it.

Usage of the library is very straightforward.
Hopefully you guys use it and some more .NET applications for us Windows users. I smell a DIC messenger maybe? :)
Let me know what you think and if you want to contribute feel free to pull request me on Github.
https://github.com/s...DreamInCode.Net
The source code is very easy to follow and hopefully I managed to clean out a lot of the crap and over engineering I managed to cram in the previous version.
This time it's simple, clean and barebones.
There's a NuGet Package!
http://nuget.org/Lis...DreamInCode.Net
Using it in Visual Studio 2010.
You just have to right click and select Manage NuGet Packages. Then search for DreamInCode and you'll find it.
Usage of the library is very straightforward.
/* The UserRepository class is what you'll use to fetch information from the API. */
UserRepository userRepository = new UserRepository();
/* You can search for users by giving the repository a numerical ID. */
var user = userRepository.FindUserById(335389);
/* Accessing the information is very easy and intuitive. */
Console.WriteLine(user.UserProfileId);
Console.WriteLine(user.Name);
Console.WriteLine(user.Rating);
Console.WriteLine(user.Reputation);
Console.WriteLine(user.JoinDate);
Console.WriteLine(user.PostCount);
/* Their friends are already loaded into the User object! */
foreach (var friend in user.Friends)
{
Console.WriteLine("{0} - {1}", friend.FriendId, friend.Name);
}
/* So are their visitors! */
foreach (var visitor in user.Visitors)
{
Console.WriteLine("{0} visited on: {1}", visitor.Name, visitor.TimeOfLastVisit);
}
Console.ReadKey(true);
Hopefully you guys use it and some more .NET applications for us Windows users. I smell a DIC messenger maybe? :)
Let me know what you think and if you want to contribute feel free to pull request me on Github.
3 Comments On This Entry
Page 1 of 1
Gavisann
11 September 2011 - 04:32 PM
Nice job! I have playing with it for a few minutes and I like it.
Page 1 of 1
Trackbacks for this entry [ Trackback URL ]
0 user(s) viewing
0 Guests
0 member(s)
0 anonymous member(s)
0 member(s)
0 anonymous member(s)
About Me

Bienvenidos! I'm a USA ex-pat living in Bolivia for the past 10 years. Web development is my forte with a heavy lean for usability and optimization. I'm fluent in both English and Spanish. I guest write for the popular Python website Python Central. Visit my website.
My Blog Links
Recent Entries
-
DevOps for dummies - VPS Configuration from scratch - Rails, Nginx, PostgreSQL.
on May 22 2013 02:36 PM
-
-
-
-
How to create a signature form for iPad and mobile devices using HTML5 and Canvas.
on Nov 27 2012 08:15 AM
Recent Comments
-
Sergio Tapia
on Yesterday, 12:33 PM
DevOps for dummies - VPS Configuration from scratch - Rails, Nginx, PostgreSQL.
-
Lemur
on May 23 2013 04:53 PM
DevOps for dummies - VPS Configuration from scratch - Rails, Nginx, PostgreSQL.
-
laytonsdad
on Apr 30 2013 11:30 AM
Dream.In.Code Badge Generator! Share your flair on your site or blog.
-
-
Jstall
on Nov 04 2012 09:18 AM
The Pragmatic Bookshelf mega blowout sale - 40% off select Ruby on Rails books.
Categories
|
|



3 Comments








|