3,541 questions with ASP.NET tags

Sort by: Updated
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.
3,982 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,541 questions
asked 2024-12-09T08:51:43.5533333+00:00
Donald Symmons 3,006 Reputation points
accepted 2024-12-09T11:54:33.35+00:00
Donald Symmons 3,006 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.
3,982 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,541 questions
asked 2024-12-06T10:28:55.7266667+00:00
Donald Symmons 3,006 Reputation points
edited a comment 2024-12-09T08:48:22.52+00:00
Donald Symmons 3,006 Reputation points
1 answer

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,541 questions
asked 2022-10-14T07:20:39.917+00:00
Sriram K 1 Reputation point
edited the question 2024-12-08T08:56:49.1333333+00:00
TP 100.2K 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,541 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,718 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,114 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,236 Reputation points
0 answers

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.
3,982 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,677 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,541 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,955 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,478 questions
asked 2024-12-07T21:34:10.33+00:00
Daniel Oskar Eliovits 0 Reputation points
edited the question 2024-12-07T21:39:57.34+00:00
Daniel Oskar Eliovits 0 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,541 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,541 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,236 Reputation points
1 answer

Program Install and Uninstall troubeshooter not working

I cannot uninstall any of the .NET or Runtime programs listed below using this tool because I get this error

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,982 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,541 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,179 questions
asked 2024-11-17T15:41:00.6633333+00:00
anissbenthami 6 Reputation points
edited the question 2024-12-06T06:48:01.6966667+00:00
Zhi Lv - MSFT 32,646 Reputation points Microsoft Vendor
1 answer

Application getting logout frequently - ASP.NET session has expired or could not be found - Microsoft.ReportViewer.WebForms

Dear all, we are getting below error frequently from few days without any deployment on production environment, unable to find the solution. even after increasing session time out and tried various suggestions on internet still facing the same issue.…

Internet Information Services
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,541 questions
Windows Server 2012
Windows Server 2012
A Microsoft server operating system that supports enterprise-level management, data storage, applications, and communications.
1,607 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,950 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,114 questions
asked 2024-12-05T08:06:48.54+00:00
Rupesh Musale (Ext) 0 Reputation points
commented 2024-12-06T03:14:57.8166667+00:00
XuDong Peng-MSFT 10,841 Reputation points Microsoft Vendor
3 answers

how to text-align: left on a Button

in a aspx page how to text-align: left on a Button i set like this Style="text-align: left" it dont help, the text are still centered

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,541 questions
asked 2024-12-03T15:08:32.2833333+00:00
Simon 306 Reputation points
commented 2024-12-05T05:16:42.6933333+00:00
Lan Huang-MSFT 29,991 Reputation points Microsoft Vendor
3 answers One of the answers was accepted by the question author.

how is way to create menus on a aspx page

i am using vb.net 2022 and renamed the extantion of a form to aspx now how is posible to create menus on this page

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,541 questions
asked 2024-12-03T15:17:52.7933333+00:00
Simon 306 Reputation points
commented 2024-12-04T17:57:36.2133333+00:00
Albert Kallal 5,331 Reputation points
2 answers

Template deployment Error

Hello ! Need help with that.. I can finish to set up my azure enviroment The template deployment 'Microsoft.Web-WebAppDatabase-Portal-ab0034bc-91c3' is not valid according to the validation procedure. The tracking id is…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,677 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,541 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,376 questions
Windows Server Setup
Windows Server Setup
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
257 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,033 questions
asked 2023-07-13T23:10:36.46+00:00
Gerson 0 Reputation points
answered 2024-12-04T16:11:03.25+00:00
Jason King 0 Reputation points
2 answers One of the answers was accepted by the question author.

Uninstalling older dotnet versions

Hi, I am running a vulnerability scan on one of our servers which is running Microsoft .NET version 8.0.8. The scan is reporting a vulnerability with this version so I installed version 8.0.11. However, when I run dotnet --info command, the output…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,982 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,677 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,541 questions
asked 2024-12-03T13:44:52.1966667+00:00
Shiraz Jauffer 20 Reputation points
commented 2024-12-04T07:43:34.71+00:00
Shiraz Jauffer 20 Reputation points
3 answers

I am planning to migrate a set of large-scale applications built on .NET Framework v4.8.1 (WebForms) to .NET 8 (MVC or Blazor/Razor). Each project includes over 600 ASPX pages, and we have multiple such projects of similar size and complexity.

I am looking for guidance and expertise on the following: Approach and Tools: What is the best approach to migrate such large projects? Are there tools that can automate parts of the migration, or would it require manual effort? Should we work…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,982 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,677 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,541 questions
asked 2024-12-03T05:43:55.47+00:00
Tarun Kushwaha 0 Reputation points
commented 2024-12-03T20:54:48.5833333+00:00
Albert Kallal 5,331 Reputation points
2 answers

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,541 questions
asked 2024-11-28T12:54:53.5233333+00:00
Ashok Kumar 201 Reputation points
answered 2024-12-03T19:07:32.86+00:00
Bruce (SqlWork.com) 68,236 Reputation points
1 answer

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,677 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,622 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,541 questions
asked 2024-12-03T11:08:10.6566667+00:00
Kuler Master 286 Reputation points
answered 2024-12-03T16:24:45.51+00:00
Bruce (SqlWork.com) 68,236 Reputation points
2 answers One of the answers was accepted by the question author.

Best way to populate a radio button in a MVC app in .NET from lists

My appsettings.json has 2 arrays one to store a list of values for a radio button, and the other to show a list of matching labels : ItemTypesVals": ["EmailUse", "NoteType", "PrimaryClientGroup"…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,982 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,541 questions
asked 2024-11-25T18:06:59.56+00:00
Richard Scannell 386 Reputation points
edited the question 2024-12-03T02:35:08.5066667+00:00
Jack J Jun 24,611 Reputation points Microsoft Vendor
2 answers

Application_start event not firing in server, but works just fine in debug.

We have an .net framework web application running on IIS 10. I've added some code in the Application_start method of Global.asax.cs and it's not getting fired at all in the server. This is working just fine in debug using visual studio 2022 using target…

Internet Information Services
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,541 questions
asked 2024-10-08T00:55:19.7766667+00:00
Anish Soman 20 Reputation points
answered 2024-12-02T18:00:20.5766667+00:00
Anish Soman 20 Reputation points
2 answers One of the answers was accepted by the question author.

How to allow authorization for a single page only

Hi there, I want to allow not logged in users access one page only. This is the content of the web.config I have inside this specific folder named Documents: <?xml version="1.0" encoding="utf-8"?> <configuration> …

Internet Information Services
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,677 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,541 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,114 questions
asked 2024-11-30T13:14:36.44+00:00
Kuler Master 286 Reputation points
accepted 2024-12-02T06:55:06.72+00:00
Kuler Master 286 Reputation points
1 answer One of the answers was accepted by the question author.

Sending Image screenshot to email

Hi, I was trying to capture div contents and send to email but when I tested it, I got this Ststem.Byte[] Here is what I got I then tried this, but may I please know the correct one to use, please? I have image controls to the AlternateView protected…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,982 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,541 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,114 questions
asked 2024-11-28T11:26:55.09+00:00
Donald Symmons 3,006 Reputation points
accepted 2024-11-29T18:24:21.9933333+00:00
Donald Symmons 3,006 Reputation points