Microsoft Q&A

.NET

20,776 questions

Microsoft Technologies based on the .NET software framework.

Browse all .NET tags

20,776 questions with .NET-related tags

Sort by: Updated
0 answers

dotnet blazor maui UAE PASS authentication unable to redirect to the mobile app after authentication is done

I'm Developing the app with UAE pass authentication using Maui Blazor technology(C#). successfully obtained the authorization code from UAE Pass but i am facing difficulties redirecting back to mobile app. Please find the attached file. I have…

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,115 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,884 questions
asked 2023-10-03T05:25:23.7233333+00:00
Raju Gadda 26 Reputation points
edited the question 2023-10-03T19:33:34.9033333+00:00
Rob Caplan - MSFT 5,227 Reputation points Microsoft Employee
0 answers

How to fix start up white screen problem

I was restore my pc after setting up I was unable get further I was stuck at the services section it's shows notting

.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.
65 questions
asked 2023-10-03T19:24:49.58+00:00
teja sabbam 0 Reputation points
0 answers

How to Deploy .Net Maui Windows application in Intune using Line of Business Deployement?

I have a .NET Maui Application and I published it into Side Loading package. In the created package there is one main .msix file and another Microsoft.WindowsAppRuntime.1.2.msix inside a dependency folder. I am using Intune Line of Business deployment to…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,884 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
3,349 questions
asked 2023-09-25T13:28:14.65+00:00
Lohith K K 60 Reputation points
commented 2023-10-03T19:11:13.6366667+00:00
Igal Flegmann 0 Reputation points
0 answers

Error when try read data from Excel File in ASP.NET MVC

In an ASP.NET MVC app, I am trying to read data from Excel file but I get this error: The error appears in production mode, but in development mode there's no problem. I am making host on Local Host on my computer Microsoft Excel cannot access the file…

ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
992 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,034 questions
asked 2023-10-03T17:37:39.96+00:00
mostafa ahmed 1 Reputation point
commented 2023-10-03T18:36:30.21+00:00
mostafa ahmed 1 Reputation point
1 answer

Asp.Net MVC5 - Static Html Files Authentication?

