Questions tagged as '.net'

1
answer

eSocial: Invalid Signature .NET Framework

Invalid Signature Good afternoon, I have a problem transmitting information to eSocial webservices. The process I do is as follows: Event XMLs are generated on the server, returned to an application that runs on the client machine and is re...
asked by 20.12.2018 / 17:19
1
answer

Run-time error VB6

I have a DLL that was created in .NET and I need it to run as COM +. .NET code: using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace thiago.dll.NET { public class dllNET { public...
asked by 04.02.2014 / 17:03
1
answer

Update version of the Entity framework

I just updated my version of .Net 3.5 to 4.5.1. My Entity Framework was in version 3.5, I was wondering if it already updates to the newer version after the framework switch.     
asked by 02.10.2014 / 16:34
1
answer

Returns Excel in List C # is returning null

This code reads a Excel file and throws a list, the problem that is occurring is it is returning null , as if there was nothing in it Excel , but the column names are correct: string PathConn = "Provider=Microsoft.ACE.OLEDB.12...
asked by 01.10.2014 / 17:18
2
answers

How to put between inside a query in code?

I have the following query and would like to put in the Where clause the condition of being within a certain period. public static DataTable stCloseCaseAll(int schoolId, string dataInicial, string datafinal) { var sb = new StringBui...
asked by 15.05.2014 / 19:41
1
answer

How to get all values of 'YamlDotNet' in 'File.yml'?

I'm working on an .yml file and I want to get all the values that contain this file. I am using the YamlDotNet.Serialization reference. What I want to do is take a certain value and display the properties of that particular value. But just...
asked by 04.09.2018 / 13:51
1
answer

Using TLS 1.2 in the .NET Framework 2.0

I want to use TLS 1.2 on a Webclient call in the framework .NET 2.0 Is it possible? try { using (System.Net.WebClient client = new System.Net.WebClient()) { string u = client.UploadString(url, xml); return u;...
asked by 04.12.2017 / 18:51
1
answer

Replace with \ does not work

I'm trying to make a Replace() but it does not work. I need to change from \ to \ . "\r\n".Replace(@"\", "\"); It only returns me: "\r\n" and not "\r\n" .     
asked by 04.12.2017 / 19:59
1
answer

Can I edit customize the Identity AspNetUsers table?

I have a project that has a USUARIOS table. And now we are migrating to AspNet.Identity which already has a table but called AspNetUser and with its own fields. And my USUARIOS table has relationships with People and...
asked by 14.11.2017 / 12:12
2
answers

VB.NET - Find text in XML file

I need some help to validate an XML file I'm using as a database. I do the insertion of the data correctly, however I need to do a validation not to insert repeated files, so I need to check if the text already exists inside the XML. My XM...
asked by 08.11.2017 / 19:40