Posts by Weslley Rocha • 169 points
10 posts
-
1
votes0
answers72
viewsQ: Refresh Controll stops working if listview exits the screen
I’m trying to get a list of Firebase items, including images, that will be rendered in a Listview. But the problem is that when Listview gets bigger than the screen, then Refreshcontrol no longer…
-
0
votes0
answers32
viewsQ: Debug . net core application in Docker in windows 7
I need to generate an application in a Docker container, but my computer has windows 7 OS. I installed Docker Toolbox, and inside the bash itself I can run hello world container, but visual studio…
-
0
votes2
answers318
viewsA: Object array in ajax with mvc
I managed to make it work using [FromBody] and linking with another template to do the array. Important: the 'Modelos' should match the name of the array within the model JSON would look like this…
-
2
votes2
answers318
viewsQ: Object array in ajax with mvc
I have a function that takes the variables from a list, creates the objects, and inserts them into a list of objects. But I need to pass this list to the mvc controller; Jquery function $(function()…
-
0
votes2
answers867
viewsA: Error giving the npm install command
/var/www/html/app_agenda/_views/css$: npm install You are not in the right folder, try running the command in the folder where the file exists packages.json…
-
1
votes1
answer151
viewsA: How to register a user with Identity, with the data already entered?
I did, using findByIdAsync() [HttpPost] [ValidateAntiForgeryToken] public async Task<IActionResult> RegisterUserCreated(ApplicationUser user) { if (ModelState.IsValid) { var user = await…
-
1
votes1
answer151
viewsQ: How to register a user with Identity, with the data already entered?
I have a method that inserts several data from an excel spreadsheet into the database, but there are some data, such as email, password, or concurrencyStamp (set as NULL), so I can’t change users'…
-
-1
votes1
answer997
viewsA: Add Authentication to Asp.net Core project
You will have to use the Identity framework for this, and create the screens and classes of it manually. Here’s a Link for the official documentation (in English) of how to do this.…
-
15
votes3
answers17994
viewsA: What is the Difference Between HTML.Actionlink vs Url.Action?
Well, the HTML.ActionLink generates a <a href="..."></a> while Url.Action returns the url For example: @Html.ActionLink("Link", "action", "controller", new { id = "123" }, null)…
-
1
votes1
answer475
viewsQ: Send data from a partial view to a MVC controller
I want it to be rendered a partial view corresponding to the value of select option. Index.html @{ ViewBag.Title = "Index"; } <h2>Contato</h2> <form class="form-horizontal">…