24,232 questions with .NET-related tags

Sort by: Updated
0 answers

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,855 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,457 questions
asked 2024-05-23T15:21:45.1333333+00:00
Andrew Mercer 441 Reputation points
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,855 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,601 questions
asked 2024-05-21T03:56:04.6666667+00:00
Mansour_Dalir 1,696 Reputation points
edited a comment 2024-05-23T15:19:08.8933333+00:00
Mansour_Dalir 1,696 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,457 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,970 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,373 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
0 answers

Moving xamarin.ios to new SKD style issues

I am trying to move my xamarin.ios project to the new SDK style as MS is no longer supporting the previous methods. I am following the steps at https://learn.microsoft.com/en-us/dotnet/maui/migration/?view=net-maui-8.0 But I get multiple…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,970 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,373 questions
asked 2024-04-15T17:54:17.71+00:00
Phunction 206 Reputation points
commented 2024-05-23T14:40:34.79+00:00
Phunction 206 Reputation points
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,970 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,373 questions
asked 2024-05-12T21:27:18.04+00:00
Phunction 206 Reputation points
commented 2024-05-23T14:36:33.34+00:00
Phunction 206 Reputation points
0 answers

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,417 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
0 answers

.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,970 questions
asked 2024-05-15T16:07:34.8933333+00:00
Phunction 206 Reputation points
commented 2024-05-23T14:31:04.09+00:00
Phunction 206 Reputation points
1 answer

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,417 questions
asked 2024-05-23T14:07:57.82+00:00
Maui Learner 480 Reputation points
answered 2024-05-23T14:21:19.71+00:00
Azizkhon Ishankhonov 200 Reputation points
1 answer One of the answers was accepted by the question author.

How to bring app to front, if already open?

How to bring the app to front, if already open? My app is Windows Form application c#

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,855 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,373 questions
asked 2024-05-22T13:25:34.1033333+00:00
Hussnain Fareed 0 Reputation points
edited a comment 2024-05-23T14:05:09.5666667+00:00
KOZ6.0 5,050 Reputation points
2 answers

how to solve this error

Hello I have hosted my application in local iis and accessing this via another pc using ip address suddenly this error comes what to do how to solve

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,310 questions
asked 2024-05-23T13:14:54.1833333+00:00
RAVI 936 Reputation points
answered 2024-05-23T13:43:25.6566667+00:00
AgaveJoe 26,166 Reputation points
3 answers One of the answers was accepted by the question author.

What is the correct way to upgrade dotnet SDKs for MAUI

Can someone tell me the proper way to upgrade .net? I have kept mine on an older version for a while now because it has been working with xcode 15.3 for me. Since it appears the issues with xcode 15.3 have been resolved in the latest version, I would…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,970 questions
asked 2024-05-16T15:01:48.6366667+00:00
Tony Pitman 40 Reputation points
accepted 2024-05-23T13:40:10.81+00:00
Tony Pitman 40 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,236 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,310 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,373 questions
asked 2024-05-17T06:22:52.4166667+00:00
coder rock 196 Reputation points
edited a comment 2024-05-23T13:36:25.4366667+00:00
coder rock 196 Reputation points
0 answers

Reopening the app from background is crashing with an exception of "Window was already created" from base.onresume().

When I try to reopen an app from background it is crashing when I am using base.onresume() in mainactivity. It gave an exception "Window was already activated". I saw some work around of adding launchmode as singletop or singletask would work…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,970 questions
asked 2024-05-08T07:28:42.4233333+00:00
Keerthana Krishna 40 Reputation points
commented 2024-05-23T11:20:45.7466667+00:00
Keerthana Krishna 40 Reputation points
0 answers

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,970 questions
asked 2024-05-23T10:16:10.72+00:00
Haviv Elbsz 1,946 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,457 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,236 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,373 questions
asked 2024-05-22T07:01:50.83+00:00
Rada Matěj 180 Reputation points
commented 2024-05-23T10:02:28.8833333+00:00
Rada Matěj 180 Reputation points
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,855 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,688 questions
asked 2024-05-21T16:54:23.15+00:00
Harold Selasssee Komlah KUMAHOR 0 Reputation points
commented 2024-05-23T09:56:52.6766667+00:00
Harold Selasssee Komlah KUMAHOR 0 Reputation points
1 answer

ArgumentNull Exception in .NET Framework 4.8 "System.Security.SecurityElement.FromString(String xml)"

I get an "ArgumentNullException" from the .NET Framework 4.8, when the calling code makes a Code-Access Policy "Demand" request (attribute usage see below) The program is a WinForms application. The stack-trace is: at…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,457 questions
asked 2024-05-22T12:50:11.1666667+00:00
Liedtke, H 0 Reputation points
commented 2024-05-23T09:26:16.0066667+00:00
Jiale Xue - MSFT 36,391 Reputation points Microsoft Vendor
1 answer

In firefox browser service worker stooped sunndenly after serve the resources to the client

I have develop blazor WASM application for offline thats why I had implement the service worker to intercept the request then serve the resource to the client using cache. Service worker successfully on chrome and edge but in firebox once application…

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,417 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-22T14:13:43.98+00:00
ramesh P 0 Reputation points
commented 2024-05-23T09:14:36.74+00:00
Ping Ni-MSFT 2,330 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Deploy ASP.NET Core Web API with Simba Spark Driver for Databricks to Azure App Serivce

Hi all, I have a .NET Core Web API which creates a connection to the SQL endpoint of Azure Databricks with the official Simba ODBC driver. Locally everything works fine. I can see my System DSN entry and I use this driver to create the connection and…

.NET Machine learning
.NET Machine learning
.NET: Microsoft Technologies based on the .NET software framework.Machine learning: A type of artificial intelligence focused on enabling computers to use observed data to evolve new behaviors that have not been explicitly programmed.
150 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,021 questions
asked 2022-01-25T08:32:12.197+00:00
Thomas Ingenhorst 21 Reputation points
commented 2024-05-23T08:55:54.65+00:00
Luigi Navarra 0 Reputation points