23,979 questions with .NET-related tags

Sort by: Updated
1 answer

Adding Token Based Azure EntraID Authentication to GraphQL APIs created on .NET7

I have a set of GraphQL APIs created on .NET7. I want to authenticate the APIs using Azure Entra ID User/App Access Tokens. Is it possible to achieve the same out of the box, else kindly suggest a workaround.

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,188 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,561 questions
asked 2024-04-24T10:05:50.0733333+00:00
Varun Sridhar 0 Reputation points
commented 2024-05-03T04:20:16.76+00:00
Navya 4,005 Reputation points Microsoft Vendor
1 answer

How to connect different Azure Id with Visual Studio 2022 Id

Can other people connect and use it with one ID(Tenant ID or Subscription ID, ...)? ( For Test Purpose ) If so, how can this be done? Thank you.

Azure Key Vault
Azure Key Vault
An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
1,124 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,188 questions
asked 2024-05-02T08:22:12.4066667+00:00
KHSong 0 Reputation points
edited an answer 2024-05-03T04:15:06.8033333+00:00
Gowtham CP 80 Reputation points
1 answer

Migrate SQLite db from Xamarin Android to NET Maui app?

I am having issue with one of my app migration to .NET MAUI. When I migrate, I am unable to access SQLlite databse which was being used in Xamarin in XAMARIN database was being accessed as…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,897 questions
asked 2024-05-02T02:26:31.5566667+00:00
BKS 20 Reputation points
commented 2024-05-03T03:08:44.7933333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,726 Reputation points Microsoft Vendor
0 answers

How to fix StackOverflowException after upgrading from .Net 6 to .Net 8

Hello,   I have upgraded 5 projects in my solution from .Net 6 to .Net 8 using upgrade assistant in Visual Studio. When I run the solution, StackOverflowException is being thrown and Swagger is not loading. Looks like onchangetokenfired() method is being…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,396 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,188 questions
asked 2024-04-26T06:39:38.71+00:00
Abhishek, Burra 0 Reputation points
commented 2024-05-03T01:49:54.88+00:00
Ping Ni-MSFT 2,250 Reputation points Microsoft Vendor
1 answer

.NET MAUI: downloading a file in the background (Android)

Hello. Is there a way to do some action in background in case of android devices? For example, in my app I have a callback that starts to download a file after user pressed the download button. This file is quite large and some devices may turn off their…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,897 questions
asked 2024-05-02T23:04:10.0233333+00:00
rodionovid 60 Reputation points
answered 2024-05-03T01:48:50.3833333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,726 Reputation points Microsoft Vendor
0 answers

Data Models

I have two Models, CustomerModel and CustomerInfo neither one relates to the other except that the Model(s) have fields in the same table and I wanted to separate the fields in the Models because they are used in different views of my .Net Maui…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,897 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,274 questions
asked 2024-05-01T21:46:42.2566667+00:00
Tom Meier 80 Reputation points
edited a comment 2024-05-03T01:48:34.54+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,446 Reputation points Microsoft Vendor
1 answer

WPF Select All Checkbox in a DataGrid DataBinding (Using Xampp, SQLYog, ODBC Driver)

Hi! Everyone I have been searching and integrating all checkbox multiselect from the answers I found online, and I l learnt so much, whether they use MVVM Light tollkit and Non-MVVM approach. All of them runs in different way but all are fulfilled the…

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,676 questions
asked 2024-04-30T06:36:42.5033333+00:00
Superbia15 0 Reputation points
edited an answer 2024-05-03T01:41:45.85+00:00
Hui Liu-MSFT 40,266 Reputation points Microsoft Vendor
1 answer

Having issues deploying IOS project on iphone

Microsoft Visual Studio Professional 2022 (64-bit) - Current Version 17.5.5 Xamrin 17.5.0.173 & Xamarin.IOS -16.2.0.5 Getting these errors : Severity Code Description Project File Line Suppression State Error /usr/bin/codesign exited with code…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,296 questions
asked 2023-08-01T04:45:43.94+00:00
Shraddha Chauhan 10 Reputation points
commented 2024-05-03T01:03:41.7533333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,446 Reputation points Microsoft Vendor
1 answer

Android App Won't Launch when installed from APK

I am experiencing issues when trying to use our signed Android MAUI application running after I install it from an APK onto emulator or physical device. It installs without issue, but when launched it freezes and crashes. Since our application is…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,897 questions
asked 2024-05-02T13:47:13.35+00:00
Geoff Knoll 0 Reputation points
commented 2024-05-03T00:58:56.22+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,446 Reputation points Microsoft Vendor
0 answers

How to fix .NET Framework error

I have a problem with my .NET Framework, whenever I run programs like Visual Studio, it gives me this error message: Clicking "Yes" forwards me to the installation page, which after running the installer, I am told that the .NET framework…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,655 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,125 questions
asked 2024-04-30T16:02:07.9433333+00:00
Jonathan Joseph 0 Reputation points
commented 2024-05-02T21:09:44.7233333+00:00
Jonathan Joseph 0 Reputation points
1 answer

