Tritium Consulting

Easily updatable sidebar in Ghost

I really like the Ghost platform for blogging. It has been easy to setup and get started. I had it running locally in minutes. I even got it running on Windows in Microsoft Azure, though it did have a few challenges that I covered in my course for Pluralsight, Ghost Blogging Engine: A first look. As I have been building my own theme for this site, mostly to learn, but also to use as production site, I've run into some challenges. One of those is the ability to update the side bars without having to edit and redeploy the site. Instead I wanted to develop a strategy that uses the features of Ghost to edit the side bar. In this article, I show you how to do that simply Understanding the Challenge A typical approach to a blog is to create a sidebar that has some additional information, not directly tied to the post. As with this blog, you'll see typical items like: Featured Posts Tag Clouds Authors List These are all calculated side bars that are querying the database of blog posts. That works well, but they not changeable and only show specific data. What about the side bars ... View details »
Tritium Consulting

Building a responsive SPA with ASP.NET Core, EF Core, and Google Polymer

On May 3rd, Ken and I presented a talk to CMAP for Building a responsive SPA with ASP.NET Core, EF Core, and Google Polymer. The talk was exciting and we received a lot of questions during and after the presentation. Many of you requested the code as well. You can find the code on GitHub - CMAP Demo Code. Original Talk Details: CMAP Talk Building a responsive SPA with ASP.NET Core, EF Core, and Google Polymer By: John Brown and Ken Benjamin This talk is about developing a greenfield application as an MVP using ASP.NET Core and EF Core to provide an API for our front-end. For the front-end, we developed it using Google Polymer, Google's web component infrastructure that supports a responsive desktop and mobile application. All the technologies used both on the .NET Core and Google Polymer are new technologies and led to some interesting challenges and also some exciting new features for developers. We'll take a look at the ones we discovered during this talk. About John Brown and Ken Benjamin - John Brown is a Software Craftsman for over 2 decades working with Microsoft Technologies, specifically .NET development and VS Team Services (Team ... View details »
Tritium Consulting

Authenticate to Trello in MS Office JavaScript Add-in

Dear Microsoft, Please, please stop relying on Internet Explorer to provide web browser components. It doesn't work as expected for the rest of the Internet. It requires too many hoops to jump through. It has cost too many hours of lost productivity. And it turns out EDGE isn't much better! Sincerely, Frustrated Developers everywhere! We have all been in that situation where we realize that Microsoft's browser technology is not keeping current with the rest of Internet. Sometimes we have no choice to use it as is with Microsoft Office JavaScript Add-ins. The Problem I'm writing a small MS Office Add-in which is going to integrate with Trello. So, one of the first tasks I have is to authenticate with Trello. It would seem simple, but it turns out IE gets in the way. IE and EDGE have a security 'feature' that does not allow a postMessage to be sent between 2 windows from a different domains. Which means an OAuth postMessage from the OAuth provider never comes back to the calling window. But have hope, MS also provided another way. Setting up Oauth for Trello - Popup The setup for getting access to Trello is pretty simple, we follow ... View details »