October 24, 2022 | Detroit, Michigan
View More DetailsRegistration Information

The Sched app allows you to build your schedule but is not a substitute for your event registration. You must be registered for KubeCon + CloudNativeCon North America 2022 - Detroit, MI + Virtual and add this Co-Located event to your registration to participate in these sessions. If you have not registered but would like to join us, please go to the event registration page to purchase a registration.

Please note: This schedule is automatically displayed in Eastern Daylight Time (EDT), UTC -4. To see the schedule in your preferred timezone, please select from the drop-down menu to the right, above "Filter by Date."

The schedule is subject to change.
Back To Schedule
Monday, October 24 • 1:55pm - 2:25pm
C# and Wasm Interface Types: Hands Across the C - Ivan Towlson, Fermyon

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

Feedback form is now closed.
Microsoft's .NET WASI preview provides a way to compile C# and F# applications to Wasm. But out of the box it doesn't provide a way to interoperate with Wasm interface types, either exporting interfaces from a component or importing implementations from a host or other Wasm modules. Yet interface types are becoming the standard for hosting and composing Wasm modules. So how can C# developers write components for this ecosystem? And how can platforms and plugin hosts make themselves accessible to C# developers? In this session, Ivan will dive deep into code to show how you can use C code and the .NET embedding API to bridge between a Wasm interface and .NET user code. The session covers both: * How to export a WIT interface from a .NET library, so it can function as a plugin or guest module * How a .NET library can access a WIT interface defined by a host or another Wasm module (written in any language)


Ivan Towlson

Software Engineer, Fermyon
Ivan has worked in the IT industry since 1990, for companies of all sizes across a range of domains from pharmaceutical research to roadbuilding. His recent work has been in cloud native developer tooling, including Helm, Porter, Brigade, and the Kubernetes extension for Visual Studio... Read More →

Monday October 24, 2022 1:55pm - 2:25pm EDT
Room 310 A