How can I configure my .NET app to use Azure Firewall proxy in explicit mode?

I'm trying to use Azure Firewall in explicit proxy mode to test that my .NET app works when configured with a proxy. The .NET app uses the WebProxy class to configure the HttpClient:…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,396 questions
Azure Firewall
Azure Firewall
An Azure network security service that is used to protect Azure Virtual Network resources.
570 questions
asked 2024-04-08T11:32:22.5433333+00:00
Gareth Wynn 0 Reputation points
commented 2024-05-02T18:54:47.3433333+00:00
Monalla-MSFT 11,646 Reputation points
1 answer

How do I draw anti-aliased text in a ListBox with DrawMode set to OwnerDrawFixed?

I have a ListBox on my form with its DrawMode property set to OwnerDrawFixed. How can I get the text I draw to be antialiased? I've already set the TextRenderingHint property of the Graphics object to AntiAliasGridFit but it's not drawn…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,833 questions
asked 2024-05-01T18:51:36.1366667+00:00
DaveF 21 Reputation points
answered 2024-05-02T14:46:39.7133333+00:00
Jiale Xue - MSFT 33,686 Reputation points Microsoft Vendor
4 answers One of the answers was accepted by the question author.

ASP.NET framework 4.8 code for file uploding into Azure storage/container using FileUpload control

Hello For file uploading into Azure Storage / containers using the FileUpload control—preferably upon button click—ASP.NET framework 4.8 code is required. Thanks in advance Regards Chandrakant

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,396 questions
Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
2,714 questions
asked 2024-04-29T17:12:45.4533333+00:00
Chandrakant Pawle 81 Reputation points
edited a comment 2024-05-02T14:18:35.2833333+00:00
Chandrakant Pawle 81 Reputation points
1 answer

How to fix error "Account already exists" when signing in google users on a customer entra tenant?

Dear Microsoft support team, My name is Javier Ortega, and I am writing to seek assistance with: Authentication from .Net application to Entra tenant, with google users. Currently we have a group of users migrated to a customer (external) entra tenant.…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,188 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,652 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,561 questions
asked 2024-04-30T15:51:40.8333333+00:00
Javier Herrera 85 Reputation points
commented 2024-05-02T14:00:17.9833333+00:00
Javier Herrera 85 Reputation points
1 answer

Updating app service from .NET 6 to 8

I'm trying to update my asp.net core backend from .NET 6 to 8. I've updated the target framework for the projects, changed the docker images to version 8, and updated the exposed ports. It runs as expected locally. (In the past month, I've updated a…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,396 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,188 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,907 questions
asked 2024-04-30T20:53:38.6433333+00:00
Rebekah Williams 0 Reputation points
edited a comment 2024-05-02T13:32:54.71+00:00
Azizkhon Ishankhonov 195 Reputation points
1 answer One of the answers was accepted by the question author.

Custom Webview Renderer in MAUI- Android

In Xamarin forms we are using custom WebView renderer. using Dev.Controls; using Dev.Droid.Controls; using Android.Content; using Xamarin.Forms; using Xamarin.Forms.Platform.Android; using WebView = Android.Webkit.WebView; [assembly:…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,897 questions
asked 2024-02-09T10:23:21.5766667+00:00
Bhuwan 616 Reputation points
edited a comment 2024-05-02T13:21:36.25+00:00
Keerthana Krishna 0 Reputation points
1 answer

Simulate dead lock with sampfore slim

Hi, How I simulate deadlock with with this code? public async Task<string> GetSessionToken(string developmentApiKey) { await _semLock.WaitAsync(); try { if…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,396 questions
asked 2024-05-02T08:41:24.51+00:00
Dani_S 2,726 Reputation points
answered 2024-05-02T12:34:14.59+00:00
Jiale Xue - MSFT 33,686 Reputation points Microsoft Vendor
1 answer

Does Maui-Android have an issue with Shadow property for the Border control?

When I define Shadow for the Border control (see XAML code below), Android fails to display. It works fine on WinUI. If I remove Shadow definition in XAML it works for Android. Does Android have an issue with Shadow? <Border Stroke="Blue"…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,897 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,274 questions
asked 2023-03-27T18:27:32.8933333+00:00
dg2k 1,386 Reputation points
commented 2024-05-02T11:01:02.5566667+00:00
Haider Ali Faizi 80 Reputation points
asked 2024-04-22T15:08:19.31+00:00
THUMMALURU RAJESH REDDY 0 Reputation points
edited the question 2024-05-02T09:46:58.28+00:00
MayankBargali-MSFT 68,641 Reputation points
0 answers

internal error in the .NET Runtime at IP 70DE92C3

Application terminates when loading report viewer, event viewer shows an error: "internal error in the .NET Runtime at IP 70DE92C3"

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,274 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,125 questions
asked 2024-04-15T16:08:52.4566667+00:00
Tom McKeown 0 Reputation points
commented 2024-05-02T09:20:44.7566667+00:00
Jiachen Li-MSFT 26,671 Reputation points Microsoft Vendor