3,587 questions with ASP.NET tags

Sort by: Updated
0 answers

Getting AvailableBytes of memory and PercentIdleTime of CPU from a remote servers with error

I am creating an ASP.NET MVC web app to query a list of server resources like Disk Space, RAM and CPU using WMI classes. Everything worked as expected from my local development environment. All the queries are called using a user account with Admin…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,587 questions
asked 2025-01-31T14:27:44.1333333+00:00
Nguyen, David V 6 Reputation points
edited a comment 2025-02-04T13:25:35.7933333+00:00
Nguyen, David V 6 Reputation points
1 answer

Hide IIS version when user gets error HTTP Error 404.0 - Not Found and view source file from webbrowser

When user load the page with wrong url or type wrong path to the file in url then user get error with below message in web browser. " HTTP Error 404.0 - Not Found The resource you are looking for has been removed, had its name changed, or is…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,587 questions
asked 2025-01-29T07:46:31.4966667+00:00
Mehul Donga 0 Reputation points
commented 2025-02-04T08:22:50.4266667+00:00
XuDong Peng-MSFT 11,181 Reputation points Microsoft Vendor
2 answers

Table border issue

Hi, What is wrong below? How to correct it?

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,587 questions
asked 2025-01-21T03:55:30.69+00:00
Peter_1985 2,711 Reputation points
commented 2025-02-04T06:22:51.0033333+00:00
Peter_1985 2,711 Reputation points
2 answers

Multiple App.Razor components

Hello, Is it possible to have an additional App.razor file that I can use for e.g. Admin area only? Currently, if I create a new folder named Admin and create a new layout there, it inherits from the existing App.razor and linked css files. Basically, I…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,769 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,657 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,587 questions
asked 2025-01-31T08:47:54.43+00:00
Kuler Master 406 Reputation points
edited an answer 2025-02-03T08:26:49.1766667+00:00
Ruikai Feng - MSFT 2,751 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

image not displaying in visual studio .net 8 cshtml

I created a simple .net 8.0 web application. I put what seemed to be a simple <src> statement, but the image does not show up on the browser.   The image is in a folder called “images”      The image is coded here. when i hover over the image it…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,085 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,769 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,587 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,398 questions
asked 2025-01-30T01:06:43.91+00:00
iqworks Information Quality Works 316 Reputation points
edited the question 2025-02-03T07:52:58.4733333+00:00
Jack J Jun 24,636 Reputation points Microsoft Vendor
1 answer

When we will update on the next version of MVC5.3.0 if there is no updates on the version please provide documentation for that.

Hi please provide the relavent info regarding the ASP.NET MVC 5.3.0 is there any updated on version if not please provide the documentation. Regards vinayak

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,769 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,587 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.
369 questions
ASP.NET Core Training
ASP.NET Core Training
ASP.NET Core: A set of technologies in the .NET Framework for building web applications and XML web services.Training: Instruction to develop new skills.
30 questions
asked 2025-01-31T07:08:06.0033333+00:00
Vinayak Padamata 0 Reputation points
edited the question 2025-02-03T07:14:33.54+00:00
Jack J Jun 24,636 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

How to display information in a custom format using one Textbox and a Literal or Label control

Hi, Is there a way to display database column values in a label, exactly the way it looked in a textbox in the previous page? What I mean is, if I insert data into database, and in the textbox where the data was typed, the data will be stored in DB and…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,085 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,587 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.
11,265 questions
asked 2025-02-02T11:08:03.49+00:00
Donald Symmons 3,066 Reputation points
accepted 2025-02-03T06:22:31.42+00:00
Donald Symmons 3,066 Reputation points
5 answers One of the answers was accepted by the question author.

HttpClient // Timeout // The remote name could not be resolved

