26,697 questions with .NET-related tags

Sort by: Updated
0 answers

How to use ASP.NET Code Behind to launch FileUpload

Is it possible to include an asp:Button with OnClick=DoFileUpload_Click, and the method runs whatever to launch the FileUpload class?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,060 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,571 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,060 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,571 questions
asked 2025-01-22T01:45:28.4866667+00:00
Coreysan 1,806 Reputation points
0 answers

How to use ASP.NET Code Behind to launch FileUpload

Is it possible to include an asp:Button with OnClick=DoFileUpload_Click, and the method runs whatever to launch the FileUpload class?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,060 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,571 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,060 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,571 questions
asked 2025-01-22T01:45:28.4866667+00:00
Coreysan 1,806 Reputation points
1 answer

Fashion Rupee Customer'M Care Number . 09178427621//9178427621 call ..A

Huh tu ky to kg FL LG DH g GH g GH g GM g dj dj remix in a to me and my wife is a little better today to us and u in e r reader TM

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,919 questions
Azure Object Anchors
Azure Object Anchors
An Azure mixed reality service that automatically aligns and anchors three-dimensional content to objects in the physical world.
20 questions
asked 2025-01-22T01:42:26.1466667+00:00
Gjjcf 0 Reputation points
answered 2025-01-22T01:42:42.8466667+00:00
Gjjcf 0 Reputation points
0 answers

How to fix the blank screen after splash screen on .net maui app

I have an application that I have deployed to an ios device that is now showing a black screen after the splash screen is loaded. I am running the latest xcode, vs versions and the project is targeting .net 9. What should I be looking for as a…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,841 questions
asked 2025-01-22T01:38:29.3933333+00:00
Daniel Man 0 Reputation points
2 answers

SqlDataReader error “Invalid attempt to read when no data is present”

My environment used is Visual Studio 2022 v17.12.4. Language is C# and connecting to SQL Server Express v16.0.1135.2. This is a Windows form using .Net Framework 4.8.1. I am getting the error message “Invalid attempt to read when no data is present”…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,060 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.
14,340 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,216 questions
asked 2025-01-21T22:31:10.9133333+00:00
Pat 0 Reputation points
answered 2025-01-22T01:36:03.7166667+00:00
SurferOnWww 3,706 Reputation points
2 answers

How Can I Detect if the System Clock is Moved Forward or Backward in a C# WPF Application?

Hello, In my C# WPF desktop project, I want to detect if the system clock has been moved forward or backward. When such a change is detected, I would like to take specific actions. For example: Show a warning if the system clock is moved forward. Log an…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,814 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,216 questions
asked 2025-01-16T10:34:03.34+00:00
fatih uyanık 180 Reputation points
commented 2025-01-22T01:11:45.28+00:00
Hongrui Yu-MSFT 4,040 Reputation points Microsoft Vendor
1 answer

I want to disable/enable usb and HDMI port whenever my c# wpf (.net Framework 4.7.2) app runs.

Online resources are not present for above queries. I want solution for both admin/non-admin user account. Please help to provide me the solution.

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,060 questions
Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,814 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,712 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,216 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,060 questions
Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,814 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,712 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,216 questions
asked 2025-01-15T12:29:34.7333333+00:00
Vishal2 Bansal 205 Reputation points
commented 2025-01-22T01:10:42.5833333+00:00
Hongrui Yu-MSFT 4,040 Reputation points Microsoft Vendor
1 answer

I want to disable/enable usb and HDMI port whenever my c# wpf (.net Framework 4.7.2) app runs.

Online resources are not present for above queries. I want solution for both admin/non-admin user account. Please help to provide me the solution.

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,060 questions
Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,814 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,712 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,216 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,060 questions
Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,814 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,712 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,216 questions
asked 2025-01-15T12:29:34.7333333+00:00
Vishal2 Bansal 205 Reputation points
commented 2025-01-22T01:10:42.5833333+00:00
Hongrui Yu-MSFT 4,040 Reputation points Microsoft Vendor
0 answers

Weird disappearing error

I have a very weird error where everything disappears after a while and I think the fault is here <?xml version="1.0" encoding="utf-8" ?> <ContentPage x:Class="METROWIND.Views.NewsPage" …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,841 questions
asked 2025-01-17T23:11:03.83+00:00
Eduardo Gomez Romero 1,215 Reputation points
edited a comment 2025-01-22T00:56:19.8433333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 78,751 Reputation points Microsoft Vendor
1 answer

How to make text wrap automatically in a custom dropdown for Android in .NET MAUI?

I’m working on a .NET MAUI project using .NET MAUI 8 and targeting Android API Level 34 (Android 13). <uses-sdk android:minSdkVersion="21" android:targetSdkVersion="34" /> What I’ve Tried: I ensured the layout for the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,841 questions
asked 2025-01-16T07:16:49.1466667+00:00
KarPreet 80 Reputation points
commented 2025-01-22T00:55:52.2366667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 47,281 Reputation points Microsoft Vendor
1 answer

