26,419 questions with .NET-related tags

Sort by: Updated
0 answers

Is UseMauiCompatibility needed in Net9

When I upgraded from .Net8 to .Net9 my Hot Restart stopped working and the app would crash after it displayed the splash screen. When I added the line ".UseMauiCompatibility()" in the MauiProgram.cs the app would then load without…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,737 questions
asked 2024-12-17T16:55:57.0766667+00:00
Derek 0 Reputation points
edited the question 2024-12-17T16:57:12.0833333+00:00
Derek 0 Reputation points
0 answers

How to change the size of MAUI Shell back button?

Hello :) I have a .NET MAUI app using Shell navigation. This app is made for engineers, so when used they are normally wearing gloves. A suggestion made by a user is to make the Back button larger so it is easier to press when wearing gloves. Using the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,737 questions
asked 2024-12-17T15:57:00.2166667+00:00
Tom Roberts 0 Reputation points
1 answer One of the answers was accepted by the question author.

How to Set ASP.NET Core Identity Role Automatically

I want to make user login part in asp.net core project using identity package. it's work fine. What I would like to do in addition is to fix the roll. When I update the database after add-migration all the roles should be inserted in the database. If i…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,690 questions
asked 2024-02-10T11:55:39.48+00:00
jewel 1,046 Reputation points
commented 2024-12-17T15:47:57.5+00:00
Sahil 0 Reputation points
2 answers One of the answers was accepted by the question author.

Disable Information Logging

Hello, How do I disable the logging so I don't see those odd messages in the console (Google Chrome) ?? Whenever I run my blazor 8.0 app the following messages are displayed: Information: Normalizing '_blazor' to ' LINK Information: WebSocket connected…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,690 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,627 questions
asked 2024-12-16T18:26:28.2633333+00:00
Kuler Master 286 Reputation points
accepted 2024-12-17T14:45:56.32+00:00
Kuler Master 286 Reputation points
0 answers

Error Validating the service descriptor

Good day all. I come across several errors in the past day, that were not present prior to my removing a service from my application. While this service did not touch any of these classes that are showing the error, I am at a loss on how to resolve it.…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,988 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,690 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,988 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,690 questions
asked 2024-12-12T03:51:43.05+00:00
Michael Mastro II 51 Reputation points
commented 2024-12-17T13:53:16.7666667+00:00
Michael Mastro II 51 Reputation points
0 answers

Error Validating the service descriptor

Good day all. I come across several errors in the past day, that were not present prior to my removing a service from my application. While this service did not touch any of these classes that are showing the error, I am at a loss on how to resolve it.…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,988 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,690 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,988 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,690 questions
asked 2024-12-12T03:51:43.05+00:00
Michael Mastro II 51 Reputation points
commented 2024-12-17T13:53:16.7666667+00:00
Michael Mastro II 51 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,737 questions
asked 2024-12-17T02:56:34.74+00:00
mc 4,881 Reputation points
edited a comment 2024-12-17T13:47:45.7266667+00:00
mc 4,881 Reputation points
0 answers

How to sign in to arup

Can anyone help me? Usually, when I reset my laptop, it shows microsoft sign-in but right now it shows arup emai. I am not familiar with arup. Should I continue?

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,132 questions
F#
F#
A strongly typed, multi-paradigm programming language developed by the F# Software Foundation, Microsoft, and open contributors.
75 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.
112 questions
asked 2024-12-17T13:31:21.52+00:00
jred dela cruz 0 Reputation points
1 answer

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,737 questions
asked 2024-12-16T09:45:56.1466667+00:00
Dani_S 3,846 Reputation points
commented 2024-12-17T12:07:43.5266667+00:00
Dani_S 3,846 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,737 questions
asked 2024-12-05T15:27:13.1966667+00:00
mc 4,881 Reputation points
commented 2024-12-17T11:22:54.61+00:00
mc 4,881 Reputation points
2 answers One of the answers was accepted by the question author.

how to draw text in image in .net ios?

