Microsoft Q&A

.NET

12,839 questions

Microsoft Technologies based on the .NET software framework.

Browse all .NET tags

12,839 questions with .NET-related tags

Sort by: Updated
1 answer

Visual Studio Community 2022 (64-bit) v17.4.4 not showing any compile time errors for MAUI project.

Hi, I am using Microsoft Visual Studio Community 2022 (64-bit) - Current Version 17.4.4 for my MAUI projects but is not showing any compile time errors . is it any plugin missing?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
868 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,384 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
693 questions
asked 2023-01-24T09:18:11.29+00:00
Sachin 21 Reputation points
commented 2023-01-27T10:04:14.5633333+00:00
Sachin 21 Reputation points
1 answer

Windows 10 .Net 6 or .Net 7 runtime getting error Could not load file or assembly 'Microsoft.Extensions.Logging.Abstractions, Version=7.0.0.0

.NET
.NET
Microsoft Technologies based on the .NET software framework.
593 questions
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
2,573 questions
asked 2023-01-25T08:31:29.4233333+00:00
RTAYLI Oumaima 0 Reputation points
commented 2023-01-27T10:01:41.07+00:00
MayankBargali-MSFT 49,466 Reputation points Microsoft Employee
1 answer

How to use HttpContext or Claims in __Layout.cshtml?

I am using asp.net core 7.0 how to get UserClaims in Pages/Shared/_Layout.cshtml ? I do not want to use ViewData because I have to set it in each page.

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,516 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.
387 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
574 questions
asked 2023-01-27T07:05:48.23+00:00
打玻璃 1,406 Reputation points
edited an answer 2023-01-27T09:54:25.35+00:00
JasonPan - MSFT 1,066 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

Maui android on screen keyboard issue

Hello all. How I can modify the on screen keyboard for my application. I want that the on screen keyboard when my app run to contain only the alphanumeric and a few non alphanumeric characters. How I can do that and when exit my app to return…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
868 questions
asked 2023-01-24T07:23:50.46+00:00
Haviv Elbsz 461 Reputation points
accepted 2023-01-27T09:37:15.06+00:00
Haviv Elbsz 461 Reputation points
5 answers

Blazor Error list stays empty

Hi there, The Error list stays empty while using blazor. The errors existing in Blazor components cause build errors but the errors aren't shown in the error list. With kind regards

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
780 questions
asked 2022-09-10T06:00:15.757+00:00
Ingmar Crone 26 Reputation points
answered 2023-01-27T09:10:21.6466667+00:00
Eric Bos 0 Reputation points
2 answers

Getting User Details from Azure AD in ASP.NET

In my ASP.NET 4.8 MVC application, I was able to get user authenticated using Azure AD. Now I need to get user details like job title, department, email, etc. From the research I did so far, it looks like MS Graph API is the way to go. Am I correct? Can…

ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
574 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,172 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.
387 questions
Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
12,550 questions
asked 2023-01-17T14:32:53.06+00:00
Joe Green 141 Reputation points
edited an answer 2023-01-27T08:04:51.4433333+00:00
Givary-MSFT 11,251 Reputation points Microsoft Employee
1 answer

How to use UIWebView in the Xamarin.Forms iOS part?

Hi, I have a Xamarin.Forms application. I integrated Airwatch SDK (WorkspaceOne.Forms) into the iOS part. Now, I am trying to app tunneling with Airwatch SDK. For this reason I have added ModernHttpClient Handler to all of the HttpClients on my project.…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,803 questions
asked 2023-01-26T11:10:54.5066667+00:00
Pelin Konaray 266 Reputation points
commented 2023-01-27T08:04:19.9033333+00:00
Pelin Konaray 266 Reputation points
0 answers

Executing Stored Procedures based on condition in Razor Pages

Hi, I have a function that executes two stored procedures based on a condition. Stored procedure for the first condition works fine, but stored procedure for the second condition fails. public async Task<JsonResult>…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,516 questions
Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
421 questions
asked 2023-01-27T05:38:24.0033333+00:00
Blooming Developer 191 Reputation points
commented 2023-01-27T07:47:33.2466667+00:00
Olaf Helper 25,476 Reputation points
0 answers

Upload a File One drive using MS Graph API in C#

when I am Uploading a File using Onedrive MS graph API in C# the file get Uploaded but every time i got a mail to that one drive account. I have set all notifications off from the one drive settings but still i am getting an email on every time file…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,172 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
552 questions
asked 2023-01-26T18:56:59.4+00:00
Pradyut Sinha 6 Reputation points
commented 2023-01-27T07:37:34.7333333+00:00
Zehui Yao_MSFT 3,341 Reputation points Microsoft Employee
1 answer

How to ignore ETag checking and fix this error

I read from and write to blob content in Azure blob storage. File is being changed (new content is getting appended to the file) at the same time while it is being downloaded. I get error in the below stream.Read() line. Which I believe is because of…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,516 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.
780 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,905 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
1,386 questions
asked 2023-01-18T12:50:17.69+00:00
Sarah 131 Reputation points
answered 2023-01-27T07:36:23.73+00:00
SaiKishor-MSFT 14,916 Reputation points Microsoft Employee
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,135 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

