24,789 questions with .NET-related tags

Sort by: Created
0 answers

Maui for Android entry x clear issue

Hello All. I use Maui latest version and android Ver 34. Please is it possible in the entry field when the user tap the x to clear the entry content to display a pop-up that ask something like OK Cancel. so to prevent accidentally tapping x. Thank you.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,144 questions
asked 2024-07-07T08:12:29.52+00:00
Haviv Elbsz 2,026 Reputation points
1 answer

how to invoke graphi api data in angular directly with code just we can do in asp we api so easy?

I want to use a graphapi provided by organization in angular to read data , but why do i need msal instead cant i use direct code? just like we can do in asp.net core web api

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,260 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
315 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,363 questions
asked 2024-07-06T21:35:06.24+00:00
Singh, Nidhish (Cognizant) 0 Reputation points
answered 2024-07-07T02:44:47.5366667+00:00
Michael Taylor 50,591 Reputation points
0 answers

Maui for Android Stepping Through Code inside checkbox code

Hello All. in my app I have a checkbox handler that I want in debug to run to cursor and stepping the code. When I put the cursor in the code and right click and choose the option run to cursor the debugger start build and then the UI in the emulator is…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,144 questions
asked 2024-07-06T16:13:35.88+00:00
Haviv Elbsz 2,026 Reputation points
edited a comment 2024-07-06T21:31:10.99+00:00
Haviv Elbsz 2,026 Reputation points
1 answer

How can NotificationListenerService used in MAUI?

I'm trying to listen to notifications of other apps and for that purpose I tried to utilize NotificationListenerService. I have seen several examples from Xamarin, but nothing seems to work. So how is it done in MAUI? How is the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,144 questions
asked 2024-07-06T13:25:53.9433333+00:00
Costas Athan 26 Reputation points
commented 2024-07-06T20:21:52.35+00:00
Costas Athan 26 Reputation points
1 answer

Visual Studio 2022 Community/C++: My Pre-Build PowerShell script runs successfully, but the end result is not achieved.

I trade the market using Sierra Chart (SC) software. I use VS to create a DLL and need to build and deploy the updated DLL to an SC folder without having to shutdown SC in order to release the DLL for writing/updating. I created a PowerShell (PS) script…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,574 questions
asked 2024-07-05T18:53:26.38+00:00
George Taylor 0 Reputation points
commented 2024-07-07T02:32:36.2533333+00:00
Michael Taylor 50,591 Reputation points
1 answer One of the answers was accepted by the question author.

MVC CORE Edit Images

Database Contains images , when I try to edit the text , I need to upload images again , please suggest. If there are no changes in images I don't want to upload them again. Capturenotsaved.PNG Capturedisplay.PNG public partial class…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,574 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,345 questions
asked 2024-07-05T14:43:54.9833333+00:00
Kalyan A 65 Reputation points
accepted 2024-07-05T19:43:00.28+00:00
Kalyan A 65 Reputation points
0 answers

All endpoint with *azurewebsites.net are Flagging up TLS ROBOT Vulnerability Detected

Hi, Endpoint with *azurewebsites.net are flagging for TLS ROBOT Vulnerability . Can you please check if this is a false positive or need RSA disablement for lower cipher to higher? Detection of ROBOT…

.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.
98 questions
asked 2024-07-05T12:11:30.3+00:00
Gosain, Mayank 0 Reputation points
0 answers

How to fix Internet adapter completely disappearing off system, as well as the internet?

Hey, So today i booted my PC, and the internet is just not there (As seen below), once i put an internet USB there, it appears and goes back to normal. But the internet is not what i use, i use 5G internet, while that USB only offers 2.4G. I've tried…

.NET Internet of things
.NET Internet of things
.NET: Microsoft Technologies based on the .NET software framework.Internet of things: A concept that aims to extend the benefits of the regular internet, including constant connectivity, remote control ability, and data sharing, to goods in the physical world.
30 questions
asked 2024-07-05T10:16:07.6533333+00:00
Eyad Waleed 0 Reputation points
0 answers

How to fix Validation Error with MS Store app submission?

When creating app for the MS Store, I'm getting these Validation Errors. Invalid package family name: xxxxxx.xxxxxx (expected: xxxxx.yyyyyy) Invalid package publisher name: CN=xxxxx (expected: CN=xxxxC1-1875-4D0B-AD90-55xxx) These are added to my…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,144 questions
asked 2024-07-05T01:54:24.6833333+00:00
Fritz Switzer 261 Reputation points
commented 2024-07-05T06:54:43.8266667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 71,596 Reputation points Microsoft Vendor
0 answers

How to fix Visual Studio 2022 from crashing on startup?

I downloaded Visual Studio 2022 yesterday and installed the .NET component for a uni course. Today when I went to open VS2022 it crashed on start-up. I have repaired the program and it worked well once, then after I had saved/closed the program it began…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,574 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,825 questions
asked 2024-07-04T23:57:16.39+00:00
William.S 0 Reputation points
commented 2024-07-05T10:40:46.69+00:00
William.S 0 Reputation points
1 answer