I know how to do it in android and now how to draw text on bitmap and get the pixel of it in ios?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,737 questions
asked 2024-12-12T09:25:54.9833333+00:00
mc 4,881 Reputation points
accepted 2024-12-17T10:38:22.33+00:00
mc 4,881 Reputation points
1 answer

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,690 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,598 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,982 questions
asked 2024-12-09T12:45:11.3466667+00:00
Manishankar T S 40 Reputation points
commented 2024-12-17T10:21:12.73+00:00
Manishankar T S 40 Reputation points
0 answers

what is that fun in CoreText?

in MAUI platform :ios. I can use CGContext.ShowTextAtPoint to display characters but what is it in CoreText? you may say I can use NSAttributedString and use DrawString but there is no SetShouldAntialias and SetShouldSmoothFonts in NSAttributed…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,737 questions
asked 2024-12-17T08:09:22.6633333+00:00
mc 4,881 Reputation points
commented 2024-12-17T10:07:14.5466667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 33,186 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

azure install maui does not work

I have following task in my yaml - task: DotNetCoreCLI@2 displayName: 'Install MAUI workloads' inputs: command: custom custom: workload arguments: 'install maui' It worked for months in azure until today, nothing has…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,737 questions
asked 2024-12-16T18:21:32.2433333+00:00
Sergey 5 Reputation points
edited the question 2024-12-17T09:21:23.6933333+00:00
VarunTha 9,905 Reputation points Microsoft Vendor
1 answer

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,737 questions
asked 2024-12-16T13:31:29.8466667+00:00
Umakant Sharma 0 Reputation points
commented 2024-12-17T09:10:29.7933333+00:00
Umakant Sharma 0 Reputation points
1 answer

DateTime.Now returns UTC Time if we build Xamarin.Android app with azure pipeline.

Hi, Team, We have currently one project associated with Xamarin.Android. DateTime.Now returns UTC Time instead of returning local time only when we build Xamarin.Android app with azure pipeline. It is working fine if we create build using visual…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,366 questions
asked 2023-09-13T12:56:12.17+00:00
Shingala A 25 Reputation points
commented 2024-12-17T08:52:53.3866667+00:00
Stefano Reali 0 Reputation points
1 answer

Solution: Custom SignalR Endpoints (Hubs) in a Blazor Server Application using Azure B2C When Deployed to Azure

Posting this in case I need it myself... Issue: Using custom SignalR endpoints (for example a /chat hub) with Authentication in a Blazor Server application that uses Azure B2C will not work when deployed. It will work fine on your local machine (using…

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,627 questions
Azure SignalR Service
Azure SignalR Service
An Azure service that is used for adding real-time communications to web applications.
150 questions
asked 2023-01-15T08:30:23.1666667+00:00
Michael Washington 916 Reputation points MVP
commented 2024-12-17T08:33:12.3766667+00:00
Hernando Zambrano 0 Reputation points
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,737 questions
asked 2024-12-07T20:58:58.8333333+00:00
Tony Pitman 76 Reputation points
commented 2024-12-17T06:30:03.7833333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 33,186 Reputation points Microsoft Vendor
1 answer

How to embed unity (exe) in maui windows?

hi I used this method to embed Unity into MAUI but it doesn't work properly I want it to be placed inside a view and resize when the page is resized It works fine in Winforms using System.Diagnostics; using System.Formats.Tar; using…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,737 questions
asked 2024-12-09T23:36:19.3766667+00:00
amin rahimzadeh 0 Reputation points
commented 2024-12-17T06:05:12.09+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 45,811 Reputation points Microsoft Vendor
2 answers

Can a razor/Blazor navigation link to either?

I think I've run into another mistaken idea, but I want to double check to see if I am wrong. I had hoped that I could navigate to either a razor page (.cshtml) or a Blazor page (.razor) from the same _Layout.cshtml. Here's a code snippet illustrating…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,690 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,627 questions
asked 2024-12-13T18:58:08.8833333+00:00
Falanga, Rod, DOH 260 Reputation points
commented 2024-12-17T05:47:34.6566667+00:00
Ping Ni-MSFT 4,800 Reputation points Microsoft Vendor