Quantcast
Channel: .NET – Matt DuFeu
Browsing all 12 articles
Browse latest View live

Upcoming Language Feature Changes in C# 6

If you’re a C# programmer and haven’t been living in a cave, you’ll know big changes are coming. Now the Visual Studio 2015 Release Candidate is available to download, I figured it was a good time to...

View Article



Auto-Property Changes in C# 6

This is the first part of a series of posts I’m making into Upcoming Language Feature Changes in C# 6. In this post, I’m looking at the Auto-Property changes in C# 6. It’s probably going to be one of...

View Article

Static Members in C# 6

This is the second part of a series of posts I’m making into Upcoming Language Feature Changes in C# 6. This feature definitely fits in the syntactic sugar category and will should result in less...

View Article

Index Initializers in C# 6

This is the third part of a series of posts I’m making into Upcoming Language Feature Changes in C# 6. This is another syntactic sugar feature, this time making initializing objects with indexers more...

View Article

Exception filters in C# 6

This is the fourth part of a series of posts I’m making into Upcoming Language Feature Changes in C# 6. I must admit, I didn’t initially understand the fuss with exception filters. I saw a few tweets...

View Article


Await in catch and finally blocks in C# 6

This is the fifth part of a series of posts I’m making into Upcoming Language Feature Changes in C# 6. This is definitely not syntactic sugar and if you’re doing any asynchronous programming you’ll be...

View Article

Null-conditional operators in C# 6

This is the seventh part of a series of posts I’m making into Upcoming Language Feature Changes in C# 6. (Now Visual Studio 2015 is available, they’re not so “upcoming”). I’m going to come straight out...

View Article

String interpolation in C# 6

This is the eighth part of a series of posts I’m making into Upcoming Language Feature Changes in C# 6. (Now Visual Studio 2015 is available, they’re not so “upcoming”). This is another really nice...

View Article


Expression-bodied members in C# 6

This is the sixth part of a series of posts I’m making into Upcoming Language Feature Changes in C# 6. (Now Visual Studio 2015 is available, they’re not so “upcoming”). Back to the syntactic sugar...

View Article


Visual Studio Tip – Named Parameters in Generated Methods

Really quick tip that I found recently while refactoring some old code. If your using “Generate Method” (Ctrl + .) in Visual Studio, the method you’re generating uses the same names as the local...

View Article

Persist Claims Transformation in a cookie with MVC and OWIN

Claims transformation (or claims augmentation as it’s sometimes called) in an MVC claims based application is “easy”. All you need is a simple piece of code: Unfortunately, where you add that code...

View Article

Convert unix epoch time to DateTime in C#

I recently had to convert unix epoch time to DateTime and like the rest of the world turned to stackoverflow. The top answer is a very simple solution of adding the unix time, which is in milliseconds,...

View Article
Browsing all 12 articles
Browse latest View live




Latest Images