Microsoft Q&A

.NET

15,268 questions

Microsoft Technologies based on the .NET software framework.

Browse all .NET tags

15,268 questions with .NET-related tags

Sort by: Updated
0 answers

Net maui runtime loading problem ?

I have created languageconverter as above binding from C# listing...normally binding by Text="{DynamicResource Key=welcome}" like that.. it is working as expected but when loaded page collectionview is not changing language runtime... when…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,418 questions
asked 2023-06-02T16:18:57.21+00:00
Sami 281 Reputation points
edited the question 2023-06-02T22:12:05.9266667+00:00
Sami 281 Reputation points
1 answer

Query on Net & ASP

Hi All i have outdated versions of .Net and ASP.Net. i have installed .dotnet core removal tool for the url https://github.com/dotnet/cli-lab/releases . What syntax should i use if i need to remove the below .Net Cre SDK 3.1.413, .NET Core Runtimes…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,158 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,144 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,481 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: The period of time during which a program is being executed in a computer.
999 questions
asked 2023-06-02T18:46:07.32+00:00
Glenn Maxwell 7,481 Reputation points
answered 2023-06-02T21:52:57.29+00:00
Glenn Maxwell 7,481 Reputation points
1 answer

Calling webapi from another webapi both protected by b2c

I have 2 webapis and an angular application. All protected by azure b2c. Angular application calls a web api that then calls the other web api. What are my options for webapi webapi call. how can i access the token for scopes?

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
14,735 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,144 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.
8,189 questions
asked 2023-05-05T14:13:05.0166667+00:00
Praveen U (PUU) 5 Reputation points
commented 2023-06-02T21:39:03.1666667+00:00
James Hamil 14,346 Reputation points Microsoft Employee
1 answer

Understanding the right DateTime Parameter to use when inserting Data into LIVE database

I have two issues that have been giving me headache in solving. The first is: Upon successful login by a user, an update is done in the Logindate column of the database table. But before the update is done, the value of the Logindate column is fetched…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,481 questions
ASP.NET Web Forms
ASP.NET Web Forms
A part of the ASP.NET web application framework that can be used to create ASP.NET web applications.
550 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,158 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.
8,189 questions
asked 2023-05-04T10:39:27.4366667+00:00
Donald Symmons 1,946 Reputation points
edited a comment 2023-06-02T21:34:41.37+00:00
Donald Symmons 1,946 Reputation points
0 answers

How to check the response time of a remote machine?

Hello! How to check the response time of a remote machine?

.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.
47 questions
asked 2023-06-02T20:07:43.6266667+00:00
12586429 596 Reputation points
0 answers

IP addresses

Hello! How can I know if an IP address is valid or not?

.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.
47 questions
asked 2023-06-01T18:06:38.1366667+00:00
12586429 596 Reputation points
commented 2023-06-02T19:54:51.0333333+00:00
12586429 596 Reputation points
0 answers

Standard computer disk system

Hello! How to know the standard disk system of a PC?

.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.
47 questions
asked 2023-06-01T17:54:01.6233333+00:00
12586429 596 Reputation points
commented 2023-06-02T19:49:44.7566667+00:00
12586429 596 Reputation points
4 answers

Can I do a swap on a Blazor Server App service without disconnecting users?

I run an App Service hosting a Blazor Server Application. The App service has a staging and production slot. When I do a swap from staging to production I would like users to remain connected and have 0 downtime. Is this possible? The application also…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
976 questions
Azure SignalR Service
Azure SignalR Service
An Azure service that is used for adding real-time communications to web applications.
91 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
4,933 questions
asked 2023-05-21T03:57:28.9233333+00:00
Sean Wauchope 30 Reputation points
commented 2023-06-02T18:52:00.4066667+00:00
Sean Wauchope 30 Reputation points
0 answers

rotate image on iphone in Xamarin can't tell if the camera is portrait or landscape

when I call this after calling, it will turn the bitmap 90 degrees in portrait, but will also in landscape, where I dont want it to be turned 90 degrees. This is to work about a bug in MediaPicker.CapturePhotoAsync(); var photo = await…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,003 questions
asked 2023-06-01T23:56:04.3566667+00:00
rick ruhl 61 Reputation points
commented 2023-06-02T18:03:43.48+00:00
rick ruhl 61 Reputation points
0 answers

How to update .Net core runtime

Anyone with experience on how to manage EOL versions of .Net Runtime. Qualys is throwing up alerts for .net version 5.0 and I want to get this resolved with Intune

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: The period of time during which a program is being executed in a computer.
999 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
2,725 questions
asked 2023-06-02T17:53:33.3866667+00:00
Redistro 161 Reputation points
0 answers

Wanted: Example of using ASP.NET inside Azure Function for Role Based Authorization with Azure AD

