Click here to Skip to main content
15,887,596 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionGetting the Excepption ExceptionType Newtonsoft.Json.JsonSerializationException in my Web API Pin
indian14311-May-17 8:56
indian14311-May-17 8:56 
SuggestionRe: Getting the Excepption ExceptionType Newtonsoft.Json.JsonSerializationException in my Web API Pin
ZurdoDev11-May-17 9:15
professionalZurdoDev11-May-17 9:15 
GeneralRe: Getting the Excepption ExceptionType Newtonsoft.Json.JsonSerializationException in my Web API Pin
indian14311-May-17 11:20
indian14311-May-17 11:20 
GeneralRe: Getting the Excepption ExceptionType Newtonsoft.Json.JsonSerializationException in my Web API Pin
ZurdoDev12-May-17 0:46
professionalZurdoDev12-May-17 0:46 
SuggestionRe: Getting the Excepption ExceptionType Newtonsoft.Json.JsonSerializationException in my Web API Pin
Richard Deeming12-May-17 1:19
mveRichard Deeming12-May-17 1:19 
GeneralRe: Getting the Excepption ExceptionType Newtonsoft.Json.JsonSerializationException in my Web API Pin
indian14317-May-17 7:16
indian14317-May-17 7:16 
GeneralRe: Getting the Excepption ExceptionType Newtonsoft.Json.JsonSerializationException in my Web API Pin
Richard Deeming17-May-17 7:30
mveRichard Deeming17-May-17 7:30 
GeneralRe: Getting the Excepption ExceptionType Newtonsoft.Json.JsonSerializationException in my Web API Pin
indian14317-May-17 10:39
indian14317-May-17 10:39 
Hi Rick, thank you very much as I am new to the MVC, so when I am calling the Web Api Action method, its going to go to the Controller Action and returning from there the Json but not returning to the html page, how should I work with Web API when I want to load the html, do I need to call the html and then call the web api methods or should I set up the Api Controller Action methods as start point and then redirect to my html page?
It is basic question but this is my first MVC (MVC Web Api) application, that's why I need help. Because in MVC applications the url would be controller action methods and then it will be binded to the cshtml file. But how can I do that in Web Api because by default the Action method is not going to html at all.
2. Another question is if I am calling API controller Get action method and redirecting to html page then, why should I call it again to load data, because I have written the returning of Data in the Get action method just like above.

Please help me in understanding this confusion a little bit. Thank you very much Rick.

Thanks,

Abdul Aleem

"There is already enough hatred in the world lets spread love, compassion and affection."

GeneralRe: Getting the Excepption ExceptionType Newtonsoft.Json.JsonSerializationException in my Web API Pin
Richard Deeming17-May-17 11:23
mveRichard Deeming17-May-17 11:23 
GeneralRe: Getting the Excepption ExceptionType Newtonsoft.Json.JsonSerializationException in my Web API Pin
indian14317-May-17 12:14
indian14317-May-17 12:14 
Questionhow can i add gridview in asp.net page using c# Pin
Joker87AHAHAH10-May-17 7:26
Joker87AHAHAH10-May-17 7:26 
AnswerRe: how can i add gridview in asp.net page using c# Pin
User 418025414-May-17 19:04
User 418025414-May-17 19:04 
Questionpage doesnot autopostback on radio button Pin
prog.sidra10-May-17 2:25
prog.sidra10-May-17 2:25 
AnswerRe: page doesnot autopostback on radio button Pin
User 418025414-May-17 19:07
User 418025414-May-17 19:07 
AnswerRe: page doesnot autopostback on radio button Pin
senthilaaru18-May-17 4:34
senthilaaru18-May-17 4:34 
Questionasp .net and angular2 Pin
Member 121448819-May-17 19:59
Member 121448819-May-17 19:59 
AnswerRe: asp .net and angular2 Pin
Richard MacCutchan9-May-17 21:32
mveRichard MacCutchan9-May-17 21:32 
GeneralRe: asp .net and angular2 Pin
Member 1214488110-May-17 5:03
Member 1214488110-May-17 5:03 
GeneralRe: asp .net and angular2 Pin
Richard MacCutchan10-May-17 5:24
mveRichard MacCutchan10-May-17 5:24 
AnswerRe: asp .net and angular2 Pin
Afzaal Ahmad Zeeshan10-May-17 5:27
professionalAfzaal Ahmad Zeeshan10-May-17 5:27 
QuestionLuck with integrating lightSlider with bootstrap and MVC Pin
jkirkerx9-May-17 8:52
professionaljkirkerx9-May-17 8:52 
AnswerBetter Luck Now Pin
jkirkerx9-May-17 13:38
professionaljkirkerx9-May-17 13:38 
Questionsearch record in gridview on page change reset to the old Pin
prog.sidra9-May-17 1:06
prog.sidra9-May-17 1:06 
AnswerRe: search record in gridview on page change reset to the old Pin
Afzaal Ahmad Zeeshan9-May-17 1:19
professionalAfzaal Ahmad Zeeshan9-May-17 1:19 
QuestionNeed HRMS Application Pin
naveen.prasad1528-May-17 8:43
naveen.prasad1528-May-17 8:43 

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.