24,074 questions with .NET-related tags

Sort by: Updated
1 answer

how to fix 10.2.4.1 Security - Software Dependencies ( .net blazor maui 8.0) to microsoft store

i have published my application in store, recently update my maui blazor application 6.0 tp 8.0 when I submit my msix package to store I am getting 10.2.4.1 Security - Software Dependencies Products may depend on non-integrated software (such as another…

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,403 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,923 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,281 questions
asked 2024-05-04T06:48:07.5833333+00:00
Maharasa Subramaniyan 0 Reputation points
commented 2024-05-07T11:18:26.6066667+00:00
Maharasa Subramaniyan 0 Reputation points
1 answer One of the answers was accepted by the question author.

How to use condition to compare two things for dropdown and an empty field in wpf?

Hi Team Need to use a condition will check if combo box(truck-empty) for selected item and when an empty field(topseal and bottomseal), needs to validate for both. Meaning when a user selects this combo box for truck-empty condition must met only here,…

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,681 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.
10,307 questions
asked 2024-05-06T20:20:32.45+00:00
Gcobani Mkontwana 40 Reputation points
accepted 2024-05-07T11:01:55.0766667+00:00
Gcobani Mkontwana 40 Reputation points
1 answer

AppShell- Failed to Navigate Back, Ambiguous routes matched for.... but i've only registered routes once

I am building an Xamarin Forms app for iOS and Android. I registered my routes in AppShell.xaml.cs globally like this: **-AppShell.xaml.cs-** Routes.Add(nameof(HousingFolderPage), typeof(HousingFolderPage)); Routes.Add(nameof(HousingFolderDetailsPage),…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,297 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,288 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.
10,307 questions
asked 2023-03-26T23:28:07.2466667+00:00
Nabil 6 Reputation points
edited a comment 2024-05-07T09:58:25.1033333+00:00
Horton 0 Reputation points
0 answers

How to know if Bluetooth connection is lost when application is running in Xamarin Forms. Any listener will hit?

How we can know if bluetooth connection is lost or turned off when we are running the application without any Button click event. App is connected to some ble devices . How to handle the scenario ? Any listener will hit or not? private void…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,297 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
767 questions
asked 2024-05-03T14:00:27.1533333+00:00
Sk 61 Reputation points
commented 2024-05-07T09:51:55.0966667+00:00
Sk 61 Reputation points
2 answers One of the answers was accepted by the question author.

How to do Search inside a subFolder with Azure AI Search.

In Azure AI Search how to find something inside a subdirectory? right now when I am searching something i am getting result from all of the subfolders, I have to do search within a folder for example right now I am in /Submission directory and there are…

Azure AI Search
Azure AI Search
An Azure search service with built-in artificial intelligence capabilities that enrich information to help identify and explore relevant content at scale.
728 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,207 questions
asked 2024-05-01T06:29:32.8333333+00:00
Hassan Kaleem 40 Reputation points
accepted 2024-05-07T09:44:05.32+00:00
Hassan Kaleem 40 Reputation points
1 answer One of the answers was accepted by the question author.

.NET MAUI: downloading a file in the background (Android)

Hello. Is there a way to do some action in background in case of android devices? For example, in my app I have a callback that starts to download a file after user pressed the download button. This file is quite large and some devices may turn off their…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,923 questions
asked 2024-05-02T23:04:10.0233333+00:00
rodionovid 80 Reputation points
commented 2024-05-07T09:42:00.2466667+00:00
rodionovid 80 Reputation points
0 answers

How to apply Width and Height of Text on CanvasDevice's DrawText, that means some text width is too small some text too high how to calculate this and apply

//JSON file "Templates": [ { "TemplateID": "1", "TemplateName": "WHITE", "CardFeeder": "A", "Sides": [ { "Side":…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,415 questions
Universal Windows Platform (UWP)
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.
10,307 questions
asked 2024-05-07T02:46:56.3133333+00:00
Saranya Karthik 40 Reputation points
commented 2024-05-07T07:48:34.69+00:00
Junjie Zhu - MSFT 15,211 Reputation points Microsoft Vendor
2 answers

How to fire .net analyzers also running project

Hi guys, I'm in trouble with .net analyzers; they works fine building the project but they aren't fired running the project. I don't found any solution either on…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,415 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,643 questions
asked 2024-04-12T08:20:03.8366667+00:00
Fabrizio Mancin 0 Reputation points
answered 2024-05-07T07:47:56.8366667+00:00
Fabrizio Mancin 0 Reputation points
0 answers

How can I find the Text (width/length/ending point) in CanvasDevice via CanvasDrawingSession

fontFamilyName = $"ms-appx:///Assets/HelveticaNeue-Bold.ttf"; CanvasTextFormat FNtextFormat = new CanvasTextFormat { FontSize = CardTheme.FN.FS, …

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,415 questions
Universal Windows Platform (UWP)
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.
10,307 questions
asked 2024-05-07T06:55:28.0533333+00:00
Saranya Karthik 40 Reputation points
commented 2024-05-07T07:35:54.9333333+00:00
Roy Li - MSFT 32,111 Reputation points Microsoft Vendor
2 answers

Unable to reuse the same layout in a new form

Unable to reuse the same layout in a new form. I've created a CustomControl inherited from ContainerControl and added items in it. However, I'm encountering difficulties when attempting to use it in another form. I want to use the below in a new form. …

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,838 questions
asked 2024-04-28T19:18:13.5266667+00:00
Vignesh 0 Reputation points
edited a comment 2024-05-07T07:19:29.1233333+00:00
KOZ6.0 4,895 Reputation points
1 answer

When i run a default maui blazor app it not showing output Whats the reason for that? this is the error message i got The program '[12180] MauiApp2.exe' has exited with code 2147942405 (0x80070005).

Windows 10 pro version 22h2 os biuld 19045.4291 Visual Studio enterprise 2022 17.9.6 This is my pc and visual studio versions that im using. When i run a default maui blazor app it not showing output Whats the reason for that? this is the error message…

.NET Training
.NET Training
.NET: Microsoft Technologies based on the .NET software framework.Training: Instruction to develop new skills.
4 questions
asked 2024-05-07T04:52:00.16+00:00
s. Nilothaman 0 Reputation points
answered 2024-05-07T07:00:19.53+00:00
SiddeshTN 2,710 Reputation points Microsoft Vendor
1 answer

How to visit the views of carouselview different item ?

webview will display embed youtube video I need user webview.EvaluateJavaScriptAsync to control the video. Then, how can i visit the webview of different items ? <CarouselView Grid.Row="2" x:Name="cView"…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,923 questions
asked 2024-04-29T07:10:20.56+00:00
Fei Xu 490 Reputation points
commented 2024-05-07T06:38:01.6666667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,741 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Upgrading to .Net 8 results in errors when referenced by a project targeting '.NetFramework=4.61'

I am using the upgrade assistant to upgrade the framework, but it's resulting in many errors. Is there any documentation available that explains step-by-step how to fix the errors that occur during the framework upgrade process?

.NET Training
.NET Training
.NET: Microsoft Technologies based on the .NET software framework.Training: Instruction to develop new skills.
4 questions
asked 2024-04-29T22:40:37.7233333+00:00
Ziya Ganjili 20 Reputation points
edited the question 2024-05-07T06:23:03.62+00:00
Pradeep M 475 Reputation points Microsoft Vendor
1 answer

Maui MediaPicker.Default.CapturePhotoAsync windows doesn't display camera

When I run the app is the VS 2022 on Windows 10 the MediaPicker.Default.CapturePhotoAsync method displays the camera and allows me to capture a photo. When the app is published and installed on Windows 10 the MediaPicker.Default.CapturePhotoAsync method…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,701 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,923 questions
asked 2024-04-30T16:15:24.1733333+00:00
Grant Schaffer 20 Reputation points
commented 2024-05-07T06:20:59.83+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,626 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Detect Scrolled to end of webview to enable a button in maui

I have a custom renderer like this where ScrollWebView is my custom control from webview with IsBottomReached property. I tried registering this Renderer in mauiprogram class, then it started crashing with an exception of "Specified cast is not…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,923 questions
asked 2024-05-03T03:37:30.4166667+00:00
Keerthana Krishna 40 Reputation points
commented 2024-05-07T06:01:55.9366667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 36,231 Reputation points Microsoft Vendor
0 answers

How can i redirect to my own page after successful login in dotnet maui

i want to redirect my dotnet maui pages after successful login how can i do it in dotnet maui emulator i have sign in redirect uri : "https://localhost:7152//sign-ingoogle and aftter login i want to redirect to my own pages

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,923 questions
asked 2024-05-03T07:26:25.66+00:00
Kanika Rana 0 Reputation points
commented 2024-05-07T05:55:09.74+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,741 Reputation points Microsoft Vendor
2 answers

Deployment problem - error MSB4186: Invalid static method invocation syntax

I've got a .net core 8 app being deployed to a windows box and I'm getting the following errors no matter what I do after the pipeline completes successfully: MSB4186: Invalid static method invocation syntax:…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,415 questions
asked 2024-04-11T14:05:02.25+00:00
Michael B 25 Reputation points
commented 2024-05-07T05:42:44.1733333+00:00
PMonteIT 21 Reputation points
0 answers

Ensuring Database Updates on Form Closure: Troubleshooting for Mac.

When I attempt to insert details into the database upon closing the form or upon its disappearance event, the code doesn't execute as expected. However, the same code executes properly when triggered by a button click or when the form appears. I need…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,923 questions
asked 2024-05-06T12:03:23.94+00:00
Sarfaraz Sable 20 Reputation points
commented 2024-05-07T03:31:30.03+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,626 Reputation points Microsoft Vendor
2 answers

How to setup devops pipeline for xamarin.forms ios app to build with ios 17 and xcode 15

How to setup devops pipeline for xamarin.forms ios app to build with ios 17 and xcode 15

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,297 questions
asked 2024-02-23T09:37:28.5833333+00:00
Vinayak Nikam 0 Reputation points
commented 2024-05-07T03:12:44.3866667+00:00
Brian Knox 0 Reputation points
1 answer

How can I change the icon of an MSI file?

Is it possible to customize the icon of an MSI file created using the WiX tool for a .NET project, rather than using the default icon suggested by the Windows system?

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,838 questions
Windows Driver Kit (WDK)
Windows Driver Kit (WDK)
A set of Microsoft tools that are used to develop, test, and deploy Windows drivers.
7 questions
asked 2024-05-06T10:20:10.0866667+00:00
india-drive 0 Reputation points
answered 2024-05-07T02:58:02.9966667+00:00
Minxin Yu 10,121 Reputation points Microsoft Vendor