Since I'm implementing an AJAX REST service in a Azure Function for various Azure AD B2C front ends (blazor server, blazor webasm & angular), I believe it is necessary to implement authentication and authorization in the front end and back end azure…

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
14,735 questions
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
3,018 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,144 questions
asked 2023-06-02T16:51:48.3233333+00:00
Siegfried Heintze 1,506 Reputation points
edited the question 2023-06-02T17:49:38.5366667+00:00
MuthuKumaranMurugaachari-MSFT 11,441 Reputation points
2 answers

Where can I discuss pricing for .net MVC project on Azure?

Not satisfied with using the pricing calculator. Is there any way to communicate with a human being about pricing options? The forum does not seem to be the place (I've asked questions about pricing before and they were removed). I'm trying to…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,144 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
851 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
4,933 questions
asked 2023-05-31T16:30:03.0866667+00:00
Dean Everhart 1,366 Reputation points
answered 2023-06-02T16:50:27.9533333+00:00
Bruce (SqlWork.com) 36,026 Reputation points
0 answers

APT2144 invalid file path error in file Xamarin.Android.Aapt2.targets. Error message gives a file path, which I can find using File Explorer. Help on error message says it can't be found

C:\Program Files\dotnet\packs\Microsoft.Android.Sdk.Windows\33.0.26\tools\Xamarin.Android.Aapt2.targets(123,3): error APT2144: invalid file path…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,418 questions
asked 2023-03-22T07:39:37.3233333+00:00
Papai Das 5 Reputation points
commented 2023-06-02T16:49:45.8866667+00:00
LSQ SOFT 0 Reputation points
0 answers

CreateRendererWithContext .net MAUI android

0 i am re using xamarin forms renderer in MAUI. while creating renderer with "CreateRendererWithContext" method getting exception. below is my code. using AndroidPlatform =…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,418 questions
asked 2023-06-01T09:46:36.4266667+00:00
Shirisha Siddamshetti 40 Reputation points
commented 2023-06-02T16:02:47.5233333+00:00
Shirisha Siddamshetti 40 Reputation points
2 answers

Is it possible to delete a WMI/CIM class using the Microsoft.Management.Infrastructure?

Every time I write a script, or code that uses WMI extensively, I tend to use the System.Management API. It's straight forward, flexible, and intuitive. However, This time I decided to use the Microsoft.Management.Infrastructure API, which contains the…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
7,486 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,068 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
731 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,158 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.
8,189 questions
asked 2023-05-31T22:22:40.65+00:00
Francisco Nabas 21 Reputation points
commented 2023-06-02T15:26:33.6166667+00:00
Rich Matheisen 38,831 Reputation points
0 answers

Conditional Format expiration dates

Hello, I am trying to conditional format my excel worksheet to highlight a colour when the certification is expired. The expiry dates in this case would be 3 years or 1095 days from date of certification. For example if I received a certification on…

F#
F#
A strongly typed, multi-paradigm programming language developed by the F# Software Foundation, Microsoft, and open contributors.
15 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.
47 questions
asked 2023-06-02T15:11:04.9766667+00:00
Vanessa Marrone 0 Reputation points
1 answer

Problem with SQLConnection class on MAUI for Android

I'm using Visual Studio 2022 for developing app in MAUI. My app shold have direct connection with Microsoft SQL server. I'm using Microsoft.Data.SQLClient package . On Windows everything works ok, but on Android emulator i cant connect . Errror is…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
9,793 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,418 questions
asked 2023-06-02T12:52:06.3333333+00:00
Piotr Żychski 0 Reputation points
answered 2023-06-02T15:02:05.8766667+00:00
Bruce (SqlWork.com) 36,026 Reputation points
1 answer

How to properly manage multiple versions of dotnet SDKs

I have to build an F# project which requires dotnet 7.0.201. I have dotnet 7.0.302 globally installed. The command could not be loaded, possibly because: * You intended to execute a .NET application: The application 'run' does not exist. *…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,158 questions
asked 2023-06-02T01:59:20.4+00:00
oracle 0133 0 Reputation points
edited a comment 2023-06-02T15:01:07.83+00:00
oracle 0133 0 Reputation points
1 answer

Does anybody know if MAUI has a utility or package for handling HEIF image format?

High Efficiency Image File Format (HEIF) is a new container format for storing digital images and increasingly replacing the JPEG format. As JPEG is still in use, there is usually the need to convert from HEIF to JPEG format. I looked around for…

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.
8,189 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,418 questions
asked 2023-05-11T11:39:16.93+00:00
dg2k 1,161 Reputation points
commented 2023-06-02T14:38:27.1633333+00:00
dg2k 1,161 Reputation points
0 answers

CollectionView template not support RTL

Hi, CollectionView template not support RTL. I attached the file:עברית.txt Please see the code: The results is: txt.עיברית <CollectionView ItemsSource="{Binding Data}"> <CollectionView.ItemTemplate> …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,418 questions
asked 2023-05-29T12:48:07.0333333+00:00
דני שטרית 821 Reputation points
commented 2023-06-02T14:25:46.68+00:00
דני שטרית 821 Reputation points