24,881 questions with .NET-related tags

Sort by: Updated
1 answer

Issue with Azure Durable functions in .NET 8.0 Isolated model returning list of exceptions

Recently I started upgrading all our Azure Functions from .NET 6.0 In-process model to .NET 8.0 Isolated model and noticed an issue with Durable functions returning list of exceptions, specifically Exceptions that contain innerException (public…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,608 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,600 questions
asked 2024-07-10T10:31:10.39+00:00
Lauris Vonogs 0 Reputation points
answered 2024-07-15T10:50:38.23+00:00
Pinaki Ghatak 3,030 Reputation points Microsoft Employee
0 answers

Error APPX1101: [UWP] Payload contains two or more files with the same destination path: Microsoft.Web.WebView2.Core.dll

Installed Visual Studio 2022 (on a clean/fresh Windows 11 installation) version 17.10.0 Installed Microsoft.Identity.Client.Desktop Nuget package to open sign in within the window application. After that I'm getting "Found multiple publish…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,600 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,183 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,604 questions
asked 2024-07-15T10:48:23.1366667+00:00
Ravi Khandale 0 Reputation points
1 answer

flayout navigation - how to deal with rasing memory?

Hi, I used flayout navigation. when navigate beween pages it consume alot of memory. In net 8. Not relase the previous page. Does to use GC.Collect()? Is allowed ? Thanks, public void Navigate(string navigateTo) { if (navigateTo ==…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,183 questions
asked 2024-07-14T14:42:45.7166667+00:00
Dani_S 3,276 Reputation points
commented 2024-07-15T10:22:44.16+00:00
Dani_S 3,276 Reputation points
1 answer One of the answers was accepted by the question author.

How to find where my code gets into an infinite loop

My Visual Basic code is getting stuck somewhere and never finishes. This only happens with one particular input, otherwise it works. I'd like to know at what routine the code is getting stuck. I looked for advice on the web, and it says that when…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,600 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,851 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,657 questions
asked 2024-07-13T13:13:22.4633333+00:00
rael isaac 41 Reputation points
accepted 2024-07-15T10:17:17.2733333+00:00
rael isaac 41 Reputation points
1 answer

Error message Windows media player 10 or higher required for media element in WPF

When trying to use the media element in WPF to play an MP3 file, nothing happens when running the project. An error message says that Windows Media Player version 10 or higher is required, but Windows Media Player version 11 is already installed on the…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,600 questions
asked 2024-07-11T03:04:05.8466667+00:00
Nam Nguyen 0 Reputation points
commented 2024-07-15T09:45:15.4133333+00:00
Hongrui Yu-MSFT 945 Reputation points Microsoft Vendor
1 answer

Help Needed: Errors in Initial .NET MAUI Project

I have created my first .NET MAUI project several times, but to my surprise, errors appear without changing any line of code. Although the application runs fine, the lines remain underlined. I have captured a screenshot so you can see the issue and guide…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,183 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,604 questions
asked 2024-07-08T01:24:07.06+00:00
Roberto C 120 Reputation points
commented 2024-07-15T09:41:34.1466667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 71,836 Reputation points Microsoft Vendor
1 answer

I dont understand why OnPropertyChanged is not firing in neither my Model or ViewModel

I am using the MVVM Community Tollkit and below is the generated code. I also included my Model code and the OnPropertyChanged Method. I put a breakpoint in the generated code on the property Spousessn and it was fired and OnPropertyChanged in the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,183 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,604 questions
asked 2024-07-09T21:32:59.66+00:00
Tom Meier 220 Reputation points
commented 2024-07-15T09:40:44.49+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 71,836 Reputation points Microsoft Vendor
0 answers

MAUI .NET 8 on iOS -System.ArgumentException: NaN is not a valid value for width

I have created a new MAUI .NET 8 project and migrated the Xamarin forms project code. When tried to run the project with the iOS simulator, which threw the exception below, System.ArgumentException: NaN is not a valid value for width at…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,183 questions
asked 2024-07-02T12:36:32.7033333+00:00
Aneetha 45 Reputation points
commented 2024-07-15T09:40:40.9633333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 28,876 Reputation points Microsoft Vendor
0 answers

mscoree.dll missing on Windows arm64

I am porting a .NET project to arm64. There are several C++/CLI assemblies in the project. I am using the latest version of Visual Studio (17.10), Windows SDK 10.0.22000.0 and .NET Framework 4.8.1 natively on a Windows arm64 computer. I am able to build…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,600 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,851 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
328 questions
asked 2024-07-10T14:53:48.82+00:00
akum-6884 0 Reputation points
commented 2024-07-15T09:20:33.0533333+00:00
akum-6884 0 Reputation points
2 answers

ADFS retrieving claims using native client application

Hi, We are currently attempting to write a test application in C#, which needs to retrieve certain claims upon authorization. No matter what we have tried, it seems we only receive the same 10 claims from the ADFS server (see image for the received…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,600 questions
Active Directory Federation Services
Active Directory Federation Services
An Active Directory technology that provides single-sign-on functionality by securely sharing digital identity and entitlement rights across security and enterprise boundaries.
1,221 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,604 questions
asked 2024-07-01T22:16:09.97+00:00
G_Niles 0 Reputation points
answered 2024-07-15T08:59:31.2766667+00:00
Josip Jurišić 1 Reputation point
1 answer

can not create framework of ios.

now I am building ios Binding of this repo:https://github.com/BradLarson/GPUImage and I create framework but there is error: error: cryptexDiskImage' is an unknown content type how to create it?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,183 questions
asked 2024-07-10T15:24:24.1733333+00:00
mc 4,086 Reputation points
answered 2024-07-15T08:58:10.9433333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 28,876 Reputation points Microsoft Vendor
0 answers

Dirty log for font

Hi, I get error for in the log, bu app work as expected. Where this error come from? Thanks, 2024-06-30 13:47:22,492 [1] ERROR Microsoft.Maui.FontManager - Error loading font 'Assets/Fonts/Arial.ttf'. System.ArgumentException: The parameter is…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,183 questions
asked 2024-07-02T09:25:28.8333333+00:00
Dani_S 3,276 Reputation points
commented 2024-07-15T08:53:59.74+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 71,836 Reputation points Microsoft Vendor
0 answers

Error APPX1101: [UWP] Payload contains two or more files with the same destination path: Microsoft.Web.WebView2.Core.dll

Installed Visual Studio 2022 (on a clean/fresh Windows 11 installation) version 17.10.0 Installed Microsoft.Identity.Client.Desktop Nuget package to open sign in within the window application. After that I'm getting "Found multiple publish…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,600 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,183 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,604 questions
asked 2024-07-15T08:52:40.6066667+00:00
Ravi Khandale 0 Reputation points
0 answers

Media file picker features in .NET MAUI like in Xamarin Forms

Hi, Is there any way to compress the image and remove the metadata option for the media picker in MAUI like it had in the below package? https://github.com/jamesmontemagno/MediaPlugin

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,183 questions
asked 2024-07-15T08:47:32.7+00:00
Chinmay Dole 120 Reputation points
1 answer One of the answers was accepted by the question author.

Maui for Android editor text selection issue

Hello All. using Maui net 8 android 14. Please when I select a word in the editor a menu copy paste select all pop-up and when I choose select all the screen scroll and the selection mark is hidden and I need to scroll to see it. Please how I can fix…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,183 questions
asked 2024-07-14T14:14:48.0633333+00:00
Haviv Elbsz 2,051 Reputation points
commented 2024-07-15T08:42:27.2633333+00:00
Haviv Elbsz 2,051 Reputation points
1 answer

How do I access child elements

Hello. I have a problem, in one of the StackPanels I want to display product cards, where the user can write the quantity of goods purchased and their price, then the program should calculate the total amount. Everything should change dynamically with…

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,709 questions
asked 2024-07-14T09:01:52.8433333+00:00
vitaminchik 466 Reputation points
answered 2024-07-15T08:35:23.3166667+00:00
Hongrui Yu-MSFT 945 Reputation points Microsoft Vendor
1 answer

Value cannot be null. Parameter name: instance

|at System.ComponentModel.TypeDescriptor.AddAttributes(Object instance, Attribute[] attributes) at Microsoft.VisualStudio.Design.VSDesignSurface.CreateDesigner(IComponent component, Boolean rootDesigner) at …

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,600 questions
asked 2024-07-11T02:13:06.05+00:00
Thanh Truong Van 0 Reputation points
commented 2024-07-15T08:19:18.6633333+00:00
Jiale Xue - MSFT 42,401 Reputation points Microsoft Vendor
2 answers

How to detect a device

Hi, I'm currently working on .net core web API project . There is a moment that I can't figure out. I had to detect the device which user used when signed in. I used "user-agent" first but this only says if its smartphone, Desktop etc. And only…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,360 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,604 questions
asked 2024-06-27T20:25:13.6533333+00:00
Atilla Rüstəmli 20 Reputation points
commented 2024-07-15T08:17:13.37+00:00
Atilla Rüstəmli 20 Reputation points
1 answer

Get The Accounts That Have Been Signed In Already In MSAL (MAUI)

Implementing MSAL in MAUI application. Sign In process is created by using below snippet. authenticationResult = await _identityClient .AcquireTokenInteractive(AppSettings.MSALScopes) …

Microsoft 365
Microsoft 365
Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line.
4,279 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,360 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,183 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,752 questions
asked 2024-07-08T16:54:36.2333333+00:00
Smit Rathod 0 Reputation points
commented 2024-07-15T08:16:22.3466667+00:00
Akhilesh 7,145 Reputation points Microsoft Vendor
1 answer

Save Picturebox image to datagridview

looking for a way to save an image to a datagridview cell, image is loaded into the picturebox then when form is closed saves it to the datagrid.

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,869 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,851 questions
asked 2024-07-07T03:11:49.5266667+00:00
Ben Ramsay 0 Reputation points
commented 2024-07-15T08:00:55.1933333+00:00
Jiale Xue - MSFT 42,401 Reputation points Microsoft Vendor