7,869 questions with ASP.NET-related tags

Sort by: Updated
1 answer

Why are the tags related to ASP.NET and C# not shown?

Why are the tags related to ASP.NET and C# not shown? Result:

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.
37 questions
asked 6 Mar 2025, 3:33 am
SurferOnWww 3,886 Reputation points
commented 6 Mar 2025, 7:36 am
SurferOnWww 3,886 Reputation points
1 answer

Facing an issue with cookieless Forms Authentication in an ASP.NET sub-application that is integrated with a main application built in Python

Hello, We are facing an issue with cookieless Forms Authentication in an ASP.NET sub-application that is integrated with a main application built in Python. The main application (Python) and sub-application (ASP.NET) work together.The ASP.NET…

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.
37 questions
asked 21 Feb 2025, 5:57 am
Akshayaa Kalyanavenkatesh 0 Reputation points
commented 6 Mar 2025, 3:55 am
Pradeep M 6,315 Reputation points Microsoft External Staff
1 answer

to use Tag like windows desktop software

i am working on a aspx page translet a windows desktop ssoftware using vb.net is it posible to use use tag like in like in windows desktop software by design the aspx page <asp:TextBox ID="Txt1_0"…

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.
391 questions
asked 5 Mar 2025, 7:41 pm
Simon 386 Reputation points
answered 6 Mar 2025, 3:51 am
XuDong Peng-MSFT 11,501 Reputation points Microsoft External Staff
0 answers

How to fix "Operation is not valid due to the current state of the object."

When I use aspnet-codegenerator I get this error even though I could use it normally before. How can I fix it? Thank you everyone !!

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.
391 questions
asked 1 Mar 2025, 1:10 am
Dũng Tiến 0 Reputation points
commented 6 Mar 2025, 2:15 am
XuDong Peng-MSFT 11,501 Reputation points Microsoft External Staff
5 answers One of the answers was accepted by the question author.

export a gridview to a pdf or to excel file

in aspx page and i am using vb.net how can i export a gridview to a PDF or to Excel file thamks in advence

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.
391 questions
asked 2 Mar 2025, 10:48 pm
Simon 386 Reputation points
commented 6 Mar 2025, 1:58 am
XuDong Peng-MSFT 11,501 Reputation points Microsoft External Staff
2 answers One of the answers was accepted by the question author.

How to invalidate ".AspNet.Cookies" cookie on logout?

I have a .net application deployed to Azure. A penetration test finding called "Session Not Invalidated After Logout" is found. When an API Get request is sent along with .AspNet.Cookies while user is logged in, a successful response is…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,104 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,598 questions
asked 16 Jul 2024, 11:05 am
Abhishek, Burra 30 Reputation points
commented 5 Mar 2025, 2:43 pm
Müller Matthias 0 Reputation points
1 answer

aspx how to to format a column as Currency

i am working on aspx page it is connected to sql my code is vb.net in a GridView column payment how can i format in code this column as Currency Thanks in advence

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.
391 questions
asked 4 Mar 2025, 8:46 pm
Simon 386 Reputation points
answered 5 Mar 2025, 2:30 am
XuDong Peng-MSFT 11,501 Reputation points Microsoft External Staff
1 answer

Visual Studio 2022 Enterprise cannot create an ASP.NET using .NET8

I use Visual Studio 2022 Enterprise. Try to create an ASP.NET Web application using .NET8 framework. However, .NET8 is not listed in "Targeted framework drop list". How to create an ASP.NET Web Applicaiton using .NET8 framework? How to…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,791 questions
asked 28 Feb 2025, 4:55 pm
Lu, Xinghua 0 Reputation points
edited the question 4 Mar 2025, 1:46 am
Zhi Lv - MSFT 33,146 Reputation points Microsoft External Staff
0 answers

How to setup and access an ftp server in Windows Server 2019 with vb.net code?

I have written an app using webforms in visual studio 2019. I have setup a Windows Server 2019 on a server. With IIS, I am able to access my WebForms.aspx from the internet ok. I made an FTP server website, and also added ftp services to my first website…

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.
391 questions
asked 2 Mar 2025, 8:48 pm
Bryan 0 Reputation points
commented 3 Mar 2025, 1:38 pm
Bryan 0 Reputation points
1 answer

Browser unable to use certificate

Hi All, I cloned project code from Azure Repo, installed certificates, configured Project Web Properties, configured applicationhost.config, setup SSL URL in IIS using certificate Thumbprint. My project builds successfully, but application fails to load…

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.
37 questions
asked 25 Feb 2025, 9:53 am
Swapnil Giram 0 Reputation points Microsoft Employee
commented 3 Mar 2025, 10:38 am
Pradeep M 6,315 Reputation points Microsoft External Staff
1 answer

