<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" version="2.0">

<channel>
	<title>Appsolo</title>
	
	<link>http://www.appsolo.com</link>
	<description>Developers of bespoke software.</description>
	<lastBuildDate>Tue, 16 Apr 2013 10:44:12 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/Appsolo" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="appsolo" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>UI Flow</title>
		<link>http://www.appsolo.com/index.php/2013/04/16/ui-flow/</link>
		<comments>http://www.appsolo.com/index.php/2013/04/16/ui-flow/#comments</comments>
		<pubDate>Tue, 16 Apr 2013 10:44:12 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[blog]]></category>

		<guid isPermaLink="false">http://www.appsolo.com/?p=432</guid>
		<description><![CDATA[Often, we use wire-framing or mock-up tools (like the good guys at Balsamiq) to help communicate design ideas between developers as well as to clients. However, there is a need for something more efficient to aid communication of possible user interface flows through our emerging application. This communication is for internal use typically and doesn&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>Often, we use wire-framing or mock-up tools (like the good guys at <a href="https://www.mybalsamiq.com/">Balsamiq</a>) to help communicate design ideas between developers as well as to clients. However, there is a need for something more efficient to aid communication of possible user interface flows through our emerging application. This communication is for internal use typically and doesn&#8217;t need to approximate the appearance of the final product in any way &#8211; it&#8217;s just a means to explore the pathways through the program without getting side-tracked by the scenery along the way.</p>
<p><a href="http://37signals.com/svn/writers/rjs">Ryan</a> at <a href="http://37signals.com/">37Signals</a> posted a <a href="http://37signals.com/svn/posts/1926-a-shorthand-for-designing-ui-flows">very interesting way</a> of addressing this issue. As you can see it seeks to communicate the <em>movement</em> between states more effectively. It also avoids getting bogged down with the detail of each representation of state, focusing instead on the salient aspects to each (probably, well-known) state.<a href="http://www.appsolo.com/wp-content/uploads/2013/04/323-flow-template.png"><img class="aligncenter size-full wp-image-433" title="323-flow-template" src="http://www.appsolo.com/wp-content/uploads/2013/04/323-flow-template.png" alt="323 flow template UI Flow" width="350" height="137" /></a></p>
<p>The horizontal line separates what the user sees on the screen (topside) from what action he (can) take (bottom-side). Here&#8217;s a more detailed example Ryan provides:</p>
<p><a href="http://www.appsolo.com/wp-content/uploads/2013/04/324-todo-flow.png"><img class="aligncenter size-full wp-image-435" title="324-todo-flow" src="http://www.appsolo.com/wp-content/uploads/2013/04/324-todo-flow.png" alt="324 todo flow UI Flow" width="530" height="107" /></a></p>
<p>As you can see it very succinctly captures the pathway that the user takes through the process of adding an item to a &#8216;To-Do List&#8217;. Building on this Ryan offers equally compact means to capture multiple choices of action by the user:</p>
<p><a href="http://www.appsolo.com/wp-content/uploads/2013/04/325-login-flow.png"><img class="aligncenter size-full wp-image-436" title="325-login-flow" src="http://www.appsolo.com/wp-content/uploads/2013/04/325-login-flow.png" alt="325 login flow UI Flow" width="530" height="235" /></a>The dashed lines separate alternative actions that the user can choose from, each naturally leading to alternative views from where further actions can be selected. I like Ryan&#8217;s reminder at the end that all these drawings are &#8216;destined for the garbage&#8217; &#8211; like all prototyping and similar tooling, they are part of the process, not the product. The longer they linger the less use they serve.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.appsolo.com/index.php/2013/04/16/ui-flow/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Water Monitoring &amp; Metering CRM</title>
		<link>http://www.appsolo.com/index.php/2013/04/10/water-monitoring-metering-crm/</link>
		<comments>http://www.appsolo.com/index.php/2013/04/10/water-monitoring-metering-crm/#comments</comments>
		<pubDate>Wed, 10 Apr 2013 23:44:33 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[portfolio]]></category>
		<category><![CDATA[web_app]]></category>

		<guid isPermaLink="false">http://www.appsolo.com/?p=420</guid>
		<description><![CDATA[<strong>Ogham Engineering Ltd.: </strong>A bespoke water metering and monitoring web-hosted application to offer tenants and landlords alike access to up-to-the-minute status on water consumption.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.appsolo.com/wp-content/uploads/2013/04/ogham.jpg"></a><a href="http://www.oghamengineering.ie"><img class="size-full wp-image-429 alignleft" style="margin-left: 10px; margin-right: 10px;" title="Ogham" src="http://www.appsolo.com/wp-content/uploads/2013/04/Ogham.png" alt="Ogham Water Monitoring & Metering CRM" width="438" height="290" /></a>Delighted to post an update on some interesting work being undertaken on behalf of <a href="http://www.oghamengineering.ie">Ogham Engineering Ltd.</a>. Ogham were looking for a multi-faceted management system to permit both managers and tenants access to up to the minute water consumption and metering data.</p>
<p>The system will provide Ogham with the ability to integrate with their own in-house wireless water monitoring technology. Data is gathered from these sensors unobtrusively installed to water pipes about the building. The data is hosted in the cloud and retrieved by this application. This happens at very regular intervals offering strict control on consumption patterns and helping to identify leaks and mis-use.</p>
<p>Our application provides an interface to these meter readings. It also allows Ogham to keep tabs on their customers and tenants to ensure that data is limited only to those concerned. Given the significant customer-facing aspect to this product, a highly intuitive and yet information rich front-end was required. We turned to a now well-established Microsoft development stack &#8211; ASP.NET MVC &#8211; to provide the breadth of features needed. This coupled with extensive use of Javascript, jQuery and associated libraries, frameworks and plugins offers a very comprehensive package that serves the needs of our client well.</p>
<p>Estimation completion date: May &#8216;13.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.appsolo.com/index.php/2013/04/10/water-monitoring-metering-crm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting Parallels 7 to play nice with Windows 8</title>
		<link>http://www.appsolo.com/index.php/2013/02/08/getting-parallels-7-to-play-nice-with-windows-8/</link>
		<comments>http://www.appsolo.com/index.php/2013/02/08/getting-parallels-7-to-play-nice-with-windows-8/#comments</comments>
		<pubDate>Fri, 08 Feb 2013 19:31:17 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[blog]]></category>

		<guid isPermaLink="false">http://www.appsolo.com/?p=418</guid>
		<description><![CDATA[One of the challenges of working in the Mac environment while developing in Microsoft technologies is getting the VM machine working as you want. Being a fan of keyboard shortcuts, it&#8217;s a major PITA if the key mappings aren&#8217;t set as you&#8217;d expect, especially as I move routinely between Mac and Windows PC.
So, with my [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" style="margin-left: 20px; margin-right: 20px;" title="Parallels 7" src="http://www.lensenergy.com/weblog/images/Parallels.png" alt="Parallels Getting Parallels 7 to play nice with Windows 8" width="256" height="256" />One of the challenges of working in the Mac environment while developing in Microsoft technologies is getting the VM machine working as you want. Being a fan of keyboard shortcuts, it&#8217;s a major PITA if the key mappings aren&#8217;t set as you&#8217;d expect, especially as I move routinely between Mac and Windows PC.</p>
<p>So, with my Parallels 7 and Windows 8 setup, do the following to get it just right:</p>
<ol>
<li>In Parallels, choose Preferences&#8230;Keyboard and ensure Virtual Machine Shortcuts are off.</li>
<li>At the bottom of that box, I leave &#8216;Enable Mac OSX system shortcuts&#8217; enabled to give me the Fn controls across the top of my keyboard. This means I have to press Fn with, say, F6 to compile in VS2012 but that&#8217;s how I prefer it.</li>
<li>That&#8217;s all she wrote.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.appsolo.com/index.php/2013/02/08/getting-parallels-7-to-play-nice-with-windows-8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQL Express Local Attach Problem</title>
		<link>http://www.appsolo.com/index.php/2013/02/08/sql-express-local-attach-problem/</link>
		<comments>http://www.appsolo.com/index.php/2013/02/08/sql-express-local-attach-problem/#comments</comments>
		<pubDate>Fri, 08 Feb 2013 12:26:04 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[blog]]></category>

		<guid isPermaLink="false">http://www.appsolo.com/?p=416</guid>
		<description><![CDATA[There&#8217;s an issue when you try to attach a local MDF SQL database file to the local instance of SQL Express. VS typically will insert a USER INSTANCE = true into the connection string that it generates when you add the LINQ-to-SQL or ADO.NET Entity modelling to your project.
The connection to the database as attached [...]]]></description>
			<content:encoded><![CDATA[<p>There&#8217;s an issue when you try to attach a local MDF SQL database file to the local instance of SQL Express. VS typically will insert a USER INSTANCE = true into the connection string that it generates when you add the LINQ-to-SQL or ADO.NET Entity modelling to your project.</p>
<p>The connection to the database as attached to SQL EXPRESS will fail on open. Fix this by removing the User Instance clause from the connection string.</p>
<p>Other solutions advise deleting the SQL Express folder from the AppData folder for the user but I found the first options works for me and doesn&#8217;t require any privileges on the host machine.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.appsolo.com/index.php/2013/02/08/sql-express-local-attach-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Azure – First Steps</title>
		<link>http://www.appsolo.com/index.php/2012/11/25/azure-first-steps/</link>
		<comments>http://www.appsolo.com/index.php/2012/11/25/azure-first-steps/#comments</comments>
		<pubDate>Sun, 25 Nov 2012 17:51:39 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[azure]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[ssms]]></category>

		<guid isPermaLink="false">http://www.appsolo.com/?p=410</guid>
		<description><![CDATA[My putting a toe in the water of Azure. Love the interface, very slick and well thought out &#8211; looks like Scott Gu kicked the team into action. Here&#8217;s a few very &#8216;MS&#8217; tricks that I&#8217;ve overcome so far:

Using SSMS (SQL Server Management Studio 2008) isn&#8217;t a great place to start. Upgrade to 2008 R2 [...]]]></description>
			<content:encoded><![CDATA[<p>My putting a toe in the water of Azure. Love the interface, very slick and well thought out &#8211; looks like Scott Gu kicked the team into action. Here&#8217;s a few very &#8216;MS&#8217; tricks that I&#8217;ve overcome so far:</p>
<ul>
<li>Using SSMS (SQL Server Management Studio 2008) isn&#8217;t a great place to start. Upgrade to 2008 R2 or jump into SSMS 2012 or you&#8217;ll get the &#8217;sys.configurations&#8217; <a href="http://intendedeffect.net/2012/07/17/sql-azure-management-studio-2008-and-the-sys-configurations-error/">error</a>. I installed (the not insignificant) R2 upgrade and the problem went away and the next step rendered un-necessary.</li>
<li><strong>For SSMS 2008 only</strong>: Once you have the Azure SQL database set up (along with the SQL Server), don&#8217;t try the normal server logon in SSMS. Instead, choose &#8216;New Query&#8217; from the toolbar. Enter the database address (no need for https:// prefix), followed by your administrator username (not email or Azure sign-on), followed by the password for the SQL Server. It&#8217;s easy to reset the password from the Azure portal if you forget it.</li>
<li>I ran into difficulties in Chrome trying to &#8216;Manage&#8217; the database server but it worked fine in Safari &#8211; problem was keystrokes wouldn&#8217;t appear in logon text-boxes &#8211; silly thing but a problem none-the-less.</li>
<li>I could make a connection to the server in VS2010 using View..Server Explorer but it&#8217;s easier in SSMS.</li>
<li>Seems now in SSMS 2008 R2, the table designer is gone for Azure table creation, so scripting is needed. Likely be simpler to let EF do the table generation.</li>
<li><a href="https://www.windowsazure.com/en-us/develop/net/common-tasks/sql-azure-management/">This</a> is a good resource for marrying up a ASP.NET MVC project to begin using Azure (both as a Azure web hosted app and using Azure SQL database).</li>
<li>Another thing worth remembering is that while working in a VM, ASP.NET won&#8217;t permit accessing a database that is on a  UNC share. Even if your database is local (as you see it), say, C:\vs\mydb.mdf, ASP.NET will not access it. Mapping to a drive letter won&#8217;t work either. Solution is to run native (using Bootcamp on a Mac, for example) or attach the database to a lock SQL Server instance. Or better, use an Azure SQL database.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.appsolo.com/index.php/2012/11/25/azure-first-steps/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>So you want to delete a project from Team Foundation Server</title>
		<link>http://www.appsolo.com/index.php/2012/11/16/so-you-want-to-delete-a-project-from-team-foundation-server/</link>
		<comments>http://www.appsolo.com/index.php/2012/11/16/so-you-want-to-delete-a-project-from-team-foundation-server/#comments</comments>
		<pubDate>Fri, 16 Nov 2012 19:15:18 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[tfs]]></category>
		<category><![CDATA[version_control]]></category>
		<category><![CDATA[visual studio]]></category>

		<guid isPermaLink="false">http://www.appsolo.com/?p=407</guid>
		<description><![CDATA[Source control is great &#8211; or so I know I must believe. And TFS (Team Foundation Server) is as good as any. But here&#8217;s the interesting case of my efforts to delete a project from the server.
You&#8217;d think that there would be a right-click&#8230;choose Delete Project&#8230;are you sure&#8230;.are you real sure kind of sequence here [...]]]></description>
			<content:encoded><![CDATA[<p>Source control is great &#8211; or so I know I must believe. And TFS (Team Foundation Server) is as good as any. But here&#8217;s the interesting case of my efforts to delete a project from the server.<br />
You&#8217;d think that there would be a right-click&#8230;choose Delete Project&#8230;are you sure&#8230;.are you real sure kind of sequence here but you&#8217;d be wrong. MS apparently really don&#8217;t want you tripping up and doing something dumb like EVER kill a project and are out to make it as hard as possible.<br />
Here are the steps:</p>
<ul>
<li>Open a command prompt in administrator mode
</li>
<p>&#8216;cd&#8217; your way to the %Program Files%\Microsoft Visual Studio 11.0\Common7\IDE</p>
<li>Invoke the TFSDeleteProject program (the clue is in the name)
</li>
<p>Use the following switches: /force /collection: followed by the fully qualified name to your <em>Collection\Project</em></p>
<p>Really, this needn&#8217;t be this hard&#8230;.<a href="http://www.appsolo.com/wp-content/uploads/2012/11/Screen-Shot-2012-11-16-at-19.05.29.png"><img src="http://www.appsolo.com/wp-content/uploads/2012/11/Screen-Shot-2012-11-16-at-19.05.29.png" alt="Screen Shot 2012 11 16 at 19.05.29 So you want to delete a project from Team Foundation Server" title="Screen Shot 2012-11-16 at 19.05.29" width="676" height="607" class="alignright size-full wp-image-408" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.appsolo.com/index.php/2012/11/16/so-you-want-to-delete-a-project-from-team-foundation-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting VS Intellisense to work with JQuery</title>
		<link>http://www.appsolo.com/index.php/2012/11/02/getting-vs-intellisense-to-work-with-jquery/</link>
		<comments>http://www.appsolo.com/index.php/2012/11/02/getting-vs-intellisense-to-work-with-jquery/#comments</comments>
		<pubDate>Fri, 02 Nov 2012 20:30:20 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[VS2010]]></category>

		<guid isPermaLink="false">http://www.appsolo.com/?p=405</guid>
		<description><![CDATA[Having recently begun development proper with ASP.NET MVC, I can say I like the structured MVC approach a lot. However, there&#8217;s no getting away from the fact that modern web development is a pastiche of open-source with occasional clear strategies (ASP.NET MVC) being one, trying their best to bring order to the chaos and fashion [...]]]></description>
			<content:encoded><![CDATA[<p>Having recently begun development proper with ASP.NET MVC, I can say I like the structured MVC approach a lot. However, there&#8217;s no getting away from the fact that modern web development is a pastiche of open-source with occasional clear strategies (ASP.NET MVC) being one, trying their best to bring order to the chaos and fashion a more coherent approach.<br />
MS have made strides to welcome open-source technologies aboard and JQuery is an obvious choice. However, even with the advances that the Razor view engine brings and the reduced syntactical sugar that it brings, there&#8217;s no easy way to work with html, razor/C# and Javascript (w/ JQuery) in the one space. This is made all the more difficult by the loss of Intellisense once you stray from the C# path. However, there is a way to bring Intellisense to bear on JQuery in Views.<br />
And here&#8217;s how to do it in VS2012:</p>
<li><a href="http://appendto.com/community/jquery-vsdoc">Download</a> the jsdoc file corresponding to your current version of JQuery</li>
<li>include the jsdoc file in your project in the same folder as the JQuery js file but ensure that the file names match albeit for the -vsdoc suffix</li>
<p>VS2012 plays nice with these steps alone but VS2010 often needs two additional steps:</p>
<li>Add the following into *each* View that you want Intellisense support: @if(false) {  <script src="~/Scripts/jquery-1.8.2-vsdoc.js" type="text/javascript"></script>}</li>
<li>You may also need to press CTRL+SHIFT+J to update the Javascript Intellisense support</li>
<p>I need to do both these steps to get VS2010 to recognise the vsdoc Intellisense commentary but it&#8217;s well worth the effort.<br />
On a general note, I like VS2012 but do note that while you can open VS2010 solutions in VS2012, work on them and still be able to open those same solutions in VS2010, there are limitations. If, for example, you create a solution in VS2012, it won&#8217;t open (no way) in VS2010. Equally, I&#8217;m encountering very odd compile errors in VS2012 solutions &#8211; problems with missing references to metadata files &#8211; that go away if you open the same solution in VS2010. Reverting back to VS2012, the same solution now works &#8211; for a time. MS &#8211; not good enough for a core tool.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.appsolo.com/index.php/2012/11/02/getting-vs-intellisense-to-work-with-jquery/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Entity Framework Model Building</title>
		<link>http://www.appsolo.com/index.php/2012/09/16/entity-framework-model-building/</link>
		<comments>http://www.appsolo.com/index.php/2012/09/16/entity-framework-model-building/#comments</comments>
		<pubDate>Sun, 16 Sep 2012 14:54:30 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[Code_First]]></category>
		<category><![CDATA[Entity_Framework]]></category>

		<guid isPermaLink="false">http://www.appsolo.com/?p=403</guid>
		<description><![CDATA[With the arrival of Entity Framework (EF) 5.0, we&#8217;ve seen an explosion of options to integrate with a database. Being an early adopter of EF, one of the major bugbears was the plethora of problems that emerged when (I don&#8217;t mean if) your database schema updated. The ripple effect through your edmx model was chaotic [...]]]></description>
			<content:encoded><![CDATA[<p>With the arrival of Entity Framework (EF) 5.0, we&#8217;ve seen an explosion of options to integrate with a database. Being an early adopter of EF, one of the major bugbears was the plethora of problems that emerged when (I don&#8217;t mean if) your database schema updated. The ripple effect through your edmx model was chaotic to manage. Check our past posts to see how we managed that natural evolution of a database while embracing the other benefits of EF.</p>
<p>As we begin another project (this time eschewing Silverlight and heading to MVC4) we&#8217;re still happy to work with EF but it&#8217;s only prudent that we check to see how schema changes are accommodated. The vista of possible options are muddied by the many CTPs and advances viewings of MS&#8217;s offerings in this area (I&#8217;m even looking at you, Pluralsight). With the release of VS2012 and EF5, thankfully, they have been accompanied by an excellent (blessedly, short) collection of videos. One of the new options is to generate a new database from your (still evolving) set of POCO &#8211; known as EF Code First. Being a programmer and looking for any opportunity to undermine the few remaining tasks of our DBA colleagues, this does appeal. However, before shacking up with Code First (afterall, this is MS and this is a new approach), the important question is how are changes to the underlying POCO propagated to the database after your first stab and a data model (never your last). Enter &#8216;Code First Migrations&#8217;. Not to give too much away, this handles, and crucially exposes the processes, the updating of the database schema prompted by changes to the underlying POCOs.</p>
<p><script src="http://msdn.microsoft.com/en-us/videoembed/jj572366" type="text/javascript"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.appsolo.com/index.php/2012/09/16/entity-framework-model-building/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Localhost not refreshing to reflect code changes</title>
		<link>http://www.appsolo.com/index.php/2012/09/14/localhost-not-refreshing-to-reflect-code-changes/</link>
		<comments>http://www.appsolo.com/index.php/2012/09/14/localhost-not-refreshing-to-reflect-code-changes/#comments</comments>
		<pubDate>Fri, 14 Sep 2012 18:16:32 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[blog]]></category>

		<guid isPermaLink="false">http://www.appsolo.com/?p=394</guid>
		<description><![CDATA[This problem has visited me a few times and like such problems you quickly forget what the cause/cure was. The problem is manifested when you run a debug session in Visual Studio (I use VS2010 in a Parallels VM for what it&#8217;s worth). The issue is changes that I make to the code and save [...]]]></description>
			<content:encoded><![CDATA[<div class="wp-caption alignright" style="width: 251px"><img class=" " style="margin: 0px;" title="IIS Express" src="http://weblogs.asp.net/blogs/scottgu/image_093B9E9A.png" alt="image 093B9E9A Localhost not refreshing to reflect code changes" width="241" height="63" /><p class="wp-caption-text">IIS Express</p></div>
<p>This problem has visited me a few times and like such problems you quickly forget what the cause/cure was. The problem is manifested when you run a debug session in Visual Studio (I use VS2010 in a Parallels VM for what it&#8217;s worth). The issue is changes that I make to the code and save should be immediately available to me in the browser following a refresh (F5 or similar). Instead, the site page served is that of the (now) older file.</p>
<p>The usual solution I&#8217;ve worked with was to kill the localhost session, recompile and run prompting another development server to spawn and all was fine. However this seriously hits the development process.</p>
<p>The solution that works is to ditch the built-in VS development server. I had done this before for other reasons and installed <a href="http://www.iis.net/learn/extensions/introduction-to-iis-express/iis-express-overview">IIS Express</a> &#8211; a lightweight version of IIS with the following benefits:</p>
<ul>
<li>It doesn&#8217;t run as a service or require administrator user rights to perform most tasks.</li>
<li>IIS Express works well with ASP.NET and PHP applications.</li>
<li>Multiple users of IIS Express can work independently on the same computer.</li>
</ul>
<p>You can even write batch files to spawn a IIS Express process for deployment purposes. Anyhow, this *almost* fixes the problem.</p>
<div id="_mcePaste">However the location of the source code as suggested in other answers is important &#8211; it works for me using the c:\windows folder or c:\users\DefaultAppPool &#8211; apparently it has something to do with security to ensure. Only applications running under the &#8216;DefaultAppPool&#8217; identity are permitted under IIS. So for anyone using a VM and mapping the host OS code folder you won&#8217;t be able to rectify this unless you copy to a local folder in the c:\users\DefaultAppPool folder.</div>
<div id="_mcePaste">More on DefaultAppPool at <a href="http://www.iis.net/learn/manage/configuring-security/application-pool-identities">IIS</a>.</div>
<div>Now a further wrinkle is a likely problem you&#8217;ll encounter when you move your application to the DefaultAppPool identity &#8211; if you&#8217;ve used the Membership Provider of ASP.NET, the database it had created on SQL Server for members won&#8217;t permit access with the new identity. I looked at ways to add &#8220;IIS APPPOOL\\ASP.NET v4.0&#8243; as a Login but it just wouldn&#8217;t recognise that as a valid user in SQL Server Management Studio Express. The solution I <a href="http://forums.asp.net/t/1558691.aspx/1">found</a> was to open up IIS Manager (apparently it acts as the console for IIS <em>Express</em> as well) and choose &#8216;View Application Pools&#8217;.</div>
<div><a href="http://www.appsolo.com/wp-content/uploads/2012/09/Screen-Shot-2012-09-14-at-21.59.49.png"><img class="size-full wp-image-399 alignright" style="margin: 10px;" title="IIS Manager" src="http://www.appsolo.com/wp-content/uploads/2012/09/Screen-Shot-2012-09-14-at-21.59.49.png" alt="Screen Shot 2012 09 14 at 21.59.49 Localhost not refreshing to reflect code changes" width="466" height="186" /></a></div>
<div>Then choose &#8216;Set Application Pool Defaults&#8230;&#8217; and change the <em>Identity</em> property to <em>LocalSystem</em> from <em>ApplicationPoolIdentity.</em></div>
<div><em><a href="http://www.appsolo.com/wp-content/uploads/2012/09/Screen-Shot-2012-09-14-at-22.00.13.png"><img class="alignright size-full wp-image-400" title="Application Pool" src="http://www.appsolo.com/wp-content/uploads/2012/09/Screen-Shot-2012-09-14-at-22.00.13.png" alt="Screen Shot 2012 09 14 at 22.00.13 Localhost not refreshing to reflect code changes" width="569" height="298" /></a></em></div>
<div>So there we are. I&#8217;m thinking I might just have put up with restarting the IIS Express (or Development) server each time but I&#8217;ve learned something along the way.</div>
]]></content:encoded>
			<wfw:commentRss>http://www.appsolo.com/index.php/2012/09/14/localhost-not-refreshing-to-reflect-code-changes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Source Version Control Options</title>
		<link>http://www.appsolo.com/index.php/2012/09/08/source-version-control-options/</link>
		<comments>http://www.appsolo.com/index.php/2012/09/08/source-version-control-options/#comments</comments>
		<pubDate>Sat, 08 Sep 2012 18:16:53 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[tfs]]></category>
		<category><![CDATA[version_control]]></category>

		<guid isPermaLink="false">http://www.appsolo.com/?p=392</guid>
		<description><![CDATA[As we kick off a new development, it&#8217;s time to reconsider some version control options. Initially, GIT or Mercurial comes to mind as these are well established and well known. Reasonably priced hosting is now commonplace, even private hosting can be free. However, I&#8217;ve been interested in TFS (Team Foundation Server) from MS for some [...]]]></description>
			<content:encoded><![CDATA[<p>As we kick off a new development, it&#8217;s time to reconsider some version control options. Initially, <a href="https://github.com">GIT</a> or <a href="http://mercurial.selenic.com">Mercurial</a> comes to mind as these are well established and well known. Reasonably priced hosting is now commonplace, even private hosting can be <a href="http://stackoverflow.com/questions/2378120/is-there-a-free-private-git-repository">free</a>. However, I&#8217;ve been interested in TFS (Team Foundation Server) from MS for some time.</p>
<p>With the imminent launch of VS2012, MS have been offering free, private TFS hosting at <a href="http://tfspreview.com">tfspreview.com</a>. Though this has been invite-only until recently, there are no guarantees around its long-term &#8216;free&#8217; price tag. The install is a little easier with the VS2012 line-up but it also works with VS2010 (or even VS2008 with <a href="http://support.microsoft.com/kb/2673642">hotfix</a>) though you&#8217;ll need VS2010 <a href="http://www.microsoft.com/download/en/details.aspx?id=23691">SP1</a> patch and a <a href="http://support.microsoft.com/kb/2581206">hotfix</a> (no surprises there!). The tfspreview site is slick and it even kick starts VS2012 for you if installed. I haven&#8217;t found VS2012 Express too stable just yet and will wait for Win8 and VS2012 Ultimate before taking the plunge &#8211; new IDE looks good though.</p>
<p>To use tfspreview.com, you&#8217;ll need a Windows Live ID to logon and register your Project on the site first. There&#8217;s a <a href="https://tfspreview.com/en-us/learn/start/connect-to-vs/">good walkthrough</a> the whole process.</p>
<p>For those looking to GIT, there&#8217;s a good free <em>and</em> private plan available from <a href="https://bitbucket.org/plans">BitBucket</a>, though I prefer (so far) the integration that TFS offers with VS2010. GIT just isn&#8217;t as slick to me but we&#8217;ll see. From what I&#8217;ve seen VS2012&#8217;s TFS integration looks even better than VS2010 &#8211; watch this space.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.appsolo.com/index.php/2012/09/08/source-version-control-options/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
