Questions tagged as '.net'

0
answers

Is it possible to make a related Entity possible to be displayed with Odata Expand (WebApi)?

Hello, I have a question regarding the following situation: I have an Entity that I defined in my model as TaskFreq public partial class TarefaFreq { [Key] public int ID { get; set; } public string Name { get; set; } } I created...
asked by 26.07.2018 / 20:12
2
answers

Doubt C # ADO.NET Class - Accessing Data from a DataTable

Hello, good evening, I'm new here and a beginner in C # programming. I'm developing a CRUD system for vinyl records (a particular hahaha) using ADO.NET classes, similar to the article below. However, I'm not getting any progress in my rs proj...
asked by 19.07.2018 / 02:55
0
answers

Does Swagger 3.x work with .net 4.7?

I'm trying to create Swagger Answer and Entry examples but I'm not succeeding. So far, the most I've been able to do is to create the MOCK of the request input, the output I'm not getting. Follow the code below: [SwaggerRequestExample(ty...
asked by 18.07.2018 / 23:01
0
answers

C # HttpWebRequest send multipart / form-data to POST

I need to send POST using HttpWebRequest , with header Content-Type=multipart/form-data and Accept=multipart/form-data , and data in Body . My routine below, I use it without problems doing POST , sending...
asked by 26.07.2018 / 22:25
1
answer

SQL command blocking controller requests in C # MVC

I'm implementing in a C # MVC project, a routine to perform database restore. I have a problem that when I start the restore, the requests of other controllers are stuck waiting for the SQL to finish. What I found strange is that if...
asked by 29.06.2018 / 19:00
1
answer

if and else condition with date in crystal report

I'm performing a condition in my report to insert "-" when the Due date is null, but an error occurs when the date comes other than null. Below is the image that shows the error when filling in the due date: Thefollowingexpressionwasu...
asked by 29.06.2018 / 15:34
0
answers

Excel with password for editing

I am building an Excel file where I generate an array of bytes and the UI downloads the file in xlsx format, I need to open this file with password to perform edits, is there a way to do this directly in the byte array? / p>     
asked by 11.06.2018 / 16:40
0
answers

OAuth authentication does not work in azure function

I created a webhost selfhost and I used OAuth to generate an authentication token, it worked as a console application but when I try to create a function in Azure it only returns server error (500) My Startup.cs public void Configuratio...
asked by 11.06.2018 / 20:09
0
answers

Bematech MP 4200 TH - MP2032 dll know if print is finished

Good afternoon, I'm developing an integration with payment via TEF of getnet in C #, my problem is in the impression of the payment confirmation coupon, and for approval I need to make sure the printing has finished or not. I am using the MP2...
asked by 08.07.2018 / 19:17
1
answer

ASP.NET MVC error circular reference when serializing object

Good afternoon dear fellows! I'm a beginner in ASP.NET MVC and C #, I'm developing a project and I've encountered a problem. Basically, it's a store registration system. I have two tables, one called Shops and another called Owners (Where, of...
asked by 15.06.2018 / 21:35