Questions tagged as 'c#'

0
answers

WHERE failed to associate a column to query in a view

I'm passing some parameters to a view where I need to get the return of this query. When defining the filters in the Where of my query, the query return reports the following error:    Invalid 'competition' column name. I know it's my cod...
asked by 10.07.2018 / 20:22
1
answer

Converting Jobject with Dynamic Objects

I've been having this little problem for some time, I need to get the values from the supplied object and add them to a list but I can not find a way to map them because they are coming dynamically Array received "respostas": { "0": {...
asked by 20.07.2018 / 15:04
2
answers

Object reference not set to an instance of an asp.net object

blz? Next, I'm having a problem with the "Object reference not set to an instance of an object" exception, I've already searched for several solutions, however, none satisfies and / or fixes my problem. If someone can help me ... string usuari...
asked by 13.07.2018 / 04:44
1
answer

Hiding menu option according to user type

Good afternoon, I'm developing a registration system with angularJS and C #, when registering a new user there are two types of users to choose, administrator and librarian, being administrator type 1 and librarian type 2. and a menu with the fo...
asked by 11.07.2018 / 20:23
1
answer

Upload video files with angularJS

I have a page where I load the image files, pdf, xml, etc. On this page, I now need to upload video files too, I have researched some sites but I have not found examples of how to do it, when I try to upload an error is returned at the console b...
asked by 18.07.2018 / 16:02
0
answers

Authentication in architecture Microservices with C #

How to do a user authentication using the standard API Gateway ? I've read a lot of articles but I do not find a code example using Web API 2 and the ones I saw using the net core in> only does the first authentication of the user, that i...
asked by 18.07.2018 / 13:42
0
answers

How to deserialize a JEnumerable to a list of classes in C # in a ClassT (generic class)

Hello, I'm having trouble deserializing a node from a JSON object to a list. The object I have is the following: { "paging": {"total":67, "page":1, "offset":0, "limit":30, "maxLimit":50 }, "sort": [ {"id":"asc"} ], "availableFilters":...
asked by 09.07.2018 / 16:27
0
answers

Doubt Browse through folders and download a document from GridView SharePoint.Client.dll

Well I'm having a big question using the SharePoint dll. What to need if done: I will use SharePoint as a file repository, so I will develop an ASP page that will list the folders and share documents and make it available for download....
asked by 08.07.2018 / 18:05
0
answers

How to send the function return that fetches the data from my xml to an input via ajax / jquery?

try { XmlDocument xmldoc = new XmlDocument(); XmlReader reader = new XmlTextReader(Stream.Null);//Stream reader.MoveToContent(); reader.ReadToFollowing("cNF");...
asked by 18.07.2018 / 03:23
0
answers

Starting factory with static object.

I'm creating an application using TDD and I have a factory that receives IDistributedCache parameter, so it comes inject from my API, how do I start a value for it and pass as parameter to my constructor?     
asked by 17.07.2018 / 20:54