23,172 questions with .NET-related tags

Sort by: Updated
0 answers

Converting the PDF to a bitmap image corrupted the text content of the PDF.

I have a PDF document and using the below code logic, I am trying to convert the PDF page to an image. After converting the image, the text content in the PDF displayed as corrupted.  PQ-376500-STR-FDN-KZV-00011-001.pdf |Stream PdfStream =…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,263 questions
Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,805 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,192 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.
9,983 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.
745 questions
asked 2024-03-04T19:42:32.9566667+00:00
Vikram Devaraj 0 Reputation points
edited the question 2024-03-04T19:44:21.8566667+00:00
Vikram Devaraj 0 Reputation points
0 answers

System.NullReferenceException at Microsoft.Maui.Platform.KeyboardAutoManagerScroll.AdjustPosition()

I'm working on a Maui plugin that sometimes presents some native iOS UI.  I'm seeing a crash at Microsoft.Maui.Platform.KeyboardAutoManagerScroll.AdjustPosition() when that UI is presented modally and a DidUITextBeginEditing notification is fired (by the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,628 questions
asked 2024-03-04T19:44:02.27+00:00
Frank Schmitt 0 Reputation points
1 answer

App will run through visual studio but not via exe

I am developing a maui app in VS 2022, Debug and Release will run fine when launched via VS. However, when I go to the apps bin folder, it will not launch, I click on the .exe and nothing happens. I tried copying the bin/release and debug folders to…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,243 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,628 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.
9,983 questions
asked 2024-03-03T22:43:14.8333333+00:00
Phunction 201 Reputation points
answered 2024-03-04T19:29:31.14+00:00
Peter Ritchie 1 Reputation point
0 answers

No Internet page change

I have a no internet page, and I check if the connection comes up again. public partial class App : Application { private readonly AppShell _appShell; private readonly NoInternetPage _noInternetPage; public App(AppShell appShell,…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,628 questions
asked 2024-03-04T17:54:57.5566667+00:00
Eduardo Gomez 3,216 Reputation points
0 answers

Get Extended Events Data for Azure Managed Instance MFA with C# code

Hi, We are working with Extended Events. We have utilized QueryableXEventData Class for SQL Server 2016,2019 versions. But now we also wanted to retrieve the data for Azure SQL Managed Instance with Multifactor authentication…

Azure SQL Database
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,192 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.
12,323 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.
9,983 questions
asked 2024-02-29T16:55:11.4333333+00:00
Deepak Rane (drane) 40 Reputation points
commented 2024-03-04T17:08:43.24+00:00
Oury Ba-MSFT 15,276 Reputation points Microsoft Employee
1 answer

XmlSerializer Exceptions on start up when debugging after Upgrading Visual Studio 2022 to v17.9.0

After upgrading Visual Studio 2022 to version 17.9.0, xml serialization exceptions are displayed on the console and output windows when starting to debug a .NET 6 Web API solution. The prior versions of Visual Studio 2022 do not have the issue with the…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,192 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,444 questions
asked 2024-03-01T19:59:38.64+00:00
Hatoum,Mark 0 Reputation points
edited a comment 2024-03-04T16:40:11.3766667+00:00
Hatoum,Mark 0 Reputation points
0 answers

Can not create folder in SharePoint. (Upgrade MS Graph SDK 5.36.0 -> 5.44.0 version)

In MS Graph SDK 5.36.0 version, I can create folder in SharePoint. But when I update to MS Graph SDK 5.41.0 version, I can not create folder in SharePoint anymore. It throw an error…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,192 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,024 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,214 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,563 questions
asked 2024-03-02T02:47:19.0466667+00:00
Jackie Dinh 0 Reputation points
commented 2024-03-04T16:07:55.9566667+00:00
Sourabh Gupta 560 Reputation points Microsoft Vendor
0 answers

How to resolve error 0x80073701 during Features Installation on Microsoft Windows Server 2019 Datacenter OS

Hello, I am encountering Error 0x80073701 while attempting to install certain features on Azure VM running Microsoft Windows Server 2019 Datacenter OS. This error appears when I try to install everything together or with each feature separately. Is…

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,346 questions
Internet Information Services
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,186 questions
Windows Server Management
Windows Server Management
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Management: The act or process of organizing, handling, directing or controlling something.
419 questions
asked 2024-03-04T15:15:44.6066667+00:00
Diego de Torres 0 Reputation points
0 answers

How to resize HoloLens 2D application window size via code

I want to customize windows size of my 2D HoloLens UWP application. I have tried below code in my .NET application. This doesn't work in HoloLens, but it works in Windows PC. ApplicationView.PreferredLaunchViewSize = new Windows.Foundation.Size(950,…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,192 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.
9,983 questions
HoloLens Development
HoloLens Development
HoloLens: A family of Microsoft self-contained, holographic devices that enable engagement with digital content and interaction with holograms in the surrounding environment.Development: The process of researching, productizing, and refining new or existing technologies.
366 questions
asked 2024-03-04T11:45:28.4366667+00:00
Sadev Kalubowila 10 Reputation points
commented 2024-03-04T15:15:40.87+00:00
PDF 0 Reputation points
1 answer

Maui - Using Timer in multi main page navigations

Hi, Here is my code: Did I used in correcy way ? Thanks in advance, private IDispatcherTimer _indicatorTimer; public MainPage(string navigateTo) { InitializeComponent(); currentContentViewHolder.Children.Clear(); if (navigateTo ==…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,628 questions
asked 2024-03-03T10:46:21.53+00:00
דני שטרית 2,266 Reputation points
accepted 2024-03-04T14:51:59.1533333+00:00
דני שטרית 2,266 Reputation points
0 answers

.Net 8.0 Unable to install EntityFrameworkCore.Tools 8.0.2 from Nuget package manager

I have installed Visual Studio 2022 community edition, created a .Net Core Web API project and installed below 2 packages from Nuget package manager successfully. EntityFrameworkCore.SqlServer 8.0.2 EntityFrameworkCore 8.0.2 But, when I try to install…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
679 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,025 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.
280 questions
asked 2024-03-04T14:00:18.5966667+00:00
Rajesh Erukulla 0 Reputation points
edited the question 2024-03-04T14:44:28.74+00:00
Rajesh Erukulla 0 Reputation points
0 answers

ZXING Scanner is giving [VendorTagDescriptor] lookupTag: Tag name 'meta.received.tid' does not exist. [CameraDevice-JV-0] onResultReceived, set KEY_META_RECEIVED_TID error: Could not find tag for key 'com.oplus.meta.received.tid') in Oneplus devics

Hi I have used ZXING barcode reader in my MAUI APP. When I am scanning in Oneplus device with Android version 12, 13,14 it is not scanning the QR codes and its crashing my app with following errors. [VendorTagDescriptor] lookupTag: Tag name…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,628 questions
asked 2024-03-04T14:34:38.5633333+00:00
dedeepya yarlagadda 20 Reputation points
4 answers

User.FindFirst(ClaimTypes.NameIdentifier) doesn't retrieve anything

I'm trying to make an update user endpoint and to get the user i use the return user.FindFirst(ClaimTypes.NameIdentifier)?.Value; method but when i call this my controller update user endpoint it doesnt return any value the user variable which it is…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,025 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.
9,983 questions
asked 2022-09-19T14:10:45.663+00:00
Asjad Butt 66 Reputation points
answered 2024-03-04T14:29:34.95+00:00
Vinay Kumar Suboji 0 Reputation points
0 answers

Maui app in NET 8 craches

Hi, I used maui app , distributed as exe and run on windows 10. (VS Version 17.8.4) in NET 8. Faulting application name: GssdDesktopClient.Maui.exe, version: 1.0.0.0, time stamp: 0x65680000 Faulting module name: KERNELBASE.dll, version:…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,628 questions
asked 2024-02-28T12:47:29.5666667+00:00
דני שטרית 2,266 Reputation points
edited a comment 2024-03-04T14:24:49.1733333+00:00
דני שטרית 2,266 Reputation points
0 answers

rethinking user flow

I am coding my user flow but this time I am going to dynamically create the menu. So, in my shell, I have two pages. Startup Page Login Page The startup page is responsible for checking for the token and redirect the user. public class…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,628 questions
asked 2024-03-02T15:31:31.4966667+00:00
Eduardo Gomez 3,216 Reputation points
commented 2024-03-04T14:20:18.1466667+00:00
Eduardo Gomez 3,216 Reputation points
0 answers

Application or app?

Hi, More question: Application.Current.MainPage.Navigation.PushAsync(new MainPage(context.Item as Schedule)); Or App.Current.MainPage.Navigation.PushAsync(new MainPage(context.Item as Schedule)); Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,628 questions
asked 2024-03-04T13:55:19.1533333+00:00
דני שטרית 2,266 Reputation points
1 answer One of the answers was accepted by the question author.

Saving multiple draggable divs in their new positions

I have been able to use that to create drag and drop for multiple divs. What I mean is, whatever position a user drags and drops any div tag, and user clicks the save button, everything on that page will be saved as seen. Then whenever the user returns,…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,192 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,186 questions
asked 2024-02-18T23:18:01.1766667+00:00
Donald Symmons 2,746 Reputation points
accepted 2024-03-04T13:48:19.0633333+00:00
Donald Symmons 2,746 Reputation points
0 answers

Need help with Graphics.DrawString font size for printer output

I have a Windows desktop application that creates labels to print to a laser printer.  I am using Visual Studio v17.8.6 and the template is .NET Framework. I am new to using graphics and unsure what is the best solution to use to print to the laser…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,805 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.
9,983 questions
asked 2024-03-01T19:21:59.1166667+00:00
Pat Hanks 40 Reputation points
commented 2024-03-04T13:46:15.6866667+00:00
Pat Hanks 40 Reputation points
0 answers

Net maui windows platform when i change size of application as like smaller end of collectionview item s content dissapering ?

Net maui windows platform when i change size of application as like smaller end of collectionview item s content ( x:Name="xShipping" } dissapering ? how to fix it or how to do it.. thanks.. <CollectionView …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,628 questions
asked 2024-03-04T13:41:13.36+00:00
Sami 761 Reputation points
1 answer

Performance improvement while loading a collection View

Hi , I have to load a collection that has a huge data , I use async task to fetch the data from service and use loading indicator till then , when I navigate to the response screen , it takes a bit of time to populate the collection view which…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,628 questions
asked 2024-02-23T07:22:20.4166667+00:00
Manickam, Suraj 160 Reputation points
edited a comment 2024-03-04T13:20:34.2866667+00:00
Manickam, Suraj 160 Reputation points