Microsoft Q&A

.NET

12,858 questions

Microsoft Technologies based on the .NET software framework.

Browse all .NET tags

452 questions with .NET-related tags

Sort by: Updated
0 answers

game slots baik

Segera daftarkan diri anda karena modal awal yang kecil akan membuat anda mendapatkan keuntungan yang lebih besar. Akses link alternatif vegasslots untuk mendapatkan situs resmi agar pendaftaran anda cepat, aman dan terpercaya. Transaksi yang sudah masuk…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
599 questions
asked 2023-01-28T07:06:18.3166667+00:00
bagus santoso 0 Reputation points
0 answers

When entering a "T" in an asp.net multi-line text box, only one <Shift> key event is caught by the onkeydown event handler of the text box.

In an ASP.NET writable multiline text box, when a "T" is entered, only a <Shift> key keydown event is caught by the text box's onkeydown event handler, and the "T" never shows up. This is running in Microsoft Edge browser. Web…

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.
142 questions
asked 2023-01-27T22:40:39.66+00:00
kip2023 0 Reputation points
0 answers

Convert Image in Byte array with the same PixelFormat

Hi I had a System.Drawing.Image object with PixelFormat.Format8bppIndexed, If I convert it in a Byte Array through Image.Save(Stream, ImageFormat), and create a new image based in this Byte Array, the new image has PixelFormat.Format24bppRgb. My final…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
599 questions
asked 2023-01-27T21:45:58.9266667+00:00
Abraham Carrillo 6 Reputation points
0 answers

Upgrade my Azure Function from .net Core 3.1 to .net Core 7.0. Error "'Could not load file or assembly 'Microsoft.Extensions.Configuration.Abstraction

I have an Azure Function which run on .net core 3.1, but when i change the .net version from 3.1 to 7 i got this error:- System.IO.FileNotFoundException: 'Could not load file or assembly 'Microsoft.Extensions.Configuration.Abstractions, Version=7.0.0.0,…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,524 questions
asked 2023-01-27T16:29:45.1233333+00:00
john john 676 Reputation points
edited the question 2023-01-27T16:32:37.7666667+00:00
john john 676 Reputation points
0 answers

Shell Navigation and using a Dictionary to pass values.

I am trying to learn how to pass complex data types to a page using a Dictionary. As you can see in the example code below that Name was hardcoded, but I was wondering what is the best practice if I wanted to dynamically set the Name property in the view…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
871 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.
6,914 questions
asked 2023-01-27T15:01:59.6933333+00:00
Ronald Rex 506 Reputation points
edited the question 2023-01-27T15:16:32.2166667+00:00
Ronald Rex 506 Reputation points
0 answers

How to sign using a certificate?

I have been trying to digitally sign my code using a certificate, but I am going to the project properties window, and not seeing the signing tab when I'm there. Is there anything I need to have downloaded in order to do this? Or is there a way to…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
599 questions
asked 2023-01-27T14:42:44.78+00:00
Navya Ajay 0 Reputation points
0 answers

How can i call a stored procedure Oracle In Entity framework6

I have a proc in oracle that return somme parameters and one of this parameter is a record of table in sql developper declare -- Non-scalar parameters require additional processing p_tab_charge_account…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
599 questions
asked 2023-01-27T14:37:29.33+00:00
BITAR Yoan 0 Reputation points
0 answers

physical server cannot be added to a team PCI-E nıc card

hello everyone server hp gen 10v2 it has a LOM onborad 10g nic card and extra PCI-E 10g cards installed on PCI slot but we can not add PCI-E cards in a team we get this mesages "cannot be added to a team" normally we could added to team LOM and…

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
8,142 questions
Windows Communication Foundation
Windows Communication Foundation
A Microsoft runtime and set of application programming interfaces in the .NET Framework for building service-oriented applications.
258 questions
asked 2023-01-27T07:29:30.18+00:00
Deniz Armagan 0 Reputation points
0 answers

Exception "Scheme already exists" when trying to implement multiple authentication schemes

For a Azure app service that uses two different app registrations for internal and external users I want to implement multiple authentication schemes. I use a ASP.NET Core web application (.NET6) with the following app…

Azure Web Apps
Azure Web Apps
A feature of Azure App Service used to create and deploy scalable, mission-critical web apps.
4,302 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,524 questions
asked 2023-01-26T11:56:01.52+00:00
Jörg Auberg (Admin) 0 Reputation points
edited the question 2023-01-27T05:12:22.5633333+00:00
ajkuma 13,366 Reputation points Microsoft Employee
0 answers

Xamarin.Form make OutBound Call with SpeakerPhoneOn

