24,878 questions with .NET-related tags

Sort by: Created
3 answers

Difference Between Azure.Identity and Microsoft.Identity.Client Namespace

Hello, I am wondering what the difference is between these two namespaces from Microsoft: Azure.Identity in Azure SDK for .Net: https://learn.microsoft.com/en-us/dotnet/api/azure.identity?view=azure-dotnet and Microsoft.Identity.Client in Microsoft…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,598 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,449 questions
asked 2024-07-14T18:19:27.91+00:00
Karl Gardner 20 Reputation points
answered 2024-07-15T03:54:48.85+00:00
2 answers One of the answers was accepted by the question author.

Displaying graphic dynamically - from path as content of a field

Perhaps someone could help me with the ahref / src format to display a graphic from the wwwroot folder from a path that is content of a field? Trial and Error Attempts: Environment:

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,603 questions
asked 2024-07-14T15:36:56.13+00:00
Dean Everhart 1,516 Reputation points
accepted 2024-07-14T21:05:23.01+00:00
Dean Everhart 1,516 Reputation points
0 answers

Exceeded language worker restart retry count for runtime:dotnet-isolated. error happening locally while upgrading azure function project to isolated

I am trying to upgrade my azure function project from .net 6 to .net 8 isolated and it seems there is something wrong with my local because I get the same error in the projects that I developed myself and deployed to production. Here is the full log of…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,607 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
asked 2024-07-14T15:00:00.8666667+00:00
Ronak Panchal 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,180 questions
asked 2024-07-14T14:42:45.7166667+00:00
Dani_S 3,276 Reputation points
edited the question 2024-07-15T03:09:37.3866667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 71,836 Reputation points Microsoft Vendor
1 answer

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,180 questions
asked 2024-07-14T14:14:48.0633333+00:00
Haviv Elbsz 2,046 Reputation points
answered 2024-07-15T03:06:29.4366667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 38,756 Reputation points Microsoft Vendor
0 answers

Mac - keep data in memory and get data

Hi, I run mac app in vs code net 8. after publishing it using this command: dotnet publish -f net8.0-maccatalyst -c Release The app stop working me, the logic not working. I keep data in singelton class and I reach from other pages to this class. It work…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,180 questions
asked 2024-07-14T13:15:46.56+00:00
Dani_S 3,276 Reputation points
commented 2024-07-14T18:39:00.7233333+00:00
Dani_S 3,276 Reputation points
0 answers

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
edited the question 2024-07-14T09:02:59.6566667+00:00
vitaminchik 466 Reputation points
0 answers

Maui for Android context menu pop-up paste in Editor scroll problem

Hello All. in my app when the Editor contains many lines of text and I tap the pop-up cut menu and then I long press and tap the paste menu the Editor text scroll to the bottom of the Editor and also the screen scroll to the bottom. Note that I…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,180 questions
asked 2024-07-14T06:16:13.8166667+00:00
Haviv Elbsz 2,046 Reputation points
commented 2024-07-15T03:05:31.9666667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 71,836 Reputation points Microsoft Vendor
0 answers

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,598 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 21 Reputation points
edited the question 2024-07-15T02:10:27.5266667+00:00
Jiale Xue - MSFT 42,401 Reputation points Microsoft Vendor
1 answer

how to detect edge of paper in ios?

how to do edge-detection in ios? I want to use camera to capture paper and remove the other info. just leave the paper.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,180 questions
asked 2024-07-13T00:39:35.8+00:00
mc 4,086 Reputation points
commented 2024-07-13T13:52:11.78+00:00
mc 4,086 Reputation points
0 answers

Scroller Jumps to Start Position when Entry Control Gains Focus in VirtualizeListView

GitHub Source code URL : https://github.com/MPowerKit/VirtualizeListView.git When using the VirtualizeListView component with Entry controls inside it, the scroller scrolls to the start position whenever an Entry control gains focus. This issue disrupts…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,324 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,598 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,180 questions
asked 2024-07-12T23:30:54.89+00:00
S GAIKWAD 231 Reputation points
1 answer

Supporting AI on device with Android and Apple using .Net Maui

I'd like to leverage AI in a new app I'm working on for Android and Apple using .Net Maui. Both these platforms have or are implementing AI on the devices. I've seen references to using AI services on the internet, however I cannot guarantee internet…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,180 questions
asked 2024-07-12T19:02:27.8933333+00:00
Scott Johnson 0 Reputation points
answered 2024-07-12T21:04:23.65+00:00
Bruce (SqlWork.com) 60,866 Reputation points
1 answer

