Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
通过 REST API 在 Azure Cloud 中创建部署时,我需要将服务配置文件编码为 base 64 字符串。我怎样才能做到这一点 ?
下面这行代码怎么样?
Convert.ToBase64String(System.Text.Encoding.UTF8.GetBytes(configurationFileContent));