Async Streams – A Look at New Language Features in C# 8

ReSharper and Rider support for C# 8It’s been a while since our last part in the C# 8 series, but here it is! We will continue our journey through the new language features, and dive into async streams.

In this series, we are looking at:

Asynchronous programming is a form of programming that prevents blocking of our application by allowing time-consuming work – like downloading data from a network – to be decoupled from the main thread. For our implementation, in principal, it requires to hand over a callback to the asynchronous method, that in turn will invoke the callback when it has finished its work.

With C# 5, the async and await keywords have been introduced. These fundamentally improved how we can write and consume asynchronous methods. Basically, the structure of our code can remain almost the same compared to a synchronous implementation, but the compiler takes over a whole lot of work to restructure our code into mentioned callbacks to make it stateful and non-blocking. This, though, only worked for void and single-result methods using Task and Task<T> as return type.

Methods producing streams of data – a.k.a. IEnumerable<T> – were left out, and required custom code to be written. However, such requirements are quite popular, thinking of working with cloud applications, collecting data from IoT sensors, or receiving data from databases. Hello, C# 8 and IAsyncEnumerable!

Continue reading

Posted in How-To's | Tagged , , , , , , | 1 Comment

Developing Xamarin applications in Rider

With Rider, we can create and work with Xamarin projects to develop applications targeting Android and/or iOS devices. We can write code and make use of code analysis, coding assistance, refactoring and debugging features, built-in tools like Version Control and the NuGet client, and deploy and debug our apps on emulated or real devices.

In this blog post, we want to provide an overview of how to get started and what tooling is available. And while we’ll be targeting Android, keep in mind that targeting iOS is very similar. Continue reading

Posted in How-To's | Tagged , , , , , , | 4 Comments

Build HTML and JavaScript apps using Rider

HTML and JavaScript are the most popular programming languages today powering the internet. Whether desktop or mobile, a front-end is almost always required, and HTML and JavaScript are the only game in town for front-end web development. ASP.NET developers need to write HTML and JavaScript as part of their daily tasks. Because Rider is built with the WebStorm engine, you can quickly create robust web front-ends for any back-end. In this post, we’ll take a look at the HTML, CSS, and JavaScript related features that Rider has for building awesome front-ends.

Continue reading

Posted in How-To's | Tagged , , , , , | 2 Comments

TDD and the Terminator – An introduction to Test Driven Development – Webinar Recording

The recording of our August 20 webinar, TDD and the Terminator – An introduction to Test Driven Development, with Layla Porter, is now available. Subscribe to our community newsletter to receive notifications about future webinars.

Getting started with Test Driven Development (TDD) can be very challenging. It requires a different mindset and approach to writing and developing code. However, once in that mindset, it is very difficult not to write tests first.

But why bother writing tests first?

In this session, we will go through the reasons for writing tests before coding, look at architecture and design principles, such as SOLID and see how it all comes together to create a more testable and maintainable application.

I will show you how to get started writing tests first with practical examples on how to reprogram a T800 series Terminator so you can start using TDD in your own applications (or killer robots from the future).

Hasta La Vista badly-written code!

Continue reading

Posted in How-To's | Tagged , , , , , | Leave a comment

Find your perfect C# style using Rider

What does C# code with good style look like? While it depends somewhat on the individual or team, there are a few popular staples of style when it comes to C#, and you’ll read about those here. Regardless of what’s popular or recommended, code with good style always has two qualities: It’s easy to read and consistent. Consistency is key in programming, and that really shows when it comes to programming style.

This post is part of a series around finding a coding style that fits you like a glove, and how Rider can help:

For now, let’s take a look at customizing C# code in Rider. Continue reading

Posted in How-To's | Tagged , , , | 2 Comments

Webinar – Better Xamarin Development with Rider for Mac

Join us Tuesday, October 8, 2019, 16:00 – 17:00 CEST (10:00 AM – 11:00 AM EDT or check other timezones) for our free live webinar, Better Xamarin Development with Rider for Mac, with Dylan Berry.

Register now!

JetBrains Rider offers several advantages over the standard tools for Xamarin developers. We will explore the various ways Rider can help you improve your coding speed and quality so you can ship faster!

Continue reading

Posted in How-To's | Tagged , , , , | Leave a comment

.NET Annotated Monthly | September 2019

Ahhh, September. It’s such a great month that it’s been memorialized in a popular song by Earth, Wind, and Fire. In many places, school starts again and autumn will soon be upon us (for the north half of the world). As the weather becomes milder, it’s nice to sit outside and catch up on some technical reading. Besides, once the kids go back to school you can actually get some reading done.

.NET Annotated Monthly Continue reading

Posted in How-To's | Tagged , , , | Leave a comment

Meet the JetBrains .NET team in Sydney, Melbourne and Brisbane


This October, the JetBrains .NET team is coming to Australia, visiting Sydney, Melbourne and Brisbane. Our .NET Developer Advocates Matt Ellis and Maarten Balliauw will be visiting NDC Sydney and be part of several local events. We’ll talk about best practices when using Rider, and memory management in .NET.

Here’s where you can find us:

On Tuesday, October 15th, we are hosting a JetBrains Night in Sydney where Matt and Maarten are joined by local speaker Rob Pearson who will ship ASP.NET Core apps without Windows, using JetBrains Rider and Octopus Deploy. Register here »
While there, we will be at NDC Sydney (October 16-18) where you can find us talk about how Rider is built, and Unity for the enterprise developer. Stop by our booth for some swag and a chat! We’re happy to answer any questions you may have. Learn more »
On Monday, October 21st we’re hosting a free meetup in Melbourne, where Nicholas Blumhardt joins us and share his experience with 10 years of OSS in .NET. Register here »
Our next and final stop will be JetBrains Night Brisbane on October 22, where local speaker Nicholas Blumhardt joins us again. Register here »

Register for these events today (seats are limited). We’re looking forward to seeing you at these events down under!

Posted in How-To's | Tagged , , , , , , | 2 Comments

Rider 2019.2.2 is Released!

Please welcome Rider 2019.2.2, which delivers about 60 fixed requests.
Here are the most significant fixes:
Continue reading

Posted in Releases | Tagged , , , , , | 12 Comments

ReSharper Ultimate 2019.2.2 is Out!

The new bugfix for ReSharper Ultimate is available – say hello to ReSharper Ultimate 2019.2.2.

ReSharper 2019.2.2 fixes more than 50 issues and the most important ones are highlighted in the list below:
Continue reading

Posted in Releases | Tagged , , , | 8 Comments