Hello, The remote name could not be resolved using (HttpClient client = new HttpClient()) { client.BaseAddress = new Uri(System.BaseAddress); client.Timeout = new TimeSpan(0, 0, System.Timeout); public void Exception(Exception ex, string…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,587 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.
11,265 questions
asked 2025-01-23T18:48:34.5966667+00:00
Noah Aas 585 Reputation points
commented 2025-02-02T15:54:49.1933333+00:00
Noah Aas 585 Reputation points
1 answer One of the answers was accepted by the question author.

Calculating total sum of money between dates and displaying the result in label control

Hello, I have been trying to calculate the sum of a particular column in database and display the result in a label control. The column is set as Nvarchar(max). I also need to search for and display the sum based on two dates. I only have one date column…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,085 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,587 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.
11,265 questions
asked 2025-01-31T18:14:16.9866667+00:00
Donald Symmons 3,066 Reputation points
accepted 2025-02-01T20:16:39.2433333+00:00
Donald Symmons 3,066 Reputation points
2 answers

Performance issues in Session State

Hi. We are running a .Net Framework 4.8 mvc web application with redis session state setup. We are experiencing performance issues and the profiling we have done indicates that session state, specifically GetSessionStateItemAsync, is waiting for long…

Azure Cache for Redis
Azure Cache for Redis
An Azure service that provides access to a secure, dedicated Redis cache, managed by Microsoft.
270 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,587 questions
asked 2024-09-06T00:41:07.7633333+00:00
Danielle Schlie 0 Reputation points
edited an answer 2025-01-31T23:18:58.2433333+00:00
Bruce (SqlWork.com) 70,611 Reputation points
3 answers

Error in Visual Studio 2022 -- ASP.NET Framework 4.8 XSD Code Generation

An ASP.NET Framework 4.8 VB Web Forms Site is generating the following error: Failed to generate code. Exception of type 'System.Data.Design.InternalException' was thrown. This error occurs after creating the .XSD file in the designer and adding a…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,587 questions
asked 2025-01-28T20:31:11.98+00:00
Peter Held 0 Reputation points
answered 2025-01-31T03:55:51.27+00:00
SurferOnWww 3,816 Reputation points
2 answers

How to arrest '.axd' files from script level/Web.config/IIS & how to set Referrer Http header in Sever Side/Web.config

Hi Team, 1: We are using Script manager for 'Alerts & Js' because of this we are identifying ScripResource.axd & webResource.axd files while running the application. 2: We have a created Rule for 'Referer HTTP' header in Web.config file ,…

Internet Information Services
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,587 questions
asked 2022-10-14T07:20:39.917+00:00
Sriram K 1 Reputation point
edited the question 2025-01-30T12:17:34.1+00:00
TP 102.2K Reputation points
1 answer

allow only one system to login the aspx page

Hello I have hosted my aspx pages in serevr its accesing using local ip 192.168.xx.x for example i have abc.aspx it should allow only one system and one login to access if any other same user login and coming from difference browser or system has to…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,587 questions
asked 2025-01-27T11:19:39.5733333+00:00
RAVI 1,056 Reputation points
commented 2025-01-30T01:59:40.4333333+00:00
JasonPan - MSFT 6,301 Reputation points Microsoft Vendor
1 answer

Migration from .Net Web Application (Framework 4.7) into .Net Core Web 8.0

Hi, I would like to migrate my application from .Net Framework 4.7 to .Net Core 8.0 as I would like to have my application in the latest version. My application is in MVP architecture and web pages are aspx (UI part). Is there any easy way to migrate it…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,085 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,769 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,587 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.
11,265 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.
369 questions
asked 2025-01-29T03:37:46.5466667+00:00
Banu 20 Reputation points
answered 2025-01-29T21:48:47.57+00:00
Bruce (SqlWork.com) 70,611 Reputation points
1 answer

Converting ASP.NET MVC Framework csproj Question

Hello - I have a few different ASP.NET MVC projects that build on .NET Framework 4.8 I want to convert to the new SDK style csproj format. I was able to convert it over fine, but once I try and publish the project, all of the DLL files are not located…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,587 questions
asked 2024-09-20T18:44:37.6566667+00:00
Palmer, Jared L 41 Reputation points
commented 2025-01-29T16:29:48.1166667+00:00
Palmer, Jared L 41 Reputation points
0 answers

How to Change the Password for the Messaging System in MSSQL ASPX?

The issue at hand involves a lost database containing millions of data points, with only a ten-year-old backup available. The automatic email sending feature, essential for operations, has stopped working, possibly due to a password mismatch for the…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,587 questions
asked 2025-01-28T18:24:20.4633333+00:00
Christian Ambrosini 0 Reputation points
commented 2025-01-29T10:33:01.9+00:00
XuDong Peng-MSFT 11,181 Reputation points Microsoft Vendor
2 answers

Loader animation issue in bootstrap while click save button

I'm using asp.net page and it contains various controls. i used bootstrap navigation for menu and signature. i have use various scripts for bootstrap designing and dropdown search box. everything is working fine except loader animation. When i click…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,587 questions
asked 2025-01-24T19:03:36.5133333+00:00
BeUnique 2,292 Reputation points
edited an answer 2025-01-29T01:05:50.9533333+00:00
XuDong Peng-MSFT 11,181 Reputation points Microsoft Vendor
3 answers

How to use ASP.NET Code Behind to launch FileUpload

Is it possible to include an asp:Button with OnClick=DoFileUpload_Click, and the method runs whatever to launch the FileUpload class?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,085 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,587 questions
asked 2025-01-22T01:45:28.4866667+00:00
Coreysan 1,806 Reputation points
commented 2025-01-28T17:43:46.32+00:00
Coreysan 1,806 Reputation points
0 answers

How to sanitize a legacy asp.net file (Aspx) infected with malware

Hello, I created an Asp.net website about 10 years ago, and it is hosted on GoDaddy.com. If I google search the domain name of the website it will come up with the name of a generic drug. I can access the website, it's just that the google search…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,587 questions
asked 2023-04-13T21:39:07.2133333+00:00
Will G 0 Reputation points
edited a comment 2025-01-28T15:43:38.4933333+00:00
Christian 2B 1 Reputation point
0 answers

Publish Error

Copying file Content\app_content\assets\libs\datatables.net-buttons\node_modules\datatables.net\js\jquery.dataTables.min.js to…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,587 questions
asked 2025-01-23T23:30:57.6833333+00:00
AHSAN ALI 101 Reputation points
commented 2025-01-28T09:40:07.44+00:00
XuDong Peng-MSFT 11,181 Reputation points Microsoft Vendor