How can I integrate Azure Cognitive Services into a .NET application?

Phil Salt 0 Reputation points
2025-11-21T17:23:56.55+00:00

I am currently learning about Azure on Microsoft Learn and want to integrate Azure Cognitive Services (like Text Analytics or Computer Vision) into a .NET 6 application. I am looking for guidance on:

  1. Setting up the Azure resources needed.
  2. Authenticating the application to access the services.
  3. Example code to call an API like Text Analytics or Computer Vision from .NET.

Any step-by-step tutorials or sample projects would be really helpful.

Microsoft Security | Microsoft Sentinel
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Andrew Taylor - AST Consulting Inc 715 Reputation points
    2025-11-22T19:20:30.8533333+00:00

    Hello Phil Salt,

    Thank you for reaching out to Microsoft Learn Q&A regarding your .NET 6 application.


    .NET 6 reached the end of support on November 12, 2024, and no longer receives security updates or fixes, so running on it is not recommended. That said, you have a couple of options for upgrading to .NET 8 or .NET 10.

    Please let me know if you have any questions or need additional guidance once you decide on an upgrade path.

    Also, if you found this to be helpful, please 'accept' this as an answer, as this helps others in the community find relevant answers to similar issues in the ecosystem.

    Best regards,

    Andrew Taylor


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.