No announcements
Found 2928775 threads
-
0 Votes
ASP.Net Core Razor Pages - creating a method to return list as json
User-17257777 posted Hi vansin, You can return json in the below format: public JsonResult OnGet() { ...Unanswered | 2 Replies | 979 Views | Created by Anonymous - Thursday, June 25, 2020 1:27 PM | Last reply by Anonymous - Friday, June 26, 2020 9:24 AM -
0 Votes
How to return the list object in WCF Rest Json
[DataMember] public List<object> Value { get; set; } The above you cannot do.Answered | 1 Replies | 13632 Views | Created by Thiago.Steiner - Saturday, May 7, 2016 12:01 AM | Last reply by DA924x - Sunday, May 8, 2016 7:47 PM -
0 Votes
My Service Returns json for one method but for other method it fails Why ??
My Problem is resolved but the method is some thing different i need to make class [DataContract] and [DataMember].Answered | 5 Replies | 479 Views | Created by MobinYaqoob - Tuesday, November 24, 2015 11:18 AM | Last reply by MDeero - Wednesday, November 25, 2015 12:58 PM -
1 Votes
Creating json data using c#
You can create rest services and return JSON data as well, if you don't particularly want to jump the hoop of creating external lists.Answered | 2 Replies | 7145 Views | Created by Robbertv - Friday, January 13, 2012 11:01 PM | Last reply by John Liu - Monday, January 16, 2012 5:26 AM -
0 Votes
problem to create first ASP.NET Core project
Make sure that you have installed all the listed tools before starting your ASP.NET Core Template Pack.Answered | 4 Replies | 528 Views | Created by zleug - Tuesday, February 7, 2017 10:02 PM | Last reply by Joyce Yin - Monday, February 13, 2017 8:49 AM -
2 Votes
How to create json array as a string with Object list
Up until the recent release, .NET doesn't have JSON support built in.Answered | 2 Replies | 438 Views | Created by Learning Rocks - Thursday, April 23, 2020 12:59 PM | Last reply by CoolDadTx - Thursday, April 23, 2020 2:00 PM -
1 Votes
WCF - How do I return clean JSON?
The resulting JSON is being returned as a string (with all the JSON elements escaped) because this is the return type of your method.Answered | 1 Replies | 16469 Views | Created by Alan Z - Monday, January 18, 2010 7:00 PM | Last reply by Carlos Figueira - Monday, January 18, 2010 9:42 PM -
0 Votes
ASP.NET Core MVC or Razor Pages?
I usually create a "service" layer (Business Logic) that calls methods in a Data Access layer (repositories, Entity Framework or whatever) ...Answered | 4 Replies | 172 Views | Created by Anonymous - Sunday, February 23, 2020 8:34 PM | Last reply by Anonymous - Wednesday, February 26, 2020 9:12 PM -
0 Votes
Returning JSON Array
Hi HanneSThEGreaT, If you set ResponseFormat:=WebMessageFormat.Json then you will get output as a json array.Answered | 2 Replies | 875 Views | Created by HanneSThEGreaT - Thursday, September 10, 2015 6:36 AM | Last reply by Jimyken - Wednesday, September 16, 2015 8:54 AM -
2 Votes
Return List<T> from method
Directory.EnumerateFiles Method.Answered | 6 Replies | 686 Views | Created by Jeff0803 - Friday, April 27, 2018 11:46 PM | Last reply by Wizend - Monday, April 30, 2018 7:28 PM -
1 Votes
Accessing Azure Blob Storage from .net Razor Page
Please refer to this article for sample Azure Storage for ASP.NET ...Answered | 1 Replies | 1364 Views | Created by Christine L. _ - Saturday, February 17, 2018 1:58 AM | Last reply by Thuan Soldier - Sunday, February 18, 2018 4:23 AM -
0 Votes
Deserialize List of Dictionary in JSON
var json = JsonConvert.SerializeObject(listOfDict, new JsonSerializerSettings { TypeNameHandling = TypeNameHandling.Auto, TypeNameAssemblyFormat = ...Answered | 3 Replies | 14568 Views | Created by KapoorHarsh - Monday, February 18, 2013 6:37 PM | Last reply by sveinrune - Wednesday, February 20, 2013 6:56 PM -
0 Votes
sharepoint list,JSON
if you retrieve sharepoint list data with javascript object model (JSOM), the data is returned in JSON ...Answered | 1 Replies | 4977 Views | Created by prboss118 - Wednesday, January 9, 2013 11:49 AM | Last reply by GuYuming - Friday, January 11, 2013 5:30 AM -
0 Votes
Create and return an Anonymous List
I don't think you could create a list because VB does not support list initialization.Answered | 10 Replies | 3180 Views | Created by JohnCronin - Tuesday, April 21, 2009 7:50 PM | Last reply by DeborahK - Wednesday, April 22, 2009 5:14 AM -
2 Votes
Convert generic list to json
How did you create that JSON string?Answered | 17 Replies | 56949 Views | Created by markgoldin - Friday, October 3, 2014 9:11 PM | Last reply by BonnieB - Sunday, September 13, 2020 12:12 AM -
4 Votes
JSON serialization for Actor methods
My guess is their response might be, it is serializable, just use JSON.Answered | 5 Replies | 845 Views | Created by jackhanbond - Saturday, November 19, 2016 6:06 PM | Last reply by Matt Snider - Monday, November 28, 2016 11:25 PM -
0 Votes
How to create function return statement insert into table from json file ?
On a side note for preparing data for SQL w/o formal parameters I would use the following method of formatting data.Answered | 9 Replies | 631 Views | Created by engahmedbarbary - Tuesday, August 13, 2019 3:15 AM | Last reply by Jack J Jun - Tuesday, August 20, 2019 3:17 AM -
4 Votes
Reliable collection in ASP.NET core
So how to I go about working on such scenario if asp.net core service fabric does not work on line vm based service fabric counter?Answered | 4 Replies | 1098 Views | Created by VenkateshSrini_CHN - Wednesday, November 23, 2016 7:46 AM | Last reply by ErgoSix - Friday, November 17, 2017 11:38 PM -
1 Votes
How to access JSON list items
For your question, due the json data is not complete, I use the part json data for test.Answered | 3 Replies | 524 Views | Created by DoctorWhoKnew - Wednesday, November 7, 2018 12:16 PM | Last reply by Wendy Zang - Thursday, November 8, 2018 2:41 AM -
1 Votes
Create a Simple Button in MVC Razor View
ASP.Net MVC forum on forums.asp.net.Answered | 4 Replies | 3788 Views | Created by edencorbin - Tuesday, July 22, 2014 4:16 AM | Last reply by Just Karl - Tuesday, July 22, 2014 10:43 PM - Items 1 to 20 of 2928775 Next ›
No announcements