Did you know? In C#, you can use a feature called caller info attributes to obtain information about the caller of a method. This can be incredibly useful for logging, debugging, or tracing. The attributes CallerMemberName, CallerFilePath, and CallerLineNumber provide information such as the name of the calling method, the path to the source file that contains the caller, and the line number in the source file from which the method was called.
Welcome to dotInsights by JetBrains! This newsletter is the home for recent .NET and software development related information.
🌟 Featured Content
Jérôme Laban
This month, we bring you featured content from Jérôme Laban. Jérôme has been programming since 1998, with a primary focus on .NET and C# development. Throughout his career in France, he has served as a teacher, trainer, and consultant, sharing his expertise with others. Currently, Jerome is the CTO of the open-source Uno Platform in Montreal and a Microsoft MVP for Developer Tooling. He is also a frequent speaker at .NET User Groups and Microsoft conferences, and hosts a weekly live coding channel on Twitch.
New JetBrains Rider Plugin for Cross-Platform .NET development
Thanks for having me as a guest on the blog, JetBrains! I’m excited to share some great news with the JetBrains Rider community, especially for those of you who are passionate about cross-platform .NET development. JetBrains Rider users can now rejoice as developing cross-platform applications with Uno Platform has just become significantly easier. With the latest release of the Uno Platform plugin for JetBrains Rider, gone are the days of tedious manual setup—everything you need is now integrated directly into Rider, streamlining your workflow and boosting productivity.
What is Uno Platform anyway?
If you haven’t heard of Uno Platform yet, it is an open-source platform for creating beautiful, single codebase native mobile, web, desktop and embedded apps with .NET quickly.
A Seamless Development Experience
The new Uno Platform plugin for Rider puts a full suite of developer productivity tools right at your fingertips. Whether you’re leveraging C# and XAML Hot Reload for rapid iteration or taking advantage of robust debugging features, this plugin ensures that developing with Uno Platform on Rider is as smooth and efficient as possible. For a complete list of supported scenarios, be sure to check out our detailed documentation.
Uno Platform Solution Template Wizard
We didn’t stop there! We’ve also released the Uno Platform Solution TemplateWizard for Rider alongside the plugin. Available as part of the Uno Platform 5.3 release, this tool is designed to simplify your development process even further. How convenient to be able to access everything directly within Rider!
Key Features of the Solution Template Wizard
Platform Targeting: Easy config for Windows, macOS, iOS, Android, WebAssembly, and Linux..
Architecture Selection: Choose between MVVM (Model-View-ViewModel) or MVUX (Model-View-Update) design patterns, depending on your team’s preferred workflow and project needs.
Feature Inclusion: Customize your project by selecting from various Uno extensions, such as Navigation, Logging, and Uno.Toolkit.UI. Choose between C# or XAML markup languages as well as Material or Fluent design themes.
CI/CD Integration: Automatically generate YAML-based build scripts for GitHub Actions or Azure DevOps, streamlining your DevOps processes for cross-platform development.
With the Uno Platform plugin and the new Solution Template Wizard, JetBrains Rider has truly become a first-class citizen in the Uno Platform ecosystem. Whether you’re building for Windows, macOS, iOS, Android, WebAssembly, or Linux, these new tools will help you streamline your development process, allowing you to focus more on writing code and less on setup.
Each month we feature tutorials or tips from our .NET Guide.
Generate commands with AI
When using any of the JetBrains IDEs, you have the option to let the AI Assistant generate the command for you if you can’t remember that PowerShell command or forgot the syntax for a specific shell command while working on Linux or macOS.
One of the benefits of the modifier in C# is that it allows methods to receive a varying number of arguments. This provides more flexibility at runtime when passing arguments, eliminating the need to create multiple overloads for the same method. Additionally, it makes the calling code more concise compared to the traditional approach for methods requiring this type of runtime flexibility.
🎉 Register and tune in live on September 25–26 for two days of demo-rich sessions and insightful discussions with .NET enthusiasts, developers, and industry leaders from around the globe.