antimatter8189
antimatter8189
CC#
Created by antimatter8189 on 8/27/2023 in #help
❔ Losing bytes when delivering dynamic object via RabbitMQ
expando uses dictionary under the hood, what u mean seralize in rabbitui? i reverted to using custom json converters, still working on it
11 replies
CC#
Created by antimatter8189 on 8/27/2023 in #help
❔ Losing bytes when delivering dynamic object via RabbitMQ
no c# gods to help out on this?
11 replies
CC#
Created by antimatter8189 on 8/27/2023 in #help
❔ Losing bytes when delivering dynamic object via RabbitMQ
var converter = new ExpandoObjConverter;
var result = JsonConvert.DeseralizeObject<ExpandoObject>(json,converter);
rsultList.add(result)
dto.Result=resultList;
return DTO;
var converter = new ExpandoObjConverter;
var result = JsonConvert.DeseralizeObject<ExpandoObject>(json,converter);
rsultList.add(result)
dto.Result=resultList;
return DTO;
The above code works, but if i add a line of
result= ToDynamicClass(result)
result= ToDynamicClass(result)
and send that list, all breaks
11 replies
CC#
Created by antimatter8189 on 8/27/2023 in #help
❔ Losing bytes when delivering dynamic object via RabbitMQ
well its a BaseDTO that contains a List<objecT> and those are located in it
11 replies
CC#
Created by antimatter8189 on 8/27/2023 in #help
❔ Losing bytes when delivering dynamic object via RabbitMQ
The data loss occurs during transit somehow
11 replies
CC#
Created by antimatter8189 on 8/27/2023 in #help
❔ Losing bytes when delivering dynamic object via RabbitMQ
In addition all the properties get lost, literally get "Dynamic Type" at the UI layer with nothing in it
11 replies
CC#
Created by antimatter8189 on 8/22/2023 in #help
❔ How to force enumaration on ExpandoObj?
Had to resort to create a class at runtime with reflection emit, no way around this?
3 replies
CC#
Created by antimatter8189 on 5/13/2023 in #help
❔ .Net Logging - Is this valid?
I was sure it a bust, did you actually check about the memory allocation stuff by any chance?
97 replies
CC#
Created by antimatter8189 on 5/13/2023 in #help
❔ .Net Logging - Is this valid?
oh just saw it now, will check it out!
97 replies
CC#
Created by antimatter8189 on 5/13/2023 in #help
❔ .Net Logging - Is this valid?
same here lol mind blown over these logs time to get off
97 replies
CC#
Created by antimatter8189 on 5/13/2023 in #help
❔ .Net Logging - Is this valid?
thx alot!
97 replies
CC#
Created by antimatter8189 on 5/13/2023 in #help
❔ .Net Logging - Is this valid?
if any news will update 😄
97 replies
CC#
Created by antimatter8189 on 5/13/2023 in #help
❔ .Net Logging - Is this valid?
will check it out boss
97 replies
CC#
Created by antimatter8189 on 5/13/2023 in #help
❔ .Net Logging - Is this valid?
will try to inject it into the log config/creation
97 replies
CC#
Created by antimatter8189 on 5/13/2023 in #help
❔ .Net Logging - Is this valid?
so thats no good =[
97 replies
CC#
Created by antimatter8189 on 5/13/2023 in #help
❔ .Net Logging - Is this valid?
does GetMessageTemplate return compile const?
97 replies
CC#
Created by antimatter8189 on 5/13/2023 in #help
❔ .Net Logging - Is this valid?
not good at all
97 replies
CC#
Created by antimatter8189 on 5/13/2023 in #help
❔ .Net Logging - Is this valid?
and call it from the logwithDetails, then the caller will be from the same file etc
97 replies
CC#
Created by antimatter8189 on 5/13/2023 in #help
❔ .Net Logging - Is this valid?
if i create this method:
public static CallerDetails GetCallingMemberMetaData(

[CallerFilePath] string filePath = "",
[CallerMemberName] string functionName = "",
[CallerLineNumber] int lineNumber = 0)
{
return new CallerDetails(filePath,functionName,lineNumber) ;
}
public static CallerDetails GetCallingMemberMetaData(

[CallerFilePath] string filePath = "",
[CallerMemberName] string functionName = "",
[CallerLineNumber] int lineNumber = 0)
{
return new CallerDetails(filePath,functionName,lineNumber) ;
}
97 replies
CC#
Created by antimatter8189 on 5/13/2023 in #help
❔ .Net Logging - Is this valid?
Actually no it wouldnt
97 replies