24,238 questions with .NET-related tags

Sort by: Updated
1 answer

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,458 questions
asked 2024-05-23T21:05:20.31+00:00
Steve Andrews 0 Reputation points
answered 2024-05-24T03:23:26.1966667+00:00
Jiale Xue - MSFT 36,391 Reputation points Microsoft Vendor
0 answers

Dropbox on .NET Maui

I am trying to get Dropbox to work in .net maui. I have it working fine in xamarin.ios, it open a browser and get them to login, then when the go back from the browser, the app is receives the redirect in appdelegate.cs to get the auth token and use it…

.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,376 questions
asked 2024-05-12T21:27:18.04+00:00
Phunction 206 Reputation points
commented 2024-05-24T03:18:49.1266667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 36,951 Reputation points Microsoft Vendor
1 answer

Looking for ASP.NET Generic Oracle Padding Vulnerability fix

Is there a way to fix the Generic Padding Oracle vulnerability on an ASP.NET website using MVC that targets .NET Framework 4.8? I've tried downloading the patch from 2010 through Windows Update, but it doesn't seem to be available. I also attempted the…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,312 questions
Windows Server Security
Windows Server Security
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Security: The precautions taken to guard against crime, attack, sabotage, espionage, or another threat.
1,747 questions
asked 2024-05-23T21:35:36.81+00:00
Tim Davis 0 Reputation points
answered 2024-05-24T03:14:37.66+00:00
Lan Huang-MSFT 26,361 Reputation points Microsoft Vendor
1 answer

.Net Maui, ability to access external sd card

With the removal of read and write permissions to external storage, is there any way to access external SD cards? My app normally relies on being able to automatically backup data to external SD cards in the event the tablet dies or is broken. Is there…

.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-15T16:07:34.8933333+00:00
Phunction 206 Reputation points
answered 2024-05-24T03:07:18.1633333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,386 Reputation points Microsoft Vendor
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
commented 2024-05-24T02:57:56.4533333+00:00
Bruce (SqlWork.com) 57,886 Reputation points
1 answer One of the answers was accepted by the question author.

How to prevent automatic upgrade of .NET Framework from 4.8 to 4.8.1

I have a question regarding the prevention of .NET Framework updates through Group Policy. Despite setting the following Group Policy to "Disabled," the KB5011048 update is still being automatically applied, resulting in .NET Framework being…

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
4,843 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,458 questions
asked 2024-05-18T15:42:32.17+00:00
KM-4260 25 Reputation points
commented 2024-05-24T02:51:32.5166667+00:00
KM-4260 25 Reputation points
0 answers

How to use localized RESX in Blazor WASM?

Hi, all I want is standard "old way" usage of generated static properties of my RESX to localize texts based on CultureInfo and .culture.resx files. I've just figured out, that only difference from .NET Framework is that now in .NET 8 culture…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,458 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
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,376 questions
asked 2024-05-22T07:01:50.83+00:00
Rada Matěj 180 Reputation points
commented 2024-05-24T02:42:02.3166667+00:00
Tiny Wang-MSFT 1,746 Reputation points Microsoft Vendor
1 answer

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,312 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,376 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
commented 2024-05-24T02:30:05.86+00:00
Tiny Wang-MSFT 1,746 Reputation points Microsoft Vendor
0 answers

My <app>.dll.config.deploy file is missing in my Application files after publishing with ClickOnce

My windows form app is not running on other computers. I keep receiving the error that the <myappname>.dll.config.deploy is missing (a sentence like that). What should I do to fix that ? I'm stuck for days now.

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,856 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,691 questions
asked 2024-05-21T16:54:23.15+00:00
Harold Selasssee Komlah KUMAHOR 0 Reputation points
edited a comment 2024-05-24T02:22:19.9733333+00:00
Minxin Yu 10,361 Reputation points Microsoft Vendor
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,473 questions
asked 2024-05-15T22:58:19.7133333+00:00
Woodson Baldwin 0 Reputation points
commented 2024-05-24T02:07:38.2266667+00:00
Crystal-MSFT 44,411 Reputation points Microsoft Vendor
1 answer

Could you suggest anti-tampering solution for .NET MAUI mobile application ?

Hi all, Our team is facing with a challenge that applying anti-tampering solution for our .NET MAUI mobile application on both Android and IOS. We tried checksum bytes from assembly but it's not work on Android (IOS is normal working). Also, we tried…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,971 questions
asked 2024-04-08T07:46:33.6033333+00:00
Thinh Nguyen Viet 0 Reputation points
commented 2024-05-24T01:05:49.21+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 36,951 Reputation points Microsoft Vendor
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,458 questions
asked 2024-05-23T15:21:45.1333333+00:00
Andrew Mercer 441 Reputation points
edited a comment 2024-05-23T23:57:14.98+00:00
KOZ6.0 5,050 Reputation points
0 answers

Server project can not run client project in blazor hosted WASM application for firefox broswer only

I had develop blazor hosted WASM application. when run blazor application server program.cs can not run client program.cs i.e server project serve the client static assets of www root folder only can not initialize the client . server can not bind with…

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,419 questions
asked 2024-05-23T22:16:28.59+00:00
Ramesh Penta 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,419 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
edited an answer 2024-05-23T21:06:03.9433333+00:00
Joshua Engelbrecht 0 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
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,419 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,376 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,419 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

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