Click here to Skip to main content
15,888,579 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: forums Pin
Christian Graus21-Mar-10 18:26
protectorChristian Graus21-Mar-10 18:26 
GeneralRe: forums Pin
Rajesh R Subramanian21-Mar-10 18:39
professionalRajesh R Subramanian21-Mar-10 18:39 
JokeRe: ignorance Pin
The Man from U.N.C.L.E.22-Mar-10 2:12
The Man from U.N.C.L.E.22-Mar-10 2:12 
QuestionRe: forums Pin
AspDotNetDev21-Mar-10 19:30
protectorAspDotNetDev21-Mar-10 19:30 
AnswerRe: forums Pin
leppie21-Mar-10 19:43
leppie21-Mar-10 19:43 
AnswerRe: forums Pin
Sandeep Mewara21-Mar-10 20:16
mveSandeep Mewara21-Mar-10 20:16 
AnswerRe: forums Pin
PIEBALDconsult22-Mar-10 3:22
mvePIEBALDconsult22-Mar-10 3:22 
QuestionDns.Resolve does not work occasionally Pin
AmitDey17-Mar-10 19:36
AmitDey17-Mar-10 19:36 
I am trying to build a Http Proxy Server

It has this line of code
IPHostEntry entry = Dns.Resolve(Host); // Host = "www.google.com"


This causes exception
[System.Net.Sockets.SocketException] = {"The requested name is valid, but no data of the requested type was found"}

But when I run the same line of code in a stand alone application, it works fine
IPHostEntry entry = Dns.Resolve("www.google.com");
Console.WriteLine(entry.AddressList[0].ToString());


What is wrong here ?
AnswerRe: Dns.Resolve does not work occasionally Pin
Som Shekhar17-Mar-10 20:59
Som Shekhar17-Mar-10 20:59 
GeneralRe: Dns.Resolve does not work occasionally Pin
AmitDey17-Mar-10 21:26
AmitDey17-Mar-10 21:26 
GeneralRe: Dns.Resolve does not work occasionally Pin
Som Shekhar17-Mar-10 21:32
Som Shekhar17-Mar-10 21:32 
GeneralRe: Dns.Resolve does not work occasionally Pin
AmitDey17-Mar-10 21:40
AmitDey17-Mar-10 21:40 
GeneralRe: Dns.Resolve does not work occasionally Pin
AmitDey17-Mar-10 21:28
AmitDey17-Mar-10 21:28 
AnswerRe: Dns.Resolve does not work occasionally Pin
Som Shekhar17-Mar-10 22:41
Som Shekhar17-Mar-10 22:41 
AnswerRe: Dns.Resolve does not work occasionally Pin
leppie21-Mar-10 19:45
leppie21-Mar-10 19:45 
QuestionRuns a process at a time of day, on Sever Application Pin
DavidRRR17-Mar-10 14:39
DavidRRR17-Mar-10 14:39 
AnswerRe: Runs a process at a time of day, on Sever Application Pin
Dave Kreskowiak17-Mar-10 15:42
mveDave Kreskowiak17-Mar-10 15:42 
AnswerRe: Runs a process at a time of day, on Sever Application Pin
Super Lloyd17-Mar-10 15:56
Super Lloyd17-Mar-10 15:56 
AnswerRe: Runs a process at a time of day, on Sever Application Pin
Not Active17-Mar-10 17:35
mentorNot Active17-Mar-10 17:35 
QuestionVertical CSS Menu in ASP.NET Pin
MWRivera17-Mar-10 10:44
MWRivera17-Mar-10 10:44 
AnswerRe: Vertical CSS Menu in ASP.NET Pin
Richard MacCutchan17-Mar-10 12:10
mveRichard MacCutchan17-Mar-10 12:10 
GeneralRe: Vertical CSS Menu in ASP.NET Pin
MWRivera18-Mar-10 3:23
MWRivera18-Mar-10 3:23 
AnswerRe: Vertical CSS Menu in ASP.NET Pin
Gregory Gadow17-Mar-10 12:11
Gregory Gadow17-Mar-10 12:11 
QuestionSetting Name property in custom control Pin
Gregory Gadow17-Mar-10 8:04
Gregory Gadow17-Mar-10 8:04 
AnswerRe: Setting Name property in custom control Pin
Som Shekhar17-Mar-10 8:54
Som Shekhar17-Mar-10 8:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.