23,022 questions with .NET-related tags

Sort by: Updated
1 answer

exception issue

Hello, I encounter this exception: Does that mean there is an issue with my code or something from the server? thanks,

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,310 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.
9,933 questions
asked 2024-02-22T15:07:56.4433333+00:00
Saeed Pooladzadeh 221 Reputation points
commented 2024-02-23T05:43:30.9966667+00:00
Ruikai Feng - MSFT 2,421 Reputation points Microsoft Vendor
1 answer

Can a nuget written in .Net standard 2.0 be consume by application written in .Net Framework 4.8.2

I want to write a client application which will work with Azure Storage to upload, download or update blobs in container. I want that, this client application should be compatible with any .Net implementation irrespective of the version. As far as I can…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,150 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,100 questions
asked 2024-02-20T11:38:16.0533333+00:00
Mini Lahariya 0 Reputation points
edited the question 2024-02-23T05:40:49.3833333+00:00
GitaraniSharma-MSFT 45,406 Reputation points Microsoft Employee
0 answers

In MS Graph version 5.36.0 $search params allows using string.Empty when no input value, when updating to version 5.41.0, string.Empty error and the error Expression expected at position 0 in ' '. Replace null for string.Empty is successfully. Why?

In MS Graph version 5.36.0 $search params allows using string.Empty when there is no input value, but when updating to version 5.41.0, string.Empty cannot be used anymore and it will report the error Expression expected at position 0 in ' '. When I…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,150 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
9,932 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,142 questions
asked 2024-02-23T04:36:36.45+00:00
Jackie Dinh 0 Reputation points
edited the question 2024-02-23T05:39:41.0866667+00:00
GitaraniSharma-MSFT 45,406 Reputation points Microsoft Employee
0 answers

IOS Publish Signing problem

I have ported our Application from xamarin to .net MAUI and I was able to test it on windows, Android Device and IOS Simulator and Mac. Now I want to publish the app. We have the certificates and provisioning profiles add to the remote Mac and In the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,568 questions
asked 2024-02-21T21:16:50.6866667+00:00
Farshad Nabizadeh 0 Reputation points
edited a comment 2024-02-23T05:39:04.1533333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 24,336 Reputation points Microsoft Vendor
0 answers

Websocket server in MAUI with .NET 8

Hello, I'm trying to create a websocket server in a MAUI app and .NET8. When I launch the server using Android app, the server is pefectly listening to the Websocket clients but when I launch the app in Windows the server is not listening any local…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,568 questions
asked 2024-02-22T13:33:41.49+00:00
Jorge Vilaplana Herruzo 0 Reputation points
commented 2024-02-23T05:31:07.8133333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 63,921 Reputation points Microsoft Vendor
1 answer

How to save all the updates in a datagrid (set of comboboxes) MVVM back to the database in WPF C#?

I have similar issue as @Mesh Ka working on the filtering between comboboxes. https://learn.microsoft.com/en-us/answers/questions/1481853/filtering-a-combobox-in-a-datagrid-based-on-anothe Thanks for the solution! The challenge I have is to save all the…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,150 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,626 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,403 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.
9,933 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.
744 questions
asked 2024-02-22T18:34:30.8433333+00:00
Yvon 0 Reputation points
commented 2024-02-23T05:29:48.97+00:00
Peter Fleischer (former MVP) 19,056 Reputation points
1 answer

How to implement pagination in .net maui?

I want to implement pagination like first time list load 10 items and when we scroll list to the bottom it will load another 10 items. Platform- Android

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,568 questions
asked 2024-02-04T08:38:18.2133333+00:00
Thombre, Ashish 80 Reputation points
commented 2024-02-23T05:19:43.0133333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 30,261 Reputation points Microsoft Vendor
2 answers

MAUI clang: error: no such file or directory when build iOS Project

I Create a MaUI project, and edit Project Properties -> Build -> Additional arguments -cxx -gcc_flags "-L${ProjectDir}/lib -lopencv_world490, -force_load ${ProjectDir}/lib/libopencv_world490.a" When build, it occurs error as…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,568 questions
asked 2024-02-19T08:50:22.91+00:00
Junior Jiang 1 Reputation point
commented 2024-02-23T05:15:32.3966667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 24,336 Reputation points Microsoft Vendor
0 answers

How to prevent any form resizing in VS2022 Windows Forms?

Okay, I have been working on a Wizard based VSIX installing templates into VS2022 for my place of employment. They are typically simple forms, that utilize a variety of controls - many of them customized. The latest updated (17.9) for VS2022 affected…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,799 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,403 questions
asked 2024-02-23T04:53:41.0333333+00:00
Jaeden Ruiner 126 Reputation points
1 answer

FlyoutIsPresented is not working

In .NET MAUI, within the AppShell, when 'Shell.NavBarIsVisible' is set to 'False', and a button is clicked on any page, triggering the code 'Shell.Current.FlyoutIsPresented = !Shell.Current.FlyoutIsPresented;' in the code-behind, it does not function as…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,568 questions
asked 2024-02-21T10:38:03.4133333+00:00
Bhuwan 516 Reputation points
answered 2024-02-23T04:43:47.57+00:00
Bhuwan 516 Reputation points
1 answer

