3,417 questions with ASP.NET tags

Sort by: Updated
4 answers

Dynamic Folder Names with AjaxFileUpload

I'm attempting to replace the upload /download pages of our very old ASP classic web site with a web forms app. Keeping as much of the back end stuff the same is important as there is code (mostly VBA in Word, Excel and Outlook) in our daily operation…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,648 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 questions
asked 2024-07-18T17:04:20.35+00:00
Ken Krugh 116 Reputation points
commented 2024-07-26T21:17:55.1+00:00
Ken Krugh 116 Reputation points
3 answers

How can I have an interactive map in ASP.NET?

Hi all. I have an ASP.NET project that needs to display a map image. The map contains areas that show a status of either "busy" or "available". I need the map to show this status with an icon, a small image that represents either of…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 questions
asked 2024-07-25T15:10:53.15+00:00
Saga 426 Reputation points
answered 2024-07-26T19:28:40.0666667+00:00
EngCream 0 Reputation points
4 answers

*I cannot call an aspx file from within an MVC5 web app controller method

     Hi, I have two MVC5 webapp projects.     Proja references projb.     When proja instantiates a new projb object called projbObj.     I call a method from projbObj called DisplayLoggingMaint().     But when I debug this, the debug stops at the call…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 questions
asked 2024-07-22T19:34:38.8933333+00:00
iqworks Information Quality Works 276 Reputation points
edited a comment 2024-07-26T06:00:51.9533333+00:00
SurferOnWww 2,491 Reputation points
1 answer

403 Forbidden - Links in ASP.NET code behind

I am building my website in ASP.NET Web Forms with User Accounts. I have just the example template that comes with the ASP.NET webforms and I'm going through trying to connect all the 2FA ans SendGrid peripherals. I would really like to read the…

Microsoft Identity Manager
Microsoft Identity Manager
A family of Microsoft products that manage a user's digital identity using identity synchronization, certificate management, and user provisioning.
661 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 questions
asked 2024-07-23T00:11:39.3533333+00:00
Jeremy Winslow 0 Reputation points
commented 2024-07-26T05:49:38.47+00:00
Lan Huang-MSFT 28,841 Reputation points Microsoft Vendor
1 answer

About MVC support please

<div class="row" id="education-seminar-forms-BilgisayarBilgi"> @for (int i = 0; i < Model.tBL_BilgisayarBilgisis.Count; i++) …

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 questions
asked 2024-07-19T17:44:19.46+00:00
kadir 60 Reputation points
commented 2024-07-26T05:48:17.7+00:00
Lan Huang-MSFT 28,841 Reputation points Microsoft Vendor
0 answers

How to fix error creating control - asp:label index was out of range. must be non-negative and less than the size of the collection. parameter name: index

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 questions
asked 2024-07-25T14:32:31.58+00:00
Nivash 0 Reputation points
commented 2024-07-26T01:33:23.2266667+00:00
Lan Huang-MSFT 28,841 Reputation points Microsoft Vendor
0 answers

Microsoft.AspNet.OData NuGet Package Upgrade Causing delay in the Functionality

Hi, I have upgraded Microsoft.AspNet.OData NuGet Package in our application from 7.5.14 to 7.7.5 and since then it is causing delay in few of the Api calls in the application. Before upgrade everything works fine without causing any delay. The scenario…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,648 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,400 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 questions
asked 2024-06-18T07:10:11.82+00:00
AKHIL TALLURI 0 Reputation points
commented 2024-07-25T13:07:01.8566667+00:00
AKHIL TALLURI 0 Reputation points
4 answers

ASP.NET Core JWT Authentication Returning Unauthorized(invalid-token 401) for Authenticated Requests in Controller Actions

Hi everyone, I'm encountering an issue with JWT authentication in my ASP.NET Core 8.0 application. While the token generation and authentication seem to work correctly in my AuthenticationController, any requests to other controllers requiring…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,648 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,400 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
318 questions
asked 2024-07-24T16:02:32.3133333+00:00
Antonio Simonetti 0 Reputation points
commented 2024-07-25T10:19:18.5866667+00:00
SurferOnWww 2,491 Reputation points
1 answer

Azure app service reverts to previous version

I have blazor web app I'm deploying to Azure App service using VS2022 Preview publish feature. I have upgrade my project target framework to .NET 8. And I have my publish setting target framework to .NET 8. However after publishing the app the…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,648 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,888 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,141 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,408 questions
asked 2024-01-29T22:02:12.3066667+00:00
JuwonPark-6692 5 Reputation points
edited a comment 2024-07-24T16:47:05.44+00:00
sabbir saiyed 0 Reputation points
1 answer

I have been encountering this issue for days, and the 'app console .NET Core' package is missing in the project creation section. I would appreciate a quick response. If you can connect remotely and fix it, that would be even better. Thank you

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,400 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,888 questions
asked 2024-07-10T17:14:04.3+00:00
Tufan Bulut 0 Reputation points
commented 2024-07-24T07:35:18.0166667+00:00
Tianyu Sun-MSFT 29,446 Reputation points Microsoft Vendor
1 answer

