Microsoft Q&A

.NET

20,555 questions

Microsoft Technologies based on the .NET software framework.

Browse all .NET tags

20,555 questions with .NET-related tags

Sort by: Updated
0 answers

How to solve DOTNET-ISOLATED|8.0 has been deprecated as a language for Azure Functions

Migrated our previously working Azure Function from Isolated Net 7 to Isolated Net 8 (RC1) and it now fails with "Server Error. There was an unexpected error in the request processing." Diagnose and solve problems shows the following critical…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
583 questions
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
3,429 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,546 questions
asked 2023-09-22T04:24:33.5866667+00:00
Lindsay Mathieson 0 Reputation points
commented 2023-09-22T07:01:49.0633333+00:00
navba-MSFT 4,590 Reputation points Microsoft Employee
0 answers

ASP.Net Core Identity : Credential Obfuscation

I am new to ASP.Net Core Identity and new to Encryption. I followed the article @ https://learn.microsoft.com/en-us/aspnet/core/security/authentication/identity?view=aspnetcore-6.0&tabs=visual-studio I created a new Web App using ASP.NET Core Web App…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,546 questions
asked 2023-09-22T01:53:45.9833333+00:00
Dan Lee 0 Reputation points
commented 2023-09-22T06:53:19.2466667+00:00
Brando Zhang-MSFT 2,166 Reputation points Microsoft Vendor
1 answer

Fix .NET MAUI entry special characters not displayed

Hello, I just started using .NET MAUI and I followed this tutorial for beginners: https://www.youtube.com/playlist?list=PLdo4fOcmZ0oUBAdL2NwBpDs32zwGqb9DY. In this tutorial, the main view contains an entry and a button next to it to add the text in the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,834 questions
asked 2023-09-04T14:50:54.1366667+00:00
Arthur Pierrot 0 Reputation points
commented 2023-09-22T06:52:45.0233333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 53,671 Reputation points Microsoft Vendor
1 answer

.Net MAUI app unable to run on Windows server 2016 machine

Hi Team, I am working on Visual Studio 2022 on windows server 2016 machine. I have created a new .Net MAUI project, while running it( by selecting windows machine), getting below error - dep0600: deployment failed. entrypointnotfoundexception - unable…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,766 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,834 questions
asked 2023-09-06T17:59:50.5266667+00:00
salilsingh-9961 221 Reputation points
commented 2023-09-22T06:50:13.8366667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 53,671 Reputation points Microsoft Vendor
0 answers

ComboBox Appears Black in Windows 10 Using .NET Framework 4.8

Hello, I'm currently facing an issue with a ComboBox in a Windows application I developed using .NET Framework 4.8 on Windows 10. The ComboBox is appearing black, making it difficult to see which item is selected. However, when I click on it, it…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
8,811 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,017 questions
asked 2023-09-22T06:37:19.17+00:00
Woonsung Baek - 백운성 0 Reputation points
edited the question 2023-09-22T06:48:20.5933333+00:00
Woonsung Baek - 백운성 0 Reputation points
1 answer One of the answers was accepted by the question author.

ContentPage not (anymore) showing via 'url'

after some VS/w11 updates, a simple/static 'ContentPage' (MotivationPage) does not show anymore (see attached.png) PS: All other functions in the App work ok! Of course I do NOT exclude any changes I made ....! But I'm not aware of! environment: VS…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,766 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,834 questions
asked 2023-09-21T07:45:40.49+00:00
Eduard Kaufmann 171 Reputation points
accepted 2023-09-22T06:38:19.0466667+00:00
Eduard Kaufmann 171 Reputation points
3 answers

The type or namespace name 'Notes' could not be found

Hi, How to resolve such issue, to the line below? using Notes.Models;

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,145 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,766 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,944 questions
asked 2023-09-16T06:33:54.24+00:00
Peter_1985 2,116 Reputation points
commented 2023-09-22T06:29:37.7866667+00:00
Peter_1985 2,116 Reputation points
2 answers

how to come out of this error

solve this error please Sql error

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,631 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.
10,908 questions
asked 2023-09-12T09:31:24.6766667+00:00
vraj darji 0 Reputation points
edited the question 2023-09-22T06:25:12.6066667+00:00
Zhi Lv - MSFT 27,741 Reputation points Microsoft Vendor
1 answer

How to validate XML dataset when hexadecimal invalid character arrives

