C# 10.0 and .NET 6.0 will be released in November 2021. Time to look at the new language features with a little series of blog posts. Let's start in this blog post with a very simple feature that is called File Scoped Namespaces.(more…)
Configure Naming Styles and Rules in Visual Studio and also at the solution/project level with an .editorconfig fileThomas Claudius Huber
When it comes to naming fields in classes, there are three types of .NET developers (The truth is there are even more, but let's focus on the three that I see most often). :-)(more…)
If you have looked already at the Changes page of Team Explorer in Visual Studio 2019, you might have seen that it has a new Stashes section. It is shown in the screenshot below. But for what is that Stashes section?(more…)
When you write simple properties in C#, like auto properties or readonly properties that have an expression body, always put them on a single line if the code is short enough for a good one-line statement.(more…)
Visual Studio 2019 has many fantastic new features. Some of these features like the new start window make the use of Git in Visual Studio 2019 way easier than in the previous versions. Do you want to learn how to use Git in Visual Studio 2019?
Check out my new Pluralsight course
In my new Pluralsight course Using Git for Source Control in Visual Studio 2019, you will learn how to use Git in Visual Studio 2019 while working on a .NET application in the context of a small team.(more…)
Note: There's a MS Dev Show Episode where @ytechie, @carlschweitzer and I are talking about UWP and the Visual Studio Shell built as part of this post. You find it here on www.msdevshow.comUWP is the technology to build native applications for the Windows Platform. But there's still some stuff missing that is required by a typical line-of-business application for the classic desktop: TreeView, DataGrid, Validation, SqlClient and more. Some parts like a DataGrid are available as 3rd-party controls. Other parts like the TreeView are already in development, as you can see in the Windows Dev Platform Backlog. That backlog shows that Microsoft is working on a TreeView, which is awesome! And I'm pretty sure, at some point in the future we'll also get a DataGrid. This was the case for WPF and also for Silverlight. But let's see, the future will tell us and for today we've great 3rd-party DataGrids. But what else is required to build a classic desktop application? (more…)
- Silverlight 4 Beta is not supported. Silverlight 4 will be supported with the next public drop of Silverlight 4, what means when the Silverlight 4 RC is available. A date for that hasn’t been specified yet by Microsoft.
- The available Preview Version for .NET 4.0 of Expression Blend doesn’t work with Visual Studio 2010 RC. It only works with Beta 2 of Visual Studio 2010. A new version will be available soon as the Expression Website says, but no one knows what "soon" means.