Using Azure Notification Hubs with WPF

Hello, I have a .NET 8, C# WPF application and would like to use Azure Notification Hub. My application should be able to run on Windows 10 or above. I've searched for resources, but all the tutorials I've found use Windows SDK/UWP/Win UI. Can I use…

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.
241 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,626 questions
asked 2024-02-19T03:22:08.82+00:00
Yuli Aria Winata 0 Reputation points
edited a comment 2024-02-23T04:04:31.2833333+00:00
Yuli Aria Winata 0 Reputation points
1 answer

multi filter to apply only two columns Field1 and Field2

Hello This is my code <html xmlns="http://www.w3.org/1999/xhtml"> <head> <script src="https://code.jquery.com/jquery-1.11.3.min.js"></script> <link…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,164 questions
asked 2024-02-16T11:50:48.8733333+00:00
RAVI 536 Reputation points
edited a comment 2024-02-23T03:34:07.1533333+00:00
Lan Huang-MSFT 22,751 Reputation points Microsoft Vendor
0 answers

Force run as administrator

My app needs to access other process' handle so it need run as administrator, I searched in google it tells me that add an app.manifest file into your project and modify some settings, but I can't find this kind of file in "Add new item"…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,150 questions
asked 2024-02-23T03:27:55.03+00:00
William A Wang 236 Reputation points
1 answer

System.IO.FileLoadException: Could not load file or assembly 'Newtonsoft.Json, Version=10.0.0.0

I have a WebApplication with framework v4.7.2. The newtonsoft dll which was exist in 10.0.0.0 version. now I want to upgrade it to 13.0.1. But it not worked. I tried removing all the Newtonsoft json and re-installing it but no luck. Please help me. I…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,150 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.
9,933 questions
asked 2024-02-22T14:05:33.5333333+00:00
Rajesh Bargode 0 Reputation points
edited an answer 2024-02-23T02:58:03.23+00:00
Jiale Xue - MSFT 17,431 Reputation points Microsoft Vendor
1 answer

.NET MAUI Blazor Hibryd App Localization

Hello guys, What localization technique is the BEST? I see people use a lots of diff techniques so I was wondering what is the, let's say most standard approach. In other words, which one will not cause any trouble later, when I need to do something…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,999 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,310 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,568 questions
asked 2024-02-22T17:33:16.1766667+00:00
Kuler Master 221 Reputation points
commented 2024-02-23T02:50:35.51+00:00
Bruce (SqlWork.com) 52,486 Reputation points
1 answer

Graph query only returns 50 tasks

Hi, I have a to do list with ~1000 tasks and would like to delete all of them. So I made a nice little C# program to load all the tasks, filter them, and delete all those that fit. That's supposed to delete around 90% of them. Unfortunately though, I…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,150 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
9,932 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.
9,933 questions
asked 2024-02-22T23:30:25.16+00:00
Metallkiller 21 Reputation points
answered 2024-02-23T02:37:23.84+00:00
Bruce (SqlWork.com) 52,486 Reputation points
0 answers

Contents of WPF Web Browser control are overflowing the boundries of parent Data Grid Control

I am using Web Browser control in a WPF project. My development environment is Windows10 DontNet 6.0. HTML contents are coming nicely in Web Browser control. However, when I scroll down the data grid control, the contents in web browser are overflowing…

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,626 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.
9,933 questions
asked 2024-02-22T17:59:49.4466667+00:00
Tayyab hussain 0 Reputation points
edited a comment 2024-02-23T02:36:36.9866667+00:00
Hui Liu-MSFT 25,431 Reputation points Microsoft Vendor
0 answers

How to concatenate string in password.aspx file ?

Hi, For my domain i want to concatenate automaticaly *DOMAIN* + username in password.aspx file : Because many of my users dont write DOMAIN\ and its very boring ! ive already add a value like value="DOMAIN" in the input form but when i put a…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,799 questions
asked 2024-02-22T14:56:28.91+00:00
GOUJON Thomas 0 Reputation points
commented 2024-02-23T02:30:00.3666667+00:00
Jiale Xue - MSFT 17,431 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Ne maui Windows platform before open sign in without titlebar ?

Ne maui Windows platform before open sign in page without titlebar ? after signed in show titlebar as well as expected. Also How to show and hide some pages with maximize or minimize events ? Thanks

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,568 questions
asked 2024-02-17T20:05:40.08+00:00
Sami 721 Reputation points
accepted 2024-02-23T02:27:04.02+00:00
Sami 721 Reputation points
0 answers

Net maui Colectionview Item can not re click again? how to fix it ?

Net maui windows platform Colectionview Item can not re click again ? how to fix it ? I have 2 menus if i clicked differant menu's item when I clicked again the last item selected again that is not possible to fire click event...How to do ? ...Thanks..

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,568 questions
asked 2024-02-22T21:34:22.17+00:00
Sami 721 Reputation points
commented 2024-02-23T02:23:47.7633333+00:00
Sami 721 Reputation points