3,271 questions with ASP.NET tags

Sort by: Updated
3 answers One of the answers was accepted by the question author.

Is it possible to prevent a Javascript function from executing in C# if record exista in DB?

Hello community, please I will like to ask if it possible that a Javascript function is prevented from executing from code behind (C#), if a record exists in a database? The reason why I haven't posted any code is that I want to first find out if it is…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,398 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,271 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,278 questions
asked 2024-02-27T05:26:56.4+00:00
Donald Symmons 2,856 Reputation points
commented 2024-03-06T07:35:44.2433333+00:00
Donald Symmons 2,856 Reputation points
2 answers

.NET WebForms app - redirect

Hello, I have an old WebForms e-commerce app. We do not use the front-end part anymore, but in reality, the front-end part is available using the address office.company.com/.* We want to redirect this part to the new front-end URL [www.company.com]. …

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,271 questions
asked 2024-02-29T11:37:05.44+00:00
Jaak Ivask 1 Reputation point
commented 2024-03-06T06:48:51.48+00:00
Lan Huang-MSFT 25,716 Reputation points Microsoft Vendor
0 answers

Why am I now getting errors about not finding redirection.config?

I maintain an ASP.NET app written years ago by someone else who left before I came to work here. He wrote the app using .NET Framework 2.0. It has been on that version ever since. When I first started maintaining it, I used Visual Studio 2015. Then as…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,271 questions
asked 2024-01-31T22:12:58.4766667+00:00
Falanga, Rod, DOH 80 Reputation points
edited the question 2024-03-06T05:56:16.0866667+00:00
Tianyu Sun-MSFT 27,356 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

handling Execution Timeout Expired errors

I have an ASP.Net MVC application that has some reports that can throw Execution Timeout Expired errors. I have already set a longer execution timeout in my controller and have also doubled the standard execution timeout in my connection string. …

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,271 questions
asked 2024-03-05T17:44:32.5933333+00:00
M J 661 Reputation points
commented 2024-03-05T22:20:47.4366667+00:00
SurferOnWww 1,911 Reputation points
1 answer One of the answers was accepted by the question author.

Import of type 'Color' from assembly or module 'System.Drawing.Primitives.dll' failed

I created a project with ASP.NET Visual Studio 2022 .NET Framework Version 4.8.1 I imported all .dll files from Framework version 4.8.1. Anything that has code referring to 'Color' generates the following error message. Error BC31091 Import of type…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,271 questions
asked 2024-02-29T17:21:07.35+00:00
Simon 286 Reputation points
accepted 2024-03-04T21:28:47.7433333+00:00
Simon 286 Reputation points
1 answer One of the answers was accepted by the question author.

Saving multiple draggable divs in their new positions

I have been able to use that to create drag and drop for multiple divs. What I mean is, whatever position a user drags and drops any div tag, and user clicks the save button, everything on that page will be saved as seen. Then whenever the user returns,…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,398 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,271 questions
asked 2024-02-18T23:18:01.1766667+00:00
Donald Symmons 2,856 Reputation points
accepted 2024-03-04T13:48:19.0633333+00:00
Donald Symmons 2,856 Reputation points
1 answer

Active X Error

We have a Web application that can generate Excel file. We trigger creating the Excel in the front-end and the services will take care of the Excel creation in the background. Sometimes, we encountered error related to Active X. And sometimes, we…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,271 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,760 questions
asked 2024-02-26T01:40:02.1+00:00
Louie 21 Reputation points
edited the question 2024-03-04T01:36:05.1866667+00:00
Jack J Jun 24,296 Reputation points Microsoft Vendor
1 answer

How to add title for div class container instead of using h3 tag ?

I work on asp.net razor page i face issue i can't add title for div class container and title must be with top border  exactly as field set and legend  so how to apply title to be part from top border using html and css and jquery  <table…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,190 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,271 questions
asked 2024-02-27T22:34:15.96+00:00
ahmed salah 3,216 Reputation points
answered 2024-03-03T03:27:53.31+00:00
hossein jalilian 3,015 Reputation points
2 answers

Darshan Hiranandani - How do I choose the right framework for my project?

Hey everyone, I'm Darshan Hiranandani One of the critical decisions we face as developers is selecting the right framework for our projects. How do you approach this decision-making process? What factors do you consider when choosing a framework? Share…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,398 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,190 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,271 questions
asked 2024-03-01T09:47:52.33+00:00
Darshan Hiranandani 0 Reputation points
answered 2024-03-02T17:54:22.5933333+00:00
Bruce (SqlWork.com) 56,846 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,190 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,271 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,562 questions
asked 2024-02-28T07:14:20.6233333+00:00
Ian Lee 5 Reputation points
commented 2024-03-02T03:10:46.4666667+00:00
Ian Lee 5 Reputation points
0 answers

Web page problem

Hi, When I click one part (On web page) like it then shows the following to prompt the input. How to achieve this on ASP page?

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,271 questions
asked 2024-02-15T10:10:14.0666667+00:00
Peter_1985 2,526 Reputation points
edited a comment 2024-03-01T04:08:30.7+00:00
Peter_1985 2,526 Reputation points
1 answer One of the answers was accepted by the question author.

Localization in Blazor using bootstrap dropdown menu

I've seen tons of tutorials and blog posts but they all suggest a select control for changing a language. None of them explains how to implement localization using HREF. Could you give me at least hint or link, that would help me figure out how to change…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,190 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,396 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,271 questions
asked 2024-02-28T16:24:01.7966667+00:00
Kuler Master 246 Reputation points
edited an answer 2024-03-01T01:28:03.4566667+00:00
Ruikai Feng - MSFT 2,526 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

FIX REPATER HEADER WHILE SCROLLING AND EXPORT TO EXCEL

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

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,271 questions
asked 2024-02-26T11:09:28.23+00:00
RAVI 896 Reputation points
edited an answer 2024-02-29T16:46:54.02+00:00
laab 0 Reputation points
1 answer

Why is the blazor css isolation not working?

I have an AppLogin.razor component and its css file is AppLogin.razor.css. They are working fine. I have a UserLogin.razor component and its css file is UserLogin.razor.css. The working mechanism is as follows When you login from the AppLogin.razor…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,398 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,190 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,396 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,271 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,278 questions
asked 2024-02-25T21:05:38.5766667+00:00
Haneen Al-fakhry 0 Reputation points
commented 2024-02-29T09:51:33.8333333+00:00
Ruikai Feng - MSFT 2,526 Reputation points Microsoft Vendor
1 answer

CS5001 Program does not contain a static 'Main' method suitable for an entry point

I developed ASP.NET website for five years. Recently I upgraded to VS2022 recent release, then R-Click on the project name in Solution Explorer I ran "Analyze and Code Cleanup". Now, I get a build error "CS5001: Program does not contain a…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,271 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,625 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
943 questions
asked 2024-02-27T11:49:12.7533333+00:00
Noorann Tech 0 Reputation points
commented 2024-02-29T06:13:09.45+00:00
Anna Xiu-MSFT 25,801 Reputation points Microsoft Vendor
2 answers

Is there any tag/code/script to launch the application in Edge browser which works in only IE

Hi All, I am working on a legacy asp.net application, the UI of the application is implemented using Component Art. This application works in only Internet Explorer with compatibility mode. Now we are able to launch this application on Edge browser by…

Microsoft Edge
Microsoft Edge
A Microsoft cross-platform web browser that provides privacy, learning, and accessibility tools.
2,145 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,271 questions
asked 2024-02-27T15:16:55.6166667+00:00
Bharathi 46 Reputation points
commented 2024-02-29T02:16:12.78+00:00
Bharathi 46 Reputation points
1 answer

Why do we get this error "Reading the request body timed out due to data arriving too slowly. See MinRequestBodyDataRate." if we have not configured MinRequestBodyDataRate??

Our system utilizes ASP.NET Core 6.0.10 and HTTP/2. There is no specific configuration for the MinRequestBodyDataRate in our program, indicating that it likely uses the default value of 240 bytes per second. During our investigation, we have confirmed…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,190 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,271 questions
Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
1,867 questions
Azure ISV (Independent Software Vendors) and Startups
Azure ISV (Independent Software Vendors) and Startups
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.ISV (Independent Software Vendors) and Startups: A Microsoft program that helps customers adopt Microsoft Cloud solutions and drive user adoption.
111 questions
asked 2023-06-15T06:38:03+00:00
Abhay B Abraham_FT 0 Reputation points
commented 2024-02-28T16:44:10.9533333+00:00
Gershon Gacs 0 Reputation points
0 answers

Using ADO.NET Entity Framework with MySql Data Provider

I'm going to start an ASP.NET Web Application project that uses the MySql database. I also need to create an ADO.NET Entity Data Model. I know I need to install "MySql for Visual Studio Tool" and "MySql Connector/NET". I have…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,398 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,271 questions
asked 2023-06-23T12:21:49.4933333+00:00
Barish 0 Reputation points
commented 2024-02-28T13:54:15.33+00:00
Hervé Torche 0 Reputation points
1 answer

.NET Blazor Routing

Hello, I have a razor page named Contact.razor. I want to localize it so when you select one of the 3 languages, the route changes accordingly. Meaning, I don't want to only change the culture but also the route. For example, by default it is /en/contact…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,190 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,396 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,271 questions
asked 2024-02-27T22:25:09.26+00:00
Kuler Master 246 Reputation points
commented 2024-02-28T09:39:37.94+00:00
Ruikai Feng - MSFT 2,526 Reputation points Microsoft Vendor
4 answers

SAML Toolkit for C# and ASP.NET

Is there any SAML Toolkit for C# and ASP.NET? I want to integrate SAML 2.0 into my existing ASP.NET application. I have done the research for plugins/toolkits for. NET. I haven't found any from Microsoft. Please help me on this.

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,271 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,278 questions
asked 2023-01-30T13:25:03.8966667+00:00
Sai Kiran Naidu 5 Reputation points
commented 2024-02-27T12:54:14.36+00:00
Ilya 0 Reputation points