Questions tagged as '.net'

1
answer

Entity Framework how to access the data model without saving the credentials and settings in the app.config

Please cooperate with the following problem: Always work with EF EDMX, when creating the floor model, type the options "Yes, include confidential data in the connection string" and also the "Save connection settings in App.Config as:", but in...
asked by 03.03.2017 / 20:39
1
answer

Problems signing XML with C #

I have the following code to sign XML: private XmlDocument FirmarXML(XmlDocument xmlDoc, string nombreCert) { X509Certificate2 myCert = new X509Certificate2(); myCert = GetCertificateBySubject(nombreCert); var...
asked by 30.01.2017 / 17:15
1
answer

Convert .odt to plain text in C # [closed]

Is there a way to convert an OpenDocument file (odt, ods, odp) to plain text in C #? I've been searching for days and I have not found anything that is free.     
asked by 02.11.2016 / 12:43
2
answers

Modify the Json fomato with C # in .Net

I have a code that serializes and converts the fields of a database to JSON , through JsonConvert , and the problem is that I want to modify the normal format of JSON , which follows the structure as in this link . Here is...
asked by 23.09.2016 / 05:44
1
answer

Parceable and unParceable in Androidstudio and .Net

Good morning Someone could help me how to make a Parceable to an entity in Android and .Net; and also make an UnParceable to an entity in android and .Net "I need both because in .Net I have the webservice." Thanks Happy day     
asked by 23.08.2016 / 21:56
1
answer

Control webBrowser does not load

You will see I have a webBroser that I pass a URL such that: public Marcador() { InitializeComponent(); } public void playGol(String url) { webBrowser1.Navigate(url); } When I call the metho...
asked by 03.08.2016 / 09:28
2
answers

InvalidProgramException in file .IL (Intermediate Language of Microsoft)

This is the code .assembly extern mscorlib {} .assembly UsingTheArgs {} .method static public void main() cil managed { .entrypoint .maxstack 1 ldstr "Hi my name is {0}" ldarg.0 ldc.i4.0 ldelem.ref call void [mscorlib]System....
asked by 31.07.2016 / 02:11
1
answer

Insert of c # with access

I have an error with the insert to the Access database, when I run the program and fill in all the fields and I click save it appears that it was saved correctly and does not show any error in the exception, and when I go to see in the database...
asked by 25.07.2016 / 04:44
1
answer

Why do I mark Error in the matrices when assigning values in C #?

I have an error in my code, since I have two methods, one that is loading and another one that is the one of faults, the loading tells me how many employees are and their names and the method of faults should indicate me in case of that there wo...
asked by 24.09.2016 / 19:11
1
answer

Drag and drop between views and regions with PRISM 4

I am trying to drag a view to another region with PRISM, and so far I have not succeeded. It's possible? Does PRISM 4 support this operation? If it does not support it, what would be the alternative solution? In the PRISM reference book: "Develo...
asked by 03.06.2016 / 13:05