Blazor WebAssembly Standalone App shows blank page in Azure environment

I just upgraded my backend (ASP.NET Core) and frontend (Blazor WebAssembly) from .NET 6 to .NET 8. I had to do few changes to make it work and succeed in my Azure DevOps pipelines but locally everything works now basically. Now that it's deployed in my…

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,477 questions
asked 2024-07-04T20:03:08.7066667+00:00
Bjorn Lenoir 20 Reputation points
answered 2024-07-05T17:32:25.1233333+00:00
Chidiebere_Ugwu 0 Reputation points
1 answer

Xamarin.Forms : change dynamically BarBackgroundColor

In a Xamarin.Forms program, how to dynamically change the BarBackgroundColor? I already changed the app.xaml file like this: <Application.Resources> <ResourceDictionary> <!--Global Styles--> <Color…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,320 questions
asked 2024-07-04T17:47:17.02+00:00
Marcel Delhaye 26 Reputation points
answered 2024-07-05T02:31:49.9466667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 28,631 Reputation points Microsoft Vendor
1 answer

What is the format in VS 2022 for "Custom Expression"?

In working on a WPF application in Visual Studio 2022, if you expand the property window for Brush, you get the following display. If you click the small down arrow in the Editor tab, you get the following menu: If you select Custom Expression..., you…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,574 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,825 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.
786 questions
asked 2024-07-04T17:40:34.44+00:00
Nicholas Piazza 536 Reputation points
commented 2024-07-05T05:21:55.44+00:00
Viorel 114.1K Reputation points
3 answers One of the answers was accepted by the question author.

SQL Server connection timeout after idle

I just set up on Azure a SQL Server (free tier) connecting to an .NET Core web app also on Azure. After 20 minutes the database goes idle. The first attempted connection to the database fails with the call stack below. The subsequent call works…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,345 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.
13,211 questions
asked 2024-07-04T17:35:16.3733333+00:00
Patricia Davidson 20 Reputation points
commented 2024-07-05T16:37:31.1233333+00:00
Patricia Davidson 20 Reputation points
2 answers One of the answers was accepted by the question author.

html table add pagination

I want to add page number to my table. But the problem is - when the page is loaded the page number is not working. Working when clicking on page number symbol. If I use the data manually instead of fetching it from the database, it works. I would…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,345 questions
asked 2024-07-04T16:30:13.3133333+00:00
jewel 821 Reputation points
accepted 2024-07-05T10:18:37.7866667+00:00
jewel 821 Reputation points
1 answer One of the answers was accepted by the question author.

I have 3 image in Blazor page.Want do every image have own Uploadfile that mean one image one uploadfile

@page "/" @rendermode InteractiveServer @inject NavigationManager Navigation <h1 style="color: blue;">Promosi Barang Anda!</h1> <p></p> Welcome to your new app. <p></p> @for (int i = 0; i <…

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,477 questions
asked 2024-07-04T15:27:00.7266667+00:00
MIPAKTEH_1 280 Reputation points
accepted 2024-07-05T14:21:43.5466667+00:00
MIPAKTEH_1 280 Reputation points
1 answer

Microsoft Cognitive Services Voise to text doesn't work on uploaded to Azure website

I'm using Azure AI services to recognize speach and convert it into text with .Net SpeechConfig speechConfig = SpeechConfig.FromSubscription(subscriptionKey, region); SpeechRecognitionResult result; using (SpeechRecognizer…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,345 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,579 questions
asked 2024-07-04T14:41:38.0133333+00:00
Sviatlana 0 Reputation points
answered 2024-07-04T21:28:27.77+00:00
Amira Bedhiafi 18,501 Reputation points
1 answer

MAUI library for Native Android binding failing with aar files that have Java Interfaces

I recently started working on MAUI Android binding library. I have created an aar file which has a simple Kotlin class and an Interface. This interface is implemented by the Kotlin class. The simple Kotlin class package package…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,144 questions
asked 2024-07-04T11:55:27.93+00:00
Arnold laishram 1 Reputation point
commented 2024-07-05T07:47:31.7266667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 38,451 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

MAUI: Issue with uploading project's local image to database via post API as ByteArrayContent - System.ArgumentNullException

I have added a few avatar images on the project folder named Avatars and set its Build Action to Embedded Resource. I added it for profile image update for the user. I need to upload the selected image to our database using a POST API. Below is the code…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,144 questions
asked 2024-07-04T11:31:00.18+00:00
Sreejith Sreenivasan 851 Reputation points
commented 2024-07-05T08:47:38.0066667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 71,596 Reputation points Microsoft Vendor
1 answer

I am having an issue , the textbov does allow space when pressing space bar

<TextBox x:Name="txtLocationName" Grid.Column="3" Grid.Row="5" Height="22" VerticalAlignment="Center" TabIndex="17" …

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,706 questions
asked 2024-07-04T11:30:05.2+00:00
Sgcino Ngema 0 Reputation points
answered 2024-07-05T03:22:58.98+00:00
Hongrui Yu-MSFT 785 Reputation points Microsoft Vendor