Geekery

Running Sitefinity in Azure Services

A couple years back, I outlined how you could get Sitefinity running on an Azure VM. However, with a new dev environment to setup, more advancements in hosting platforms, I went back to see if I could get my Sitefinity site running through the typical Azure App and Database services. Good news is you can and it’s quite simple. Continue reading “Running Sitefinity in Azure Services”

Coding

Quick Tip: Manually Run EF Migrations on External Databases

Entity Framework migrations are a great thing. They’ve made my development life a LOT easier. Automated migrations can cause problems, especially on a project with multiple developers involved. For that, we use manual migrations through the Package Manager Console.

But how do you manually run these migrations against your test (or live) server when your deployment tool doesn’t run them? If you have access to the database in question, you can add the ConnectionString and ProviderName parameters at the Package Manager Console prompt and make life a lot easier:

Update-Database -ConnectionString "MY_CONNECTION_STRING" -ConnectionProviderName "System.Data.SqlClient"

You can pull your connection string direct from your web.config transform, no special “magic” needed.

Enjoy! Continue reading “Quick Tip: Manually Run EF Migrations on External Databases”

Geekery, Life

Technical Note / Rant: Keep Core App Functionality Consistent

We’re moving into a time when most apps need to run on multiple platforms in order to be impactful and effective. I’m working from a MacBook Pro, but will often do quick followups on issues from my iPhone, or even from my Android tablet if I’m really in a bind. Sometimes I just need to borrow a web browser really quick to make sure that a certain task was completed. One of the key things to this however is to have consistent functionality across these platforms. Case in point, the current state of Microsoft Outlook. Continue reading “Technical Note / Rant: Keep Core App Functionality Consistent”