Summary and Going Further¶
You now have the skills you need to start creating Thriftly APIs from your own .NET/C# applications. Remember, the key steps to creating a Thriftly API from your application are:
Adding the Thriftly.Server.dll reference to your application.
Adding the using Thriftly.Server directive to your application’s Program.cs file and any services you want to turn into Thriftly APIs.
Connecting to the Thriftly Server and calling the services you want to transform into APIs within your Program.cs file.
Adding the PublishedAttribute above the functions you want to expose as part of your API, so you (or other developers) can access those functions over the web.
Depending on your experience with APIs, you may now know all you need to know to create robust APIs using Thriftly. Or, you might be wondering what to do next:
For those who want to know more about what they can (and can’t) code into their .NET/C# Thriftly APIs, we recommend taking a look at our .NET/C# Developers’ Reference. This topic provides more information on Thriftly-specific metadata and references you can include in your application and lists the data types Thriftly allows you to access as APIs.
For those who want to see some of Thriftly’s advanced API creation features, including our built-in JSON Web Token support and easy-to-add API documentation, we recommend you jump to the Thriftly Developer: Beyond the Basics section. There, you’ll learn how to do more with your Thriftly APIs.