26,432 questions with .NET-related tags

Sort by: Updated
0 answers

Adding Blazor Identity to existing Blazer project fails with a 'null path' exception

Hi! I have the following: .Net SDK 9 Visual Studio Community 2022 v 17.12.3 Windows v10.0.19044 Blazer Server App When I try to add the Blazor Identity "scaffolding" I get a "There was an error running the selected code generator:…

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,629 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,295 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.
11,136 questions
asked 2024-12-18T11:16:39.07+00:00
kodo65 0 Reputation points
commented 2024-12-18T13:03:48.1633333+00:00
kodo65 0 Reputation points
0 answers

iOS app is getting crashed while navigating to another page.

iOS app is getting crashed while navigating to another page and there are no exact replication steps. This is a random crash and happening on multiple pages while navigating between pages. Below is the crash log from app center and any quick help would…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,742 questions
asked 2024-12-18T12:58:42.6766667+00:00
Satya 125 Reputation points
edited the question 2024-12-18T13:02:19+00:00
Satya 125 Reputation points
0 answers

face registration and face authentication

hello, I am developing a app in .NETMaui. I am searching for a way where I can create a database for faces with face registration(taking picture of left profile, right profile and front face) and save it. Authenticate the user using this face database…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,742 questions
asked 2024-12-18T12:16:22.29+00:00
Pearl 61 Reputation points
0 answers

How to change the size of MAUI Shell back button? For improved use when using tablets with gloves

Hello :) I am working on a team developing a MAUI app for engineers. Many of our users have suggested enlarging the back button for better use with gloves. In my AppShell.xaml I have attempted to use Shell.BackButtonBehaviour and IconOverride to…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,742 questions
asked 2024-12-18T11:19:06.3866667+00:00
Tom Roberts 0 Reputation points
2 answers

How to arrest '.axd' files from script level/Web.config/IIS & how to set Referrer Http header in Sever Side/Web.config

Hi Team, 1: We are using Script manager for 'Alerts & Js' because of this we are identifying ScripResource.axd & webResource.axd files while running the application. 2: We have a created Rule for 'Referer HTTP' header in Web.config file ,…

Internet Information Services
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,542 questions
asked 2022-10-14T07:20:39.917+00:00
Sriram K 1 Reputation point
edited a comment 2024-12-18T11:02:39.9833333+00:00
TP 100.2K Reputation points
2 answers

how to get musics in mobile in MAUI?

I create mp3 player in MAUI and how to get the musics in the mobile? in android and ios?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,742 questions
asked 2024-12-05T15:27:13.1966667+00:00
mc 4,921 Reputation points
commented 2024-12-18T10:31:34.8033333+00:00
mc 4,921 Reputation points
1 answer

Minimal APIs in Blazor with RequireAuthorization() using Individual Account