It use to be that AudioManager allowed to turn SpeakerPhone On and Off during InBound and OutBound Call. I have posted several question for Android 10-13 with Xamarin each of which have fallen on deaf ears. WHY? Could it'd be that Google has sabotage the…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,803 questions
asked 2023-01-25T21:38:47.23+00:00
Universal Camera 286 Reputation points
0 answers

EF Core 7 - System.InvalidOperationException

Hi, Can someone please help? I am trying to insert a record with an FK using DBContext. EF Core keeps saying that the Country is already tracked. I am aware that EF Core thinks that I am inserting a new country but that's not my intention. In the below…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
420 questions
asked 2023-01-25T17:11:00.65+00:00
Raymart Atienza 1 Reputation point
0 answers

Powershell command to list all the app pool settings including recycling and advanced properties

Is there a powershell command to list all the app pool settings including recycling and advanced properties? I looked at the applicationhost file and that is not helpful. I would like to create a report using Powershell of all app settings as I need them…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
599 questions
asked 2023-01-25T14:33:15.34+00:00
Peter S 0 Reputation points
0 answers

In .NET MAUI, how can I implement zooming and scrolling functionality in a GraphicsView element?

Dot NET version - 7 Platform - Android or iOS Vishal studio - latest updated ///Xaml code <ScrollView Orientation="both"> <GraphicsView x:Name="graphicsView"> …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
871 questions
asked 2023-01-25T03:05:11.13+00:00
S GAIKWAD 206 Reputation points
edited the question 2023-01-25T03:24:12.51+00:00
S GAIKWAD 206 Reputation points
0 answers

how to pass one of the incoming request header values to the downstream request path value

how to pass one of the incoming request header values to the downstream request path value in the ocelot configuration file using .net core 6.0 & ocelot 18.0 The incoming request has header information like property ex:11313 existing downstream has…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,524 questions
asked 2023-01-24T10:40:01.3866667+00:00
Ramanjaneyulu Jerugula 0 Reputation points
0 answers

How to go from 2004 to 21h2

Hi so i tried resetting my pc to go back to 21h2 but for some reason it made my winver go to 2004 when it originally was at 21h2 how do i go back to 21h2? My winver is currently at 2004

.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.
14 questions
asked 2023-01-24T02:33:11.2266667+00:00
Jas 0 Reputation points
0 answers

Why do I get a resource not found when disabling Hot Reload

If I disable hot reload I get a Gray950 resouce not found. This is such an indication of the major problems that VS 2022 has. There is no relationship between the two. The only reference that I could find about Gray950 is that it is a resource used in…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
871 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
2,390 questions
asked 2023-01-23T22:03:46.8+00:00
Lloyd Sheen 756 Reputation points
0 answers

How Do I Return ContentDisposition.FileName -PDF from a Method To be Attached to MailMessage

Kindly show me how to achieve this. I have a method SendRenewalNotification() that sends Policy Renewal Notification to Clients. This Method calls another Method called PolicyScheduleGenerator() that Generates PDFs to be attached to MailMessage. …

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.
390 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
579 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.
142 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,174 questions
asked 2023-01-23T18:03:39.4366667+00:00
abiodunajai 146 Reputation points
edited the question 2023-01-23T18:21:35.97+00:00
abiodunajai 146 Reputation points
0 answers

How to trigger openID authorization when Custom Attribute fail in ASP.net core MVC

Im porting a preveious application written in MVC 5 to ASP.net core MVC, So i created a custom attribute by following this link https://www.c-sharpcorner.com/blogs/authorization-attribute-in-asp-net-core-web-api and we have our own custom validation on…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,524 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
579 questions
asked 2023-01-23T07:25:12.7233333+00:00
cebuhax0r 21 Reputation points
0 answers

Why does MAUI iOS not build with "$placeholder$.scale" factors in the project file?

Since my last upgrade of VS, in the MAUI project file, if the second ItemGroup is present, the project will not build. It previously did. It will build for Android and Windows projects. <ItemGroup> <None…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
871 questions
asked 2023-01-22T16:43:02.17+00:00
Marc George 61 Reputation points
edited the question 2023-01-22T16:52:54.97+00:00
Marc George 61 Reputation points
0 answers

The quality of the image rendered using RenderTargetBitmap.RenderAsync is poor on consecutive conversion

Hi, I am trying to convert the convert the Xamarin.Forms.Image to image in UWP using RenderTargetBitmap.RenderAsync API. The quality of the converted image is reduced. On consecutive conversion i.e., adding the converted image back to the page and…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,803 questions
Universal Windows Platform (UWP)
asked 2023-01-17T13:55:23.8833333+00:00
Imman Kumar 6 Reputation points
edited the question 2023-01-20T11:34:30.75+00:00
Imman Kumar 6 Reputation points