Why is telemetryClient.IsEnabled() true if no key is provided

Hi all; I have the following code: builder.Logging.AddApplicationInsights(); builder.Services.AddApplicationInsightsTelemetry(); builder.Services.ConfigureTelemetryModule<DependencyTrackingTelemetryModule>((module, o) => {…

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
2,986 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,492 questions
asked 2024-07-12T18:56:14.73+00:00
David Thielen 2,751 Reputation points
commented 2024-07-13T02:40:14.4666667+00:00
Michael Taylor 50,911 Reputation points
2 answers

I am experiencing a 404 Not Found error for my new domain

SmarterASP.NET Generated Domain: [example.smarterasp.net] This domain is working correctly and serving my website as expected. New Domain: [[www.mydomain.com]] This domain is currently showing a 404 Not Found error.

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
Microsoft Configuration Manager Deployment
Microsoft Configuration Manager Deployment
Microsoft Configuration Manager: An integrated solution for for managing large groups of personal computers and servers.Deployment: The process of delivering, assembling, and maintaining a particular version of a software system at a site.
934 questions
asked 2024-07-12T16:52:27.92+00:00
Fatma Alaa 0 Reputation points
answered 2024-07-12T18:14:04.8333333+00:00
Michael Taylor 50,911 Reputation points
0 answers

Extremely Slow Preflight Requests

We use an App Service hosting a WebApi (C# .NET 8). CORS is setup directly in Azure. This and one client application (Angular) are the only Apps inside the App Service Plan (P2v2). Today we have massive slow downs in Preflight Requests from the Client to…

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
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,327 questions
asked 2024-07-12T16:51:21.1066667+00:00
Tobias Haimerl 0 Reputation points
edited the question 2024-07-12T16:59:25.46+00:00
Tobias Haimerl 0 Reputation points
0 answers

How to troubleshoot the exception, Could not create TLS secure channel?

Hello there, I have this C# code that consumes a SOAP WS and it was working properly for years. However, since recently it started to throw the following exception: The request was aborted: Could not create SSL/TLS secure channel. Basically it imports…

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
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,404 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,603 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.
316 questions
asked 2024-07-12T14:24:34.8133333+00:00
Kuler Master 266 Reputation points
commented 2024-07-15T01:59:19.77+00:00
Tiny Wang-MSFT 2,171 Reputation points Microsoft Vendor
0 answers

Single File Deployment

We are producing single-file executables for our console app which is not working with the native dll methods at runtime. I’ve always tested it locally without the publish and it still works fine. “IncludeNativeLibrariesForSelfExtract” is set in the…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,598 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
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,404 questions
ASP.NET Core Training
ASP.NET Core Training
ASP.NET Core: A set of technologies in the .NET Framework for building web applications and XML web services.Training: Instruction to develop new skills.
18 questions
asked 2024-07-12T13:48:15.5533333+00:00
Siddhant Singh 5 Reputation points
commented 2024-07-12T13:51:27.07+00:00
Siddhant Singh 5 Reputation points
1 answer One of the answers was accepted by the question author.

Azure and .Net point releases

we built with the latest .Net version on Github, but were surprised to get this error in Azure.

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,598 questions
asked 2024-07-12T13:01:41.2666667+00:00
Glenn Puchtel 20 Reputation points
commented 2024-07-12T16:49:19.77+00:00
Glenn Puchtel 20 Reputation points
1 answer

How to archive and publish in Visual Studio Mac and MAUI

Hi, I have a MAUI app that i am migrating from Xamarin. Am using Visual Studio Mac for this for now until I can find a suitable replacement. I am ready to release to app store and google play, previously I would do Build > Archive for Publishing and…

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 MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,180 questions
asked 2024-07-12T08:17:42.0233333+00:00
SSB 111 Reputation points
answered 2024-07-12T09:55:08.57+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 28,876 Reputation points Microsoft Vendor
0 answers

Exporting and Importing PowerApp Forms for SharePoint Lists Using C# .NET Core

Hi Team, I have a custom PowerApp form for one SharePoint site list. I need to create a new PowerApp form similar to the previous one for a new site list. How can I export the previous list PowerApp and import it to the new list using a C# .NET Core…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,598 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,211 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,603 questions
asked 2024-07-12T06:55:39.31+00:00
ArunKumar Arumugam 20 Reputation points
edited the question 2024-07-15T01:30:44.6533333+00:00
Yanli Jiang - MSFT 23,581 Reputation points Microsoft Vendor