24,237 questions with .NET-related tags

Sort by: Updated
0 answers

RichTextBox Details

I need more information about the RichTextBox in winforms/dotnet 8/C# 12/VS2022. Specifically, when I create custom RTF content based on the v1.5 spec and try to insert it (as selection or entire document), the RichTextBox strips out all of my custom…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,856 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,459 questions
asked 2024-05-23T21:05:20.31+00:00
Steve Andrews 0 Reputation points
2 answers

Prevent the white flash when navigating between Maui Blazor Hybrid views

I have a .NET 8 MAUI app that has a dark background (not only in dark mode). We require users to log or pin in to use the app and the login/pin entry page has a dark background and these pages are straight xaml pages. On success, we navigate them to the…

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,418 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,971 questions
asked 2024-05-23T15:36:00.33+00:00
Joshua Engelbrecht 0 Reputation points
answered 2024-05-23T21:05:10.15+00:00
Joshua Engelbrecht 0 Reputation points
1 answer

What is the best way to install .net Runtime v8.0 via Intune?

What is the current best way to install .net Runtime v8.0 via Intune to a large number of users? The .net website offers an .exe file but it doesn't contain an .msi I can turn into an Intune app. There are also winget instructions listed but winget…

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,131 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
4,472 questions
asked 2024-05-15T22:58:19.7133333+00:00
Woodson Baldwin 0 Reputation points
commented 2024-05-23T20:53:01.0466667+00:00
Michael Zipperer 0 Reputation points
2 answers One of the answers was accepted by the question author.

The html tags are displayed as plain text in asp.net core mvc razor pages

I am working on Asp.Net Core 6.0 MVC Razor pages. On the Login.cshtml page, I want to show the following error message when the user tries to login with in invalid credential: Invalid: <b>User Name</b> and/or <b>Password</b>. The…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,237 questions
asked 2024-05-21T18:19:57.5566667+00:00
Sherpa 181 Reputation points
accepted 2024-05-23T20:31:05.13+00:00
Sherpa 181 Reputation points
1 answer One of the answers was accepted by the question author.

DataGridView column alignment header vs data

In the pic below, the DataGridView column header (Column1) is misaligned with the data cell text below it (XXX). The misalignment is nearly one character width. It is more visually obvious with a larger font. The pic comes from a minimal Forms app. …

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,856 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,459 questions
asked 2024-05-23T15:21:45.1333333+00:00
Andrew Mercer 441 Reputation points
commented 2024-05-23T20:24:07.6333333+00:00
Andrew Mercer 441 Reputation points
5 answers

SQLAzure is not available for your selection of subscription and location

Hi Folks, Trying to use Azure for the first time, I'm using a normal account (i.e not free tier or student) but it is just for a hobby project. I'm following the tutorial here in order to deploy my EFCore webapi…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
702 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,237 questions
asked 2023-01-22T08:33:29.6833333+00:00
Gary Frewin 25 Reputation points
commented 2024-05-23T20:19:04.16+00:00
Jason Porter 1 Reputation point
0 answers

Configure or find the executing azure container job name

This post is hidden. You deleted this post 22 hours ago. I have a simple dotnet application, deployed as a container in Azure container app jobs. It is configured as event-driven job and is triggered by a message in azure service bus queue. Everything is…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,459 questions
Azure Container Apps
Azure Container Apps
An Azure service that provides a general-purpose, serverless container platform.
290 questions
asked 2024-05-23T19:40:34.1766667+00:00
Singh, Rahul 1 Reputation point
1 answer

blazor application can not run at offline specfically in firefox browser

I had devlop the blazorWASM application with indexedDb. I had implement service worker for offline application WIth PWA also. Offline working successfully in chrome and edge browser but firefox not working i got the error while debugging that error is…

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,418 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
901 questions
asked 2024-05-23T14:33:01.3066667+00:00
ramesh P 0 Reputation points
edited a comment 2024-05-23T19:21:05.1933333+00:00
Ramesh Penta 0 Reputation points
1 answer

EF Core doesn't recognize many-to-many relationship