I am processing some xml document. while reading xml value through dataset, I am getting below error. System.Xml.XmlException: ''', hexadecimal value 0x02, is an invalid character. Line 1, position 989.' How to avoid this...? How to validate and…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,017 questions
asked 2023-09-21T09:49:42.04+00:00
Gani_tpt 1,401 Reputation points
commented 2023-09-22T06:18:25.1966667+00:00
Gani_tpt 1,401 Reputation points
1 answer

Publish - omit multi languages folders

Hi, When publishing Maui app as exe it create these folder(320 MG). What are these folder ? if i do not use multi- languages, it can be avoided through publish action ? My publish command is: dotnet publish -f net7.0-windows10.0.19041.0 -c Release…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,834 questions
asked 2023-09-14T08:32:19.04+00:00
דני שטרית 1,161 Reputation points
commented 2023-09-22T06:04:48.9166667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 53,671 Reputation points Microsoft Vendor
1 answer

How to create HTTP Error Handling for the PUT method?

Hi, I would like to know how create HTTP Error Handling for the PUT method and rendering the information to user in UI. I guess that it's also possible to make GLobal HTTP Error Handling for all methods! I've created the put method which, when two users…

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,102 questions
asked 2023-09-20T15:57:55.88+00:00
sblb 1,141 Reputation points
edited a comment 2023-09-22T06:03:50.56+00:00
sblb 1,141 Reputation points
1 answer One of the answers was accepted by the question author.

How to view the pdf file from MAUI?

I need to view the pdf file in my MAUI application. Dedicated popup page to view my pdf file with Zoom, pan controls Target platform - Windows

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,834 questions
asked 2023-06-18T15:25:30.0433333+00:00
Sowndarrajan Vijayaragavan 250 Reputation points
commented 2023-09-22T05:50:45.86+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 53,671 Reputation points Microsoft Vendor
0 answers

Visual Studio 2022 Xamarin iOS Cannot Automatically Restart App After Build

I use Microsoft Visual Studio Enterprise 2022 (64-bit) - Current Version 17.6.4. I have created a new blank project and connected it with iMac 2012 Catalina xCode 12.4 and Mac Book Pro 2018 Ventura xCode 14.3.1. Everytime I Build the app, at the first…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,145 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,766 questions
asked 2023-09-22T05:36:28.29+00:00
Yohanes AI 0 Reputation points
3 answers

Asp.net core razor pages(.cshtml) not loading properly after upgrading to .net 6 and angular 14

Hi Team, Currently, in my project, we have the angular and .net core apps. The project was created using an SPA template adding angular to it. The projects had a few razor pages included. Now the issue is those razor pages not loading properly in CI/CD…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,017 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,546 questions
asked 2023-09-04T10:06:53.6+00:00
Umapathi Arumugam 0 Reputation points
commented 2023-09-22T04:50:43.28+00:00
Umapathi Arumugam 0 Reputation points
0 answers

How to shipped UWP platform specific assemblies (ANY CPU, X86,x64,ARM) inside lib/uap10.0

How to shipped UWP platform specific assemblies (ANY CPU, X86,x64,ARM) inside lib/uap10.0

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,145 questions
Universal Windows Platform (UWP)
asked 2023-08-18T05:45:53.7466667+00:00
Hemalatha Duraisamy 0 Reputation points
commented 2023-09-22T04:42:18.98+00:00
Hemalatha Duraisamy 0 Reputation points
0 answers

How to customize everyone Tab in TabBar

For example, I want create Shell with TabBar. BG of TabBar must be blue, and BG of Current Tab in TabBar must be orange. How can I do it?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,834 questions
asked 2023-09-21T06:41:01.4666667+00:00
Иван Константинов 0 Reputation points
commented 2023-09-22T04:26:09.2866667+00:00
Иван Константинов 0 Reputation points
2 answers

Marshal does not contain a definition for GetLastPInvokeError

In Visual Studio 2019 I'm getting complier error CS0117: 'Marshal' does not contain a definition for 'GetLastPInvokeError' My console application project targets .net framework 4.7.2, which should define GetLastPInvokeError according to the docs (.net…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,017 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,766 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.
1,041 questions
asked 2023-09-21T17:11:30.6266667+00:00
pWire 0 Reputation points
answered 2023-09-22T04:13:40.5033333+00:00
Jiale Xue - MSFT 10,156 Reputation points Microsoft Vendor
0 answers

Can AnchorTagHelper specify different controllers with the same name?

I have multiple controllers with the same name in different namespaces. To explain clearly what I want to do, I first briefly show part of my code. I created a ViewLocationExpander class. Its main function is to automatically find the view corresponding…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,546 questions
asked 2023-09-21T00:59:44.6833333+00:00
刘琦 0 Reputation points
commented 2023-09-22T04:00:19.3233333+00:00
刘琦 0 Reputation points
1 answer

SSL connection could not be established with .Net HttpClient

Hi, Attempting to make api calls to Yelp Fusion via .Net 3.1 api but receiving the following error: Error Message: The SSL connection could not be established, see inner exception. Source: System.Net.Http Trace: at…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,546 questions
asked 2023-09-22T00:20:37.9133333+00:00
wrappingduke 1 Reputation point
answered 2023-09-22T03:44:40.2866667+00:00
Bruce (SqlWork.com) 43,906 Reputation points
0 answers

Opening pdf file from url

Hi I am using this code to open a pdf file from a url; var DocPath = "http://mydomain.com/Docs/MyDoc.PDF"; Launcher.TryOpenAsync(new System.Uri(DocPath)); However I am getting the 'Cannot display PDF (MyDoc.PDF cannot be opened)' error. Tried…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,834 questions
asked 2023-09-21T04:12:32.6833333+00:00
-- -- 796 Reputation points
commented 2023-09-22T03:25:29.4266667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 21,046 Reputation points Microsoft Vendor