Hello @Cosmina Alexandra Jelea (RO) ,
I understand that you would like to know if there is way to automate the binding of an SSL certificate to Front Door and CDN profile (via custom domains) using C#.
Did you take a look at the Azure SDK for .NET, which provides a set of libraries and tools to interact with Azure resources?
Microsoft Azure Front Door management client library for .NET is the library which supports managing Microsoft Azure Front Door resources.
https://learn.microsoft.com/en-us/dotnet/api/azure.resourcemanager.frontdoor?view=azure-dotnet
Kindly let us know if the above helps or you need further assistance on this issue.
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.