Posts by Gabriel Rodrigues • 133 points
13 posts
-
2
votes1
answer231
viewsQ: Problem installing Docker image
I’m installing a container image: microsoft/windowsservercore I am using the following command to download and install the image: docker pull microsoft/windowsservercore But it does not finish the…
-
1
votes0
answers66
viewsQ: Excel with password for editing
I am mounting an Excel file where I Gero an array of bytes and the UI downloads the file in xlsx format, I need to open this file with password to perform edits, there is a way to do this right in…
-
0
votes1
answer100
viewsQ: Using cache during user session
I am using Outputcache in an Asp.net mvc5 application to cache a list in my application as follows : [(Duration = 60, VaryByParam = "none")] public ActionResult Index() {} I just need to take…
-
1
votes0
answers55
viewsQ: Angular4 popup not working?
Guys, I have a problem at angle 4. I’m trying to use the component ng2-opd-popup. It installs right, but when I declare it in app.modules.ts it returns the following error: ERROR in Error…
-
0
votes1
answer22
viewsQ: Angular Directives js2
import { Component } from '@angular/core'; import { AuthDirective } from '../utils/auth.directive'; import { Router } from '@angular/router'; import { HttpClientService } from…
-
0
votes1
answer245
viewsQ: Error while generating file
I have a method that generates a file that method is generating the file in fact, There I have another method within my service that returns the file to the download and to that return a List until…
-
1
votes1
answer26
viewsQ: Return of Service
I am with the following problem, I make an ajax call to my service and it returns me a paged list everything ok.. And I have a button where I download to excel, only because it is a very heavy table…
-
1
votes1
answer101
viewsQ: Requisition Angularjs
I’m starting with Angularjs and to study I created an application I saw on the internet, but when I use the command "ng-include="'Footer.html'" inside the div it gives an error in the console.…
-
0
votes3
answers609
viewsA: How to compare 2 Arrays to Assert.Equals?
I managed to solve, in fact I had to change to Assert.Areequal the test was like this: public void SeparaStringTest() { RecebeComando recebecomando = new RecebeComando(); string[] retornoDoMétodo =…
-
4
votes3
answers609
viewsQ: How to compare 2 Arrays to Assert.Equals?
I need to compare two arrays on Assert.Equals. When I test the method in race it is right but the test does not pass. Code: public void SeparaStringTest() { RecebeComando recebecomando = new…
-
2
votes1
answer1551
viewsQ: There is no Viewdata item of type 'Ienumerable' that has the key 'Categories'
I have a problem with dropdownlist. I populated it with information that was on my DB. Code of controller: public ActionResult NovoProduto() { ViewBag.categorias = new SelectList(db.Categoria,…
-
0
votes1
answer504
viewsQ: Listview c# passing value to the next form
I rode a form in c# and this form is responsible for showing all data from my table on Bd and put this data into a listview, can thus select an item from the listview and rode another form where he…
-
0
votes1
answer837
viewsQ: Starting a windows service
I am mounting a "Service Monitor". My windows server is stopping my database service. So I set up a service validator, but I don’t know how to give the start in the service again in case he falls.…