Hi, I am working on Asp.Net MVC5 (.Net Framework 4.8 & C#) web application. The application is hosted in azure app service. The project solution has a "Help" folder, and the contents of the help folder is static files only i.e., html files.…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,077 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
992 questions
asked 2023-10-03T15:33:22.3133333+00:00
Senthil S R 0 Reputation points
commented 2023-10-03T18:31:44.99+00:00
Senthil S R 0 Reputation points
1 answer

Datareader vs Dataadapter vs something else

HI , i have been recently working on the c# code to pull the data from sql server database but have been stuck at creating a generic method which can retrieve large data from database . The term generic is used because my application have 20 forms and…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,641 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,034 questions
asked 2023-10-03T14:38:41.0066667+00:00
ankit goel 606 Reputation points
answered 2023-10-03T18:22:26.2833333+00:00
Karen Payne MVP 32,991 Reputation points
1 answer

Reducing opacity of swipe images

How do I reduce the opacity of images in a swiper container, except for the image that is swiped to display in the middle? For example, as the images are swiping through, any image that appear in the middle will be clear while the other ones beside will…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,077 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,647 questions
ASP.NET Web Forms
ASP.NET Web Forms
A part of the ASP.NET web application framework that can be used to create ASP.NET web applications.
626 questions
asked 2023-10-03T12:11:36.16+00:00
Donald Symmons 2,046 Reputation points
answered 2023-10-03T18:08:05.1866667+00:00
Bruce (SqlWork.com) 44,811 Reputation points
0 answers

Emulator error in Visual studio 2022

Hi Team, I am trying to run a Xamarin application using Visual Studio 2022 community. From Android device Manager, I have created an emulator with below configuration - Processor - X86_64 OS - Android 13.0 - API 33 While running it getting below error…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,164 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,826 questions
asked 2023-10-03T17:46:27.84+00:00
salilsingh-9961 221 Reputation points
1 answer

Binding library with xcfranework

How to use xcframework in xamarin ios binding library

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,164 questions
asked 2023-10-02T22:28:48.4033333+00:00
Rishabh Pandey 0 Reputation points
answered 2023-10-03T17:35:50.8933333+00:00
Bruce (SqlWork.com) 44,811 Reputation points
3 answers

Controls inside controls

Hi , can someone please share some idea by which i can create a list which shows all the parent controls in a form with all the child controls inside them .

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,641 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,034 questions
asked 2023-10-03T14:43:40.1233333+00:00
Shaifali jain 320 Reputation points
answered 2023-10-03T17:01:51.8166667+00:00
Karen Payne MVP 32,991 Reputation points
1 answer

MAUI: Listview isvisible property is not working from the code behind?

I am trying to show the selected image or file on my UI on a listview. So initially the listview's IsVisible I set to false and after picking item I set the IsVisible property to true. My problem is after picking item the listview is not visible on the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,884 questions
asked 2023-09-19T14:24:15.5166667+00:00
Sreejith Sreenivasan 406 Reputation points
commented 2023-10-03T17:00:54.9366667+00:00
Rob Caplan - MSFT 5,227 Reputation points Microsoft Employee
0 answers

Background worker not setting textbox.backcolor in UI thread

[windows forms, dotnet 4.8.1 VB] I have several applications that use a common non-indexed "message log" database file to communicate - works great! Each application tells the dashboard app when it starts, reports progress, completes, and is…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,641 questions
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.
3,091 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,077 questions
asked 2023-10-03T16:55:24.0233333+00:00
JBDayrelton 0 Reputation points
2 answers

How rendering handling concurrency in razor page from API response?

Hi, I'm following up on all the discussions I've had about handling concurrency errors. 1 - I would like to know if it is possible to handle concurrency errors in a context where I have a DataGrid in edition mode on a line? 2 - I have defined a put…

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,115 questions
asked 2023-09-29T16:15:02.6566667+00:00
sblb 1,141 Reputation points
commented 2023-10-03T16:50:12.13+00:00
sblb 1,141 Reputation points
2 answers

Win32 EnumFontFamiliesEx doesn't call the callback I provide

I wrote a class to test if a WPF font is fixed width. But the only way I could find to do that was to get the LOGFONT and test it. So I went through a lot of P/Invoke hoops to get there. I created a DC for the display and asked it to enumerate the…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,077 questions
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,484 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,232 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,034 questions
asked 2023-09-28T03:32:36.0033333+00:00
Will Pittenger 281 Reputation points
commented 2023-10-03T16:45:17.89+00:00
KOZ6.0 1,280 Reputation points
0 answers

How to subscribe/listen to System.Diagnostics.Metrics based instruments out-of-proc programmatically?

I have bunch of custom metrics created using System.Diagnostics.Metrics. I want to know how to subscribe them for viewing out-of-proc programmatically. I know we have dotnet-counters CLI tool but I have requirement to show it some specific way…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,077 questions
asked 2023-10-03T16:27:40.2266667+00:00
Ashish Trivedi 0 Reputation points
0 answers

Event ID 1309 ASP.NET 4.0.30319.0 Warning

I put the whole error below, but before I continue there's a phrase in this error people are going to focus on and it's NOT the problem. There is no trust relationship problem with the server. What I don't doubt is at issue is communication to the…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,647 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
10,639 questions
asked 2023-10-03T16:00:54.65+00:00
Will 0 Reputation points
commented 2023-10-03T16:20:51.6566667+00:00
Will 0 Reputation points
1 answer

best practice for Application Insights with Blazor Server

i have seen multiple posts about Blazor Web Assembly and Application Insights but almost zero on how to best use application insights with Blazor server. is the only way to treat blazor server like web assembly ? are there any guides on how to get full…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,592 questions
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,115 questions
asked 2023-10-02T18:35:53.3266667+00:00
Denny Figuerres 0 Reputation points
commented 2023-10-03T16:18:42.6533333+00:00
Bruce (SqlWork.com) 44,811 Reputation points
2 answers

Jwt Token implementation not working on azure app service when using secured private key

I have created a .net core application in which there is implementation of Jwt token generation and then use it for authentication. The token generation is using a private key to generate the key and public key to validate the key for protected routes.…

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.
244 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
5,677 questions
asked 2023-10-03T09:45:22.9066667+00:00
Dheeraj Sharma 0 Reputation points
answered 2023-10-03T16:11:55.8266667+00:00
Bruce (SqlWork.com) 44,811 Reputation points
0 answers

ASP.NET Web Core with .NET Core 7.0 Error While Generating Scaffolding

In an ASP.NET core project built on .NET Core 7.0 I am trying to scaffold the login page with the following steps: I right click on the project, and select Add -> New Scaffolded Item I select Identity and Click on Add Then I choose…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,592 questions
asked 2023-10-03T16:04:46.3866667+00:00
Hochgurtel, Brian D 0 Reputation points
0 answers

PrintToPdfAsync with custom header and footer. How can I take full control of these elements?

var setting = webView2.CoreWebView2.Environment.CreatePrintSettings(); setting.ShouldPrintHeaderAndFooter = true; setting.HeaderTitle = headerText; setting.FooterUri = footerText; await webView2.CoreWebView2.PrintToPdfAsync( pdfFile, setting ); …

ASP.NET Web Forms
ASP.NET Web Forms
A part of the ASP.NET web application framework that can be used to create ASP.NET web applications.
626 questions
asked 2023-10-03T15:53:24.8266667+00:00
Vasanth Ramakrishnan 0 Reputation points