The official Fatica Labs Blog! RSS 2.0
# Friday, January 30, 2009

Piccolo problema affrontato al volo oggi: Un client WCF non raggiunge un server quando tra i due c'è un proxy che richiede autenticazione. Le credenziali dell'utente però sono sufficienti ad autenticarsi al proxy, e l'utente ha effettuato già il login. La soluzione è ( xEsempio ) dire a .NET di usare le credenziali attive, questo si fa modificanto/aggiungendo la seguenter sezione nel machine.config:

 <system.net>

<defaultProxy enabled="true" useDefaultCredentials="true">

</defaultProxy>

</system.net>

 

Friday, January 30, 2009 2:40:00 AM (GMT Standard Time, UTC+00:00)  #    Comments [0] - Trackback


My Stack Overflow
Contacts

Send mail to the author(s) E-mail

Tags
profile for Felice Pollano at Stack Overflow, Q&A for professional and enthusiast programmers
About the author/Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2012
Felice Pollano
Sign In
Statistics
Total Posts: 143
This Year: 3
This Month: 0
This Week: 0
Comments: 105
This blog visits
All Content © 2012, Felice Pollano
DasBlog theme 'Business' created by Christoph De Baene (delarou) and modified by Felice Pollano