Posts by Carltee • 99 points
15 posts
-
1
votes0
answers49
viewsQ: Relationship 1-1 and circular reference
I’m running a very simple test, where I have two entities with a 1-1 relationship between them: public class User { public int Id { get; set; } public string FirstName { get; set; } public string…
-
0
votes1
answer118
viewsA: How to leave parameter optional, API Asp.net core
To create an optional parameter in a route template, just place a question mark at the end of the parameter, example: [HttpGet("{aplicativoId?}")] However, when creating more complex routes, the…
-
0
votes1
answer41
viewsA: Selenium search functions act faster than page loading
I’ve had this problem recently and solved it in a few ways, see if any help: Using a timeout when instantiating the driver: driver.Manage().Timeouts().ImplicitWait = TimeSpan.FromSeconds(30); Using…
-
0
votes1
answer34
viewsA: Automating in Selenium with C# an Angular 6 page that has no fixed element
I don’t understand Angular, but you can try to capture the element through ways other than ID. How to capture all elements containing this class, and select only the first, the last, or as desired.…
-
0
votes2
answers63
viewsA: Deserialize XML for object comes with null information
Problem solved. My query was returning an object within the , which is the cServico, so as I reflected this in my class everything worked as it should. Follow the code below for anyone interested.…
-
-1
votes2
answers63
viewsQ: Deserialize XML for object comes with null information
I am having trouble trying to deserialize an XML returned by the webservice to an object in my project, what happens is that the object is created, but with all properties without value (nulls). The…
-
0
votes2
answers111
viewsA: @using from my view does not find the model in Asp.Net MVC
Before your @model, add the path where this class is in your project, example: @using Exportation.Models Also try to rebuild your entire project, and in the last case close and open the visual…
-
0
votes2
answers357
viewsA: What is the difference between override and :base in C#
With the override, you can modify or extend the implementation of the inherited method or property by adding a different logic than the one in the class in which it was inherited. Already the…
-
0
votes1
answer29
viewsA: I need to show all day sales MVC C#
Your method of searching for the bank’s launches should return a list of all the releases of that day, and not void as it is being done. Once done, just return to View and passing as argument what…
-
1
votes1
answer50
viewsA: Start an event and stop when you click again - chromeExtension
Seeing your code, I saw that you created a new button called button, where when clicked, the audios get the speed of 1.5x You could create two buttons, where one button could take the current audio…
-
1
votes1
answer76
viewsA: How to organize Services and Repositories in a MVC application?
I believe that before going out changing all your code and the structure of your project, it is necessary to first understand what you are doing, and most importantly, why you are doing it. The MVC…
-
2
votes1
answer74
viewsA: In which cases is the <ins> tag used?
The tag <ins> is useful when a text that has been inserted into the page has been modified. Often the tag <ins> is used with the tag <del>, that a given text is no longer valid. A…
-
0
votes1
answer106
viewsA: Css "backdrop-filter" property does not work on Mobile
According to MDN, the property backdrop-filter is still an experimental technology, so always check the compatibility of it by browsers, and check whether it will be used in production environment.…
-
1
votes2
answers333
viewsA: What is and what is an override (method override) for in programming?
Imagine you have a class groundwork calling for Person, with various attributes that every person must necessarily contain, such as rank, age, name, and a method called Salary(). All people need to…
-
0
votes1
answer782
viewsQ: Fetch function in Javascript returns Undefined
Hello, I did a little function called makeRequest, which, by receiving a URL as a parameter, makes a simple GET request to the URL using the FETCH method. I’m using a simple github endpoint, where…