Most voted "asp.net" questions
ASP.NET is a web application framework developed by Microsoft to allow programmers to build dynamic websites and web applications. Use the tag for traditional web forms, the classic template that provides the illusion of "stateful" pages. Do not use this tag for the style using the standard Model-View-Controller; use [Asp.net-mvc].
Learn more…1,881 questions
Sort by count of
-
-1
votes1
answer198
viewsAxios does not pass data to API Asp. Net Core
I searched every corner of the network for an answer and couldn’t find one and created an application with React that calls an Asp.Net core Webapi, using Axios. It turns out that the parameters do…
-
-1
votes1
answer72
viewsHow to make Class1.Cs appear?
In my WEB FOLDER I have the file aspx.cs and the following code: using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using…
-
-1
votes1
answer45
viewsHow to prevent a record when edited to save in duplicity?
This snippet of code saves the themes of a record. However, when I edit a record by adding a new client, the last theme of that record duplicates. That is, every time I edit a record it duplicates…
-
-1
votes1
answer169
views@bind and @onchange for a select on blazor c#
Hello, I’m new with blazor I wanted to do the following. I have 2 Lists, Category and another List2, in the form I have 1 select for the category and another select for List2, and I wanted to make…
-
-1
votes1
answer24
viewsHow to get the Keys values of a Keyvaluepair c#object?
I have a Json with the following structure: { "Data" { "Request": [ { "text": "Minha Pergunta?", "response": "Minha resposta" } ] } } I do as follows to receive the values in the code:…
-
-1
votes0
answers12
viewsError using Updatepanel: "A control with the btnAbrirDoc identification was not found for the trigger in 'Updatepanel'
Follow the code below: <div class="row"> <div class="col-md-2"> <asp:Label ID="lblMsg" runat="server"></asp:Label> </div> </div> <div class="corpoFav">…
-
-1
votes0
answers20
views -
-1
votes0
answers11
viewsCombine files by removing repetitions
In the following code snippet written in C# Asp.net core mvc, the application READ the.txt files and all their contents inside a specific folder, then stores the READ content in a new file (similar…
-
-1
votes0
answers14
viewsUndefined object reference for an instance of an object. C# Httpcontext.Current.Session
Guys, I have the new system here of the company trying to run it on localhost, but when I log in it returns this message: Referência de objeto não definida para uma instância de um objeto. Here’s…
-
-2
votes1
answer225
viewsError compiling: Error 4 Assembly [...] must contain a strong signature to be marked as a prerequisite
Error 4 Assembly '......' must contain a strong signature to be marked as a prerequisite.
-
-2
votes1
answer563
viewsHow to clear the query string after I already got the values I want?
I’m using Asp.net c#, and I wanted to clear the query string so it doesn’t look for the user, for example "http://meusite.com.br/Pagina1.aspx?parametro=Lucas"..... I take this name and use it in my…
-
-2
votes1
answer8504
viewsInsert a calendar with HTML
I’m trying to insert a calendar into HTML, but that calendar is going wrong. The calendar is the green one on this page: https://almsaeedstudio.com/preview Only I only get the tasks and the days…
-
-2
votes2
answers263
viewsPermissions according to groups of AD
Good people, as I mentioned in some questions I am developing a query Webapp that needs to have a login through the network using the users of Active Directory. My goal is that there is a group and…
-
-2
votes1
answer345
viewsHow to create a shopping cart in ASP.NET MVC
Good night! I am doing a project in ASP.NET MVC and I really need to create a shopping cart to receive all the items that the user click to add to the cart, for example the product will be on the…
-
-2
votes1
answer490
viewsGenerate Boleto Itau from a shipping file that is in . txt
I need to generate Itau PDF Newsletter from a shipping file that is in . txt some suggestions to develop the application ?
-
-2
votes2
answers90
viewsDoubt Gets/Sets
My project has 3 layers, DAL, BLL, Project utilizo ASP.NET I have an aspx page in the project, which has textbox containing new values for a database update. In the DAL class I have Entity that…
-
-2
votes1
answer651
viewsConvert Datetime to Date
I need to compare a date without the time, only ("dd/MM/yyyy") with the database with Linq, but I’m not able to transform the format DateTime("dd/MM/yyyy HH:mm:s") for Date("dd/MM/yyyy")?…
-
-2
votes4
answers474
viewsGrab part of a string
How do I get just up to the , of the following string: Ninguem ninguem, todos Expected result: Ninguem ninguem
-
-2
votes2
answers579
viewsException of type System.Nullreferenceexception
Soon after login in the system I try to access a page and the system sends me again to the login page and soon after the login again held happens this exception: "An Exception of type…
-
-2
votes1
answer73
viewsReturn data from the Customer
Good morning Personal, I would like to create a function, which returns the requested client, and its data, which are in 3 different tables Clientes, ClientesTelephone, ClientesEmail, I can add the…
-
-2
votes1
answer147
viewscontroller with the same name (home) in different areas
I have problem of ambiguity, when having controllers, with the same name as, Homecontroller in two areas: Admin and Backoffice is me presenting the problem of ambiguity, I’ve searched enough subject…
-
-2
votes1
answer43
viewsHow to do multiple Where validations with Linq and Mongo in c#
I am developing an Api and in my GET method can be passed word to be searched, start date and end date. However all fields are optional, that is, I can pass only the word without date, I can pass…
-
-2
votes1
answer44
viewsRelationship ASP.NET
Good afternoon I have a question about a relationship. i have 2 classes: Internal Person and Unit. i have the following properties in Internal Person: Personal internal belongs to a single unit, but…
-
-2
votes0
answers21
viewsHow to upload with Jquery - Ajax - Webservice
Good afternoon guys, I’m having a hard time uploading a file to the server. I have tested locally and managed to accomplish successfully both on my machine running by the project and on the server…
-
-3
votes1
answer586
viewsHow to create a dll to use on Asp.net
it is worth noting that I am not programming Asp.net much less c# or something like that. But I had to support a system in Asp.net that consumes a . dll I needed to make a change to this dll. Can…
-
-3
votes1
answer55
viewsHow to access specific information within a View Bag Asp.net
I’m doing a project where we have to create a social network where the user can post something. After doing the post It has to appear what he posted his name and profile picture. For now I have it…
-
-3
votes1
answer143
viewsMultiple selection does not work in IE
I made a post on how with a choice, select all the items. I received a reply, which solved. well, solved only in Chrome, but in IE does not work. As the question changed the "direction", so I…
-
-3
votes1
answer65
viewsSolution for Getrange error when accessing elements outside the list
By calling the GetRange of a list, where it calls 10 out of 10 values from the list at a time, but the following error: Offset and length Were out of Bounds for the array or Count is Greater than…
-
-3
votes1
answer75
viewsIf no search by value
There is a snippet in my program that looks for a specific string to assign a value to some variable. However I am not able to run these parameters inside the "If"... Debugging goes through this.…
-
-3
votes2
answers176
viewsRun Modal Code Behind ASP.NET?
I’m trying to run a modal through ASP.NET and I got it; Using the Script <div id="mymodals" class="modal" tabindex="-1" role="dialog"> <div class="modal-dialog" role="document"> <div…
-
-4
votes2
answers546
viewsPublish my system to IIS and it is not loading multiple files
I published my system on IIS (locally) and when I access it, it does not load a range of required application files. I believe I published it correctly, but I’m not getting around to solving this…