Posts by Eduardo Nogueira • 83 points
10 posts
-
-1
votes1
answer39
viewsQ: How to show Escape sequences as String in C#?
I have a C# method that takes a String and sometimes has output escapes inside, like \n. It does its function normally, which is to skip the line. But I want them to be shown as String. How can I do…
-
3
votes2
answers116
viewsQ: How to get the only different value inside an array in Javascript?
I saw many questions showing how to get unique values in an array, but none solved my problem. I get an array like this: [ 1, 1, 1, 2, 1, 1 ] I want to determine the unique value within it, which,…
-
-1
votes1
answer37
viewsQ: How to make chart responsive with Highcharts?
I am using React and Highcharts for a project and want to know how to make this chart below responsive? I tried to put maxwidth around the component, but did not succeed. I want him to take all the…
-
0
votes1
answer105
viewsQ: Use of unassigned local variable. How to resolve?
I’m developing a site that requests an api and shows the data to users, but I’m having problems: Use of unassigned local variable 'value' Use of unassigned local variable 'date' To better…
-
0
votes1
answer209
viewsA: Nullreferenceexception: Object Reference not set to an instance of an Object. How to resolve?
I managed to sort it out like this: Example of the return of the api: My class Igetrootobject had as class model for deserialization: public class Datum { [JsonProperty("uid")] public int Uid { get;…
-
0
votes1
answer209
viewsQ: Nullreferenceexception: Object Reference not set to an instance of an Object. How to resolve?
I am developing an application that consumes data from an API and shows to users, but I am facing an exception: NullReferenceException: Object reference not set to an instance of an object. How do I…
-
0
votes1
answer49
viewsQ: How to format number string with . net core?
I need to format this number string, which is returned from an api: As I wish: 83,951,583. Página Razor: <h3>Mundo</h3> <div class="card bg-primary text-white mb-3" style="max-width:…
-
1
votes1
answer64
viewsQ: How do I not need to request the api all the time?
I’m a beginner in development. net core and I am developing an application that consumes data from an api and shows to users, but I need to update the site all the time and it takes a little time.…
-
0
votes1
answer38
viewsQ: How to show the data on the front end using Razor pages?
I’m a beginner in development. net core and I am developing an application that consumes data from an api and shows to users, but I don’t know how to show the data on the front end. I am using REFIT…
-
1
votes1
answer216
viewsQ: How to consume data from an api to show on the front end using Razor pages?
I’m a beginner in development. net core and I am developing an application that consumes data from an api and shows to users, but I can’t convert JSON to OBJECT and crunch everything into a…