Most voted ".net" questions
The Microsoft . NET is a set of libraries and functions that are part of the Basic Class Library (BCL), such as user interface functions, data access, connectivity, cryptography, web development, mathematical algorithms, and network communication.
Learn more…2,689 questions
Sort by count of
-
0
votes1
answer39
viewsHow to download a Github release file using Webclient on . NET 3.5?
After my question of Create Zip files and unzip using . NET 3.5 I have a problem. It’s just that before I was able to download my file in a Github release, but then it didn’t work anymore. using…
-
0
votes1
answer23
viewsIdentical objects with same value fields returning different C#
Identical objects with equal fields returning different when comparing with Equals or == var oldPayments = orderNotTrack.Payments .Where(p => p.Status == Status.Activated) .Select(p => new…
-
0
votes1
answer36
viewsMega API Client: Cancellationtoken at Downloadfileasync
I started using a MEGA file cloud API where I can upload and download the files from the cloud. Nuget Package here, I’m doing fine: using CG.Web.MegaApiClient; using System; using…
-
0
votes1
answer27
viewsError sending Controller object to View
I am creating a small project in Asp.net MVC 5 to train and I am having problems passing a Controller object to the View, is showing some error related to the Where<> method of the LINQ…
-
0
votes1
answer49
viewsProblem with installation of offline prerequisites - Visual Studio C#
I’m trying to create an installer for my Windows Forms C# application that should download its prerequisites from the same location of the application, ie, install offline the prerequisites. In…
-
0
votes0
answers8
viewsTransform Image into Map to use with Pathfinder Algorithm
I want to develop a kind of AI that will go a shorter way (Walkable part is just where it is gray) on the map and for that I will use the Pathfinder algorithm. For this I am using the following…
-
0
votes1
answer16
viewsError comparing Vb.net dates
I made a date comparison function. It compares the date of an input with a date column of a datatable. It follows the code: Public Shared Function GetNextDiaUtil(d As Date) As Date Dim feriados As…
-
0
votes0
answers22
viewsEdit using PUT method
I wanted to make an edition by PUT method, but I have some problem with the query string. I could not solve so far because I am a new programmer in . NET Core. I have tried to define route, use…
-
0
votes0
answers19
viewsIs the Web API more efficient than Web Methods to access data in a C#application?
Today on the C# Dotnet you can access a C# function on your ASPX page by javascript, without needing Jquery. As long as the function is Static and dependent on system.web.service.webmethod on an…
-
0
votes1
answer54
viewsRequest Restsharp
Good night people. I’m new to the C# world and I’m having the following problem using a C# code that makes an authentication request using Restsharp. This code was generated/exported from a request…
-
0
votes0
answers11
viewsSectiongroup (XML) data - Dotnet Core
I need to search "sectionGroup" values, as I had to do several sections, it is necessary to use it, however, when trying to search, the value always receives Error. Knowing that There is no…
-
0
votes1
answer19
viewsConvert generic to specific type in DB set
I am creating a web api using . net 5 The purpose of the application is to make a simple user registration, and in the future other types of registration I created a generic CRUD interface to be…
-
0
votes0
answers17
viewsRTD (COM) / communication error. Connectdata(Int32 topicId, Object[]& Parameters, Boolean & newValue)
I created a client to communicate with RTD server, my knowledge is small in C# I have higher in JAVA, but I did not find anything likely to use in JAVA, I am using this example of client c#: using…
-
0
votes0
answers26
viewsError signing Sisobrapref XML document - Invalid Transmitter Certificate - C#
Every time I send a document . xml to Webservice returns me the following message: "Invalid Transmitter Certificate" I am following the following documentation: Documentación Sisobrapref Someone can…
-
0
votes0
answers35
viewsHow to set up a WEB application developed in C# ASP.NET (.NET Framework) for a server configured in Medium Trust?
Guys, I’m having the biggest headache to host a website, developed in C# ASP.NET (.NET Framework), MVC, on the server of LOCAWEB. Their server is set to Medium Trust and their confidence level is…
-
0
votes1
answer63
viewsConvert string to a C class #
I am doing an integration with an API in SOAP, in one of the methods need to pass as parameter a value of an API class, the problem is that I receive this parameter in the format String and need to…
-
0
votes1
answer37
viewsUse of attributes in C#
I am facing a situation where in a large part of the methods of my API I need to send a request for another API to account for calls and so invoice them. Currently this code is contained in these…
-
0
votes0
answers8
views.NET Core - Addhttpclient returning null
In an ASP.NET Webapi project I am trying to register a typed http client in the DI container. But when trying to configure using the service Provider ends up returning null in the service. Ambiente…
-
-1
votes1
answer376
views -
-1
votes1
answer167
viewsHow do I get the value of the parameter sent by a view and persist in the database?
When I set mine action register address, she picks up the codigoCliente, parameter master/CadastrarEndereco?codigoCliente=1011. How to persist the chosen customer’s address? My actions: public…
-
-1
votes2
answers207
viewsHow to create a database in SQL Server?
I installed SQL Server, and comes Magnament Studio, how do I create my bank? I tried going there, and I had authenticated by Windows but it is error. How I create my bank?
-
-1
votes2
answers457
viewsCheckbox concatenating string several times
I wanted to click on checkbox and then register, save the default value and service name in the database (description). However, the description is a problem for me, because when the user marks and…
-
-1
votes1
answer246
viewsIs it feasible to use Mysql with Entity Framework 6 and get good CRUD performance?
It is feasible to use Mysql with Entity Framework 6 and get good CRUD performance?
-
-1
votes1
answer333
viewsDelphi => C#: generic function to return billet DV
I’m having problems with a custom Module 11 function (which correctly returns the billet dv of any bank) that already had it in Delphi, and how I’m needing it to implement in a C system#. So I tried…
-
-1
votes1
answer489
viewsHow to know if a System.Timers.Timer is running?
I need to know if a timer is running, in case you’re not, I’ll start it,
-
-1
votes1
answer58
viewsNosql . Net compatibility
I would like to know if there is any Nosql bank that is easier to work with. Net (which is easy to integrate, manipulate, create entities by the Entity framework if possible, etc). If you can give…
-
-1
votes1
answer43
viewsJoin lists without repeating
I have two lists: . I wanted a way to join the two lists randomly without repeating letters and numbers in the same letter in C#, for example:…
-
-1
votes3
answers186
viewsHow do I trigger confirm the form via enter?
I’m doing a C# program that plays what’s inside the TextBox into the Grid, But I’m only getting it through a button. I want to know how to make the supplier user the first data, press enter, skip to…
-
-1
votes3
answers4858
viewsHow to write a date in ISO 8601 type
I’m doing a communication program with Apis online and I’m using a header like DateTime and I needed that date to stay on the ISO 8601 how can I do this ? I’m using this to create the header : var…
-
-1
votes2
answers742
viewsI can’t get a variable from another namespace
A project is Webapplication and the other one is like Console: "Projectste" Nomedasolution Structure below: Business(Pasta) Businessdal(project) Arquivodal.Cs Console(project) Business.Cs //Project…
-
-1
votes1
answer415
viewsCreating reports in C#!
Hello, I’m looking for a library/tool that lets you create reports in c#. There’s Fast Report and Crystal Reports but they both get paid... You wanted something Open Source/Free and you don’t need…
-
-1
votes2
answers76
viewsHow can I create a list
I need to create a list, where it will list all existing items within an order. In the method below I can bring an item, but I can’t bring it if I have more than one. My doubt would be, I have to…
-
-1
votes3
answers79
viewsC# doubling value alone
I’m appending C#, but the code below doubles the value and terminates unexpectedly. Can anyone take a look? using System; using System.Collections.Generic; using System.Linq; using System.Text;…
-
-1
votes1
answer4231
viewsWhen using Boleto.NET is it necessary to assemble the shipment file manually?
In a financial system already built by another developer the Boleto.NET library was used to generate boletos Itaú. I would need to add support for Santander billet generation, but I can’t figure out…
-
-1
votes1
answer105
viewsDispose in Unit Of Work
I have a web application and am using repository* and Unit Of Work. In some examples I saw that after performing some change operation in the bank we should call the method Dispose(). I instancei…
-
-1
votes1
answer677
viewsBiometric Reading
I am developing a desktop system, where I wanted to register a biometric. I use the reader Futronic Modelo: FS80H. I’m new to . net The idea is to save biometrics in format String to be later saved…
-
-1
votes1
answer55
viewsPossibility to use MAX in Datetime Lambda expression fields
There is the possibility to use the MAX in expression consultations lambdas, for example: I would like to take all registration at the age of 18 years and get the only last record entered in the…
-
-1
votes3
answers380
viewsPrint a string with only numeric values
I’m doing a show in console where the user enters some codes, and I want to print this code back to him just when he gives enter. But I wanted to print only the number values and ignore the…
-
-1
votes1
answer120
viewsGet month value from a list
I need the person to be able to get the information and month they want, so I need to get this information from the list and then show the license plate, date, time of entry and exit, paid amount…
-
-1
votes1
answer37
viewsProblems with Visual Basic
Well, I don’t know what’s going on, apparently the problem is with the Net Framework. However, it does not appear installed in the program manager, it must be because it comes embedded with Windows…
-
-1
votes2
answers100
viewsWhy is calling a method not compiling?
using System; using System.IO; namespace testando { public class pessoa { public void Falar(){ Console.WriteLine("Ola meu nome é ninguem"); } } …
-
-1
votes1
answer1334
viewsError 6118 on command promt
I’m trying to see the connected servers on my host by cmd, but when I use the "net view" command the error message appears. "System error 6118. The server list for this workgroup is currently not…
.netasked 6 years, 1 month ago Anael Wojciechowski 1 -
-1
votes1
answer327
views -
-1
votes1
answer516
viewsCS0029 error in Visual Studio
I’m trying to make a very simple calculator, just to understand how the program works, and I came across the following problem: If I put 5+5 in the calculator it gives me the value of 55 as a…
-
-1
votes3
answers299
viewsHow to get the amount of "true"?
Follows code: int total_true = ctx .MinhaTabela .Where(x => x.id == 5) .Select(x => new Tabela_DTO { Campo1 = x.Campo1, // database está como true Campo2 = x.Campo2, //database está como false…
-
-1
votes2
answers177
views -
-1
votes1
answer143
viewsSpecify custom View paths in ASP NET Core 2.0 MVC 5?
I’m having a big problem specifying the path I want the controller to search for the view relating to it. I’m using more than one subfolder within an area: I want the controller to be able to…
-
-1
votes1
answer31
viewsNotifying the Browser via backend
So, I’m making a method that generates a pdf, but since the file is large, I thought to "warn" the browser when the file is finished. This can be done with Signalr? thank you guys! abs
-
-1
votes2
answers147
viewsPass values to 99 fields in a loop
I would like to pass values to 99 fields in one loop; For example: for(int i=1; i<= 99 ; i++) { nomedocampo + "i" = "valorqualquer"; }
-
-1
votes1
answer41
viewsHaving problems with C#Assembly. Does not accept NPOI Updated
I have a question. I am trying to update the NPOI of an application, but it bursts the following error: Failed to export report (description: Unable to load file or Assembly 'NPOI, Version=1.2.3.0,…