23,794 questions with .NET-related tags

Sort by: Updated
2 answers One of the answers was accepted by the question author.

Recognize whether the user is logged in

In Windows 10 and Windows 11, apps that are started automatically at startup are already started before the user has logged in. In Windows 8.1, such automatically launched apps were only started after the user had logged in. At least this is the case on…

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,667 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,412 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,206 questions
asked 2024-04-18T15:03:37.3466667+00:00
Heiko 1,191 Reputation points
accepted 2024-04-20T12:52:14.77+00:00
Heiko 1,191 Reputation points
1 answer

How Can find Data between Two Date Using LINQ

i wan find data between two date. but all data can't display. only last two data find as result. Date productID 2024-04-19 15:50:35.7510481 9 2024-04-19 15:50:35.7539253 10 2024-04-19 16:42:54.1178610 1 2024-04-19 16:42:54.1408529 2 2024-04-19…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,141 questions
asked 2024-04-20T10:26:12.9566667+00:00
jewel 741 Reputation points
answered 2024-04-20T11:42:48.8466667+00:00
Viorel 111.8K Reputation points
0 answers

.NET MAUI Application is not supported on Visual Studio Mac

When I tried to run the MAUI project on Visual Studio Community 2022 for Mac, I faced the error below. Error: Could not find any available provisioning profiles for ApplicationName on iOS. Then I fixed the above error by deleting the .vs, obj, and bin…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,585 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,845 questions
asked 2024-04-20T11:26:10.47+00:00
Aleena George 20 Reputation points
0 answers

All Toolbox Options Greyed in Visual Studio 2022

I have recently upgraded my WinForm C# application from .Net 4.7.x to .Net 6 I wish to make a change to one of the Forms, however when I try to add any control to any form, I find that all options are greyed out in the Toolbox, so I can modify any of the…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,822 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,206 questions
asked 2024-04-20T11:10:48.4966667+00:00
Tony Hedge 1 Reputation point
1 answer

How To make Common Filter Component in Blazor Web Assembly project

Please Describe How i make Common filter component

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,378 questions
asked 2024-03-14T06:27:12.5133333+00:00
Azizullah Ali 0 Reputation points
edited the question 2024-04-20T11:08:48.66+00:00
Pradeep M 80 Reputation points Microsoft Vendor
2 answers

Failure to run Blazor Web Assembly on CPU 5200

The software Develop with Blazor Web Assembly and .NET 8 runs on almost all CPUs, but it does not run on the Intel E5200 CPU.

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,378 questions
asked 2024-04-09T10:05:43.3733333+00:00
amir allahvirdi 0 Reputation points
edited the question 2024-04-20T11:05:27.1433333+00:00
Pradeep M 80 Reputation points Microsoft Vendor
1 answer

How to create Dialog, bar graphs in Blazor Webassembly with dynamic data. It will be common component

Title: Creating Dialogs and Bar Graphs in Blazor WebAssembly with Dynamic Data. It will be a common component. Description: I'm currently working on a Blazor WebAssembly project and I need some guidance on two specific tasks: creating dialogs and…

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,378 questions
asked 2024-03-28T08:14:22.2566667+00:00
Azizullah Ali 0 Reputation points
edited the question 2024-04-20T11:01:54.83+00:00
Pradeep M 80 Reputation points Microsoft Vendor
0 answers

System.Web.UI in .Net

I am trying to migrate several projects from .Net Framework 4.8 to .Net 8 in WinForms, Wpf and Asp.net that use common c# libraries. When trying to compile the common dll, errors appear related to "System.Web.UI" which apparently is not used in…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,247 questions
asked 2024-04-20T05:54:53.8766667+00:00
zequion 91 Reputation points
1 answer

Need to convert stream file to PDF.

S is my stream variable. I have successfully converted it into doc format. Now I am trying for pdf one. Content Type: "application/pdf" doesn't work. Please give me a solution. s =…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,141 questions
asked 2021-08-19T12:36:05.217+00:00
SAHA Arunava 1 Reputation point
commented 2024-04-20T04:32:12.3433333+00:00
peter floyd 0 Reputation points
13 answers One of the answers was accepted by the question author.

Export Entire User Input Form to PDF in C#

I have a form that captures general user information like FirstName, LastName etc. When user is done entering all information and clicks on the button Button1; I need to export the entire form to PDF. Is there a way to do it? First Name: …

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,247 questions
asked 2022-02-14T15:59:15.65+00:00
Malam Malam 121 Reputation points
commented 2024-04-20T04:19:34.15+00:00
peter floyd 0 Reputation points
1 answer One of the answers was accepted by the question author.

Permutations Array?

Good day all Master! please help me to fix my problem. This problem is a permutations process. If I click button OK it well shuffle and this display in the listBox1. Please take look the picture below. at this image as you can see it's do permutations…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,346 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,206 questions
asked 2024-03-09T02:28:32.5766667+00:00
Jay-R Hayashi 206 Reputation points
commented 2024-04-20T02:14:51.2366667+00:00
Jay-R Hayashi 206 Reputation points
2 answers One of the answers was accepted by the question author.

