Questions tagged as 'c#'

0
answers

LogOff ASP NET / HTTPS CAUSE SECURITY ERROR

Hello,Ihaveanaspnetapplication,whichmakesuseofhttpssecurity,howeveratthetimeofloggingititcausesanerrormessage,hasanyonehaditalready?     
asked by 09.11.2016 / 11:25
2
answers

Get project content in MonoDevelop

I'm trying to insert a PNG image in my game, but I'm not getting it, the image is in Content/alien.png , with the code below: Texture2D alien; . . . protected override void LoadContent () { spriteBatch = new SpriteBatch (GraphicsDevi...
asked by 11.11.2016 / 04:42
2
answers

System.Data.SqlClient.SqlException: Conversion failed when converting the varchar value to int

I'm getting this exception in C # when I try to read SQL data. I am having doubts if this error is problem with my SQL or in C #. My SQL code that does the conversion is this: '$ (SELECT ORDEM FROM TABELA UP (NOLOCK)...
asked by 20.10.2016 / 13:47
0
answers

Some doubts with Microsoft Sync Framework

I'm thinking of deploying Sync Framework to a solution I'm developing, but I've had some doubts about how Framework works, I hope you guys can help me, I'll be very grateful. The first question is: I have a local database in ....
asked by 21.10.2016 / 01:56
2
answers

Differences between Jagged Array and Multidimensional Array in C #?

Is there a difference in these arrays in C #? int[][][] int[,,] What I see is the same thing, but C # can not cast from one to another.     
asked by 07.08.2016 / 18:52
0
answers

I do not have the project delete option for a folder and its files

Before we had a NuGet to install our DLLs and so on. Well, now we no longer use NuGet. It turns out that I downloaded from the repository a project to fix a bug, it asks NuGet.exe. As I do not need it, I was remove from the project and when I ri...
asked by 06.12.2016 / 18:36
0
answers

Code Maintenance

I have an application that deserializes an XML file. I generated a class from an XSD with XSD.EXE For deserialization I use the following code: static T LoadFromXMLString<T>(string xmlText) { var stringReader = new System.IO.St...
asked by 05.12.2016 / 17:16
1
answer

Error to leave application with Windows authentication

I'm trying to leave an application with Windows authentication. However when I change the settings in IIS with anonymous authentication disabled as shown below: I have the following error:    [MessageSecurityException: The HTTP request is...
asked by 08.11.2016 / 18:31
1
answer

Conceptual doubts. Entity Framework, BLL and OOP

People, I ask for urgent help ... I have a system that is running "right". Made in C # (WinForm) and SQL Server (without EntityFramework). However, due to studies and the need to extend the system (adding new features and improving elsewhe...
asked by 07.11.2016 / 23:23
0
answers

Duplicate image error in the save!

My function that saves the images in the folder works correctly, but when I open the folder of the photos the images appear duplicate but with different names Here's the save function: protected void btnSalvarImovel_Click(object sender, Eve...
asked by 19.10.2016 / 03:23