In my .NET8 Blazor project, I added the Individual Account to manage the users. Now, in order to save the data in the database, I added some minimal endpoints like public static void MapClientEndpoints (this IEndpointRouteBuilder routes) { var…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,692 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,629 questions
asked 2024-12-17T23:58:25.46+00:00
Enrico Rossini 196 Reputation points
edited an answer 2024-12-18T09:53:59.2866667+00:00
Ruikai Feng - MSFT 2,581 Reputation points Microsoft Vendor
0 answers

Unable to Add IPv6 Address in Reply URL and Logout URL Fields in Basic SAML Configuration

Can we use an IPv6 address in the Reply URL and Logout URL fields? Based on testing, it appears these fields do not allow square brackets, and the colon (:) is only accepted when specifying a port number. Is this limitation expected, or is there a…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,992 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.
11,136 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
22,584 questions
asked 2024-12-18T09:42:58.4466667+00:00
Venkatesh Naik 40 Reputation points
edited the question 2024-12-18T09:50:58.1166667+00:00
VenkateshDodda-MSFT 22,811 Reputation points Microsoft Employee
0 answers

How to Migrate ButtonRenderer to .NET MAUI (Handler-Based Approach)? ButtonRenderer Not Working in MAUI

I’m currently migrating a Xamarin project to .NET MAUI, and I need help understanding how to use custom button rendering in .NET MAUI with the new handler-based architecture. What I’ve Tried: I tried using the ButtonHandler class in MAUI, but I ran…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,742 questions
asked 2024-12-18T09:44:38.8266667+00:00
KarPreet 60 Reputation points
1 answer One of the answers was accepted by the question author.

Tooltip look transperant

Hi, I'm using NET 8 and tooltip in some computer look transparent. How is can be solved ? <Label Text="{Binding Name}" VerticalTextAlignment="Center" ToolTipProperties.Text="{Binding}" />

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,742 questions
asked 2024-12-16T09:45:56.1466667+00:00
Dani_S 3,846 Reputation points
commented 2024-12-18T09:44:21.6366667+00:00
Dani_S 3,846 Reputation points
1 answer

.NET MAUI Not Properly Recognizing iOS Provisioning Profiles, Even Those Created Minutes Prior

To all: I've been trying to port an app I wrote last summer in Xamarin Forms over to the latest version of .NET MAUI. I had few issues (but not none) with the Android version, but - as usual - iOS is so arcane that either Microsoft's engineers are…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,742 questions
asked 2024-12-06T00:27:43.7033333+00:00
Small Screen Software 0 Reputation points
edited a comment 2024-12-18T09:12:04.67+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 33,346 Reputation points Microsoft Vendor
2 answers

WPF: BackgroundWorker.RunWorkerCompleted Event Not Triggering in x64 Release, why?

Our WPF application targets .NET 4.8. We have posted a question in the link: https://learn.microsoft.com/en-us/answers/questions/2128611/why-does-backgroundworker-runworkercompleted-onrun. In the above link, the solution is using BackgroundWorker…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,992 questions
asked 2024-12-17T19:36:40.07+00:00
Jane Jie Chen 446 Reputation points
answered 2024-12-18T08:05:18.6966667+00:00
Hongrui Yu-MSFT 3,405 Reputation points Microsoft Vendor
1 answer

Multicast UDP Packets Stopped Working

I have a MAUI ios and android app. I originally created it with net7 and then updated it to net8. I use the following code to "ping" a device on my network that I also created: try { using (UdpClient udpClient = new UdpClient(new…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,742 questions
asked 2024-12-07T20:58:58.8333333+00:00
Tony Pitman 76 Reputation points
commented 2024-12-18T07:21:40.06+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 33,346 Reputation points Microsoft Vendor
0 answers

The MAUI application's UI does not render properly on a machine that does not have Visual Studio installed.

I am encountering an issue where the UI of my .NET MAUI application does not render properly on a machine that does not have Visual Studio installed. Here are the specific details: System Information: System 1 (Windows 10): Processor: Intel(R)…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,742 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.
11,136 questions
asked 2024-12-12T08:55:44.2133333+00:00
Viral Rathod 0 Reputation points
edited the question 2024-12-18T07:12:31.9833333+00:00
Viral Rathod 0 Reputation points
1 answer One of the answers was accepted by the question author.

how to use custom font in MAUI ios?

I am using .net MAUI and i want to use CGContext in platform ios I want to showText but it is not showing right with unicode text. but I can not load font using bytes but only can use context.SelectFont('Arial',15,CGTextEncoding.MacRoman) but how to use…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,742 questions
asked 2024-12-17T02:56:34.74+00:00
mc 4,921 Reputation points
commented 2024-12-18T06:38:33.74+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 33,346 Reputation points Microsoft Vendor
1 answer

Why do I get error "provide a properly configured and signed bearer token" when creating cert after upgrade to VS 17.12

I recently upgraded to Visual Studio 2022 17.12. At about the same time, my ios development cert expired. So I needed to create a new development certificate. First I tried to create a one using the "Create Certificate" dropdown by: Choosing…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,742 questions
asked 2024-12-04T18:56:41.9666667+00:00
Kurt K 156 Reputation points
edited an answer 2024-12-18T06:19:27.73+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 33,346 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How to retrieve SharePoint site load times, search performance, retention policies, compliance policies in asp dotnet core web api?

I want to retrieve SharePoint site load times, search performance, retention policies, compliance policies in asp dotnet core web api. Please suggest any documentation.

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,692 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,608 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,984 questions
asked 2024-12-09T12:45:11.3466667+00:00
Manishankar T S 60 Reputation points
accepted 2024-12-18T06:13:55.63+00:00
Manishankar T S 60 Reputation points
2 answers

The Webview does not display PDF

iOS is displaying pdf but android WebView does nothing. I want to open a pdf from a web resource on WebView. But the WebView does not render the pdf. On the other hand the webpages are displayed on WebView without any problem.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,742 questions
asked 2024-12-16T13:31:29.8466667+00:00
Umakant Sharma 0 Reputation points
answered 2024-12-18T06:00:04.4433333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 45,811 Reputation points Microsoft Vendor
1 answer

How to prevent Visual Studio from automatically reformatting C# code

In my Form.cs files, Visual Studio (2022) automatically reformats my code whenever I create a new event handler. Specifically, it deletes spaces and indentations. Original code looks like this: private void OnTemperature(object sender,EventArgs e)…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,992 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,295 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.
11,136 questions
asked 2024-12-17T21:47:00.3233333+00:00
Ed Hoppe 0 Reputation points
answered 2024-12-18T04:10:23.6266667+00:00
Anna Xiu-MSFT 30,271 Reputation points Microsoft Vendor
0 answers

Facing error on .NET MAUI

I have been following https://learn.microsoft.com/en-us/training/modules/create-user-interface-xaml/8-exercise-add-behavior-xaml-page while building code facing error on build, cross checked code with provided in tutorial as well and placement of file is…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,742 questions
asked 2024-12-17T20:19:15.8366667+00:00
Naseer Ahmed 0 Reputation points
edited the question 2024-12-18T03:44:30.2+00:00
Pradeep M 4,400 Reputation points Microsoft Vendor