3,547 questions with ASP.NET tags

Sort by: Updated
1 answer

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.
264 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,547 questions
asked 2024-09-06T00:41:07.7633333+00:00
Danielle Schlie 0 Reputation points
edited an answer 2024-12-25T07:24:25.8566667+00:00
Sina Salam 14,551 Reputation points
2 answers

How to run asp.net web application using visual studio code ?

I work on .NET 4.7. I have an issue: I can't run applications in Visual Studio Code. I don't know how to run it. Startup page is http://localhost:22851/WebPages/loginT.aspx This page opens in Visual Studio 2019, but how to open the page logint.aspx in…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,547 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,152 questions
asked 2024-12-24T21:40:42.5133333+00:00
ahmed salah 3,216 Reputation points
answered 2024-12-25T03:36:44.36+00:00
XuDong Peng-MSFT 10,841 Reputation points Microsoft Vendor
2 answers

Blazor ValidationMessage being conditional

Hello, I have a registration form where the users can select if they are private or company. What I need is to make the Company Name validation conditional. Meaning, if they select a company it gets enabled and if they select a private it gets disabled.…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,704 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,636 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,547 questions
asked 2024-12-03T11:08:10.6566667+00:00
Kuler Master 306 Reputation points
answered 2024-12-24T05:36:01.05+00:00
Ping Ni-MSFT 4,805 Reputation points Microsoft Vendor
1 answer

Domain issue

Hi, On Windows server, what to adjust if I expect to use www.abc.shop instead of abc.shop each time when I refer to the web domain? This is not related to SSL certificates, right?

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,547 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,478 questions
asked 2024-12-23T06:37:27.7666667+00:00
Peter_1985 2,691 Reputation points
answered 2024-12-23T19:01:31.4133333+00:00
Bruce (SqlWork.com) 68,486 Reputation points
2 answers One of the answers was accepted by the question author.

Share cookies or session data between cross domain using ASP.NET C#

We have a shared state management server and aim to transfer session values between two domains: modern.com and 180algos.com. Both domains redirect to a common page, freelogin.aspx, which is hosted exclusively on modern.com. On this page, I need to…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,547 questions
asked 2024-11-28T12:54:53.5233333+00:00
Ashok Kumar 221 Reputation points
accepted 2024-12-23T08:40:46.6033333+00:00
Ashok Kumar 221 Reputation points
1 answer One of the answers was accepted by the question author.

Migrate .Net Framework 4.5.2 / 4.8.1 to .NET 8

Greetings. I received a Microsoft Azure mail about Retirement notice for .NET 6 (installed on Windows Server 2022) in order to update to .NET 8. I have two Web Programs, working with .Net Framework 4.8.1 and 4.5.2. is it required to migrate to .NET 8?,…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,007 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,547 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,307 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,478 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,181 questions
asked 2024-12-21T01:58:05.0566667+00:00
HECTOR HERNANDEZ F 20 Reputation points
commented 2024-12-21T21:41:38.5066667+00:00
Bruce (SqlWork.com) 68,486 Reputation points
2 answers One of the answers was accepted by the question author.

How to share "System.Web.HttpContext.Current.Session" between ASP.NET and .NET CORE application

Dear All, I would like to share session values between ASP.NET and ASP.NET CORE application. It is working fine only when the session value is set inside "Session_Start() method in Global.asax.cs. When I try to set session value in an other action…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,704 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,547 questions
asked 2024-12-18T15:28:55.29+00:00
Marján Zoltán 20 Reputation points
accepted 2024-12-19T15:35:55.0833333+00:00
Marján Zoltán 20 Reputation points
0 answers

Is it possible to forcibly define the action for all forms in IIS 10?

When submitting a form defined within an ASP page on a site registered in IIS, it doesn't navigate to the action URL you specified. Instead, it redirects to a different page. The redirected URL matches your defined action location, but the content…

Internet Information Services
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,547 questions
asked 2024-11-14T11:59:41.0266667+00:00
성훈 정 0 Reputation points
commented 2024-12-19T14:01:37.54+00:00
Farhan M 0 Reputation points
1 answer

ASP.NET session has expired or could not be found (unable to find the solution) - SSRS Report

unable to find out the solution we have tried 2 things but there was no ouput: We have tried to extend the session time out to 30mins Tried to scale up the Azure speed when this error occurs Attached Screenshot for reference, kindly assist for the…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,547 questions
SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
2,960 questions
asked 2024-12-18T14:24:39.5466667+00:00
Puneet Dasari 20 Reputation points
edited the question 2024-12-19T03:25:04.69+00:00
RDash 2,335 Reputation points Microsoft Vendor
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,547 questions
asked 2022-10-14T07:20:39.917+00:00
Sriram K 1 Reputation point
edited a comment 2024-12-18T11:02:39.9833333+00:00
TP 100.9K Reputation points
1 answer

AADSTS500208 Error for Entra External ID Users in .NET 8 Multitenant App