I have a many-to-many relationship, altough EF Core seems not to recognize it. The relationship exists between JobOffer and JobOfferTag. JobOffer inherits from BaseJobOffer. BaseJobOffer.cs public class BaseJobOffer { [Required] …

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
702 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,375 questions
asked 2024-05-23T15:23:05.96+00:00
iKingNinja 60 Reputation points
answered 2024-05-23T18:08:05.5266667+00:00
P a u l 10,406 Reputation points
3 answers One of the answers was accepted by the question author.

How to declare global variables in Blazor

How to declare global variables in Blazor , for example I have inputquestions in Index I want to use this in another page called Quiz. @page "/" <h1> Quiz </h1> Select Input Questions and Click on Quiz . <div…

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,418 questions
asked 2024-05-23T14:07:57.82+00:00
Maui Learner 480 Reputation points
answered 2024-05-23T17:59:40.6766667+00:00
Bruce (SqlWork.com) 57,886 Reputation points
0 answers

REST interface, server for GET,PUT,POST,DELETE

Hello, My goal is to control a Rest Server from a WPF C# desktop app. Get, Push, Pop, Delete should be tested. The server does not require extensive logic, only test data. Later, the customer REST server is connected. How can I achieve this? How should I…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,237 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,311 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,375 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.
306 questions
asked 2024-05-23T17:15:44.0466667+00:00
Noah Aas 260 Reputation points
edited a comment 2024-05-23T17:46:43.2666667+00:00
AgaveJoe 26,166 Reputation points
0 answers

Issue Connecting With An Azure SQL Database from .NET WinForms Application

I'm having an issue connecting to an Azure SQL database from a WinForms application after it has been packaged using InstallShield. The database exists on a virtual network and I'm using a virtual network gateway point-to-site connection. The database is…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,856 questions
Azure SQL Database
Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,199 questions
asked 2024-05-22T16:37:29.1633333+00:00
Tom 1 Reputation point
commented 2024-05-23T17:32:23.2866667+00:00
Tom 1 Reputation point
4 answers One of the answers was accepted by the question author.

Is it possible to bind WPF DataGrid's RowState property to a property in the codebehind collection?

.Net 4.6.1 Given an ObservableCollection OC that is a collection of MyDisplayGrid MDG, and that OC has been set as the DataGrid's ItemSource Is it possible to bind (not display on the grid) the RowState property of the DataGrid to a property of…

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,686 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.
771 questions
asked 2021-12-24T00:03:07.887+00:00
Dave Cotton 41 Reputation points
accepted 2024-05-23T17:21:35.8966667+00:00
Dave Cotton 41 Reputation points
0 answers

Bluetooth LE - BluetoothLEDevice.FromBluetoothAddressAsync returns null after UnpairAsync() is called until the peripheral is power cycled or the RPA rolls over

Greetings Here are the reproduction steps for this bug. I have an Ellisys trace and logs gathered using WPR that I don't want to post publicly, but can share with someone from MS. Pair a Bluetooth LE peripheral with windows. Observe that a new…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,806 questions
Universal Windows Platform (UWP)
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,131 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,408 questions
asked 2024-05-23T02:26:12.08+00:00
EricP-8687 60 Reputation points
edited a comment 2024-05-23T17:03:08.1366667+00:00
EricP-8687 60 Reputation points
1 answer

Error when uploading CSV files to Azure blob storage using ManagedIdentity with C# and GraphQLAPI. "Total size of resourceFiles is using 147% of available space after processing."

Hello All, I have created a console app using C# where I try to fetch the data from GraphQLAPI and store the data in csv files. post that it would be uploaded to the Azure blob storage using ManagedIdentity. This complete code work fine in my local VS…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,237 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,311 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,740 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,375 questions
asked 2024-05-15T08:40:14.42+00:00
Siddhesh Chavan 0 Reputation points
commented 2024-05-23T16:50:15.2666667+00:00
ShaikMaheer-MSFT 38,126 Reputation points Microsoft Employee
1 answer

How to get specific image coordinates from within bitmap

hi Is there a special (Library/Class) for such an achievement? which can find and return the coordinates by giving a symbol of a specific image from within the larger image

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,856 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,448 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,602 questions
asked 2024-05-21T03:56:04.6666667+00:00
Mansour_Dalir 1,696 Reputation points
edited a comment 2024-05-23T16:05:19.1366667+00:00
Mansour_Dalir 1,696 Reputation points
1 answer

Maui controls handlers learning

Hello All. I'm trying to learn how to customize android control. I know the concept of the customizing but my difficult is where I can find learning stuff of the android side what I mean is in the example below where I can find the section that start…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,971 questions
asked 2024-05-23T10:16:10.72+00:00
Haviv Elbsz 1,946 Reputation points
answered 2024-05-23T16:03:06.6533333+00:00
Bruce (SqlWork.com) 57,886 Reputation points
1 answer

How to create backend application using Asp.net C# Web API Core

How to create backend application using web api core application followed by standards using desing pattern, Depedency injection and solid principle I am new to web api core how to start following things JWT token authentical and authorization simple…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,237 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,311 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,375 questions
asked 2024-05-17T06:22:52.4166667+00:00
coder rock 196 Reputation points
commented 2024-05-23T15:29:54.2+00:00
AgaveJoe 26,166 Reputation points
1 answer

Mixing net standard and visual c++

Hello Using VS 2017, can one have both net standard 2.0 and visual c++ projects in the same solution with the net standard project referencing the visual c++ project (.vsxproj)? If I create one solution containing two projects of this kind using VS 2017…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,459 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,561 questions
asked 2024-05-21T08:47:24.7566667+00:00
Flade, David 0 Reputation points
edited an answer 2024-05-23T14:58:33.5033333+00:00
Flade, David 0 Reputation points
2 answers

Android Emulator waiting for debugger to attach in .net maui app

I upgraded my .net maui app from .net 7 to .net 8 and updated my nuget packages. I built the output solution but deployment was not successful as I had received the error message:- Xaml XC002 erro: Binding could be compiled if x:datatype is specified…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,971 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,375 questions
asked 2024-05-11T02:31:41.49+00:00
wire_jp 206 Reputation points
answered 2024-05-23T14:40:50.9166667+00:00
Chris A 0 Reputation points