<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Carlioth]]></title><description><![CDATA[Landing page for Henrik Carlioth's online profile]]></description><link>http://carlioth.se/</link><generator>Ghost v0.4.0</generator><lastBuildDate>Sun, 05 Apr 2026 01:10:32 GMT</lastBuildDate><atom:link href="http://carlioth.se/rss/" rel="self" type="application/rss+xml"/><author><![CDATA[Henrik Carlioth]]></author><ttl>60</ttl><item><title><![CDATA[Lock in SQL Azure database]]></title><description><![CDATA[<p>When doing a minor change in one of the tables in our sql azure database in the web manager, the webpage froze on save.</p>

<p>No worries, we just execute the query in the ordinary way, via MSSQL management studio. But this wasn't working either, just a spinning executing query.</p>

<p>The web had been able to lock the database.</p>

<p>&nbsp;</p>

<p>We tried  sp_who2, to get more information about the lock. Turns out that this doesn't work in sql azure.</p>

<p>&nbsp;</p>

<p>After googeling around we found the following two views being able to help:</p>

<p><strong>select * from sys.dm<em>tran</em>locks where request_lifetime &gt; 1</strong></p>

<p><strong>select * from sys.dm<em>exec</em>connections order by session_id</strong></p>

<p>&nbsp;</p>

<p>Looking at the result it was clear in the elapsed time which session that was holding the lock.</p>

<p>Kill it with the following command:</p>

<p><strong>KILL <em>sessionId</em></strong></p>

<p>&nbsp;</p>]]></description><link>http://carlioth.se/lock-sql-azure-database/</link><guid isPermaLink="false">6de6a476-bd42-4e2e-b4bf-0a4dc7642207</guid><category><![CDATA[MSSQL]]></category><category><![CDATA[Azure]]></category><dc:creator><![CDATA[Henrik Carlioth]]></dc:creator><pubDate>Tue, 22 Oct 2013 08:33:38 GMT</pubDate></item><item><title><![CDATA[Software to handle software support]]></title><description><![CDATA[<p>We migrated all our code from svn to a local tfs a couple of years ago.</p>

<p>Since we are a small company we soon released the handling servers and installing patches and updates isn't our thing.</p>

<p>We made the move to TFS Azure when it was still in a beta state, but we still thought it was working good enough for us.</p>

<p>As we grew as a company we started to work more and more with agile principles, and Scrum became our main philosophy. Then we needed a system that could handle these requirements. Luckily TFS Azure had grown and now a Scrum work template was available. We where able to move all our backlog items and task, and a nice scrum board online.</p>

<p>This was working good for us with some smaller issues with the burndown chart. This was during the beginning of our development cycles. A lot of new functionality came, and with that some bugs that we kept track of.</p>

<p>Today we have two customers using the product that we build, and along with that comes <strong>support</strong>.</p>

<p>Now the TFS Azure isn't the software we are looking for to handle the support tickets. We need something that is a facade in front of TFS, that a support organization can work with, that handles SLA, Customers, centralizes all communications, customer satisfactory.</p>

<p>After a good look around I now decided to try  <a title="Zendesk" href='http://www.zendesk.com/'  target="_blank"><strong>Zendesk</strong></a></p>

<p>We will start our trial, with 3 support agents tomorrow, and I will get back with my review.</p>]]></description><link>http://carlioth.se/software-handle-software-support/</link><guid isPermaLink="false">cbb7dbd2-33bb-4c9d-a52b-95740078c4f0</guid><category><![CDATA[development]]></category><category><![CDATA[TFS]]></category><category><![CDATA[Zendesk]]></category><dc:creator><![CDATA[Henrik Carlioth]]></dc:creator><pubDate>Tue, 17 Sep 2013 18:14:03 GMT</pubDate></item><item><title><![CDATA[Migrating to Azure - Part 1 - Mysql on virtual mashine]]></title><description><![CDATA[<p>We are hosting aproximatly 30% Php sites, and 70% Asp.net sites.</p>

<p>Since I've done a fair bit of migrations of asp.net sites I decided to start with php and the Mysql databases.</p>

