DEV Community

Dave Brock
Dave Brock

Posted on • Originally published at daveabrock.com on

The .NET Stacks #34: šŸŽ™ Visual Studio gets an update, and you get a rant

Newsletter image

Happy Monday to you all. I hope you had a good week. Put on your comfy mittens and letā€™s get started.

  • Visual Studio gets an update, and you get a rant
  • EF Core 6 designs take shape
  • GitHub Pages gets more enterprise-y
  • A quick correction

Visual Studio gets an update, and you get a rant

The Visual Studio team has released v16.9 Preview 3. This oneā€™s a hodgepodge, but a big call out is the ability to view source generators from the Solution Explorer. This allows you to inspect the generated code easily. People are already getting excited.

Since weā€™re on the subject, Jerry Nixon polled some folks this week about their preferred IDE. (I say VS Code is only an IDE when you install extensions, but I digress.) As of Sunday night, JetBrains Rider comes in at around 26%. It might seem low to you, but not to me. After years of Windows-only .NET making Visual Studio the only realistic IDE, itā€™s amazing that a third-party tool is gaining so much traction. This recognition is well-deserved, by the wayā€”itā€™s fast, feature-rich, and does so much out-of-the-box that Visual Studio doesnā€™t. I installed it this week after thinking about it for years, and am impressed so far.

Of course, your mileage may vary and the ā€œnew and differentā€ is always alluring at first. But, to me, whatā€™s more troubling is my reason for giving it a try. I wouldnā€™t be offended if you called me a Visual Studio fanboy. Iā€™ve used it for over a decade and a half. Even so: the Razor editing experience is a pain (with the admission they are rolling out a new editor), and component discovery is a hassle when working with Blazor, and closing and restarting Visual Studio is still a thing, in 2021. This is part of a general theme (and Iā€™m not the only one): why is Blazor tooling in Visual Studio still so subpar? Iā€™ve found Rider to provide a better Blazor development experience. Is it antecdotal? Yes. Do I think itā€™s just me? No.

I know itā€™s being worked on, I get it, but: when you deliver a wonderful, modern library with hype that hasnā€™t been seen in years ā€¦ how is your flagship IDE not providing a development experience to match? Whether itā€™s internal priorities or a million other reasons that impact a large corporation, the expectation that Visual Studio users will have to wait and deal with it is suitable when customers donā€™t have a choice. They do now, and a non-Microsoft tool is consistently beating them on the Blazor development experience. Iā€™m disappointed.


EF Core 6 designs take shape

This week, Jeremy Likness shared the high-level, subject-to-change plan for EF Core 6ā€”to be released with .NET 6 in November. Itā€™ll target .NET 6, of course, wonā€™t run on .NET Framework and likely will not support any flavor of .NET Standard.

Some big features make the list, like SQL Server temporal tables (allowing you to create them from migrations and the ability to access historical data), JSON columns, compiled models, and a plan to match Dapper performance. The latter definitely caught my eye. As David Ramel writes this week, he quotes Jeremy as saying: ā€œThis is a significant challenge which will likely not be fully achieved. Nevertheless, we will get as close as we can.ā€

In other EF news, the team released a new doc on EF Core change tracking.


GitHub Pages gets more enterprise-y

As Microsoft is trying to make sense of competing workloads with GitHub and consolidate productsā€“weā€™ve talked a few times about Azure DevOps and GitHub Actionsā€”look for things in GitHub to get a little more enterprise-y.

This week, GitHub released something called ā€œAccess Control for GitHub Pagesā€, rolled out to the GitHub Enterprise Cloud. This gives you the option to limit access of GitHub Pages to users with repository access. This is ideal for documentation and knowledge bases, or any other static site needs.


A quick correction

There is no magic ā€œundoā€ command with newsletters, sadly. Iā€™d like to make a correction from last week.

I hope you enjoyed last weekā€™s interview with Steve Sanderson, the creator of Blazor. I made a mistake in the introduction. Hereā€™s what I originally wrote:

It seems like forever ago when, at NDC Oslo in 2017, Steve Sanderson talked about a fun project he was working on, called .NET Anywhere. In the demo, he was able to load and run C# codeā€”ConsoleApp1.dll, specificallyā€”in the browser, using Web Assembly. C# in the browser! In the talk, he called it ā€œan experiment, something for you to be amused by.ā€

I made the implication that Steve created the Dot Net Anywhere (DNA) runtime. With apologies to Chris Bacon, not true!

Hereā€™s what I should have said:

It seems like forever ago when, at NDC Oslo in 2017, Steve Sanderson showed off a new web UI framework with the caveat: ā€œan experiment, something for you to be amused by.ā€ By extending Dot Net Anywhere (DNA), Chris Baconā€™s portable .NET runtime, on WebAssembly, he was able to load and run C# in the browser. In the browser!

Thanks to Steve for the clarification.


šŸŒŽ Last week in the .NET world

šŸ”„ The Top 4

šŸ“¢ Announcements

šŸ“… Community and events

- Neil MacMullen introduces Textrude for generating code from data.

SĆ©bastien Ros is at it again, releasing a fast parser combinator library called Parlot.

šŸŒŽ Web development

ā›… The cloud

šŸ“” Languages

šŸ”§ Tools

šŸ“± Xamarin

šŸ— Design, testing, and best practices

šŸŽ¤ Podcasts

šŸŽ„ Videos

Top comments (0)