3,503 questions with ASP.NET tags

Sort by: Updated
1 answer

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,503 questions
asked 2024-11-03T05:36:49.7333333+00:00
RAVI 1,056 Reputation points
answered 2024-11-03T07:21:42.08+00:00
Viorel 118K 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,905 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,596 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,594 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,503 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,997 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,031 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,503 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,199 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,582 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.
701 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,905 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,503 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,905 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,503 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,176 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,503 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,997 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,905 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,596 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,503 questions
asked 2024-10-22T20:48:42.2+00:00
coder rock 336 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,503 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,075 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,503 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,997 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,503 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,176 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,746 Reputation points Microsoft Vendor
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,503 questions
asked 2024-10-28T08:39:37.9733333+00:00
Khushvinder Singh Sidhu 0 Reputation points
answered 2024-10-29T01:50:52.08+00:00
Lan Huang-MSFT 29,746 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,905 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,596 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,503 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,503 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,579 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,503 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,746 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,503 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,746 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,503 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,746 Reputation points Microsoft Vendor
2 answers

Using .Net 8 on ASP.Net Web Application (.Net Framework)

I want to use .Net 8 on my ASP.Net Web Application (.Net Framework). Presently the new project template only provides for .Net Framework 4.8.1 Is this even possible

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,905 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,503 questions
asked 2024-10-04T03:09:36.8266667+00:00
Bobby Bob 0 Reputation points
commented 2024-10-28T02:26:10.1866667+00:00
Lan Huang-MSFT 29,746 Reputation points Microsoft Vendor
2 answers

validate texbox using this code in c#

Hello I have one asp.net textbox and one asp.net button when user click i want to check if Textbox1 has value 11 or 22 or 33 then okay if any other number i want to show alert as "Wrong Data" how to do so using asp.net c# thanking you

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,503 questions
asked 2024-10-10T11:24:22.7766667+00:00
RAVI 1,056 Reputation points
commented 2024-10-28T02:25:22.24+00:00
Lan Huang-MSFT 29,746 Reputation points Microsoft Vendor
2 answers

How do I check that a browser has ClickOnce enabled?

My software, [https://jazzsoftware.co.nz/], is written with VB.Net, and is delivered with ClickOnce. I've tried to make it very clear in the relevant web pages and the setup instructions [https://www.jazzsoftware.co.nz/Docs/JazzSetup.htm] that users…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,503 questions
asked 2024-10-12T04:29:14.3033333+00:00
Robert Barnes 96 Reputation points
commented 2024-10-28T02:24:50.5933333+00:00
Lan Huang-MSFT 29,746 Reputation points Microsoft Vendor
4 answers

new baby for asp.net core mvc

Hi all my all previous experience is using asp.net MVC, asp.net web, API and angular but recently I have install .NET 8 SDK and created asp.net core MVC empty project and i have following doubts. how to make authentication and authorization using…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,596 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,503 questions
asked 2024-10-26T19:46:52.35+00:00
coder rock 336 Reputation points
answered 2024-10-27T11:51:25.6033333+00:00
AgaveJoe 28,536 Reputation points