TLDR: Users from Entra External ID without role assignments receive the error "AADSTS500208" when trying to log into a multitenant .NET 8 application. The login works fine for users from the workforce tenant and those with role assignments from…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,007 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,704 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,547 questions
Microsoft Entra External ID
Microsoft Entra External ID
A modern identity solution for securing access to customer, citizen and partner-facing apps and services. It is the converged platform of Azure AD External Identities B2B and B2C. Replaces Azure Active Directory External Identities.
2,966 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
22,645 questions
asked 2024-12-07T21:34:10.33+00:00
Daniel Oskar Eliovits 0 Reputation points
answered 2024-12-15T23:30:02.11+00:00
Digvijay Chauhan 1 Reputation point
12 answers

I can't find ASP.NET Web Application (.NET Framework) with c#

Hello I want to use ASP.NET Web Application (.NET Framework), and I have downloaded Visual Studio Community 2019 v16.11.3, and i have clicked the ASP.NET and web devleopment before i download it but I can't find the one i needed, I don't want the…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,547 questions
asked 2021-10-01T00:33:18.083+00:00
WEI HAN TAN 41 Reputation points
edited an answer 2024-12-15T09:36:24.61+00:00
William Grey 0 Reputation points
6 answers

Unable to run .net 4.8 apps on IIS using Arm processor (M1 Max)

I have a macbook pro with M1 max processor running windows 11 pro in Parallels using the most updated version as to writing this message. When trying to run .net 4.8 app on IIS I get the following error in the event viewer: The Module DLL 'C:\Program…

Internet Information Services
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,547 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
10,277 questions
asked 2023-02-23T14:34:02.8166667+00:00
Bodokh 15 Reputation points
commented 2024-12-13T21:24:47.8433333+00:00
Lex Li (Microsoft) 5,742 Reputation points Microsoft Employee
1 answer

unable to hide the error popup while run the visual studio

I am using visual studio 2022 for ASP.NET Application. whenever i'm running the application through visual studio, i am getting the below error. Even though, the application is running while showing the popup. How to hide this error...? Note : Visual…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,547 questions
asked 2024-12-12T08:38:24.0666667+00:00
BeUnique 2,232 Reputation points
answered 2024-12-13T06:17:06.06+00:00
Lan Huang-MSFT 30,086 Reputation points Microsoft Vendor
2 answers

AppShell- Failed to Navigate Back, Ambiguous routes matched for.... but i've only registered routes once

I am building an Xamarin Forms app for iOS and Android. I registered my routes in AppShell.xaml.cs globally like this: **-AppShell.xaml.cs-** Routes.Add(nameof(HousingFolderPage), typeof(HousingFolderPage)); Routes.Add(nameof(HousingFolderDetailsPage),…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,368 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,547 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,152 questions
asked 2023-03-26T23:28:07.2466667+00:00
Nabil 6 Reputation points
answered 2024-12-11T14:00:09.7133333+00:00
Mohammed Khalil 0 Reputation points
1 answer One of the answers was accepted by the question author.

Setting a timer to display a popup after page finishes loading everything on it

Hi, I have a popup that shows when the page finishes loading. However, it pops up immediately the page comes up. Please how can I set a timer for the popup to show seconds after everything on the page is loaded? I would like to achieve two things: Set…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,007 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,547 questions
asked 2024-12-09T08:51:43.5533333+00:00
Donald Symmons 3,026 Reputation points
accepted 2024-12-09T11:54:33.35+00:00
Donald Symmons 3,026 Reputation points
2 answers One of the answers was accepted by the question author.

Popup appears behind other page contents

Hello, I was trying to create a pop-up that will pop up after the page finishes loading everything on it. But the popup and its contents hides behind, and the close (X) button does not respond. How can I make the popup appear in front and the close (x)…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,007 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,547 questions
asked 2024-12-06T10:28:55.7266667+00:00
Donald Symmons 3,026 Reputation points
edited a comment 2024-12-09T08:48:22.52+00:00
Donald Symmons 3,026 Reputation points
1 answer

Using Business Logic Classes in C# with .NET MAUI

What are the best practices for creating business logic classes in C# for a bank application? Specifically, how do business logic classes interact with data access classes, and how can expression-bodied members be utilized in this context?

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,547 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,763 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,152 questions
asked 2024-12-06T20:05:12.9933333+00:00
Tom Meier 260 Reputation points
edited an answer 2024-12-07T22:27:26.79+00:00
Bruce (SqlWork.com) 68,486 Reputation points
3 answers

ASP.NET Web Deployment using Visual Studio: Deploying to Test

I want to test publishing my ASP.Net web app from my development environment (it uses the default IIS Express that comes with VS 2017) to a QA environment that has IIS (like a Hoster will have). My goal is 2-fold - to test deploying my web app to IIS as…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,547 questions
asked 2021-10-04T22:13:09.167+00:00
First Last 1 Reputation point
edited a comment 2024-12-07T17:16:06.84+00:00
harshbargersonphilips 0 Reputation points
1 answer

ASP.NET web site build error in VS2022 due to missing assembly reference

I am maintaining an ASP.NET Web site. It has many assemblies (and DLLs) in Bin folder. The web site project is legacy one without any project file. One of the DLLs is DLL that uses CLR. Even though the dll is there in bin folder, building web site…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,547 questions
asked 2024-12-05T19:12:33.2766667+00:00
MadhukannanBollu-1509 0 Reputation points
edited an answer 2024-12-06T18:01:17.0633333+00:00
Bruce (SqlWork.com) 68,486 Reputation points