DataTable values are getting the default values(Initially loaded values) when we click on the dropdown icon of DataTable in asp.net C# using jQuery

I'm very new to this DataTable logic implementation concept and I have append the data to the DataTable and append successfully and in that DataTable controls I have written some event logic (ex:- dropdown onchange and textbox oninput events) and those…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
942 questions
asked 2024-07-22T07:45:31.2566667+00:00
Ashok Kumar 201 Reputation points
commented 2024-07-23T08:40:33.61+00:00
Lan Huang-MSFT 28,841 Reputation points Microsoft Vendor
2 answers

anti-forgery tokens implementation in asp.net web api

Can any one help me with anti-forgery tokens implementation in asp.net web api and AngularJS. how do we maintain the forgery key in web api to validate the key for every request. Please provide the full example.

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 questions
asked 2024-07-19T13:35:25.67+00:00
Bala Subrahmanya Gopal Jataprolu 0 Reputation points
commented 2024-07-23T06:18:51.57+00:00
Lan Huang-MSFT 28,841 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

How to invalidate ".AspNet.Cookies" cookie on logout?

I have a .net application deployed to Azure. A penetration test finding called "Session Not Invalidated After Logout" is found. When an API Get request is sent along with .AspNet.Cookies while user is logged in, a successful response is…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,648 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 questions
asked 2024-07-16T11:05:41.7266667+00:00
Abhishek, Burra 30 Reputation points
accepted 2024-07-22T08:42:14.65+00:00
Abhishek, Burra 30 Reputation points
2 answers

how to pass C# DataTable to JQuery DataTable

I am trying to send data from a C# DataTable to a Jquery DataTable, but I am not sure how. Here's my code, but it is not working. public ActionResult StudentList() { TestViewModel tvm = new TestViewModel(); List<Student> students =…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
942 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,648 questions
asked 2024-07-21T12:00:18.0066667+00:00
Saeed Ahmad 20 Reputation points
commented 2024-07-22T08:00:29.85+00:00
Saeed Ahmad 20 Reputation points
1 answer

MVC excel to pdf

public ActionResult Excel2(int? id) { List<TBL_Table1> FileData = db.TBL_Table1.Where(x => x.Tableid == id).ToList(); string DosyaAdi = ""; try { ExcelPackage.LicenseContext =…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 questions
asked 2024-07-18T06:35:35.71+00:00
kadir 60 Reputation points
commented 2024-07-22T01:22:21.4633333+00:00
Lan Huang-MSFT 28,841 Reputation points Microsoft Vendor
1 answer

validate item in entire gridview to check excess Quantity

Hello This is my aspx page <%@ Page Language="C#" AutoEventWireup="true" CodeFile="yyy.aspx.cs" Inherits="yyy" %> <html> <head runat="server"> <title>Untitled…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 questions
asked 2024-07-10T08:38:03.7233333+00:00
RAVI 1,056 Reputation points
commented 2024-07-22T01:20:27.5766667+00:00
Lan Huang-MSFT 28,841 Reputation points Microsoft Vendor
1 answer

get user ip address not deployment system ip address

Hello I want to get and show in Label1 user system name and ip address not deployment machine ip address how to get that i tried this but its taking depoyment ip address i want user machine ip string hostName = Dns.GetHostName(); …

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 questions
asked 2024-07-10T07:54:33.8233333+00:00
RAVI 1,056 Reputation points
commented 2024-07-22T01:19:59.1466667+00:00
Lan Huang-MSFT 28,841 Reputation points Microsoft Vendor
2 answers

SSO OAuth with Username And Password

I have a Web Application whose Admin portal developed in Asp.net Webforms with some domain and the Public portal of the same is in Asp.NET 8 (.NET CORE) with some other domain. The database is same for both and currently I do login with Username and…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,648 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,400 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,141 questions
asked 2024-07-18T11:09:23.7433333+00:00
Siddhant Singh 5 Reputation points
answered 2024-07-18T15:56:13.1466667+00:00
Bruce (SqlWork.com) 61,731 Reputation points
0 answers

Mysterious Error log from IdentityClient when using DefaultAzureCredential

2024-02-27 23:08:54.995 ERROR 54214 --- [ main] c.a.i.implementation.IdentityClient : Could not invoke the MSAL Broker. Ensure that the azure-identity-broker library is on the classpath. java.lang.IllegalStateException: Could not invoke…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,400 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,629 questions
asked 2024-02-28T07:14:20.6233333+00:00
Ian Lee 5 Reputation points
commented 2024-07-18T13:55:42.11+00:00
Amrata Dhankhar 0 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

adding model based controller gives me an error in MVC 5

I am trying to add model based controller, according to a tutorial: https://learn.microsoft.com/en-us/aspnet/mvc/overview/getting-started/introduction/accessing-your-models-data-from-a-controller I tried reinstalling Visual studio, tried deleting…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,648 questions
asked 2024-06-10T10:18:57.1966667+00:00
David Kamushadze 20 Reputation points
edited the question 2024-07-18T10:03:18.6833333+00:00
Rakesh Gurram 5,485 Reputation points Microsoft Vendor