3,507 questions with ASP.NET tags

Sort by: Updated
1 answer

IIS Express is running, but I get "Connection Refused" Error

I'm developing an ASP.Net Web Form application and an ASP.Net Api. /Edit: They are two different projects, have nothing to do with each other, but both have problems with IIS Express. /Edit VS Studio 2022 is updated, no firewall or virus scanner is…

Internet Information Services
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,507 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.
343 questions
asked 2024-11-07T10:54:24.0666667+00:00
Georg Aubele Lehmbau 0 Reputation points
commented 2024-11-08T10:09:42.5166667+00:00
XuDong Peng-MSFT 10,746 Reputation points Microsoft Vendor
2 answers

Convert solution of class libraries in framework to .NET

Hi, I have solution with list of clsss libraries in framework 4.6.2. I would like to know full steps of converting this solution to .NET 8/9 using visual studio. Thanks in advance,

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,921 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,507 questions
asked 2024-11-06T08:53:10.0966667+00:00
Dani_S 3,786 Reputation points
answered 2024-11-07T18:12:27.4833333+00:00
Bruce (SqlWork.com) 66,706 Reputation points
4 answers One of the answers was accepted by the question author.

403 Forbidden Error while trying to access authorized routes in a .NetCore 8 WebAPI -

Hi All, Let me discuss my problem in clear detail. I am trying to build a backend webAPI for an app using .NetCore 8. I created the database for my webapi by using code-first migrations on AspNet Identity. The respective tables have been created. In…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,612 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,507 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.
13,998 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.
343 questions
asked 2024-11-05T18:16:25.4366667+00:00
P. G. Choudhury 41 Reputation points
accepted 2024-11-06T11:15:13.4033333+00:00
P. G. Choudhury 41 Reputation points
1 answer

Two-factor authentication for Net Framework 2.0 (Visual Studio 2005)

Is Two-factor authentication using SMS and email with ASP.NET Identity support for .Net Framework 2.0 (Visual Studio 2005)?

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,507 questions
asked 2024-10-28T08:39:37.9733333+00:00
Khushvinder Singh Sidhu 0 Reputation points
commented 2024-11-06T05:36:13.38+00:00
Lan Huang-MSFT 29,751 Reputation points Microsoft Vendor
0 answers

How to troubleshot HttpWebRequest if X509Certificate is not added properly

Hello all, I am adding a X509Certificate to the HttpRequest like the following: HttpWebRequest request = (HttpWebRequest)WebRequest.Create("webserviceurl"); request.ClientCertificates.Clear(); X509Certificate certificate = new…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,612 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,507 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,011 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,737 questions
asked 2024-11-04T10:19:14.1133333+00:00
Kuler Master 266 Reputation points
commented 2024-11-05T09:50:00.23+00:00
Kuler Master 266 Reputation points
2 answers

get month first date and last date using my data

Hello Example 1:- My asp.net label1 show example April-2024 In Label2 I want to show 01-APR-2024 In Label3 I Want To Show 30-APR-2024 Example 2:- My asp.net label1 show example September-2024 In Label2 I want to show 01-SEP-2024 In Label3 I Want To…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,507 questions
asked 2024-11-03T05:36:49.7333333+00:00
RAVI 1,056 Reputation points
edited an answer 2024-11-04T02:30:31.08+00:00
Lan Huang-MSFT 29,751 Reputation points Microsoft Vendor
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,921 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,612 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,596 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,507 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,011 questions
asked 2024-02-25T21:05:38.5766667+00:00
Haneen Al-fakhry 10 Reputation points
commented 2024-11-02T22:49:59.3666667+00:00
SurferOnWww 3,201 Reputation points
1 answer

How to fix .NET 4.6 application pool crash on Windows Server 2022

We recently upgraded our Windows Server from 2012 to 2022. We are now experiencing App Pool crashes with IIS hosted applications running .NET 4.6. The crashes require us to stop the application pool, terminate the w3wp.exe task manually for that…

Internet Information Services
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,507 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,227 questions
asked 2024-10-10T11:34:26.3066667+00:00
Trevor Levitt 0 Reputation points
edited a comment 2024-11-01T20:23:53.6266667+00:00
Lex Li (Microsoft) 5,662 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

error ASPCONFIG: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level, when adding <hostingEnvironment shadowCopyBinAssemblies="false" /> in web.config file.

I've an azure cloud service web role project. In the csproj file I have the pre-compilation steps to basically pre-compile the asp.net application and generate app_*.dll's. Now I've to add <hostingEnvironment shadowCopyBinAssemblies="false"…

Azure Cloud Services
Azure Cloud Services
An Azure platform as a service offer that is used to deploy web and cloud applications.
702 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,921 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,507 questions
asked 2024-11-01T11:17:47.8466667+00:00
Pulkit Sharma 20 Reputation points Microsoft Employee
commented 2024-11-01T17:01:14.0166667+00:00
Pulkit Sharma 20 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

Keep headerstyle color and also div font style in pdf format

