23,817 questions with .NET-related tags

Sort by: Updated
0 answers

Trouble Implementing Federated Credentials with Managed Identities in Azure Function App API Authentication

I have an API inside my function app and have been accessing the API using the secrets created in the app registration associated with the function app. Now we're looking to eliminate the secrets and modify it to use managed idenities as the client app…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,227 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,351 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,415 questions
asked 2024-04-22T18:40:22.54+00:00
Dheepssika JL 0 Reputation points Microsoft Employee
edited the question 2024-04-22T21:59:45.96+00:00
Dheepssika JL 0 Reputation points Microsoft Employee
2 answers

Visual Studio stopps responding when creating new React + .NET project

Hello. I have a problem when creating new project in Visual Studio. I am trying to create new Fullstack React + .NET project using the official React + .NET template. However upon creating new project, the console gets opened and quickly closes only for…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,351 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,148 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,248 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,591 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
962 questions
asked 2024-04-22T20:53:59.4933333+00:00
Filip Studeny 0 Reputation points
edited an answer 2024-04-22T21:52:49.98+00:00
Bruce (SqlWork.com) 55,196 Reputation points
0 answers

OAuth2 callback redirects user to authorization page

I am implementing OAuth2 authorization in my application with an external provider. When the user is redirected back to my application from the authorization server, my application will just redirect the user back despite using the Redirect() method to…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,148 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,215 questions
asked 2024-04-22T21:21:27.0266667+00:00
iKingNinja 40 Reputation points
0 answers

CTRL Commands Not Working with Winforms Web Browser

Hello, We have an application with a winforms web browser hosted on a WPF window and this browser is used to load HTML's within our application. These HTML files have fields that allow users to fill out. Letters and numbers work fine when put into the…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,824 questions
asked 2024-04-22T20:38:22.62+00:00
Lpatz-4663 20 Reputation points
2 answers One of the answers was accepted by the question author.

Unable to load the native components of SQL Server Compact

Hello All, I am trying to create a local database programmatically using C# with Sql server compact edition. I have Visual Studio 2019 and created a project with .NET framework of version 4.8. I have the following code which will create a database. …

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,351 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,591 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,663 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,215 questions
asked 2024-04-22T19:03:42.12+00:00
Lakshman Balasubramanian 1 Reputation point
accepted 2024-04-22T20:23:05.6666667+00:00
Lakshman Balasubramanian 1 Reputation point
2 answers

Transparent flyout items

I don't know why, but if I change my flyout to "Locked "in Desktop In cannot see anything my pages are there, and I can navigate but I cannot see. FlyoutBehavior="{OnIdiom Desktop=Locked, Phone=Flyout}" …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,851 questions
asked 2024-03-30T19:27:49.6733333+00:00
Eduardo Gomez Romero 205 Reputation points
commented 2024-04-22T20:20:59.74+00:00
Eduardo Gomez Romero 205 Reputation points
2 answers One of the answers was accepted by the question author.

Mac question

I don't understand why in Mac is not possible to open all windows Mac does not support programmatic activation of windows. First of all, I would like to inform you that the user has to touch the screen to active a session on iOS/MacCatalyst. Please…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,851 questions
asked 2024-04-18T03:19:31.0133333+00:00
Eduardo Gomez Romero 205 Reputation points
accepted 2024-04-22T20:17:30.2166667+00:00
Eduardo Gomez Romero 205 Reputation points
4 answers

saving the Identity token in the Aspnetusertokens table

Hi I created an Asp.net core 6 project and I added the Identity framework for authentication and authorization, I would like to add token management and while doing research I realized that Identity also manages the management of tokens because it…

Microsoft Identity Manager
Microsoft Identity Manager
A family of Microsoft products that manage a user's digital identity using identity synchronization, certificate management, and user provisioning.
608 questions
Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
696 questions
Microsoft Authenticator
Microsoft Authenticator
A Microsoft app for iOS and Android devices that enables authentication with two-factor verification, phone sign-in, and code generation.
5,465 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,148 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,215 questions
asked 2023-11-07T11:19:50.1566667+00:00
Marnelle M'BENGUET 20 Reputation points
edited a comment 2024-04-22T20:13:26.7166667+00:00
Angel Tobon 0 Reputation points
3 answers

How to copy big file 5g with task and within impersonation