Visual Studio failed to publish to Azure Container Registry

Hi, I have an ASP.NET Core application that I am trying to migrate to Azure. I am using Azure Container Registry to publish my app's images and run it on Container App. Until a few days ago, I was able to successfully push the image to the container…

Azure Container Registry
Azure Container Registry
An Azure service that provides a registry of Docker and Open Container Initiative images.
477 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,745 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,216 questions
asked 2025-01-21T15:33:13.06+00:00
Pampua84 1 Reputation point
edited the question 2025-01-22T00:50:08.57+00:00
Anna Xiu-MSFT 30,791 Reputation points Microsoft Vendor
asked 2025-01-21T09:27:12.6833333+00:00
SDL SD 0 Reputation points
edited the question 2025-01-22T00:48:33.1366667+00:00
Anna Xiu-MSFT 30,791 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

When using ASP.NET GridView, the code for Paging seems Broken

I have been testing with a GridView, using code supplied by Microsoft, to make use of paging. <asp:GridView ID="myGridView" runat="server" DataSourceID="MySource" AutoGenerateColumns="True" …

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,571 questions
asked 2025-01-21T18:11:55.41+00:00
Coreysan 1,806 Reputation points
accepted 2025-01-22T00:07:10.2366667+00:00
Coreysan 1,806 Reputation points
1 answer

Blazor isn't listed in Visual Studio Community 2022

Hello I'm trying to start a new Blazor WebAssembly App in Visual studio 2022 but it isn't listed there. I did run dotnet new --list in the command line and it shows both Blazor WebAssembly App and Blazor Server App listed so I'm not sure why it isn't…

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,650 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,367 questions
asked 2025-01-19T12:33:04.3433333+00:00
FabioM 0 Reputation points
commented 2025-01-21T23:37:44.67+00:00
AgaveJoe 29,281 Reputation points
1 answer

Cursor pagination for query based full-text search

I need to implement cursor based pagination on an endpoint which accepts a search query. The problem is that since rows will be ranked based on a relevance score derived from a full-text search in natural language, IDs won't be sequential. Does anyone…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
772 questions
asked 2025-01-19T21:52:14.1133333+00:00
iKingNinja 100 Reputation points
commented 2025-01-21T20:55:06.75+00:00
Bruce (SqlWork.com) 69,806 Reputation points
0 answers

Error while using stripe android sdk native interopt

I am trying to bind stripe sdk of android in .net maui. I try template and it works fine. But, when i try it, it is binding and when i call , it gets me…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,372 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,060 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,841 questions
Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,372 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,060 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,841 questions
asked 2025-01-21T20:34:23.2733333+00:00
Haider Ali Faizi 100 Reputation points
0 answers

Error while using stripe android sdk native interopt

I am trying to bind stripe sdk of android in .net maui. I try template and it works fine. But, when i try it, it is binding and when i call , it gets me…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,372 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,060 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,841 questions
Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,372 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,060 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,841 questions
asked 2025-01-21T20:34:23.2733333+00:00
Haider Ali Faizi 100 Reputation points
2 answers

Add Or Change Identity Claims In .Net 8 Blazor Web App

Hi, In Create New Blazor Web App Project : Check => Individual Check => .Net 8 Check => Auto Interactivew and in ApplicationUser.cs I add a property for use full name { public sting Fullname { get; set; } } but in components i want show…

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,650 questions
asked 2024-01-16T19:17:43.76+00:00
Mahdi Elahi 31 Reputation points
answered 2025-01-21T18:47:20.64+00:00
Bruce (SqlWork.com) 69,806 Reputation points
2 answers

Application pool requested a recycle because it reached its virtual memory limit

I hosted a web application on a (Live server) shared hosting, and did not get any issue until today when I decided to test-run it. I registered and logged in the web application with the test login details; I was redirected to the dashboard, but after…

Internet Information Services
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,060 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,571 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,187 questions
Internet Information Services
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,060 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,571 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,187 questions
asked 2023-10-11T21:27:00.65+00:00
Donald Symmons 3,026 Reputation points
edited the question 2025-01-21T18:31:26.1433333+00:00
DillanSimmons 1 Reputation point
2 answers

Application pool requested a recycle because it reached its virtual memory limit

I hosted a web application on a (Live server) shared hosting, and did not get any issue until today when I decided to test-run it. I registered and logged in the web application with the test login details; I was redirected to the dashboard, but after…

Internet Information Services
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,060 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,571 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,187 questions
Internet Information Services
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,060 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,571 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,187 questions
asked 2023-10-11T21:27:00.65+00:00
Donald Symmons 3,026 Reputation points
edited the question 2025-01-21T18:31:26.1433333+00:00
DillanSimmons 1 Reputation point