Click here to Skip to main content
15,905,679 members
Home / Discussions / C#
   

C#

 
AnswerRe: EF code first and out type parameter in store procedure Pin
Dave Kreskowiak16-Sep-16 3:51
mveDave Kreskowiak16-Sep-16 3:51 
QuestionHow to read single value return by store proc with EF code first Pin
Tridip Bhattacharjee15-Sep-16 5:10
professionalTridip Bhattacharjee15-Sep-16 5:10 
AnswerRe: How to read single value return by store proc with EF code first Pin
Pete O'Hanlon15-Sep-16 5:42
mvePete O'Hanlon15-Sep-16 5:42 
QuestionTask Canceled Exception Pin
Kevin Marois14-Sep-16 16:59
professionalKevin Marois14-Sep-16 16:59 
AnswerRe: Task Canceled Exception Pin
Super Lloyd14-Sep-16 17:55
Super Lloyd14-Sep-16 17:55 
Questionwhat is difference between LINQ and EF Pin
Tridip Bhattacharjee14-Sep-16 3:49
professionalTridip Bhattacharjee14-Sep-16 3:49 
AnswerRe: what is difference between LINQ and EF Pin
Pete O'Hanlon14-Sep-16 4:02
mvePete O'Hanlon14-Sep-16 4:02 
GeneralRe: what is difference between LINQ and EF Pin
OriginalGriff14-Sep-16 4:20
mveOriginalGriff14-Sep-16 4:20 
GeneralRe: what is difference between LINQ and EF Pin
NotPolitcallyCorrect14-Sep-16 5:03
NotPolitcallyCorrect14-Sep-16 5:03 
AnswerRe: what is difference between LINQ and EF Pin
Gerry Schmitz14-Sep-16 7:12
mveGerry Schmitz14-Sep-16 7:12 
AnswerRe: what is difference between LINQ and EF Pin
Super Lloyd14-Sep-16 17:59
Super Lloyd14-Sep-16 17:59 
QuestionC# Pin
xxxdson13-Sep-16 15:50
xxxdson13-Sep-16 15:50 
AnswerRe: C# Pin
Kevin Marois13-Sep-16 16:02
professionalKevin Marois13-Sep-16 16:02 
AnswerRe: C# Pin
Dave Kreskowiak14-Sep-16 2:24
mveDave Kreskowiak14-Sep-16 2:24 
QuestionDetect Network Connection Type Pin
Kevin Marois13-Sep-16 10:29
professionalKevin Marois13-Sep-16 10:29 
AnswerRe: Detect Network Connection Type Pin
rhgarner13-Sep-16 13:17
rhgarner13-Sep-16 13:17 
GeneralRe: Detect Network Connection Type Pin
Kevin Marois13-Sep-16 13:28
professionalKevin Marois13-Sep-16 13:28 
GeneralRe: Detect Network Connection Type Pin
Dave Kreskowiak13-Sep-16 14:53
mveDave Kreskowiak13-Sep-16 14:53 
GeneralRe: Detect Network Connection Type Pin
Kevin Marois13-Sep-16 14:57
professionalKevin Marois13-Sep-16 14:57 
QuestionRe: Detect Network Connection Type Pin
Eddy Vluggen13-Sep-16 21:53
professionalEddy Vluggen13-Sep-16 21:53 
AnswerRe: Detect Network Connection Type Pin
Garth J Lancaster24-Sep-16 21:57
professionalGarth J Lancaster24-Sep-16 21:57 
QuestionConvert JSON Array Objects Into Dotnet Objects Pin
MadDashCoder13-Sep-16 8:43
MadDashCoder13-Sep-16 8:43 
I have a web app where users can add any style property they want to the Style attribute of any DOM element on a web page.

The ID and the Style attributes of each DOM element are used to create a JSON array and sent to the backend to be converted into Dotnet objects. Then the deserialized data are used to create or update a CSS file.

I know that to convert JSON array objects to Dotnet objects, usually C# classes are created and properties are then created within those classes. Then the JSON array is deserialized using either JavascriptSerializer or JSON.Net which will populate the properties of the created classes.

The problem is I don't know ahead of time which properties of the Style attribute the user of my app will add to the JSON array.

modified 14-Sep-16 8:16am.

AnswerRe: Convert JSON Array Objects Into Dotnet Objects Pin
Pete O'Hanlon13-Sep-16 21:11
mvePete O'Hanlon13-Sep-16 21:11 
AnswerRe: Convert JSON Array Objects Into Dotnet Objects Pin
F-ES Sitecore13-Sep-16 23:13
professionalF-ES Sitecore13-Sep-16 23:13 
AnswerRe: Convert JSON Array Objects Into Dotnet Objects Pin
Midi_Mick14-Sep-16 0:46
professionalMidi_Mick14-Sep-16 0:46 

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.