26,590 questions with .NET-related tags

Sort by: Updated
1 answer

In Azure Web PubSub, How to receive messages in backend microservice for processing

Requirement: My clients are using simple WebSocket connection to send messages. I want to receive these messages inside my backend .NET 8 web api and process them further to send fine-tuned data to some distributed cache services. From documentation, I…

Azure Web PubSub
Azure Web PubSub
An Azure service that provides real-time messaging for web applications using WebSockets and the publish-subscribe pattern.
80 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,728 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,181 questions
asked Jan 10, 2025, 5:55 AM
dheeraj awale 1 Reputation point
answered Jan 10, 2025, 6:53 PM
Bruce (SqlWork.com) 69,111 Reputation points
1 answer

.NET MAUI and flutter

I’m still new to .NET but have a basic understanding of C#. I’ve also worked with Flutter, but I find its extensive widgets overwhelming and hard to read. This has made me consider focusing on .NET instead. For someone relatively new to .NET but familiar…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,801 questions
asked Jan 10, 2025, 12:33 PM
Rendy Putrayana 0 Reputation points
edited an answer Jan 10, 2025, 6:12 PM
Bruce (SqlWork.com) 69,111 Reputation points
1 answer

How to get Json Data from an external WEB API to an JQUery autosearch text box end point

