Questions tagged as 'c#'

1
answer

Error while using Entity Framework BulkInsert

I have an Asp.Net MVC project in .Net Framework 4.0 with Entity Framework 5.0, where I added the BulkInsert- ef5 , but in the following excerpt error occurs: using (MeuEntities context = new MeuEntities()) { context.Configuration.AutoDete...
asked by 02.06.2016 / 15:47
1
answer

Presenting message in a view via the C # MVC Controller

Looking for a solution I found a form on the link Controller message for the view But my problem is that nothing is displayed. I do not know if it's because I do not have an action in View but the message does not appear. The structure i...
asked by 06.01.2016 / 14:39
1
answer

How do I run a web application in IIS without hosting the source code on the machine?

Developed a web application (asp.net, c #, javascript, etc.) for a client. The idea is to mature that application, and turn it into a product. The question is, how can I run my web application locally, ie by IIS, on the client server, without le...
asked by 05.08.2015 / 19:51
1
answer

Retrieve digital certificate information

I'm working with digitally signed PKCS # 7 PDF files. I have searched the internet and can not find a way to retrieve subscriber information. Using the SignedCms class I can even get some information when I do the decode of the...
asked by 06.05.2015 / 20:59
1
answer

How to set up languages in Asp.net Core

I'm setting up AddLocalization    So the problem is that Resources is in a separate class library of the project and I do not know how to configure it. services.AddLocalization(options => options.ResourcesPath = "Resources");     
asked by 01.09.2018 / 23:42
1
answer

How to create a RESTful API with asynchronous processing and response using C # + Angular (v5 +)

Hello, I'm working with C # and I have the following problem: Imagine that I have a route for my API api/estoque/inventario where this route should calculate the inventory of the entire inventory of the application and on demand return...
asked by 04.09.2018 / 15:35
3
answers

Custom tool warning: Can not import wsdl: portType

I can not use ServiceReference after successfully importing. After executing the import, writing the class and using its methods in the compilation occurs the Warnings: Warning 1 Custom tool warning: Cannot import wsdl:portType Det...
asked by 03.02.2014 / 19:19
1
answer

How to define the culture in a WCF WebService?

I have a WCF plication running in IIS where the server language / culture is set entirely in English. There is no way I can change the server settings so that I can change the server's culture or language. You would need an application...
asked by 31.01.2014 / 16:14
1
answer

Custom RoleProvider

I'm implementing authentication with% custom%. I have a class RoleProvider and a class Usuario with many to many relationship. I created a folder in the project called Role and within the folder a class named Securi...
asked by 11.03.2014 / 00:16
2
answers

How to allocate program memory and storage before running my application in WinCE?

I am reprogramming a C # application to run on Windows CE, however, my machine has little memory. Therefore, I need to allocate the appropriate amount of program memory and storage memory. I can not allocate this manually at every reboot, so I f...
asked by 11.02.2014 / 17:49