.NET 9 Open API Migration not returning the API Schema

I am migrating a .NET 6 API application to .NET 9. Installed the Microsoft.AspNetCore.OpenApi and Microsoft.Extensions.ApiDescription.Server packages with version 9.0.2. I am keeping the Swashbuckle.AspNetCore 6.5.0 for the UI experience. Here is the…

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.
37 questions
asked 25 Feb 2025, 10:48 pm
Divakaran, D (Dipu) 0 Reputation points
commented 3 Mar 2025, 4:19 am
Pradeep M 6,315 Reputation points Microsoft External Staff
3 answers

Prepare code to fetch data from mock server does not seem to work

Hi! I am working through this Exercise: https://learn.microsoft.com/en-us/training/modules/build-web-api-minimal-spa/5-exercise-create-api. After starting the Mock Server (I can see in the Browser that it is running) The Website has the error: Unexpected…

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.
37 questions
asked 28 May 2024, 7:02 pm
Frank Geisler 21 Reputation points MVP
commented 3 Mar 2025, 4:08 am
Pradeep M 6,315 Reputation points Microsoft External Staff
1 answer

messaging the provider in Asp.net

i have a task to write a code that can message X number of provider for example via SMS or Email. and it has to be by using "TryAddTransient". Any solutions for that? maybe it seems simple but i just started to learn Asp.

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.
391 questions
asked 25 Feb 2025, 10:58 am
Behnam akbary 0 Reputation points
edited an answer 3 Mar 2025, 1:37 am
XuDong Peng-MSFT 11,501 Reputation points Microsoft External Staff
2 answers One of the answers was accepted by the question author.

WebAuthn, Fido2 in ASP. Net

Can anyone point me to documentation and or code examples for WebAuthn and Fido2 for Multi Factor authentication? Coding in ASP.Net C# Thanks

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,598 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,447 questions
asked 7 Nov 2022, 7:57 pm
Palmer, Neil 21 Reputation points
answered 2 Mar 2025, 7:15 pm
sufc 0 Reputation points
1 answer

Blazor server logout on SignalR connection break

My Blazor server-side application logs out the user whenever the SignalR connection breaks. For example, when I lock my phone for half an hour and then return to the site, I'm logged out. How can I prevent this from happening?

Microsoft Identity Manager
Microsoft Identity Manager
A family of Microsoft products that manage a user's digital identity using identity synchronization, certificate management, and user provisioning.
786 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,791 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,665 questions
asked 19 Jun 2024, 8:07 pm
Mrbanad 30 Reputation points
commented 1 Mar 2025, 11:32 pm
Bruce (SqlWork.com) 71,941 Reputation points
1 answer

Post migrating from Azure to on-premises our Development and Production servers, our .NET API, Angular site throwing Azure CLI authentication failure issue

An error occurred while starting the application. CredentialUnavailableException: EnvironmentCredential authentication unavailable. Environment variables are not fully configured. Azure.Identity.CredentialDiagnosticScope.FailWrapAndThrow(Exception…

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.
391 questions
asked 27 Feb 2025, 4:34 pm
Kumar, Kiran 0 Reputation points
answered 28 Feb 2025, 9:21 pm
Bruce (SqlWork.com) 71,941 Reputation points
4 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,791 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,665 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,598 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,791 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,665 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,598 questions
asked 31 Jan 2025, 8:47 am
Kuler Master 406 Reputation points
commented 28 Feb 2025, 5:22 pm
Bruce (SqlWork.com) 71,941 Reputation points
4 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,791 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,665 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,598 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,791 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,665 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,598 questions
asked 31 Jan 2025, 8:47 am
Kuler Master 406 Reputation points
commented 28 Feb 2025, 5:22 pm
Bruce (SqlWork.com) 71,941 Reputation points
4 answers

Need assistance and git hub code for multifactor authentication in core mvc or mvc project.

Need assistance and git hub code for multifactor authentication in core mvc or mvc project. regrads vinayak

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,791 questions
asked 20 Feb 2025, 10:29 am
vinayak p 0 Reputation points
commented 28 Feb 2025, 3:06 pm
zunaira khalid1022 0 Reputation points
1 answer

Login not possible with AspNetCore Idenity when Enable DataProtection.

I'm configuring my application to make use of AspNetCore.Identity as well Data protection. public static void Main(string[] args) { var builder =…

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.
391 questions
asked 27 Feb 2025, 9:16 pm
Nero Rodrigues 0 Reputation points
answered 28 Feb 2025, 7:34 am
Ruikai Feng - MSFT 2,756 Reputation points Microsoft External Staff