<p>I don't like the payment modell for ClearDB, I still think it's too expensive. So I've created a new virtual mashine with Windows server 2012, and installer the windows version of Mysql.</p>

<p>I followed this guide: <a href='http://www.windowsazure.com/en-us/manage/windows/common-tasks/install-mysql/' >http://www.windowsazure.com/en-us/manage/windows/common-tasks/install-mysql/</a></p>

<p>It's kind of outdates since Mysql installation doesn't look a bit like the guide, but you could still follow the instructions without any problems.</p>

<p>When I was all done, and had imported out databases I tried to connect to the database from one of our websites. This wasn't working!</p>

<p>I first thought about the firewalls, and I had done like the guide instructed to, open an endpoint for Mysql, as well as opened Mysql in Windows server firewall. It was when I had a closer look at the firewall rules I saw that it had only opened the port for Mysql in the Domain, and not public. As soon as I changed this everything worked fine!</p>

<p>Highlighted needs to be set to All or Public in order to work remotely:</p>

<p><a href='http://carliothblog.blob.core.windows.net/blog/2013/09/mysqlfirewall.jpg' ><img class="alignnone size-full wp-image-742" alt="mysqlfirewall" src='http://carliothblog.blob.core.windows.net/blog/2013/09/mysqlfirewall.jpg'  width="1347" height="566" /></a></p>

<p>[highlight color="black]Summary: 1 Database, and 1 site migrated successfully. [/highlight]</p>]]></description><link>http://carlioth.se/migrating-azure-part-1-mysql-virtual-mashine/</link><guid isPermaLink="false">1bce0c24-924e-4ea2-99bd-f53e99ec9b80</guid><category><![CDATA[Azure]]></category><category><![CDATA[Mysql]]></category><category><![CDATA[virtual mashine]]></category><category><![CDATA[php]]></category><dc:creator><![CDATA[Henrik Carlioth]]></dc:creator><pubDate>Thu, 05 Sep 2013 19:13:33 GMT</pubDate></item><item><title><![CDATA[Azure LocalSTS not handling authentication]]></title><description><![CDATA[<p>We are using Azure Access controll or ACS to handle logins to our application. But we dont want to keep validate against the live one everytime we debug, so localsts to the rescue.</p>

<p>LocalSTS which is shipped via the extension "Identity and access tool" is a fake Access control, this way I can keep trying different scenarios with login. The extension can be found here: <a href='http://visualstudiogallery.msdn.microsoft.com/e21bf653-dfe1-4d81-b3d3-795cb104066e' >http://visualstudiogallery.msdn.microsoft.com/e21bf653-dfe1-4d81-b3d3-795cb104066e</a></p>

<p>[separator top="40" style="dotted"]</p>

<p>But today I got an issue with the Local STS, it didn't want to give me any fake tokens. We had recently made a new branch and one guy in the team had no problems with the Local STS.</p>

<p>&nbsp;</p>

<p>After a couple of hours, trying to find any difference in our solutions I found one critical difference:</p>

<p><a href='http://carliothblog.blob.core.windows.net/blog/2013/09/saveportinsourcecontroll.png' ><img class="alignnone size-full wp-image-702" alt="" src='http://carliothblog.blob.core.windows.net/blog/2013/09/saveportinsourcecontroll.png'  width="552" height="484" /></a></p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>We had to run with IIS Express in order for Local STS to work.</p>

<p>This was working on my colleagues mashine, but since he hadn't checked the checkbox apply server settings to all users, so it was saved to the project file and version controlled, I had different settings.</p>

<p>&nbsp;</p>]]></description><link>http://carlioth.se/azure-localsts-problems/</link><guid isPermaLink="false">56e28076-936c-43d6-98ad-8fd2647438f1</guid><category><![CDATA[localsts]]></category><category><![CDATA[authentication]]></category><category><![CDATA[Azure]]></category><dc:creator><![CDATA[Henrik Carlioth]]></dc:creator><pubDate>Wed, 04 Sep 2013 18:24:55 GMT</pubDate></item><item><title><![CDATA[Coding Kata and major Migrations]]></title><description><![CDATA[<p>Back to work, and a major change of mindset.</p>

<p>After two month of holidy / parental leave you go back in the coding world, and trying to start where you left.</p>

