Click here to Skip to main content
15,888,454 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionasp.net with c# Pin
GmsTechnoSoft17-Feb-14 1:51
GmsTechnoSoft17-Feb-14 1:51 
AnswerRe: asp.net with c# Pin
Tom Marvolo Riddle17-Feb-14 2:12
professionalTom Marvolo Riddle17-Feb-14 2:12 
SuggestionRe: asp.net with c# Pin
ZurdoDev18-Feb-14 15:20
professionalZurdoDev18-Feb-14 15:20 
QuestionRe: asp.net with c# Pin
Ahmed Bensaid26-Feb-14 4:40
professionalAhmed Bensaid26-Feb-14 4:40 
Questionlist of ASP.NET SMS Gateways Pin
Sharath Madhav16-Feb-14 19:22
Sharath Madhav16-Feb-14 19:22 
AnswerRe: list of ASP.NET SMS Gateways Pin
thatraja16-Feb-14 20:03
professionalthatraja16-Feb-14 20:03 
GeneralRe: list of ASP.NET SMS Gateways Pin
ZurdoDev18-Feb-14 15:21
professionalZurdoDev18-Feb-14 15:21 
QuestionHHHEEEEEELLLPP!! - async WebAPI call never returns Pin
Rob Achmann16-Feb-14 7:47
Rob Achmann16-Feb-14 7:47 
Quick question..
I have WebAPI - like /api/SomeName

Called directly in my browser, it works - it returns JSON results.

I want to call WebAPI asynchronously.
C#
using (HttpClient httpClient = new HttpClient())
{
    string response = await httpClient.GetStringAsync("/api/SomeName");
    return response;
}


But the GetStringAsync NEVER returns! Aaaarrrg

Is this the correct way to call it - of should I do something else?

Any tips? Advice? Hints?

maker of .Net thingys

AnswerRe: HHHEEEEEELLLPP!! - async WebAPI call never returns Pin
Kornfeld Eliyahu Peter16-Feb-14 9:51
professionalKornfeld Eliyahu Peter16-Feb-14 9:51 
AnswerRe: HHHEEEEEELLLPP!! - async WebAPI call never returns Pin
Rob Achmann16-Feb-14 10:25
Rob Achmann16-Feb-14 10:25 
AnswerRe: HHHEEEEEELLLPP!! - async WebAPI call never returns Pin
ZurdoDev18-Feb-14 15:23
professionalZurdoDev18-Feb-14 15:23 
QuestionClick Event in Menu Control not firing Pin
Kandepu Rajesh15-Feb-14 18:17
Kandepu Rajesh15-Feb-14 18:17 
AnswerRe: Click Event in Menu Control not firing Pin
Rob Achmann16-Feb-14 1:48
Rob Achmann16-Feb-14 1:48 
GeneralRe: Click Event in Menu Control not firing Pin
Kandepu Rajesh16-Feb-14 10:24
Kandepu Rajesh16-Feb-14 10:24 
GeneralRe: Click Event in Menu Control not firing Pin
Prasad Vj16-Feb-14 21:07
professionalPrasad Vj16-Feb-14 21:07 
GeneralRe: Click Event in Menu Control not firing Pin
Rob Achmann19-Feb-14 3:32
Rob Achmann19-Feb-14 3:32 
JokeRe: Click Event in Menu Control not firing Pin
ZurdoDev18-Feb-14 15:25
professionalZurdoDev18-Feb-14 15:25 
GeneralRe: Click Event in Menu Control not firing Pin
Rob Achmann19-Feb-14 3:30
Rob Achmann19-Feb-14 3:30 
GeneralRe: Click Event in Menu Control not firing Pin
ZurdoDev19-Feb-14 3:51
professionalZurdoDev19-Feb-14 3:51 
AnswerRe: Click Event in Menu Control not firing Pin
Prasad Vj16-Feb-14 21:09
professionalPrasad Vj16-Feb-14 21:09 
Questionmvc 4 Ajax.BeginForm with Web API? Pin
Rob Achmann15-Feb-14 15:06
Rob Achmann15-Feb-14 15:06 
AnswerRe: mvc 4 Ajax.BeginForm with Web API? Pin
Rob Achmann16-Feb-14 10:48
Rob Achmann16-Feb-14 10:48 
AnswerRe: mvc 4 Ajax.BeginForm with Web API? Pin
Rob Achmann19-Feb-14 3:33
Rob Achmann19-Feb-14 3:33 
QuestionBuild API in ASP.NET Web Form Pin
Hy Chanhan15-Feb-14 5:14
professionalHy Chanhan15-Feb-14 5:14 
AnswerRe: Build API in ASP.NET Web Form Pin
Rob Achmann16-Feb-14 1:51
Rob Achmann16-Feb-14 1:51 

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.