Microsoft Q&A

.NET

21,667 questions

Microsoft Technologies based on the .NET software framework.

Browse all .NET tags

21,667 questions with .NET-related tags

Sort by: Updated
0 answers

Maui - publish msix with no internet in net 8

Hi, When publishing msix with internet the msix is working. But with no internet is not responsive at all . not open . Why ? dotnet publish -f net8.0-windows10.0.19041.0 -c Release /p:AppxPackageSigningEnabled=true…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,118 questions
asked 2023-11-28T11:20:44.2266667+00:00
דני שטרית 1,676 Reputation points
0 answers

iOS App screen size problems after upgrading to .net8.0

I have noted that after an upgrade to .net8.0 that my iOS app has a size issue. This persists even after returning to .net7.0 and gets resolved after reverting code before the upgrade. After some digging myself i have noted that some files are not being…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,118 questions
asked 2023-11-23T10:53:10.2366667+00:00
No_Focus 20 Reputation points
edited a comment 2023-11-28T11:16:32.88+00:00
No_Focus 20 Reputation points
0 answers

unable to select .net6 runtime option from ui for my .net6-ios project

I am unable to select .net6 runtime option from the ui . I have changed the target framework to .net6-ios but still uses .net7 run time

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,205 questions
asked 2023-11-28T11:15:56.2666667+00:00
Srihari Kowdeed 0 Reputation points
0 answers

How to get the same specific colors from the original image to new created image with the same amount of color and same width and height?

This is the original image , colorslevels1.jpg: what I want to do is to get the colors from the ruler plate without any the black numbers colors and the gray. only the colors inside like this: but it should be the same size width height like in the…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,723 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.
9,424 questions
asked 2023-11-28T11:15:12.7233333+00:00
Daniel Gee 0 Reputation points
1 answer

NET 8 MAUI Blazor: Login with Google Account

Hello to all Bard can't help me, he is in a loop and invents Nuget, which I am supposed to install in order to be able to log in to MAUI via Google Accoutn. But the Nuget does not exist in reality! ChatGPT only gives me outdated information. I can't find…

Microsoft Authenticator
Microsoft Authenticator
A Microsoft app for iOS and Android devices that enables authentication with two-factor verification, phone sign-in, and code generation.
4,438 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,190 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,118 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.
9,424 questions
asked 2023-11-25T20:23:59.64+00:00
perfect code 271 Reputation points
commented 2023-11-28T10:58:29.7566667+00:00
perfect code 271 Reputation points
0 answers

Issue with Azure Push Notifications on Xamarin Android - PendingIntent Error

I've implemented push notifications for my Xamarin application, and everything works smoothly on iOS. However, when the Android application is put in the background or closed, notifications fail to reach the device, and an error is encountered: Targeting…

Azure Notification Hubs
Azure Notification Hubs
An Azure service that is used to send push notifications to all major platforms from the cloud or on-premises environments.
216 questions
Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,205 questions
Microsoft Intune Android
Microsoft Intune Android
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Android: An open-source mobile platform based on the Linux kernel, developed by Google, and maintained by the Open Handset Alliance.
187 questions
asked 2023-11-24T12:15:06.1166667+00:00
Mammad Mammadov 0 Reputation points
commented 2023-11-28T10:56:44.88+00:00
VenkateshDodda-MSFT 14,201 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

Maui for android create line issue

Hello all. what parameters I need for a horizontal line across the layout width. Thank you. <Line X1="40" Y1="0" X2="0" Y2="120" Stroke="Red" />

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,118 questions
asked 2023-11-27T11:29:13.5466667+00:00
Haviv Elbsz 1,391 Reputation points
accepted 2023-11-28T10:39:15.17+00:00
Haviv Elbsz 1,391 Reputation points
0 answers

Is it possible to identify monitors at runtime using the Identify system function?

Hi, I'm working in a multimonitor environment and I need to know at runtime which monitor my application is running on, so I need the numbers used by the display settings app. I tried different methods to have this information (for example using the…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,281 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.
9,424 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
6,686 questions
asked 2023-11-27T11:54:47.31+00:00
AndreaMarconi 0 Reputation points
commented 2023-11-28T10:37:08.65+00:00
AndreaMarconi 0 Reputation points
0 answers

dependecy injection help on checking internet

