Click here to Skip to main content
15,917,645 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionASP.Net Best Practices Pin
DotnetCoders0012-Feb-14 5:10
DotnetCoders0012-Feb-14 5:10 
AnswerRe: ASP.Net Best Practices Pin
Snehasish_Nandy2-Feb-14 19:12
professionalSnehasish_Nandy2-Feb-14 19:12 
GeneralRe: ASP.Net Best Practices Pin
Richard MacCutchan2-Feb-14 22:00
mveRichard MacCutchan2-Feb-14 22:00 
AnswerRe: ASP.Net Best Practices Pin
thatraja2-Feb-14 20:35
professionalthatraja2-Feb-14 20:35 
AnswerRe: ASP.Net Best Practices Pin
Kornfeld Eliyahu Peter2-Feb-14 22:14
professionalKornfeld Eliyahu Peter2-Feb-14 22:14 
QuestionProblems with Profiles ... Pin
Promised_Coming2-Feb-14 0:20
Promised_Coming2-Feb-14 0:20 
AnswerRe: Problems with Profiles ... Pin
Prasad Vj2-Feb-14 1:35
professionalPrasad Vj2-Feb-14 1:35 
AnswerRe: Problems with Profiles ... Pin
Richard Deeming3-Feb-14 2:20
mveRichard Deeming3-Feb-14 2:20 
QuestionBest Practise Pin
abhi_24311-Feb-14 16:55
professionalabhi_24311-Feb-14 16:55 
AnswerRe: Best Practise Pin
Peter Leow1-Feb-14 17:30
professionalPeter Leow1-Feb-14 17:30 
AnswerRe: Best Practise Pin
Prasad Vj1-Feb-14 22:12
professionalPrasad Vj1-Feb-14 22:12 
QuestionRadiobutton not fire an event.. Pin
Member 1051352931-Jan-14 23:09
Member 1051352931-Jan-14 23:09 
AnswerRe: Radiobutton not fire an event.. Pin
Prasad Vj1-Feb-14 21:50
professionalPrasad Vj1-Feb-14 21:50 
QuestionASP.NET MVC Pin
woopsydoozy31-Jan-14 4:59
woopsydoozy31-Jan-14 4:59 
AnswerRe: ASP.NET MVC Pin
thatraja2-Feb-14 21:20
professionalthatraja2-Feb-14 21:20 
QuestionAJAX/Web Services and GET vs. POST Pin
littleGreenDude30-Jan-14 10:03
littleGreenDude30-Jan-14 10:03 
I'm still trying to wrap my head around this, so I'm not even sure I will be asking the right question...

I have a method that makes a call to a web service to get a result set. That result set is returned to the caller in Json format.

When the method makes the request to the service, is that an HTTPGET or an HTTPPOST request?

If the answer is it depends, is there a way to distinguish between the 2?

How do I know when I need to include the JsonRequestBehavior.AllowGet argument on my Json call?

Confused | :confused:

C#
public virtual ActionResult ListAjax([DataSourceRequest] DataSourceRequest request)
{
    var d = myWebService.GetD(s, c, f);
    var dList = d.Select(x => x.DId).ToList();
    DataSourceResult result = d.ToDataSourceResult(request);
    return Json(result);
}


modified 31-Jan-14 7:15am.

AnswerRe: AJAX/Web Services and GET vs. POST Pin
Gopi Kishan Mariyala31-Jan-14 0:27
Gopi Kishan Mariyala31-Jan-14 0:27 
GeneralRe: AJAX/Web Services and GET vs. POST Pin
littleGreenDude31-Jan-14 1:47
littleGreenDude31-Jan-14 1:47 
GeneralRe: AJAX/Web Services and GET vs. POST Pin
Gopi Kishan Mariyala31-Jan-14 1:50
Gopi Kishan Mariyala31-Jan-14 1:50 
QuestionLoading ascx control Using C# code Pin
Saeed Ansarinejad30-Jan-14 6:48
Saeed Ansarinejad30-Jan-14 6:48 
Questionhow to download xlsx file from sftp & convet into datatable Pin
antony beula30-Jan-14 1:04
antony beula30-Jan-14 1:04 
AnswerRe: how to download xlsx file from sftp & convet into datatable Pin
Richard Deeming30-Jan-14 2:10
mveRichard Deeming30-Jan-14 2:10 
Questionupdate a row in gridview when checkbox is checking (using button) Pin
Member 1036798129-Jan-14 12:12
Member 1036798129-Jan-14 12:12 
AnswerRe: update a row in gridview when checkbox is checking (using button) Pin
Member 1036798129-Jan-14 12:17
Member 1036798129-Jan-14 12:17 
AnswerRe: update a row in gridview when checkbox is checking (using button) Pin
Richard Andrew x6429-Jan-14 14:07
professionalRichard Andrew x6429-Jan-14 14:07 

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.