Hi everybody: I have an external minimal Web API that produces a JSON object ( array) as per below. app.MapGet("/AsyncAutocompleteErf/{search}", async (IErvenRepository request, string search) => { var data = await…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,728 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
1,019 questions
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.
361 questions
asked Jan 10, 2025, 4:24 PM
Jose Daniel Navarro Brito 61 Reputation points
edited an answer Jan 10, 2025, 5:26 PM
Bruce (SqlWork.com) 69,111 Reputation points
0 answers

.NET MAUI Migration from Xamarin.forms

Hi, as a result of migrating from xamarin to .NET MAUI, using the migration tool “Upgrade Assistant” provided by microsoft, I have resolved the various errors related to solution compilation. The code compiles correctly and even manages to emulate on…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,369 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,033 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,801 questions
Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,369 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,033 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,801 questions
asked Jan 9, 2025, 4:13 PM
Mattia Pisilli 0 Reputation points
commented Jan 10, 2025, 5:07 PM
Mattia Pisilli 0 Reputation points
0 answers

.NET MAUI Migration from Xamarin.forms

Hi, as a result of migrating from xamarin to .NET MAUI, using the migration tool “Upgrade Assistant” provided by microsoft, I have resolved the various errors related to solution compilation. The code compiles correctly and even manages to emulate on…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,369 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,033 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,801 questions
Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,369 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,033 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,801 questions
asked Jan 9, 2025, 4:13 PM
Mattia Pisilli 0 Reputation points
commented Jan 10, 2025, 5:07 PM
Mattia Pisilli 0 Reputation points
1 answer

How to install .NET Desktop Runtime on multiple computers in domain environment ?

Hello, as a prerequisite for deploying some app, I need to install .NET Desktop Runtime current version (8.0.11) on all our computers (couple hundred) in AD domain environment (Windows Server 2019) . The easiest way would be using MSI, but Microsoft for…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,033 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,185 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,033 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,185 questions
asked Jan 3, 2025, 12:53 PM
Michał Pachnik 0 Reputation points
commented Jan 10, 2025, 2:58 PM
Jiachen Li-MSFT 32,961 Reputation points Microsoft Vendor
1 answer

How to install .NET Desktop Runtime on multiple computers in domain environment ?

Hello, as a prerequisite for deploying some app, I need to install .NET Desktop Runtime current version (8.0.11) on all our computers (couple hundred) in AD domain environment (Windows Server 2019) . The easiest way would be using MSI, but Microsoft for…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,033 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,185 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,033 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,185 questions
asked Jan 3, 2025, 12:53 PM
Michał Pachnik 0 Reputation points
commented Jan 10, 2025, 2:58 PM
Jiachen Li-MSFT 32,961 Reputation points Microsoft Vendor
2 answers

Why can't my generic Blazor app read the LocalDb for Identity?

I wanted to see how a new Blazor Web app uses the LocalDb that is created when you create a new application that uses Individual Accounts during the project creation process. In my AppSettings.json file it created this connection…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,728 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,644 questions
asked Jan 4, 2025, 9:28 PM
Rod Falanga 566 Reputation points
answered Jan 10, 2025, 1:53 PM
AgaveJoe 29,281 Reputation points
4 answers

How to use WPF Mouse.OverrideCursor in a VB.NET application

I tried a sample WPF code, that Kareninstructor recommended to me, from https://github.com/karenpayneoregon/visual-basic-getting-started/tree/master/ChangeCursor to test the usage of Mouse.OverrideCursor - this worked beautifully. However, it is a…

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,807 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,762 questions
asked Jan 27, 2021, 9:30 PM
Jim Webb 41 Reputation points
answered Jan 10, 2025, 12:42 PM
Jhon Rio 0 Reputation points
1 answer

How to get the assistant to use the vector store using Azure OpenAI: OpenAI Assistants client library for .NET

Hi, Seeking help getting the assistant to use the vector store using the library below: Azure OpenAI: OpenAI Assistants client library for .NET - version 1.0.0-beta.4 For some context: I've created a Vector store as well as an Assistant within Azure AI…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,033 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,181 questions
Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
3,496 questions
asked Jan 7, 2025, 5:21 AM
Khimananda Acharya 0 Reputation points
answered Jan 10, 2025, 11:56 AM
Daniel FANG 1,040 Reputation points MVP
0 answers

unexpected behavior when navigating between pages in my Maui App using AppShell .

I'm using AppShell for navigation in my .NET MAUI application. However, sometimes when I click on a menu item, an unexpected new line appears at the top of my app. This line remains visible until I completely exit the application. What could be causing…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,801 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
826 questions
asked Jan 10, 2025, 10:02 AM
Graja Kaouthar 20 Reputation points
0 answers

In MAUI it will re-open my APP when I quit and open another app

in MAUI Platform IOS: I open my app and open Page1 and then tab the screen to open another APP and then quit that APP then return to my APP the Page1 is disappeared and it is the home page. does it closed and re-open? how to keep the Page1(or other…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,801 questions
asked Jan 9, 2025, 10:00 AM
mc 5,041 Reputation points
commented Jan 10, 2025, 8:08 AM
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 34,146 Reputation points Microsoft Vendor
1 answer

Burn Selected Folders/Files in CD-Rom

Hi, I have treeview of drive/folders + files as you see . While pressing on copy command I copied the selected files to temp folder. I want code that will burn this files with all folder structure not only the files to CD-ROM. Can you please supply all…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,801 questions
asked Jan 5, 2025, 12:14 PM
Dani_S 3,911 Reputation points
commented Jan 10, 2025, 7:51 AM
Dani_S 3,911 Reputation points
1 answer

Unable to display alert after modal popup

I have an issue I am unable to solve. In this code: var popupPage = new myPopup(); var taskCompletionSource = new TaskCompletionSource<bool>(); // Set up an event to resolve the task when the modal is dismissed popupPage.Disappearing += (s, args)…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,801 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,181 questions
asked Jan 8, 2025, 5:19 PM
Phunction 261 Reputation points
answered Jan 10, 2025, 7:41 AM
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 34,146 Reputation points Microsoft Vendor
4 answers

How to convert outlook email (.msg) to pdf c# ?

Are there any free libraries using which I can convert outlook emails i.e. .msg files to pdf in my WPF c# app? I've tried using PDFSharp like below but the data is not showing properly at all. The email body contains tables and text and sometimes it may…

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,807 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,181 questions
asked May 9, 2023, 7:35 AM
don bradman 621 Reputation points
edited the question Jan 10, 2025, 7:14 AM
TP 101.1K Reputation points
0 answers

Getting "An unhandled exception has occurred" message when working on the Blazor app in Use pages, routing, and layouts to improve Blazor navigation module

I have been working on the Blazor app in Use pages, routing, and layouts to improve Blazor navigation module and every time I try to load the browser page, the pizza cards show up for a second and then disappear and I get a message that says "An…

Blazor Training
Blazor Training
Blazor: A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.Training: Instruction to develop new skills.
12 questions
asked Jan 9, 2025, 4:02 PM
Mara McConnell 25 Reputation points
commented Jan 10, 2025, 7:09 AM
VarunTha 10,770 Reputation points Microsoft Vendor
1 answer

Issues with Rotating ProgressBar for Vertical Orientation In WinUI App

Hi, I am working on a custom StepBar control, and the Horizontal orientation is functioning as expected. However, I am encountering issues when implementing the Vertical orientation. Since the ProgressBar control does not have an Orientation property,…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,033 questions
Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
807 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,181 questions
asked Jan 8, 2025, 2:04 PM
Mahdi Hosseini 155 Reputation points
answered Jan 10, 2025, 7:08 AM
Mahdi Hosseini 155 Reputation points
0 answers

iOS app crash in release mode

My iOS app crashes after installation on a device through distribution, but it works fine in debug mode. How can I check why my app crashes after installation on an iPhone? I am using the latest .NET 9.0.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,801 questions
asked Jan 6, 2025, 12:49 PM
Bhuwan 736 Reputation points
commented Jan 10, 2025, 7:07 AM
Bhuwan 736 Reputation points
4 answers One of the answers was accepted by the question author.

Not getting any results...

I'm trying to create a website using ASP.Net and a SQL server connection to retrieve data which is all of data type "nvarchar" and not null. My code is as follows: (Database connection here) using (SqlConnection connection =…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,559 questions
asked Jan 7, 2025, 9:20 PM
FRANK LUJAN 20 Reputation points
edited a comment Jan 10, 2025, 6:39 AM
SurferOnWww 3,696 Reputation points
2 answers

The Webview does not display PDF

iOS is displaying pdf but android WebView does nothing. I want to open a pdf from a web resource on WebView. But the WebView does not render the pdf. On the other hand the webpages are displayed on WebView without any problem.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,801 questions
asked Dec 16, 2024, 1:31 PM
Umakant Sharma 0 Reputation points
commented Jan 10, 2025, 6:04 AM
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 46,821 Reputation points Microsoft Vendor