Comments (4)
Thank you for your feedback. Tagging and routing to the team member best able to assist.
from azure-sdk-for-net.
Hi @kingsznhone. Thanks for reaching out and we regret that you're experiencing difficulties. Because Service Bus uses a string-based fully qualified namespace rather than a URI to identify namespace locations, both the connection name and FQNS are string values. As a result, it is not possible to just overload AddServiceBusClient
and a new name is needed for the FQNS form.
The method that you're looking for is AddServiceBusClientWithNamespace, which allows you to pass the fully qualified namespace name of the Service Bus resource and authenticate via credential.
services.AddAzureClients(clientBuilder =>
{
clientBuilder.AddServiceBusClientWithNamespace("<your_namespace>.servicebus.windows.net");
}
More context and discussion can be found in Dependency injection with the Azure SDK for .NET.
from azure-sdk-for-net.
Hi @kingsznhone. Thank you for opening this issue and giving us the opportunity to assist. We believe that this has been addressed. If you feel that further discussion is needed, please add a comment with the text "/unresolve" to remove the "issue-addressed" label and continue the conversation.
from azure-sdk-for-net.
Hi @kingsznhone. Thanks for reaching out and we regret that you're experiencing difficulties. Because Service Bus uses a string-based fully qualified namespace rather than a URI to identify namespace locations, both the connection name and FQNS are string values. As a result, it is not possible to just overload
AddServiceBusClient
and a new name is needed for the FQNS form.The method that you're looking for is AddServiceBusClientWithNamespace, which allows you to pass the fully qualified namespace name of the Service Bus resource and authenticate via credential.
services.AddAzureClients(clientBuilder => { clientBuilder.AddServiceBusClientWithNamespace("<your_namespace>.servicebus.windows.net"); }More context and discussion can be found in Dependency injection with the Azure SDK for .NET.
Thanks for your explaination. I'll have a try.
from azure-sdk-for-net.
Related Issues (20)
- Invalid model. The model argument should be left blank error HOT 2
- [QUERY] Which exception for Azure.AI.OpenAI 2.0.0-beta, System.ClientModel.ClientResultException or Azure.RequestFailedException? HOT 2
- [BUG] Azure.Search.Documents returns 'Parital Content' Error for semantic hybrid search HOT 2
- [BUG] Synonym Maps >> Index, "modelName" Error HOT 6
- [BUG] Semantic configuration properties for prioritized keyword fields not accepting string subfields of type Collection(Edm.ComplextType) HOT 6
- [BUG] 500 Error when GetToken called in Azure App Service, but not when run locally in VS 2022 HOT 6
- [FEATURE REQ] Set client LocationIP field by default when using Azure.Monitor.OpenTelemetry.AspNetCore HOT 1
- [BUG] Azure Function with UserAssigned ManagedIdentity has a 16% chance to result in Azure.Identity.CredentialUnavailableException HOT 2
- [QUERY] Calling CloseAsync() or DisposeAsync() on ServiceBusProcessor throws exception with reason ServiceBusFailureReason.MessagingEntityNotFound HOT 5
- ClientModel: Add method to HttpClientPipelineTransport HOT 1
- ChatCompletionOptions doesn't work in .NET Standard 2.0 due to init properties. HOT 1
- [BUG] Cannot upload fine tuning files for Azure OpenAI
- [QUERY] Azure Service Bus: Time Spent in Queue is Large HOT 2
- [FEATURE REQ] Use change feed when available for Blob triggers HOT 1
- [BUG] BlobContainerClient under DataLakeFileSystemClient does not honor the audience set to DataLakeFileSystemClient HOT 1
- [BUG] EntityRecognitionSkill is deprecated, but EntityRecognitionSkillV3 is not public HOT 5
- [QUERY] "Invalid Audience" error instead of "Entity Not Found" HOT 11
- The pagesize parameter is not taken effect during the pageable operation
- Cognitive Vision Service Access Denied 401 Error
- AnalyzeDocumentFromUriAsync Does not exist HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-sdk-for-net.