I have asked a similar question in one of my posts. However, this has a bit of twist. I have a code that downloads or send a receipt to an email in PDF format. Once the button is clicked, it downloads the receipt and another button sends to email. The…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,921 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,507 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,193 questions
asked 2024-11-01T07:32:54.2366667+00:00
Donald Symmons 2,921 Reputation points
accepted 2024-11-01T11:10:15.42+00:00
Donald Symmons 2,921 Reputation points
2 answers One of the answers was accepted by the question author.

How to add the date selected to an ASP.net form with text boxes ? / v 3,5

hi, I an using a simple asp,net form to get the name, number and email address from my web page. It works fine but there is also a JS date picker which looks good and I am happy with it. My question is how do I pass the selected date to the code behind…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,507 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,011 questions
asked 2024-10-03T18:59:32.04+00:00
Matt Lee 40 Reputation points
edited the question 2024-11-01T08:23:23.24+00:00
Jack J Jun 24,516 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

Converting to .net core project

We have one asp.net mvc3 project running on production using ado.net and this 10 years old project and we have 10 years old client data in sql server, Now we are planing to move asp.net core. So I have following question to converting asp.net mvc3 app to…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,921 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,612 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,507 questions
asked 2024-10-22T20:48:42.2+00:00
coder rock 356 Reputation points
edited the question 2024-11-01T08:22:16.3+00:00
Jack J Jun 24,516 Reputation points Microsoft Vendor
1 answer

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,507 questions
asked 2024-10-08T00:55:19.7766667+00:00
Anish Soman 20 Reputation points
edited the question 2024-11-01T08:04:42.8166667+00:00
Jack J Jun 24,516 Reputation points Microsoft Vendor
1 answer

configuration method not executing in startup.cs

I have created new mvc project and added startup.cs class with one method. but debug is not coming in this method directly debug is going on homecontroller but it should come first startup class. why my debug is not coming in configuration method. public…

Microsoft Authenticator
Microsoft Authenticator
A Microsoft app for iOS and Android devices that enables authentication with two-factor verification, phone sign-in, and code generation.
7,139 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,507 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,011 questions
asked 2023-07-18T03:39:54.4633333+00:00
N 1 Reputation point
commented 2024-10-29T14:53:31.0766667+00:00
SP 0 Reputation points
2 answers

Sending a List of objects through PostAsync

I have a list of objects each one made like this : public class PostElement { public string field1 {get;set;} public string field2 {get:set:} public string field3 {get;set;} } I need to send this list : List<PostElement> ElementList = new…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,507 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,193 questions
asked 2024-10-28T08:06:40.0866667+00:00
leo del ciello 66 Reputation points
edited a comment 2024-10-29T06:33:01.6366667+00:00
Lan Huang-MSFT 29,751 Reputation points Microsoft Vendor
3 answers One of the answers was accepted by the question author.

Old .NET versions automatic uninstallation/removal

Hello, How are you removing old versions of .NET from your devices? Is there a way to automate this? To better clarify our issue, please see the screenshot below. We just installed the latest version (6.0.35) for both: .NET Runtime and Desktop Runtime…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,921 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,612 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,507 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,166 questions
asked 2024-10-22T14:36:55.8833333+00:00
Mark Marco 25 Reputation points
accepted 2024-10-28T13:56:59.99+00:00
Mark Marco 25 Reputation points
2 answers

Maui mobile app using Signalr is encoding hub name in ConnectionData parameter on iOS 17

We have a mobile app in production built using Maui. The server running the api is it connecting to uses .net framework. There are issues connecting to signalR from iOS17 devices. From debug we can see the following: iOS 17 device sets the connectionData…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,507 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,596 questions
asked 2023-09-27T11:39:11.9033333+00:00
T_TDSi 10 Reputation points
commented 2024-10-28T13:47:03.4833333+00:00
Nicky Mogensen 1 Reputation point
2 answers

i cannot edit the design and drag and drop controls from toolbox in webform

cannot drag and drop controls from toolbox in webforms

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,507 questions
asked 2024-09-24T18:16:54.33+00:00
Omkar Jaiswal 0 Reputation points
commented 2024-10-28T02:28:19.4+00:00
Lan Huang-MSFT 29,751 Reputation points Microsoft Vendor
1 answer

how to export into Microsoft excel from the coulmns of a table

WhatsApp Image 2024-09-24 at 3.34.05 PM.jpeg want to export data from the table as attached file into excel sheet in the attached format

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,507 questions
asked 2024-09-25T07:54:59.5133333+00:00
Raj Kumar 0 Reputation points
commented 2024-10-28T02:27:52.4+00:00
Lan Huang-MSFT 29,751 Reputation points Microsoft Vendor
2 answers

ASP.NET Session Timeout Issue with ReportViewer in an iframe

I'm using the following setup to load SSRS reports with the <rsweb:ReportViewer> control in an ASP.NET web application: <rsweb:ReportViewer id="RptViewer" runat="server" width="100%" …

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,507 questions
asked 2024-09-28T07:35:47.39+00:00
Shende1, Pankaj 0 Reputation points
commented 2024-10-28T02:26:58.1466667+00:00
Lan Huang-MSFT 29,751 Reputation points Microsoft Vendor