Programming Languages on Power

 View Only

The blog of blogs: .NET on IBM Power resources for developers

By Linda Alkire posted 19 days ago


With the recent announcement that .NET 7 now supports Linux on Power, you can finally run your .NET applications on Power! To help get you started, we've curated this list of developer-focused resources on topics from installing .NET and running a simple Hello World program to more advanced topics like how to use an IDE to develop .NET applications on ppc64le, and many others in between. We plan to update the list as new content is developed so follow this blog (click the little star up above) to make sure you receive notifications when we do.


Learn about .NET on Power

Try it

Try .NET on Power

When you're ready to try .NET on Power, check these resources to get you started.

Get access to a Power machine

  • Read this blog, Accelerate your open source development with access to IBM Power resources, that lists several IBM Power cloud, emulation, and on-prem options to help you get access to development tools and resources.

    • Enterprise users might consider Power Virtual Server

    • Independent software developers (ISVs) and Business Partners might consider IBM TechZone

    • ISVs may also consider a RADAR-ISV system in Montpellier France

    • Open source developers might consider the Open Source Lab at Oregon State University.

Install .NET and run your first Hello World program

After you have access to a Power machine, you're ready to install .NET and run a sample Hello World application on IBM Power.


Now that you have .NET installed on your Power machine, give these examples a try.

Connect your .NET application to a database

A .NET application can connect to backend database servers using Entity Framework (EF) Core, ADO.NET, ODBC, or native drivers. The following blogs cover several of these scenarios based on whether the database is on the same server as the .NET app or not:

Migrate your existing .NET 7 applications to Linux on Power

This blog, IdentityServer (SQLite DB) on .NET 7, shows you how to migrate a .NET 3.1 application (IdentityServer) with a SQLite backend to .NET 7 on a Power system running Red Hat Enterprise Linux (RHEL) 8.7 or 9.1.

Advanced examples

  • Develop .NET applications on IBM Power using Virtual Studio Code with OpenShift Dev Spaces. In this blog, which is coming soon, you'll learn to install and use Red Hat OpenShift Dev Spaces to code, build, test, run, and debug your .NET applications on Power.

  • Cross build .NET 7 on x86 for IBM Power. This blog shows you how to take your upstream code and build it for ppc64le on the distro of your choice, which is a longer, more complex task.

  • Debugging tips and tricks. This blog, which is coming soon, will list some known problems and provide guidance for troubleshooting them.

  • .NET 7 on ppc64le Fedora – Now available!

Hands-on demos on IBM TechZone

  • Bringing .NET to life on IBM Power shows you how you can benefit from cloud with greater sustainability, scale, security, performance, and economics when consolidating existing .NET applications from x86 to Power. This collection includes access to an OpenShift cluster, a demo video plus instructions and resources to help you complete the demo.

  • Build a dotnet image and deploy a full microservice application on a Power cluster walks you through the process of porting an open source solution from x86 to Power. The solution is built using various microservices, has been updated to include a single .NET microservice, and includes access to an OpenShift cluster to try the demo yourself.

Note that you must be an IBM Partner to access all TechZone demos and resources.

Start a conversation icon

Start a conversation

I'd like to thank @Paul Chapman, @Janani Janakiraman @Sapana Khemkar @Alhad Deshpande @Ashwini and the entire IBM Power Open Source Ecosystem team for the thoughtful, informative contributions included here.

Please drop a note in the comments section below (you'll need to join the community to comment) and tell us what other topics you'd like us to cover and/or provide your valuable feedback.

We will continue to update this blog as we develop more content, so click Follow above to get notifications when we do.