Questions tagged as 'c#'

1
answer

Generate multiple PDFS via Itextsharp

I'm developing an application that bundles PDF's dynamically through the Itextsharp library. It's working and making the download available correctly, but I'd like to generate more documents. And it does not Response.End() , when it mou...
asked by 13.09.2018 / 15:29
2
answers

Security Exception in UOL Host

I developed an ASP.NET MVC application that runs perfectly on the spot. When I upload it to UOL Host, when I access the page (www.manuelaibi.com.br) I get the error Security Exception ... It's important to note that I have already changed...
asked by 14.09.2018 / 14:50
0
answers

Configure API by Action MVC5

I'm having trouble accessing my WebApi, maybe it's a setup issue, I'm not sure what I'm doing wrong. When I try to access my api via ajax, I get a 404 (not found) error. I had an MVC5 project, in this project I created a folder called WebS...
asked by 11.09.2018 / 13:51
1
answer

How to split the screen with 2 Open Forms inside an MDI

Good morning, everyone. I have a question about Forms. In my application, I can open 2 forms with grids where they display information from the factory. These Grids are updated every 30 seconds, and are opened with: StartP...
asked by 04.09.2018 / 15:31
0
answers

Print window, save PDF Selenium WebDriver

After developing a web page, I am developing the automated test of this web page. I'm using Selenium WebDriver with for .NET. After clicking the print button, the popup to choose the printer or switch to PDF is displayed, so my test stops, it...
asked by 10.09.2018 / 21:20
0
answers

The 'http://www.portalfisc.in.inf.br/nfe:TNFe' type is not declared

Good morning, I usually avoid asking questions here in the forum because I always find many answers that fill my situation. I'm doing an integration with Sefaz, using the Authorization Ws of NFe 4.00, but when I do the validation of my XML the...
asked by 05.09.2018 / 14:37
1
answer

.NET Core + Visual Studio Code - Structure organization

I have some doubts about developing applications in .NET Core using Visual Studio Code: How do I create a base project, such as a blank solution, same in Visual Studio? How to organize a .NET Core project that follows some or all of the DD...
asked by 29.11.2018 / 04:07
1
answer

If chained - how to delete?

I'm doing an application where I have the following scenario: I have several rules (business classes) where all return the client code. They are separate classes that will look for the code trial and error, if find the client code returns...
asked by 21.08.2018 / 17:32
2
answers

Group select and return exact quantity

Personal I'm using the entity and I have a query that returns some 2000 lines. After doing this: base.Get(queryParameters) .GroupBy(x => new { x.Id }) Until now it's normal, I work with pagedlist, where it is informed the number of the p...
asked by 21.08.2018 / 04:50
1
answer

How to change the display of alternate buttons based on a binding in the DataGrid in WPF

Hello, I'm new to XAML / WPF and I have the following problem. I have a DataGrid that receives as ItemsSource a ObservableCollection<DataEstoque>() so public class DataEstoque { public string Id { get; set; } public...
asked by 30.07.2018 / 13:54