Questions tagged as 'c#'

1
answer

ASP.NET Identity and Claims

Still about ASP.NET Identity , following another question I asked about it ( ASP.NET Identity Example using SQL Server ), an interesting topic within the same subject would be about < in> Claims . What is it about? What would be a...
asked by 19.05.2014 / 18:58
2
answers

Entity Framework with Oracle databases

I'm creating an application that will use an Oracle database, but when I enter .edmx (Entity Data Model) I came across the following situation! I can not create a connection with Oracle Database. What do I need to do to make this work?...
asked by 10.04.2014 / 15:38
1
answer

Is it possible to determine if a byte array represents a pdf file that can not be edited?

Context I have two steps in my service, uploading and downloading the file. In uploading to the service I get the data through an array of ASCII bytes . This data is stored in a database. In the download, the data related to the file is s...
asked by 14.06.2017 / 16:40
1
answer

Problem with Fast Colored TextBox (indentation)

I am modifying an open source project created by Pavel Torgashov, called Fast Colored TextBox, and am having problems with the VB language in the editor, since methods and properties are indented within Interfaces ...    Instead of lookin...
asked by 05.06.2015 / 07:10
1
answer

Web API and Owin OAuth - redirect to another domain (redirect_uri)

Good afternoon, I'm having a problem implementing external login in a project I'm working on.    ASP.NET Web API + Owin + OAuth. Environment: I work with two Server1 and Server2 servers. Server1: Server published on the WEB. It hos...
asked by 09.05.2016 / 22:01
3
answers

Using non-primitive variable type in C # can affect performance?

Using non-primitive variable type in C # can affect performance? I've seen a lot of code in which, instead of using primitive C # types, many use types similar to other languages that IDE supports. I already questioned a programmer why he...
asked by 30.01.2014 / 19:07
1
answer

How to resolve the error: "The XXXX application has stopped"?

Good afternoon, I have an application in the language C # that develops an application for android (using xamarin). The application works normally for android versions 2, 3, 4 and 5. However, using a device with android 6 (marshmallow), t...
asked by 11.10.2016 / 20:39
3
answers

Web security api: SSL?

I would like to know if you can restrict requests to a web api specifically for a machine. My api web will be hosted on computer A. My client (at first only one) will be hosted on the computer B . Different servers, different machines....
asked by 02.09.2017 / 20:19
2
answers

Is there a way to save types not listed in Settings.Default?

In a Windows Forms application I can create configuration properties. HoweverthereisnotypeList<T>orDictionary<TKey,TValue>.Clicking"Browse" and searching mscorelib > System.Collections.Generics I see only the type KeyNotFoun...
asked by 01.01.2014 / 18:05
3
answers

Creating a List from a Json C #

I have a question regarding JSON, I have the following JSON: { "jsonrpc":"2.0", "result":{ "nr":26, "lista":[ { "codigo":"2", "nome":"Pratos Quentes", "foto":"./images/cupcake.png" }, {...
asked by 20.04.2017 / 22:39