Nov 27, 2013
You can read more about the track and the things we're looking for at http://elegantcode.com/2013/11/23/i-want-you-for-agile-2014/.
Interested? Submissions can be made via the conference web site at http://agile2014.agilealliance.org/speakers/. So go on then, submit an idea. I'm looking forward to seeing what's in your head!
Nov 7, 2013
Tatham Oddie, Dietloff Giliomee and I are currently delivering developer uplift training for a large number of developers over multiple courses. Part of this training involves teaching the developers, who are very familiar with centralised version control, how to use Git.
What we have found is that explaining git concepts by drawing pictures on whiteboards and waving our hands around in the air works, but only to a point.
To try and alleviate this problem Tatham put together a great little tool over the past two days that provides a way for people to see what is happening in their git repository as they work, in real time. Now we students can see what git is doing simply by using the commands and visualising the repository changes with GitViz How cool is that!
Even better, it’s all open source which means you can head over to the GitHub project to grab the code yourself, submit pull requests or simply make suggestions for improvements. We hope you enjoy it!
Oct 30, 2013
That article is now published and you can read it on the MVP Blog at http://blogs.msdn.com/b/mvpawardprogram/archive/2013/10/29/viewing-your-code-through-visual-studio-s-codelens.aspx
For reference, you can also find the link on the MSDN Visual Studio home page, though it won't be there for long :-)
Aug 21, 2013
At the time of writing (August, 2013) you can connect a Windows Azure web site to the Team Foundation Service (TFService) for automated deployments, but only if your source is under Team Foundation Version Control (TFVC).
If you’re using a git repository then you're currently out in the cold. The Azure team hasn't yet added support for it, though I'm sure it'll show up at some point. In the meantime, you can always vote for it on the Azure User Voice site.
All is not lost however as you can still automatically deploy the web site by using Web Deploy as part of the build process.
For this example, we'll deploy a very simple site built on top of Nancy with NuGet package restore enabled.
1. Firstly, create a site in Azure and then download the publishing profile.
2. Import the PublishSettings file into your web project.
3. Validate the connection and click close. (You can check your deployment by doing a manual deployment if you wish)
4. Manually open the PublishSettings file you downloaded and make a note of the userName and userPWD values. You'll use those in a minute.
4. In Team Explorer switch to the Builds hub and click the New Build Definition link.
5. Give your build a name, select a Trigger and confirm that the Source Settings point to the appropriate git branch.
6. In the Process settings, use the Default Template and in the Advanced | MSBuild arguments property add the following:
/p:DeployOnBuild=true /p:PublishProfile=<your profile> /p:AllowUntrustedCertificate=true /p:UserName=<your user name> /p:Password=<your pwd> /p:VisualStudioVersion=11.0In my case this would be:
/p:DeployOnBuild=true /p:PublishProfile="ADemoSite - Web Deploy" /p:AllowUntrustedCertificate=true /p:UserName=$ADemoSite /p:Password=83LukXHlmqEg75xxxxxx /p:VisualStudioVersion=11.0Note that since the profile name contains spaces, I’ve wrapped it in quotes.
7. Save the build definition and queue a new build.
8. Once the build completes you should be able to navigate to your site and see your newly deployed site.
And we’re done!
NotesThis is not the most secure of approaches for deploying a site. The password is stored in plain text in the build definition which means it’s shared amongst all the developers on the team. If you use this method, be aware of the risk.
If you forget the /p:VisualStudioVersion=11.0 argument the build will succeed but your site won't be deployed. Leaving the flag off causes the VS2010 deployment tool to be used, not the VS2012 one so instead of deploying the site to Azure the build instead creates a deployment package that you would then have to run manually.
Jun 19, 2013
So, to kick this off, here's a short overview of the Quick Launch feature in Visual Studio 2012
Feedback is, as always, very much welcome.