Click here to Skip to main content
15,897,518 members

Comments by Siddharth Rai (Top 22 by date)

Siddharth Rai 9-Nov-21 13:02pm View    
thanks for your time sir, I think i am not able to explain my requirement .
let me try one more last time.

i am using api which return json result. [{
Roll_Number:1,
App_Name: "MyApp"
}]
where key name same as Model property name. But i my requirement is that can get the result like .
[{
RollNumber:1,
AppName: "MyApp"
}]
without changing the model property name. as api result.(key name is different then model property name.)
Siddharth Rai 9-Nov-21 11:47am View    
I have added the attribute on model property and calling the api form Swagger but result showing in swagger is same as
[{
Roll_Number:1,
App_Name: "MyApp"
}]

but my requirement is
[{
RollNumber:1,
AppName: "MyApp"
}]
Siddharth Rai 12-May-21 23:39pm View    
Thanks,
Siddharth Rai 12-May-21 10:43am View    
Yes, it is working. i was running via visual studio in debug mode in that case it stuck at the throw statement and start showing exception.
once run the exe directly then i am able to see the finally block execution.
thank you so much.
Siddharth Rai 28-Apr-21 3:57am View    
Sorry for inconvenience, I tried to provide better information by improving the question.