![]() ![]() Private static readonly AzureKe圜redential credentials = new AzureKe圜redential("replace-with-your-key-here") See the Azure AI services security article for more information. For production, use a secure way of storing and accessing your credentials like Azure Key Vault. Remember to remove the key from your code when you're done, and never post it publicly. Remember to replace the key variable with the key for your resource, and replace the endpoint variable with the endpoint for your resource. Code exampleĬopy the following code into your program.cs file. You can also use the Package Manager Console. In the package manager that opens select Browse and search for Azure.AI.TextAnalytics. Install the client library by right-clicking on the solution in the Solution Explorer and selecting Manage NuGet Packages. This will create a "Hello World" project with a single C# source file: program.cs. Using the Visual Studio IDE, create a new. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |