Questions tagged as 'c#'

2
answers

How to optimize the performance of my application when doing HttpClient resequitions

I'm developing an app using Xamarin.Forms , but I have a problem. Settings such as color, company name, cover image and logo come through a request for a web service call whose return is a JSON , but every time I have that pull this informat...
asked by 03.07.2018 / 02:26
0
answers

How to save and change data in bank using checkstate of a checkbox

Good afternoon, I need to save the information with condition, because at the time of registering the equity I made a checkbox that represents whether the equity is internal or external. If it is checked it is external and if it is not checke...
asked by 02.07.2018 / 19:30
1
answer

Image Upload Using PictureBox - windows forms

Say hello, good morning! I'm not sure how to do this, but I'm not sure how to do this. and I'm making a photo using photo! however when doing the insertion of the data and converting the photo to binary in my database my statement returns this e...
asked by 03.07.2018 / 14:45
0
answers

Can I edit the same article using PDFsharp and MigraDoc?

I would like to use some functions of PDFsharp and others of MigraDoc, but edit everything in the same article, for example: graphics.DrawImage(PdfSharp.Drawing.XImage.FromFile("//foto.png"), 51, 52, 123, 57); sec.AddParagraph("frase"); I w...
asked by 03.07.2018 / 19:22
0
answers

Map Multiple Databases with FluentNhibernate

I'm having trouble mapping multiple databases with FluentNhibernate. I used the following methodology (remembering that the databases are different). I created 3 FluentSessionFactory for each bank with its particular connection. Later I...
asked by 03.07.2018 / 19:36
0
answers

Error inserting documents into MongoDB

I made these inserts through the mongo shell: db.Operators.insert([{ Name:'Paulo de Tarso', Version:1 }, { Name:'José de Arimatéia', Version:1 }, { Name:'Catarina Silva', Version:3 }]) This is my entity in the AP...
asked by 05.07.2018 / 19:35
0
answers

Put shadow on the edges of the form - Visual Studio 2017 C #

I created a form and joined formBorderstyle = none ;. But, I'm having the following problem, it has no shadow on its edges. How can I add them through Visual Studio?     
asked by 05.07.2018 / 17:59
0
answers

File writing in multithreaded system in C #

I'm developing a system in which I find myself in the following scenario: a program needs to create a file part by piece. It receives bytes from a server and so the file is created, it should work that way because it is a design decision. The...
asked by 11.07.2018 / 05:23
0
answers

Connect multiple points in Google Maps (waypoints)

Good afternoon, I am populating a map with multiple addresses of a trip stored in my DB. I would like to connect all these points with a line and I can not. Could anyone help me? Follow my code. <script type="text/javascript...
asked by 10.07.2018 / 22:25
0
answers

NHibernate error: No persister for

I would like help with the error when I try to write NHibernate records through XML mapping. The project has separate layers. In the domain project, my entity is: namespace NHibernateTesteWeb.Domain.Entity { public class Company...
asked by 14.07.2018 / 23:33