CoreWCF / CoreWCF/samples

Binding Name Query in CoreWCF

Aperta
#46 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C#
Stelle
50
Fork
22
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

**Which sample is the bug for**

**Describe the bug**
I'm currently transitioning from ASMX to CoreWCF and noticed a difference in the binding naming convention. In ASMX, we've been able to name our bindings simply, for example: "GetAppReportSoap". However, in CoreWCF, it seems that the binding name also requires the contract name, resulting in something like: "GetAppReportSoap_IGetAppReportSoap".

Could you please clarify if this is the expected behavior, or if there is a way to use simple binding names in CoreWCF similar to what we had in ASMX?

**To Reproduce**
Steps to reproduce the behavior:
1. Build application'
2. Copy the WSDL service.
3. Check the WSDL service URL in the Soap application.
4. See the change in the image below.

**Expected behavior**
The expected behavior is shown in green, whereas the actual behavior is highlighted in red below the image.
![image](https://github.com/user-attachments/assets/ccfaabfa-937c-4e9a-bb50-9b1d3d288546)
**Repo environment (please complete the following information):**
- OS: Windows
- .NET Version 6.0
- IDE or command line builds

**Additional context**

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia riproducendo il problema usando l’applicazione di esempio CoreWCF descritta nei passaggi per la riproduzione e ispeziona l’URL del servizio WSDL generata. Confronta i nomi di binding previsti ed effettivi mostrati nell’immagine allegata, quindi determina se il nome del contratto è previsto o se è possibile configurare nomi di binding semplici; documenta il risultato e qualsiasi modifica necessaria all’esempio.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
csharp
Ambito
api
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.