Introducing .NET Core Support for Realm
Today we’re pleased to introduce .NET Core support on Realm. Developers can now build apps with Realm Mobile Platform using C# on both the client and server side for a complete end-to-end C# developer experience with Realm.
What is .NET Core?
.NET Core is the next evolution of the .NET platform, ideally suited to modern server-side development practices. With .NET Core, .NET developers can now build server-side apps that embrace the following requirements:
- Cross platform (Linux, macOS, Windows)
- Docker container support (as a result of .NET Core running on Linux)
- Microservice architectures
- High performance and scalable systems
- Running apps side-by-side on the same server using different .NET versions
- .NET Core uses many of the same .NET platform components as the .NET Framework so you can share code across the two.
.NET Core support for Realm
With Realm .NET Core support, you can now integrate Realm on the server backend using C#. (as an alternative to using our Node.js binding). Realm customers who specialize in .NET have expressed great interest in the addition of .NET Core support; these customers can now use a familiar framework while building the server-side components of their mobile apps. For instance, customers can now deploy scalable, Docker container-based microservices, all while using .NET and Realm. We’re excited to support this new framework because it represents a dramatic expansion in capabilities for our .NET community of developers who are interested in adopting the latest development practices.
By adding .NET Core support to the existing capabilities of the Realm Platform, it is also possible for an organization that prefers C# to use C# throughout their entire application supporting both client-side and server-side development. You can build cross-platform apps for iOS and Android using Xamarin while also using .NET Core on the server to integrate existing backend systems with Realm. The Realm Platform seamlessly two-way syncs data between the client devices—regardless of platform—and servers in realtime, allowing you to create a common data layer for your app. Our realtime two-way synchronization platform makes it easy to build modern reactive apps so that you can focus on creating a differentiated UX for your users.
“We love the simplicity of Realm and the speed of .NET Core; we’re excited that with Realm .NET Core support we can leverage both to bring the highest levels of performance to our backend microservices.” - Laura Thompson, Senior Software Engineer, Cartasite LLC
We want to make it easy for developers to work with the programming languages they are most comfortable with and the introduction of .NET Core support allows us to provide a complete end-to-end C# experience for our developer base.
If sync isn’t your fancy, Realm Database with .NET Core is also powerful tool. Now .NET developers have access to a performant and lightweight object database that works cross platform with .NET Core. You can easily deploy Realm as the standalone datastore for your apps built with .NET Core running on Windows, Linux, or macOS.
It’s easy to get started, it’s just like building for your Xamarin apps when you’re working with .NET Core. See Realm Xamarin documentation for more details.
We’re proud of what we’re shipping today, however, we have much more in store. In coming releases, we plan to launch the Global Notifier and the Data Adapter for .NET Core that will allow you to integrate event handling into your app and fault-tolerant data transfer with legacy database systems. Realm Mobile Platform Support for two-way data sync on Windows is also on the way. These additional features will be available in late 2017.