3,250 questions with ASP.NET tags

Sort by: Updated
4 answers

Is it true that .aspx (WebForms) is old technology and will be absent in all future asp.net versions?

I wonder that people say that WebForms is old/legacy/outdated technology, and that everyone should create MVC/.Core projects, which have no .aspx pages. Is it true that .aspx technology (WebForms) is not developed any more? I like visual design in…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,250 questions
asked 2021-10-22T17:03:31.903+00:00
Ivan 1 Reputation point
edited a comment 2024-04-05T17:09:21.88+00:00
d1Encumnelendtn d1Encumnelendtn 0 Reputation points
2 answers One of the answers was accepted by the question author.

How to remove html tags and line break plain text

I wish to re format the email html page text below to a plain text style in a legible presentation with line breaks where breaks are present. The regularExpression example i am following for simplification, does not seem to work? ```Note, i am…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,250 questions
asked 2024-03-12T14:25:43.47+00:00
peter liles 556 Reputation points
accepted 2024-04-05T13:58:42.1733333+00:00
peter liles 556 Reputation points
1 answer One of the answers was accepted by the question author.

How to send all listview databound data to itemcommand event

I would like to retrieve all listview bound data in code behind when i click a button. I have tried itemcommand event while using select command although i only able to retrieve the control bound data for this event. whereas i could do with retrieving…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,250 questions
asked 2024-03-23T13:34:22.6533333+00:00
peter liles 556 Reputation points
accepted 2024-04-05T13:56:08.4033333+00:00
peter liles 556 Reputation points
2 answers One of the answers was accepted by the question author.

Change Label Data In to QR code For Free

Hello This is my gridview data <asp:TemplateField HeaderText="NAME"> <ItemTemplate> <asp:Label ID="PN" runat="server" ForeColor="Black" Text='<%# Bind("process_name")…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,250 questions
asked 2024-04-01T14:50:13.3766667+00:00
RAVI 896 Reputation points
accepted 2024-04-04T08:47:18.96+00:00
RAVI 896 Reputation points
1 answer

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,250 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,855 questions
asked 2023-09-27T11:39:11.9033333+00:00
T_TDSi 10 Reputation points
answered 2024-04-03T18:20:53.76+00:00
Filiberto Lopez 0 Reputation points
3 answers

in asp.net c# Process.start not working after publish in IIS local host

code is System.Diagnostics.Process.Start(@"\web1\"); Error is Exception Details: System.ComponentModel.Win32Exception: Access is denied Stack Trace: [Win32Exception (0x80004005): Access is denied] …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,154 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,250 questions
asked 2021-06-13T12:48:21.633+00:00
partha brave 1 Reputation point
answered 2024-04-02T17:06:48.7866667+00:00
Paulo Viana 0 Reputation points
0 answers

Unclear exception captured

Hi, The exception captured is mentioning the error on 1st line of the event below. If I remark 1st line of the event, it will further mention the other parts that is after such "if part". I do not know why the exception is making the issue…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,250 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,227 questions
asked 2024-03-25T03:01:18.4666667+00:00
Peter_1985 2,486 Reputation points
commented 2024-04-02T10:24:15.45+00:00
Damarcus Jones 5 Reputation points
1 answer

Azure B2C Authentication with OWIN for ASP.NET MVC Application - Login is not prompting for credential after successful Logout

We have an application that is built using ASP.NET MVC. We have implemented Azure B2C authentication with OWIN (Open Id Connect) framework. Login functionality is working fine for the first time however, we have another requirement that the application…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,154 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,250 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,636 questions
asked 2024-03-13T21:58:55.2566667+00:00
Basu, Sayantan 0 Reputation points
commented 2024-04-02T04:59:38.3666667+00:00
Shweta Mathur 27,301 Reputation points Microsoft Employee
2 answers One of the answers was accepted by the question author.

[Question] What is the root cause of Event Code: 3005 HttpException Request format is unrecognized.

I would like to learn and understand more about the error (HTTP Error 503. The service is unavailable) that I am getting when attempting to access the URL. When I checked my IIS, the application was in a Stop state. Did it crash or something? See below…

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,154 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,250 questions
asked 2024-03-29T05:34:17.5133333+00:00
homerm 80 Reputation points
commented 2024-04-02T00:27:24.7233333+00:00
homerm 80 Reputation points
1 answer One of the answers was accepted by the question author.

ASP.NET - xmlformatter

I have software that was developed for me. It is ASP.NET which I have no experience with thus the development. This was delivered a long while ago. I need to make changes and am struggling. This is a webservice with an api that you can call externally…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,250 questions
asked 2024-03-27T19:42:09.1466667+00:00
Darryl Hoar 141 Reputation points
accepted 2024-04-01T12:48:30.2666667+00:00
Darryl Hoar 141 Reputation points
2 answers One of the answers was accepted by the question author.

show financial year from date and to date

Hello I have two requriements 1) Current financial year Is Apr-2023 TO Mar-2024 In asp.net dropdownlist it has to show previous 3 years financial format as below for example on pageload Apr-2023 TO Mar-2024 Apr-2022 TO Mar-2023 Apr-2021 TO Mar-2022 …

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,250 questions
asked 2024-03-28T09:44:11.2633333+00:00
RAVI 896 Reputation points
commented 2024-04-01T07:09:50.6566667+00:00
Lan Huang-MSFT 25,471 Reputation points Microsoft Vendor
2 answers

How to send complex objects from one Razor page to another

I am working on an ASP.NET Core 6.0 Identity project. I want to pass an ApplicationUser object to the LoginWith2fs.cshtml page from the Login.cshtml page. The following is my code: Code in Login page: return RedirectToPage("./LoginWith2fa",…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,154 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,250 questions
asked 2024-03-28T21:01:48.6666667+00:00
Sherpa 161 Reputation points
edited an answer 2024-03-29T06:22:35.29+00:00
Brando Zhang-MSFT 2,881 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Send email form Gmail account using C#

When sending an email using the followng code, I'm getting an error, I'm asking for your help. Authentication Required. Learn more at string adSoyad = txtAdSoyad.Text; string konu = "Koçaslanlar Web Konu başlığı"; string epostaAdresi =…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,250 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,227 questions
asked 2023-02-03T11:30:34.83+00:00
kadir koçaslan 65 Reputation points
commented 2024-03-29T02:30:23.35+00:00
Andres Sosa 0 Reputation points
3 answers

Getting 500 internal server error in IIS published site. Though it was working fine previouly.

Getting 500 internal server error in IIS published site. Though it was working fine previouly. HTTP Error 500.0 - Internal Server Error The page cannot be displayed because an internal server error has occurred. Most likely causes: •IIS…

Internet Information Services
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,362 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,250 questions
asked 2022-10-12T03:40:39.247+00:00
Kurakula, Julia 21 Reputation points
answered 2024-03-28T13:02:41.25+00:00
Robert Srigley 0 Reputation points
0 answers

i get error Document was closed when try to display page number on pdf ?

I try to display page number at the the bottom of every page when export to pdf but i get error as below I get error iText.Kernel.Exceptions.PdfException: 'Document was closed. It is impossible to execute action.' on line int pageCount =…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,154 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,250 questions
asked 2024-03-26T10:12:55.9566667+00:00
Ahmed Salah Abed Elaziz 390 Reputation points
commented 2024-03-28T05:09:23.7033333+00:00
Ahmed Salah Abed Elaziz 390 Reputation points
3 answers

How to implement SAML in asp.net , c#

Hello, I want SAML 2.0 implementation in asp.net application, Is there anyway I can do it natively in .net framework 4.5 without using any third party component. Any code snippets or link to any article ? Thank you maxmax

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,250 questions
asked 2023-08-16T20:42:38.49+00:00
maxmax 0 Reputation points
commented 2024-03-27T11:57:50.6566667+00:00
Jimmy Rodriguez 0 Reputation points
2 answers One of the answers was accepted by the question author.

Gridview Column Total

Hello This Is My Aspx Page <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default4.aspx.cs" Inherits="Default4" %> <html> <head runat="server"> <title>Untitled…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,250 questions
asked 2024-03-26T08:00:23.19+00:00
RAVI 896 Reputation points
accepted 2024-03-27T06:04:11.0966667+00:00
RAVI 896 Reputation points
1 answer

How to implement reset password functionality in asp.net core for an user who didn't sign in using asp.net core identity

I am working on a legacy Asp.Net Web Forms application which is nearly 18 years old. It uses a simple form based authentication where the users enter their username/password and the user is authenticated by matching the username/password saved in the…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,154 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,250 questions
asked 2024-03-26T04:27:01.2333333+00:00
Sherpa 161 Reputation points
commented 2024-03-26T20:32:01.06+00:00
Sherpa 161 Reputation points
2 answers One of the answers was accepted by the question author.

How do create a .NET 4.8 project when my only options are Core 6 and 7?

How do create a .NET 4.8 project when my only options are Core 6 and 7? Environment: Net Core 6 MVC, Visual Studio Community 2022 (64 bit), WIndows 11 If you want to improve, be content to be thought foolish and stupid... ― Epictetus Sometimes the…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,154 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,250 questions
asked 2023-05-31T16:39:54.2766667+00:00
Dean Everhart 1,496 Reputation points
commented 2024-03-26T15:12:16.3166667+00:00
Mai Cuong Hoang 0 Reputation points
1 answer One of the answers was accepted by the question author.

Merge Gridview Row Based If Field2 Empty

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

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,250 questions
asked 2024-03-25T08:35:28.5+00:00
RAVI 896 Reputation points
accepted 2024-03-26T08:30:40.5966667+00:00
RAVI 896 Reputation points