JosephGuadagno.net

Microsoft Visual C# MVP, Vice President of INETA North America, and Founder of Southeast Valley .NET User Group

jQuery Twitter Bootstrap Flickr Carousel

A few months ago I built a jQuery plugin that uses the Twitter Bootstrap Carousel to cycle through images on Flickr. In order to use this plugin you need to get an Api Key from Flickr and have the following software:

  • jQuery (v1.8 or higher)
  • Twitter Bootstrap (v3.0 or higher)
  • Twitter Bootstrap components (v3.0 or higher)
  • twbsPagination (optional)

Sample Usage

$('#flickr-carousel').twbsFlickrCarousel(
    {tagsToSearchFor: 'mvpsummit,mvp2013,mvp13', 
    flickrApiKey: 'insert your key here', 
    paginationSelector: '#flickr-pagination'}
    );

Download the plugin from GitHub at: https://github.com/jguadagno/twbs-flickrCarousel

See an example of usage at: http://mvp2014.mvpsummitevents.info/flickr

Bootstrap Theme Switcher jQuery plugin

A few months ago a published an article on a Bootstrap Theme Switcher. I’ve since approved this post and the JavaScript and turned it into a jQuery plugin. This plugin works with the Bootswatch API to provide the user the following:

  • Loads a list of available themes from the API into a SELECT or a UL,
  • Dynamically change the site theme to the selected theme
  • Manually change the theme
  • Save the selected theme to a cookie, requires the jQuery Cookie plugin,
  • Loads the selected theme from a cookie, requires the jQuery Cookie plugin,

The plugin also allows you to load of list of local themes in case you to note want to use the Bootswatch site.

Let me know what you think.

Downloads

jQuery Plugin page
http://plugins.jquery.com/bootstrapThemeSwitcher/
GitHub Repository
http://github.com/jguadagno/bootstrapThemeSwitcher
Demo site
http://introtobootstrap.azurewebsites.net/

Next steps

  • NuGet Package
  • NPM module
  • Bower module

Taking the “Leap” to Everleap

For the past 5+ years I’ve had a few different sites hosted at Discount ASP.NET, this site being one of them. Recently, Discount ASP.NET released a new product in the web hosting arena, Everleap. Everleap is a new cloud based hosting solution.  I know, the word “cloud” is massively overused nowadays.  Everleap differs from other solutions as it uses the Windows Azure Pack for it’s services. The Windows Azure Pack is the same technology that Microsoft uses to run their own Windows Azure hosting platform. Microsoft has made Azure technologies available to their partners so they can build public and private cloud offerings that run in the their own data centers. For more on the Windows Azure Pack check out http://www.everleap.com/cloud-hosting/features/azure-pack-hosting/

The move to Everleap

The move to Everleap was easy considering I already had my site on Discount ASP.NET

  1. Open up an Everleap account: Cloud Websites or Multi-Domain Cloud
  2. Create a Discount ASP.NET support ticket requesting the move
  3. In a few hours or so, the new sites were created and moved over. They even updated web.config with the new database connection strings and smtp settings.
  4. If you do not use Discount ASP.NET to register your domains, you will have to log in to your registrar to update the DNS servers to point to the new Everleap DNS servers.

That was it.

If you need a scalable site where you can increase and decrease the number of servers as needed and want predicable billing, Everleap might be the solution for you.

Disclaimer: I was given a free Everleap account to host this site and other community sites that I run like Desert Code Camp. This is not a sponsored post.

Book Review: Designing Evolvable Web APIs with ASP.NET

When I first learned about this book I could not wait to get my hands on it for two reasons.  One, my current work project involves designing an API for an application to “talk” to a wide variety of systems. The second is one of the authors, Glenn Block. I’ve known Glenn for a while. I’ve seen him present, I’ve talked with him, read his blog posts and knew the book would not disappoint and it did not.

The book starts off with covering the HTTP protocol, then moves into the different types of API styles like the Richardson Maturity Model, RPC, REST and others. The authors do this to give the readers an understanding of how the web works and why the Web API framework in ASP.NET is the way it is. The authors describe, in depth, building out an API, versioning it, applying security, formatting responses and talk about testability of an API.

In short, this book is a must have for anyone working on or designing any API.

Disclaimer: I was given a copy of this book in the hopes that I would review it. I only post reviews on books that I think would provide some benefit to the development community.

Get Designing Evolvable Web APIs with ASP.NET on Amazon.

Book Review: Visual Studio 2013 Cookbook

When I first looked at the title of the book Visual Studio 2013 Cookbook I wondered what it could be about.  You can’t cook with Visual Studio, at least not yet :) . It turns out that, outside of two chapters, the book is an series of getting started guides with topics the are new(ish) to Visual Studio 2013. It is not a bad thing. If you are getting started with using Visual Studio 2013 or Team Foundation Server or .NET 4.5.x, this book provides a good overview of the new features in Visual Studio and version 4.5.x of the .NET Framework.

Disclaimer: I was given a copy of this book in the hopes that I would review it. I only post reviews on books that I think would provide some benefit to the development community.

Get Visual Studio 2013 Cookbook on Amazon.