Unable to Resolve Scaffolding Issue in ASP.NET Core MVC Application

I'm getting the following error when I try to scaffold the Login, Logout, and Register pages. I ran the Visual Studio Installer to and clicked on the ASP.NET web development workflow to ensure I have all of the required tools installed. Version…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,516 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,384 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
574 questions
asked 2023-01-25T03:05:53.0133333+00:00
Xenu 0 Reputation points
commented 2023-01-27T07:29:09.0633333+00:00
Tianyu Sun-MSFT 12,846 Reputation points Microsoft Employee
1 answer

Check if two frames are overlapping in .net maui

is it possible to detect it when two frames are overlapping (even when they don't have the same parent)? I need it for my .net maui project (A game in .net maui) this is how I have the hitboxes and players set up (the Frames will get added into…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
593 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
868 questions
asked 2023-01-26T10:32:06.7033333+00:00
Mielesplayz 241 Reputation points
edited an answer 2023-01-27T07:01:51.9733333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 10,981 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

Maui android<helpview /> control issue

Hello all. because there is no helpview control. Is someone here can give me a way to add help to my application. Thank you very much

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
868 questions
asked 2023-01-23T10:25:17.8233333+00:00
Haviv Elbsz 461 Reputation points
accepted 2023-01-27T06:38:03.3533333+00:00
Haviv Elbsz 461 Reputation points
0 answers

Connect programmatically to a wifi network

Hi, I'd to know how can I connect do a wifi network with hide ssid programmatically? Thanks. Renan Paiva

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
868 questions
asked 2023-01-26T14:35:19.6533333+00:00
Renan Paiva 1 Reputation point
commented 2023-01-27T06:27:25.2766667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 10,981 Reputation points Microsoft Employee
1 answer

Ghodi Booking For Marriage Near Me

Wedding season is upon us and if you're looking for a unique ride to make a grand entrance, look no further than the Ghodi Wala! This traditional horse-drawn carriage is a popular choice for weddings in India, and it's easy to see why. The Ghodi Wala is…

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.
387 questions
Azure Web Apps
Azure Web Apps
A feature of Azure App Service used to create and deploy scalable, mission-critical web apps.
4,294 questions
Windows 10 Compatibility
Windows 10 Compatibility
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Compatibility: The extent to which hardware or software adheres to an accepted standard.
369 questions
PowerPoint Management
PowerPoint Management
PowerPoint: A family of Microsoft presentation graphics products that offer tools for creating presentations and adding graphic effects like multimedia objects and special effects with text.Management: The act or process of organizing, handling, directing or controlling something.
175 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
4,610 questions
asked 2023-01-27T06:23:24.7366667+00:00
Bandbaajabarat04 0 Reputation points
answered 2023-01-27T06:23:43.09+00:00
Bandbaajabarat04 0 Reputation points
1 answer

Changing IIS application pool identity causes issues

Hello, I am currently in the process of changing the user running the application pool for my IIS .NET 6 website. I am switching it from a domain user to another domain user with identical rights and group memberships. Although my website appears to be…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,516 questions
Internet Information Services
asked 2023-01-26T12:15:24.2466667+00:00
randylaheydev 0 Reputation points
commented 2023-01-27T06:18:52.2133333+00:00
Sam Wu-MSFT 5,126 Reputation points Microsoft Employee
2 answers

Multiple authentication schemes do not work on Azure (app fails to start)

I try to work with two app registrations that uses one app service. appsettings.json "AzureAdInternal": { "Instance": "https://login.microsoftonline.com/", "Domain": "demo.example.com", …

Azure Web Apps
Azure Web Apps
A feature of Azure App Service used to create and deploy scalable, mission-critical web apps.
4,294 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,516 questions
asked 2023-01-20T12:55:41.74+00:00
Jörg Auberg 20 Reputation points
commented 2023-01-27T05:56:11.41+00:00
JasonPan - MSFT 1,066 Reputation points Microsoft Employee
2 answers

Unable parse Json

Can any body help me parse the below json in ASP.net C# i need the grantedTo": email and Id also. I have tried many ways but unable to parse. Can anybody…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,172 questions
asked 2023-01-26T19:22:34.45+00:00
Pradyut Sinha 6 Reputation points
edited an answer 2023-01-27T05:55:24.6833333+00:00
QiYou-MSFT 851 Reputation points Microsoft Employee
1 answer

Loop through Controls in ScrollView and Get the Data

Hi, In below XAML: <ScrollView x:Name="ScrollViewDetails" Grid.Row="1"> <VerticalStackLayout> <VerticalStackLayout x:Name="StackLayoutPhones"> <BindableLayout.ItemTemplate> …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
868 questions
asked 2023-01-20T21:11:41.77+00:00
Jassim Al Rahma 1,046 Reputation points
edited a comment 2023-01-27T05:44:37.8+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 41,081 Reputation points Microsoft Employee