Showing posts with label Visual Studio 2012. Show all posts
Showing posts with label Visual Studio 2012. Show all posts

Thursday, January 2, 2014

Behavior-Driven development in C# with SpecFlow

Trying out a BDD framework in Visual Studio had been on my list of weekend projects for quite some time. I know of two frameworks for .NET: NSpec and SpecFlow. I was most interested in the latter, since that allows the specs to be written in plain text ( see cucumber ). This, I think, could be useful to verify the tests against the business or the analysts, involved in the development of the application.

Getting started with SpecFlow is really easy - check out: http://www.specflow.org/getting-started/.



Within 10 minutes I had my own adaptation of an example:


No I'll think where and how to apply this in my projects.

Sunday, December 22, 2013

Learn F# by example ... In Visual Studio !

After lifting my JavaScript knowledge of my work with AngularJS recently, and KnockoutJS before that, I've been playing around with the functional aspects of the language and really experienced the elegance of it in real-life examples and not just the annoying practicals in Haskell I had to do at university.

Furthermore we had this presentation on Scala and the Play framework which was very interesting. So I decided to have a quick look at F#. I wanted to do a 'File, New Project' thing and start looking at the syntax when I noticed this:


The F# Tutorial project type in Visual Studio. It's great stuff. You open it and you get this big F# source code file showing you pretty much all the basics of F# including:

For example:



Want to learn quickly and by example? Go check it out.

Monday, December 16, 2013

You are using web essentials ... right?

So this is my 2nd post in the 'you are using ... ... right?' series. There are certain things that I use that I thought everyone would be using by now, like ReSharper, Common.Logging and ... the Web Essentials extension for Visual Studio.


It has lots of tools for upping your productivity while developing web applications. One of the cool features is LESS compilation and also a bunch of CSS helpers to help you out with vendor specific tags.

Go and get it at: http://vswebessentials.com/


Saturday, May 18, 2013

Visual Studio 2012 Extension: Code Digger

Browsing Channel 9, I came across a Visual Studio extension called Code Digger. It's a tool that analyses your source code and generates a table with possible input- and output values of your methods. Big drawback: only works on portable libraries.



Here's a video from the creators, explaining how it works:

Thursday, April 4, 2013

Visual Studio 2012.2 update is out there

I'm a couple of days late, but the VS2012 update 2 is available for download. Get is here.

   

 From what I get from the video, the mainly focussed on the Agile planning UI for TFS, quality enablement, windows store development, line-of-business development and the development experience. Check out S. Somasegar's blog on VS 2012.2 for more detailed info.