23,138 questions with .NET-related tags

Sort by: Updated
0 answers

Maui && worker service ,mange token.

Hi. I have app consist of two parts: 1.Client - maui 2.Service- worker service. They both share token come from API that created on client in one of the screen and saved in DB per user. The service consume it and when the token not active any more it…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,184 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,607 questions
asked 2024-02-29T08:00:44.9733333+00:00
דני שטרית 2,266 Reputation points
commented 2024-03-01T10:35:35.59+00:00
דני שטרית 2,266 Reputation points
1 answer One of the answers was accepted by the question author.

Affected .net versions by CVE-2024-0057

Hello, I am concerned about CVE-2024-0057 and would like to know if .NET Core is affected. I have checked the security advisory here and can see that all supported versions of .NET (.NET 6 through .NET 8) are impacted. However, I am specifically…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,184 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,975 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,101 questions
asked 2024-02-23T10:58:23.21+00:00
Matěj Prášek 20 Reputation points
accepted 2024-03-01T10:15:36.71+00:00
Matěj Prášek 20 Reputation points
0 answers

Can not create folder in SharePoint. (Upgrade MS Graph SDK 5.36.0 -> 5.44.0 version)

I try to use below code to create folder in SharePoint DriveItem driveItem; var driveItemAdd = new DriveItem() { Name = folder.Name, Folder = new Microsoft.Graph.Models.Folder() { OdataType =…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,184 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,023 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,205 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,562 questions
asked 2024-03-01T10:00:29.84+00:00
Jackie Dinh 0 Reputation points
0 answers

Can not create folder in SharePoint. (Upgrade MS Graph SDK 5.36.0 -> 5.44.0 version)

I try to use below code to create folder in SharePoint. DriveItem driveItem; var driveItemAdd = new DriveItem() { Name = folder.Name, Folder = new Microsoft.Graph.Models.Folder() { OdataType = "microsoft.graph.folder" } }; …

SharePoint Server
SharePoint Server
A family of Microsoft on-premises document management and storage systems.
2,156 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,184 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,023 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,205 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
18,712 questions
asked 2024-03-01T09:55:11.3+00:00
Jackie Dinh 0 Reputation points
3 answers

Unable to update DOT NET Framework 4.7.2 from DOT NET Framework 4.6.2.

I am trying to update DOT net framework from DOT NET Framework 4.6.2. to 4.7.2 but I am unable to. I am getting the following error HRESULT 0x800f081e. This is on Windows server 2016. I need to install DOT NET Framework 4.7.2. In order to install SQL…

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
11,743 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,101 questions
asked 2024-02-01T15:39:50.19+00:00
Evrard 0 Reputation points
commented 2024-03-01T09:42:25.8766667+00:00
Jiachen Li-MSFT 24,431 Reputation points Microsoft Vendor
0 answers

How to generate user defined PIN in a Miracast Receiver application in Windows 10 using Windows.Media.Miracast namespace ?

Hi All, I have created an application using the Miracast namespace that acts as a Miracast receiver. I have made it as per my requirements except for one thing and it's like this - Whenever any Miracast-supported Android device or Windows PC or Sender…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,802 questions
Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,217 questions
asked 2024-02-29T12:38:41.77+00:00
Himanshu Rohilla 0 Reputation points
edited the question 2024-03-01T09:41:08.91+00:00
Xiaopo Yang - MSFT 10,806 Reputation points Microsoft Vendor
0 answers

WPF: Could not load file or assembly error in the designer but application runs with no problems

To try to solve another issue with the designer I've deleted bin and obj directories. Since then I'm facing this error while being in the designer: "The error message "Could not load file or assembly 'DesktopClient, Version=1.0.0.0,…

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,635 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,434 questions
asked 2024-03-01T08:49:05.19+00:00
Kratochvíl Lukáš 0 Reputation points
edited the question 2024-03-01T09:27:48.73+00:00
Kratochvíl Lukáš 0 Reputation points
2 answers

Pair to mac of .net maui causes an error.

environment Windows 10 Visual Studio 2022 latest version macOS Ventura Boot from external SSD Visual Studio 2022 for mac latest version XCode latest version When connecting with pair to mac, the following error finally occurs and connection is not…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,434 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,607 questions
asked 2023-04-14T01:05:18.18+00:00
TO 0 Reputation points
answered 2024-03-01T08:56:52.94+00:00
Peter Shu 0 Reputation points
0 answers

Visual Studio Update - Broken IL Stripping in Release Builld. NetMaui iOS

I have a Net Maui Blazor Hybrid app running Net7 compiled for both Android and iOS. This is a seasoned project that has always built and published with no issues. Its always been located in the same directory and none of the dependant libraries have…

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,323 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,434 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,607 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,975 questions
asked 2024-02-29T19:06:34.31+00:00
Glenn Stretton 0 Reputation points
commented 2024-03-01T08:53:44.9233333+00:00
Glenn Stretton 0 Reputation points
1 answer

Import of type 'Color' from assembly or module 'System.Drawing.Primitives.dll' failed

I created a project with ASP.NET Visual Studio 2022 .NET Framework Version 4.8.1 I imported all .dll files from Framework version 4.8.1. Anything that has code referring to 'Color' generates the following error message. Error BC31091 Import of type…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,184 questions
asked 2024-02-29T17:21:07.35+00:00
Simon 226 Reputation points
answered 2024-03-01T08:46:38.6533333+00:00
Lan Huang-MSFT 23,306 Reputation points Microsoft Vendor
0 answers

Maui app in NET 8 craches

Hi, I used maui app , distributed as exe and run on windows 10. (VS Version 17.8.4) in NET 8. Faulting application name: GssdDesktopClient.Maui.exe, version: 1.0.0.0, time stamp: 0x65680000 Faulting module name: KERNELBASE.dll, version:…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,607 questions
asked 2024-02-28T12:47:29.5666667+00:00
דני שטרית 2,266 Reputation points
commented 2024-03-01T08:34:43.43+00:00
דני שטרית 2,266 Reputation points
1 answer

How to Implement Google Maps in a .NET MAUI Blazor App.

I'm currently developing a .NET MAUI app using Blazor and targeting .NET 7. One of the key features I'm looking to implement is integration with Google Maps to display locations of customers. However, I'm facing challenges with integrating Google Maps…

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,323 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,607 questions
asked 2024-02-29T11:59:09.6166667+00:00
NIRANJAN CHIGULLA 0 Reputation points
answered 2024-03-01T08:13:19.17+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 64,571 Reputation points Microsoft Vendor
0 answers

How to play an audio file in .NET MAUI

I want to play a sound on my mobile application (android and IOS) So I've Added the sound file under the “Resource/Raw” folder with BuildAction=MauiAsset and Added Nuget package "Plugin.Maui.Audio" and used below code to play the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,607 questions
asked 2024-03-01T08:04:45.89+00:00
Mane, PRASHANT GORAKH 76 Reputation points
1 answer

GeList(out IntPtr variableName) send null values for out parameter from the iOS Binding dll in .NET 8

GeList(out IntPtr variableName) send null values for out parameter from the iOS Binding dll in .NET 8 .NET 8 iOS binding library project . Method in ApiDefinition class. // @required -(REESULT)getList:(NSMutableArray **)availableList; …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,261 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,607 questions
asked 2024-02-29T12:30:36.44+00:00
Dhanushka, Adrian 0 Reputation points
commented 2024-03-01T07:51:54.87+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 24,531 Reputation points Microsoft Vendor
0 answers

How to fix TextToSpeech issse on iPhone

In my app TextToSpeech does not work in iPhone, Its works on iPad, Mac, and android Phones. Any thoughts on it. Thanks

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,607 questions
asked 2024-02-29T17:18:13.76+00:00
BKS 0 Reputation points
commented 2024-03-01T06:47:09.44+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 31,081 Reputation points Microsoft Vendor
1 answer

Storage Permission is not working in Android 13..Below Android 13 it is working fine

In Xamarin forms Android targeting 13 ,unable to get storage permission .Below Android 13 it is working fine. In android 13 it was not showing storage permission in Settings permission list also. Can anyone please help me And I am giving permissions in…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,261 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,975 questions
asked 2024-02-29T08:37:24.91+00:00
Sk 21 Reputation points
commented 2024-03-01T06:39:42.49+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 64,571 Reputation points Microsoft Vendor
1 answer

Develop Azure Functions using Visual Studio with examples targeting net8

The document Develop Azure Functions using Visual Studio https://github.com/MicrosoftDocs/azure-docs/blob/main/articles/azure-functions/functions-develop-vs.md targets net6, is there a version that targets net8? The examples in the document have nullable…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,015 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,184 questions
asked 2024-02-26T10:01:30.8133333+00:00
OSMark 0 Reputation points
commented 2024-03-01T06:19:10.7433333+00:00
JananiRamesh-MSFT 19,186 Reputation points
2 answers

.NET WebForms app - redirect

Hello, I have an old WebForms e-commerce app. We do not use the front-end part anymore, but in reality, the front-end part is available using the address office.company.com/.* We want to redirect this part to the new front-end URL [www.company.com]. …

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,184 questions
asked 2024-02-29T11:37:05.44+00:00
Jaak Ivask 1 Reputation point
answered 2024-03-01T05:50:32.0166667+00:00
Lan Huang-MSFT 23,306 Reputation points Microsoft Vendor
0 answers

How to use ML.NET Builder to compare data in an application (ASP.Net Core WEB Api)

How can I utilize ML.NET Builder to compare data obtained from a MongoDB collection (gst collection) based on specific parameters? Furthermore, I require assistance categorizing data retrieved from the GST portal as matched or unmatched. What procedure…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,022 questions
.NET Machine learning
.NET Machine learning
.NET: Microsoft Technologies based on the .NET software framework.Machine learning: A type of artificial intelligence focused on enabling computers to use observed data to evolve new behaviors that have not been explicitly programmed.
149 questions
asked 2024-03-01T05:26:27.21+00:00
Kesava Subhash Gullapudi 30 Reputation points
1 answer

Maui- - indicator ifserver is conected

Hi, I want to show if server is conected or not . How is can be done ? which control to use, button is clickable and i want it will be clickable? Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,607 questions
asked 2024-02-29T09:40:59.6466667+00:00
דני שטרית 2,266 Reputation points
answered 2024-03-01T05:23:49.4433333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 31,081 Reputation points Microsoft Vendor