<p>&nbsp;</p>

<p>To warm up my coding skills I had a look at some Code Kata for .net found here: <a href='http://codingkata.net/' >http://codingkata.net/</a></p>

<p>&nbsp;</p>

<p>I also did some reading up on patterns, which is greatly explained and implemented here: <a href='http://dotnetcodr.com/' >http://dotnetcodr.com/</a></p>

<p>&nbsp;</p>

<p>My next big project is to migrate a local web server to Azure. Right now I'm in the planing stages of figuring out if I should use Azure websites, or cloud services. Either way I will need to setup a virtual mashine running Mysql, as well as leveraging Sql Azure for Mssql.</p>

<p>To be continued on the Azure project.</p>]]></description><link>http://carlioth.se/coding-kata-major-migrations/</link><guid isPermaLink="false">4dba2297-1a21-4227-953d-1f751b103296</guid><category><![CDATA[Azure]]></category><category><![CDATA[Kata]]></category><category><![CDATA[Learning]]></category><dc:creator><![CDATA[Henrik Carlioth]]></dc:creator><pubDate>Tue, 03 Sep 2013 19:49:56 GMT</pubDate></item><item><title><![CDATA[Spellcheck for Visual Studio 2012]]></title><description><![CDATA[<p>I've always tried to code in English even thou the code probably never would be seen by anyone that couldn't understand Swedish. A good practice but sometimes a word comes up that you might be unsure of how it should be spelled, or you are in a hurry and makes an error. This is why I'm so glad I found a spell check plugin for Visual Studio.</p>

<p>Screenshot from the app:</p>

<p><a href='http://carliothblog.blob.core.windows.net/blog/2013/08/spellcheck.png' ><img class="alignnone size-medium wp-image-592" alt="Visual studio plugin" src='http://carliothblog.blob.core.windows.net/blog/2013/08/spellcheck-300x240.png'  width="300" height="240" /></a></p>

<p>&nbsp;</p>

<p>&nbsp;</p>

<p>Go check it out and download it here: <a href='http://visualstudiogallery.msdn.microsoft.com/86788d02-ce1e-4933-b499-cdba6a70f26f' >http://visualstudiogallery.msdn.microsoft.com/86788d02-ce1e-4933-b499-cdba6a70f26f</a></p>

<p>&nbsp;</p>]]></description><link>http://carlioth.se/spellcheck-visual-studio-2012/</link><guid isPermaLink="false">00c62a8d-efe4-43c5-b0c4-181c4e6a98dd</guid><category><![CDATA[visual studio]]></category><category><![CDATA[tips]]></category><category><![CDATA[plugin]]></category><dc:creator><![CDATA[Henrik Carlioth]]></dc:creator><pubDate>Tue, 27 Aug 2013 22:45:13 GMT</pubDate></item><item><title><![CDATA[Configuring Wordpress]]></title><description><![CDATA[<p>Still in the running of getting this Wordpress site configured.</p>

<p>&nbsp;</p>

<p>I can tell you quickly how I'm hosting this: <br />
I use Windows Azure websites, with a Mysql db from Clear DB. Since it's limited to only 20 MBs I've added the plugin  <a href='http://wordpress.org/plugins/windows-azure-storage/' >http://wordpress.org/plugins/windows-azure-storage/</a> to store all my content in Azure Storage (Blog storage)</p>

<p>To speed up the process of my Blog I actualy bought a Wordpress theme from Themeforest, <a href='http://themeforest.net/item/avada-responsive-multipurpose-theme/2833226' >http://themeforest.net/item/avada-responsive-multipurpose-theme/2833226</a></p>

<p>&nbsp;</p>

<p>I will go into more details of my setup later, now I need to dive into Photoshop to make some banners.</p>

<p>&nbsp;</p>

<p>&nbsp;</p>]]></description><link>http://carlioth.se/configuring-wordpress/</link><guid isPermaLink="false">023a4911-8536-4225-bbb7-5c7eebde8d31</guid><dc:creator><![CDATA[Henrik Carlioth]]></dc:creator><pubDate>Thu, 22 Aug 2013 11:07:58 GMT</pubDate></item></channel></rss>