Is it able to upload a folder with blazor wasm client and minimal api server?

I want to upload files and folders recursively throught the wasm client to minimal api server. I have learned that I can use IFormFile or IFormFileCollection to receive files in minimal api.

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,141 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,378 questions
asked 2024-04-19T06:48:37.5933333+00:00
William Liu 246 Reputation points
edited an answer 2024-04-20T00:37:27.6566667+00:00
SurferOnWww 1,906 Reputation points
1 answer

Should I install an older version of Visual Studio to work on an old ASP.NET app?

I prefer to use Visual Studio 2022, because I've been working with newer, .NET projects. However, I may be assigned to do some maintenance on an older, .NET Framework ASP.NET WebForms application. I've been familiarizing myself with the app this morning…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,247 questions
asked 2024-04-18T17:00:47.3866667+00:00
Falanga, Rod, DOH 60 Reputation points
commented 2024-04-19T23:13:59.82+00:00
Albert Kallal 4,646 Reputation points
3 answers One of the answers was accepted by the question author.

Xamarin navigate to page throws "Object reference not set to an instance of an object."

I'm trying to navigate and pass data to an edit page when I select a row. I select a row in the checklistpage and what to pass that rows data to the treeinfopage. (has two points of entry 1 from menu and 1 from ChecklistPage) the page structures are as…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,291 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,585 questions
asked 2024-04-10T23:23:39.3666667+00:00
tim 60 Reputation points
commented 2024-04-19T21:35:43.31+00:00
tim 60 Reputation points
1 answer One of the answers was accepted by the question author.

How do I find the method calling Entity Framework that led to an exception

I believe this call is coming from the ASP.NET Identity Library. However, it may be coming from my Blazor code. The below is the entire exception written to the log. How do I find out what method (Identity library or my Blazor code) is calling this? …

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
696 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,141 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,378 questions
asked 2024-04-19T20:39:54.0166667+00:00
David Thielen 2,231 Reputation points
commented 2024-04-19T21:29:36.8466667+00:00
David Thielen 2,231 Reputation points
2 answers

Mac question

I don't understand why in Mac is not possible to open all windows Mac does not support programmatic activation of windows. First of all, I would like to inform you that the user has to touch the screen to active a session on iOS/MacCatalyst. Please…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,845 questions
asked 2024-04-18T03:19:31.0133333+00:00
Eduardo Gomez Romero 185 Reputation points
answered 2024-04-19T21:10:28.0533333+00:00
Bruce (SqlWork.com) 55,041 Reputation points
0 answers

.net MAUI is there a way to have an entry field have focus on load but not show the soft keyboard?

so ive worked on an android app in VS2019 and in that app its not a problem for me to have a screen load up, set focus to the first entry field( in that case its an EditText) but not show the soft keyboard. it will only show the soft keyboard if the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,845 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,206 questions
asked 2024-04-19T20:56:32.3766667+00:00
Min T 41 Reputation points
3 answers

How to upload file and view those file in modal popup using gridview

I need help in gridview. i am using normal add, edit and delete functionalities in gridview. This is working fine. Initially i am saving the records using textbox controls and save button. This contains including file upload also. After saving the…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,247 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,206 questions
asked 2024-04-17T14:56:04.6833333+00:00
Gani_tpt 1,506 Reputation points
edited an answer 2024-04-19T20:18:08.6966667+00:00
Albert Kallal 4,646 Reputation points
2 answers One of the answers was accepted by the question author.

FCM V1 notifications are not delivered from Azure Notification Hub

I am following this Microsoft Guide to migrate from GCM/FCM notifications to FCM v1. From the guide, I - Configured the Firebase Service Account Credentials in Azure Notification Hub Updaeted backend and app (Xamarin) to use FCM v1 platform during…

Azure Notification Hubs
Azure Notification Hubs
An Azure service that is used to send push notifications to all major platforms from the cloud or on-premises environments.
260 questions
Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,291 questions
asked 2024-04-16T12:06:03.7033333+00:00
Hiran Desai 25 Reputation points
accepted 2024-04-19T20:05:08.3833333+00:00
Hiran Desai 25 Reputation points
1 answer

XmlSerializer Exceptions on start up when debugging after Upgrading Visual Studio 2022 to v17.9.0

After upgrading Visual Studio 2022 to version 17.9.0, xml serialization exceptions are displayed on the console and output windows when starting to debug a .NET 6 Web API solution. The prior versions of Visual Studio 2022 do not have the issue with the…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,346 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,585 questions
asked 2024-03-01T19:59:38.64+00:00
Hatoum,Mark 5 Reputation points
commented 2024-04-19T19:45:02.66+00:00
Hatoum,Mark 5 Reputation points