Hi, How to copy big file 5G from source to destination using impersonation: WindowsIdentity.RunImpersonated( ImpersonationHelper.Token Thanks,

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,351 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,851 questions
asked 2024-04-18T08:06:36.18+00:00
דני שטרית 2,706 Reputation points
commented 2024-04-22T18:47:26.3166667+00:00
דני שטרית 2,706 Reputation points
1 answer

Format of the initialization string does not conform to specification starting at index

I am using .net android(not maui) and ef core and sqlite. but there is error Format of the initialization string does not conform to specification starting at index how to use sqlite in .net android?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,851 questions
asked 2024-04-22T10:36:01.19+00:00
mc 3,641 Reputation points
answered 2024-04-22T18:26:48.6666667+00:00
Bruce (SqlWork.com) 55,196 Reputation points
1 answer

.Net-6 docker image from Microsoft Container Registry has vulnerabilities

Hello, I am trying to pull .NET docker images from Microsoft Container Registry and while scanning these images I am seeing below vulnerabilities. Does any body have any suggestion to fix this please? FROM mcr.microsoft.com/dotnet/sdk:6.0-alpine FROM…

Azure Container Registry
Azure Container Registry
An Azure service that provides a registry of Docker and Open Container Initiative images.
382 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,351 questions
asked 2024-04-17T09:59:50.9633333+00:00
@IamCoder 391 Reputation points
commented 2024-04-22T18:12:07.42+00:00
kobulloc-MSFT 23,336 Reputation points Microsoft Employee
1 answer

there is something wrong with my c# program, and i need assistance.

Here's how my program like, or you can also see it from attached image:partial class Boot { static void Main() { Console.WriteLine("please input the path of your data store."); string ds_path = Console.ReadLine(); try { …

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,351 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,215 questions
asked 2024-04-22T12:51:02.23+00:00
Weber Chang 0 Reputation points
answered 2024-04-22T17:44:41.2366667+00:00
Bruce (SqlWork.com) 55,196 Reputation points
1 answer

How do you fix the NETSDK1082 error? (no runtime pack for android-x64)

I am currently trying to implement a Microsoft Login in my .NET MAUI app using this tutorial. It runs using the debugger for Windows, but throws this error when I try to run it on an android emulator: 'There was no runtime pack for…

Microsoft Identity Manager
Microsoft Identity Manager
A family of Microsoft products that manage a user's digital identity using identity synchronization, certificate management, and user provisioning.
608 questions
Microsoft Authenticator
Microsoft Authenticator
A Microsoft app for iOS and Android devices that enables authentication with two-factor verification, phone sign-in, and code generation.
5,465 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,248 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,851 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,415 questions
asked 2024-04-22T08:35:45.31+00:00
Lukas 0 Reputation points
answered 2024-04-22T15:40:00.4766667+00:00
Bruce (SqlWork.com) 55,196 Reputation points
1 answer

.net TLS 1.2 enable Ed25519 in signature algorithms extension

Hi, We are trying to use .net System.Net.Security Sslstream to communicate with a TLS server which only support ED25519 signature algorithm. The problem is ED25519 is missed in signature algorithms extension in client hello, which is not accepted by TLS…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,351 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
4,314 questions
asked 2023-09-13T08:00:19.72+00:00
Cheng, Leo 0 Reputation points
answered 2024-04-22T15:25:54.5366667+00:00
Ben Kinsella 0 Reputation points
asked 2024-04-22T15:08:19.31+00:00
THUMMALURU RAJESH REDDY 0 Reputation points
0 answers

.net MAUI is there a way to have an entry field have focus on load but not show the soft keyboard?

so ive worked on an android app in VS2019 and in that app its not a problem for me to have a screen load up, set focus to the first entry field( in that case its an EditText) but not show the soft keyboard. it will only show the soft keyboard if the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,851 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,215 questions
asked 2024-04-19T20:56:32.3766667+00:00
Min T 41 Reputation points
edited a comment 2024-04-22T14:31:57.4433333+00:00
Min T 41 Reputation points
0 answers

How to open Ana left in MAUI - iOS application

Hello Team,    I want the user to force update the application.  So, Based on the below logic, I'm opening an alert with an update option in it. When I click on the update. It is navigating to the Appstore. But when I click on the backbutton on the top…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,851 questions
asked 2024-04-22T13:15:48.8866667+00:00
Vaibhav Methuku 60 Reputation points
edited the question 2024-04-22T13:19:16.82+00:00
Vaibhav Methuku 60 Reputation points
1 answer One of the answers was accepted by the question author.

Xamarin GoBackAsync does not return to last page.

I have a tabbed main page that I can select other pages from. one page has code to select a row and navigate from that content page to another content page to edit the selected row. Checklist page var navService =…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,292 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,591 questions
asked 2024-04-20T18:15:44.7833333+00:00
tim 80 Reputation points
commented 2024-04-22T12:47:40.29+00:00
tim 80 Reputation points
0 answers

How to solve the white page problem in blazor server.

When I start my blazor server application, the page content is displayed for less than a second, then I get a blank page. When I right-click inpect in the browser I get the code : <html> **<head></head>** …

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,380 questions
asked 2024-04-22T12:36:24.15+00:00
wilfried kinda 0 Reputation points
commented 2024-04-22T12:42:10.8066667+00:00
AgaveJoe 26,191 Reputation points
1 answer

Issue with condition rendering

@page "/register" @model FaceAdminApp.Pages.Auth.RegisterModel @{ ViewData["Title"] = "Register"; } @if (Model.IsPhoneNumberPresent) { <div class="container"> <div class="row…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,148 questions
asked 2024-04-22T10:39:14.0433333+00:00
Nandini S 20 Reputation points
edited an answer 2024-04-22T12:28:11.3733333+00:00
AgaveJoe 26,191 Reputation points