Hi @Deepankar
To resolve the issue where the connection string is unable to locate the model deployed on Azure AI Foundry in .NET 8 C# Quick start, it's crucial to ensure that the code is correctly configured to connect to the deployed model. Begin by verifying that the connection string in your code matches the one provided in the Azure AI Foundry portal, ensuring it includes the correct server address, database name, username, and password. Next, review the code logic to confirm that the connection string is being utilized correctly, ensuring proper opening and closing of connections. Additionally, check that all required packages and dependencies are correctly installed in your project, particularly those specified in the C# Quick start guide for Azure AI Foundry. Debugging tools can be used to step through the code and identify the point of failure, reviewing any exceptions or error messages for further insights. Also, confirm that your testing environment is properly set up and that there are no network or firewall restrictions preventing the connection to the model. If issues persist after these checks, further code review and consultation of Azure AI Foundry documentation or community forums may be required. Comparing your implementation with the Quick start guide might help identify discrepancies, and running the code in a different environment can verify if the problem is environment.
Refer the link https://learn.microsoft.com/en-us/dotnet/api/overview/azure/ai.projects-readme?view=azure-dotnet-preview
Hope this helps. Do let us know if you any further queries.
If this answers your query, do click Accept Answer
and Yes
for was this answer helpful. And, if you have any further query do let us know.