Infrastructure as Code

In this episode, Robert is joined by Mads Torgersen, who takes us on a tour of the new features in C# 6 that aim at making your everyday code cleaner and clearer. Mads has spoken on this subject at both Build and Ignite. Mindful of this, Robert and Mads go beyond the demos and also talk about how and why C# gained these features as well as what role the open-source .NET Compiler Platform ("Roslyn") plays.
And the extension mentioned is: https://visualstudiogallery.msdn.microsoft.com/a4445ad0-f97c-41f9-a148-eae225dcc8a5
@Jeff:Thanks Jeff!
The only suggestion I would make is to add analyzers which refactor expression-bodied methods and properties (and possibly auto-properties too) into their expanded forms. Otherwise, why would you bother writing code that you know you might have to refactor later on? I would rather let code snippets generate the boilerplate for me, which I know won't have to be refactored. Though, honestly, I probably wouldn't even use those features with the analyzers because to me, having consistently structured class members makes the code easier to read.
@rogreen I wish for XAML with C++ demo using actual Visual Studio designer tool instead of code-behind as cited in the link.
Great preview with one comment. Isn't nameof(x) a step backwards toward vs6 and vs.studio.dot.net.itus? How about json.name?
Mads Torgersen is using Google Chrome instead of Microsoft Edge
Like it. Thanks!!!
Where can I get the fancy C# t-shirt ?
This is a really great overview.
Cool stuff :)
Is it becoming with .Net Framework 4.6?
that features are awesome.
thank you
I absolutely love the new changes.
I am very surprised not many people have seen a problem with String.Format. I have TRIED and TRIED to use it, as I believe in using the .NET functions is the intended purpose of developing in the .NET framework, but it's annoying, error prone, and hard to maintain, adding a single variable in a specific group order results in needing to restructure the entire base string. ANNOYING & Tedious. I have seen others and have extended the string class and added functions that add more similar to printf. With the new formatting, that is beautiful. A very clean syntax approach that's beautiful, function and maintainable.
Some of the other changes have always been tedious to me too and can't wait to get the new framework into projects!
You guys should add the ability to write "public:", "private:" and "protected:" like in C++, so that you don't have to decorate every member with those keywords.
Love the new changes. Looking forward to discovering other refactoring tools! Also, thanks for the link to the analyzer!
This conversation has been locked by the site admins. No new comments can be made.