Use string interpolation in ASP.NET MVC 5

September 7, 2015

One of the new C#6 features is string interpolation (which makes the code much nicer than using string.format()) . But by default the new Roslyn compiler is not used when compiling the MVC views. You can change this by installing the nuget package called  Microsoft.CodeDom.Providers.DotNetCompilerPlatform

© Marius Gheorghe