This event has ended. View the official site or create your own event → Check it out
This event has ended. Create your own
View analytic
Thursday, July 31 • 15:45 - 17:00
Typed? Dynamic? Both! Cross-platform DSLs in C# (Vagif Abilov) LIMITED

Sign up or log in to save this to your schedule and see who's attending!

Limited Capacity seats available

Now that we can declare dynamic objects in C#, how should we define our APIs? Typed, dynamic, mixed? In this session we will learn that sometimes it's useful to create an API in two incarnations: as strong typed and dynamic one. Such API can be adopted by developers with either preference and exposed to .NET platoforms that lack DLR support. We will study the principles of designing a dual API, demonstrate how to ensure maximum code sharing between typed and dynamic versions, and how to package and publish library files so they can be consumed on variety of .NET platforms, including iOS and Android.

Our case study will be based on an open-source OData client library that the speaker happens to maintain and which became a testbed of the technique presented in the talk. We will also have a look at other real-world scenarios that benefit from using dynamic C#, such as XML parsers and micro-ORMs.

avatar for Vagif Abilov

Vagif Abilov

Vagif Abilov is a Russian/Norwegian software developer working for Miles in Oslo. He has several decades of programming experience that includes various programming languages, currently using mostly C# and F#. Vagif writes articles and speaks at user group sessions and conferences. He is a contributor to several open source projects and maintains a few of his own, such as Simple.OData.Client and MongOData.

Thursday July 31, 2014 15:45 - 17:00
Osceola 4

Attendees (17)