I have my interface interface IAppServices { Task NavigateAsync(string pageName, bool iAnimated, Dictionary<string, object> Object); Task NavigateAsync(string pageName, bool iAnimated); Task DisplayAlertAsync(string title, string…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,118 questions
asked 2023-11-27T13:46:22.67+00:00
Eduardo Gomez 2,751 Reputation points
commented 2023-11-28T10:29:11.3033333+00:00
Eduardo Gomez 2,751 Reputation points
0 answers

How to move Powershell code running in Azure Webhook to C# application

I have a powershell script running in Azure Automation as webhook. That has this commands as shown below. I want to run this using C# instead, so that I can track and log if something goes wrong. However, I need to understand, what does the…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,281 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
991 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.
9,424 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
1,533 questions
asked 2023-11-28T07:29:57.7333333+00:00
Mohit kumar 0 Reputation points
commented 2023-11-28T10:25:54.2733333+00:00
SwathiDhanwada-MSFT 14,491 Reputation points
0 answers

How to customize the WPF window title bar so that its buttons are the same as Visual Stdio?

hi everyone! When we customize the title bar, the button will be customized into the <Button> we set ourselves, but the effect it achieves is not the effect that comes with the system. For example, the customized title bar in Visual Stdio can be…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,281 questions
Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,551 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.
9,424 questions
asked 2023-11-28T10:23:28.82+00:00
LoveC 41 Reputation points
commented 2023-11-28T10:24:27.43+00:00
LoveC 41 Reputation points
0 answers

How to customize the WPF window title bar so that its buttons are the same as Visual Stdio?

hi everyone, How to customize the WPF window title bar so that its buttons are the same as Visual Stdio? When we customize the title bar, the button will be customized into the <Button> we set ourselves, but the effect it achieves is not the effect…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,281 questions
Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,551 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
6,686 questions
asked 2023-11-28T10:21:13.4766667+00:00
LoveC 41 Reputation points
0 answers

Redis cache with Azure function

I have implemented a Timer Trigger Az function app. This fn app will run every 30 mins The fn app will call the cosmoscache service and will bring latest value from cosmos. Now the challenge If the fn app runs at 10 Am (assumption) and transaction…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
3,673 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,281 questions
Azure Cache for Redis
Azure Cache for Redis
An Azure service that provides access to a secure, dedicated Redis cache, managed by Microsoft.
192 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,260 questions
asked 2023-11-28T06:28:14.5733333+00:00
Suresh Thakur, Kirti 86 Reputation points
commented 2023-11-28T10:16:30.32+00:00
Suresh Thakur, Kirti 86 Reputation points
0 answers

MAUI - Missing fonts in unpackage deployment in net 8

Hi, Deployment as exe is formal in NET 8 but we dont see fonts as seen in picture? why ? https://learn.microsoft.com/en-us/dotnet/maui/windows/deployment/publish-unpackaged-cli?view=net-maui-8.0

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,118 questions
asked 2023-11-27T12:05:56.76+00:00
דני שטרית 1,676 Reputation points
commented 2023-11-28T10:09:29.1+00:00
דני שטרית 1,676 Reputation points
1 answer

Running coreWCF in Azure App Service Linux does not work

When deploying coreWCF to Linux App Service I get this error: "Container <container-name> for site <site-name> did not start within expected time limit. Elapsed time = 230.9697425 sec". Can you please clarify these things: Can…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,281 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.
296 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,000 questions
asked 2023-11-15T08:39:37.85+00:00
Anita A 75 Reputation points
commented 2023-11-28T09:50:54.3733333+00:00
Anita A 75 Reputation points
1 answer

Access and read all SMS on Android phone with .NET MAUI

For an application that, as a part of its functionality, can read all stored SMS on an android phone, can you give general directions what to read exactly to learn and implement it in a .NET MAUI project? I'm a beginner. I've only worked with MVC, WPF…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,118 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.
9,424 questions
asked 2023-11-21T03:48:09.5466667+00:00
MSCollege3000 0 Reputation points
edited the question 2023-11-28T09:37:53.4166667+00:00
MSCollege3000 0 Reputation points
0 answers

Microsoft.Windows.Compatibility vulnaribilty when moving from NET 7 TO NET 8

Hi, Microsoft.Windows.Compatibility si voulnerability. no option to upgrade. What I need to do ? VS shots on this ? Thanks <ItemGroup> <PackageReference Include="Microsoft.Maui.Controls" Version="$(MauiVersion)"…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,118 questions
asked 2023-11-28T09:36:05.58+00:00
דני שטרית 1,676 Reputation points
2 answers

How to get the rows in a table that index great or equal 1 user jquery?

$("#tb1 >tr:gt(1) I want get the rows include the second row

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,756 questions
asked 2023-11-27T08:16:29.9133333+00:00
Alick Wang 166 Reputation points
commented 2023-11-28T09:30:10.86+00:00
Farid Uddin Kiron MSFT 451 Reputation points Microsoft Vendor
0 answers

How to properly install MAUI Android emulator hardware acceleration?

Windows 10 64 Home, Visual Studio, .NET MAUI project, .Net 6.0 LTS. The Android emulator is utterly slow and requires acceleration. I followed the article…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
9,433 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,061 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,118 questions
asked 2023-11-28T09:28:04.1566667+00:00
MSCollege3000 0 Reputation points
2 answers

how to fix "The project doesn't know how to run the profile with name IIS Express

Microsoft Visual Studio 2022, trying to debug an API, after upgrading to .Net Core 8 getting below error The project doesn't know how to run the profile with name 'IIS Express' and command 'IISExpress'. Any Suggestions please

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,756 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,061 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
1,049 questions
asked 2023-11-27T20:19:45.94+00:00
Linsemon Jose 0 Reputation points
commented 2023-11-28T09:24:12.02+00:00
Anna Xiu-MSFT 20,011 Reputation points Microsoft Vendor