23,130 questions with .NET-related tags

Sort by: Updated
0 answers

Get Extended Events Data for Azure Managed Instance MFA with C# code

Hi, We are working with Extended Events. We have utilized QueryableXEventData Class for SQL Server 2016,2019 versions. But now we also wanted to retrieve the data for Azure SQL Managed Instance with Multifactor authentication…

Azure SQL Database
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,182 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,302 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,972 questions
asked 2024-02-29T16:55:11.4333333+00:00
Deepak Rane (drane) 40 Reputation points
edited the question 2024-02-29T20:37:49.9533333+00:00
JamesTran-MSFT 36,051 Reputation points Microsoft Employee
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,432 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,605 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,972 questions
asked 2024-02-29T19:06:34.31+00:00
Glenn Stretton 0 Reputation points
edited the question 2024-02-29T19:54:35.1233333+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
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,432 questions
asked 2024-02-29T17:21:07.35+00:00
Simon 226 Reputation points
edited a comment 2024-02-29T19:48:29.51+00:00
AgaveJoe 25,761 Reputation points
0 answers

Mysterious Error log from IdentityClient when using DefaultAzureCredential

2024-02-27 23:08:54.995 ERROR 54214 --- [ main] c.a.i.implementation.IdentityClient : Could not invoke the MSAL Broker. Ensure that the azure-identity-broker library is on the classpath. java.lang.IllegalStateException: Could not invoke…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,021 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,184 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,694 questions
asked 2024-02-28T07:14:20.6233333+00:00
Ian Lee 5 Reputation points
edited the question 2024-02-29T19:07:59.28+00:00
JamesTran-MSFT 36,051 Reputation points Microsoft Employee
3 answers One of the answers was accepted by the question author.

Why is my RelayCommand Parameter Not Available in the ViewModel

<ListBox DisplayMemberPath="Name" ItemsSource="{Binding Path=GeoElements}" SelectedValue="{Binding Path=RouteID}" SelectedValuePath="ElementID"> <i:Interaction.Triggers> …

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,633 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,502 questions
asked 2024-02-27T15:02:31.81+00:00
RogerSchlueter-7899 1,176 Reputation points
commented 2024-02-29T17:49:20.4133333+00:00
Peter Fleischer (former MVP) 19,056 Reputation points
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,605 questions
asked 2024-02-29T17:18:13.76+00:00
BKS 0 Reputation points
2 answers One of the answers was accepted by the question author.

FIX REPATER HEADER WHILE SCROLLING AND EXPORT TO EXCEL

Hello This is my aspx page <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default3" %> <html> <head runat="server"> <script…

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-26T11:09:28.23+00:00
RAVI 576 Reputation points
edited an answer 2024-02-29T16:46:54.02+00:00
laab 0 Reputation points
0 answers

Switch Maui doesn't display the right OnColor and ThumbColor in .NET8

Hi team, I use <Switch IsToggled="True" OnColor="Green" ThumbColor="Red"> in .NET8 in VS 2022 v17.8.2 On Android, it always displays like image below even i change OnColor and ThumbColor I didn't check it on…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,605 questions
asked 2023-11-30T09:05:15.44+00:00
Nam Pham 91 Reputation points
commented 2024-02-29T16:35:16.1933333+00:00
Casey Worth 11 Reputation points
1 answer

Outlook keeps asking me to log into my Google account everytime I open the app.

I have recently downloaded the new Outlook version and I have logged into my Google account. However, whenever I open the app, I have to log into my Google account again, and it's pretty annoying.

F#
F#
A strongly typed, multi-paradigm programming language developed by the F# Software Foundation, Microsoft, and open contributors.
52 questions
.NET F#
.NET F#
.NET: Microsoft Technologies based on the .NET software framework.F#: A strongly typed, multi-paradigm programming language developed by the F# Software Foundation, Microsoft, and open contributors.
82 questions
asked 2024-02-20T19:08:38.6633333+00:00
Linus García 0 Reputation points
answered 2024-02-29T15:44:21.15+00:00
Barry Evanz 80 Reputation points
1 answer One of the answers was accepted by the question author.

System.Windows.Forms Version=8

I keep getting errors that the system is looking for Version 8 references. All I find are System.Windows.Forms.dll - version 4. How do I resolve this error? Should I change all the references to Version 4? In this folder - C:\Program…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,802 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,432 questions
asked 2024-02-28T19:23:17.04+00:00
Simon 226 Reputation points
accepted 2024-02-29T14:54:43.96+00:00
Simon 226 Reputation points
0 answers

Azure function with HttpTrigger is not getting executed

Hello folks, after migrating my code to latest Azure Function with .NET 7 (isolated process), I am having an issue trying to call all of my azure functions with an http trigger. In the azure function console, I can see I am calling the right endpoint, as…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,014 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,182 questions
asked 2024-02-28T16:53:24.4533333+00:00
Stefania Grillo 20 Reputation points
commented 2024-02-29T14:48:45.4766667+00:00
MuthuKumaranMurugaachari-MSFT 21,646 Reputation points
0 answers

How to remove bottom border on MAUI Navigation Bar

Hi on a navigation page, how to remove the bottom grey border on the top navigation bar?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,605 questions
asked 2024-02-29T13:51:45.0333333+00:00
SSB 81 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,737 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-02-29T13:41:48.7666667+00:00
Evrard 0 Reputation points
0 answers

Target Framework do not appear when trying migrating from xamarin to maui using upgrade assistant

i'm using visual studio 2022 17.9.2, when i click ugrade on the portable file, it shown "there are no target framework found to which project could be upgraded" but when i click on the droid file, it does appear the framework selection …

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,182 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,432 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,605 questions
asked 2024-02-29T02:27:50.4133333+00:00
AGUSTINUS DAVID 0 Reputation points
commented 2024-02-29T13:30:30.3333333+00:00
Tianyu Sun-MSFT 25,186 Reputation points Microsoft Vendor
1 answer

.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
edited an answer 2024-02-29T13:18:04.12+00:00
AgaveJoe 25,761 Reputation points
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,212 questions
Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
698 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,360 questions
asked 2024-02-29T12:38:41.77+00:00
Himanshu Rohilla 0 Reputation points
0 answers

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 -(SRFID_RESULT)srfidGetAvailableReadersList:(NSMutableArray…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,262 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,605 questions
asked 2024-02-29T12:30:36.44+00:00
Dhanushka, Adrian 0 Reputation points
0 answers

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,605 questions
asked 2024-02-29T11:59:09.6166667+00:00
NIRANJAN CHIGULLA 0 Reputation points
1 answer One of the answers was accepted by the question author.

Localization in Blazor using bootstrap dropdown menu

I've seen tons of tutorials and blog posts but they all suggest a select control for changing a language. None of them explains how to implement localization using HREF. Could you give me at least hint or link, that would help me figure out how to change…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,021 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,323 questions
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-28T16:24:01.7966667+00:00
Kuler Master 221 Reputation points
accepted 2024-02-29T11:15:47.9166667+00:00
Kuler Master 221 Reputation points
0 answers

Error accessing web application: ":( Application Error If you are the application administrator, you can access the diagnostic resources."

Hi, I am following the instructions in the module "Develop and configure an ASP.NET application that queries an Azure SQL database". I finally was able to build the web app after getting some help in Q&A. However, when I tried to access the…

Azure SQL Database
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,021 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,523 questions
asked 2024-02-25T13:52:30.7966667+00:00
YAU NICHOLAS HENG WAH 20 Reputation points
commented 2024-02-29T11:05:47.1233333+00:00
YAU NICHOLAS HENG WAH 20 Reputation points