23,954 questions with .NET-related tags

Sort by: Updated
0 answers

How to enable my app as "Restartable App"? Does WER plays a role in this?

I am building a Win 32 application in C++. I am looking for my application to get restarted upon when the system reboots. I couldn't find much information on how I can make my app restartable. Can someone please help me how can I make my app…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,390 questions
asked 2024-04-29T09:21:13.85+00:00
Rohan Pande 265 Reputation points
edited the question 2024-05-02T13:35:16.41+00:00
MayankBargali-MSFT 68,641 Reputation points
1 answer

Updating app service from .NET 6 to 8

I'm trying to update my asp.net core backend from .NET 6 to 8. I've updated the target framework for the projects, changed the docker images to version 8, and updated the exposed ports. It runs as expected locally. (In the past month, I've updated a…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,390 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,180 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,900 questions
asked 2024-04-30T20:53:38.6433333+00:00
Rebekah Williams 0 Reputation points
edited a comment 2024-05-02T13:32:54.71+00:00
Azizkhon Ishankhonov 195 Reputation points
0 answers

WPF Select All Checkbox in a DataGrid DataBinding (Using Xampp, SQLYog, ODBC Driver)

Hi! Everyone I have been searching and integrating all checkbox multiselect from the answers I found online, and I l learnt so much, whether they use MVVM Light tollkit and Non-MVVM approach. All of them runs in different way but all are fulfilled the…

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,676 questions
asked 2024-04-30T06:36:42.5033333+00:00
Superbia15 0 Reputation points
edited a comment 2024-05-02T13:30:33.6733333+00:00
Superbia15 0 Reputation points
1 answer One of the answers was accepted by the question author.

Custom Webview Renderer in MAUI- Android

In Xamarin forms we are using custom WebView renderer. using Dev.Controls; using Dev.Droid.Controls; using Android.Content; using Xamarin.Forms; using Xamarin.Forms.Platform.Android; using WebView = Android.Webkit.WebView; [assembly:…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,890 questions
asked 2024-02-09T10:23:21.5766667+00:00
Bhuwan 616 Reputation points
edited a comment 2024-05-02T13:21:36.25+00:00
Keerthana Krishna 0 Reputation points
0 answers

Numbers are not displayed properly when using Arabic culture with Right-to-Left (RTL) flow direction in WPF.

When using a textbox in Arabic culture with RTL, numbers are displayed in Arabic numerals. However, I want them to be displayed in standard numerals only. FlowDirection="LeftToRight": FlowDirection="RightToLeft": Code…

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,676 questions
asked 2024-05-02T13:12:21.38+00:00
Vignesh 0 Reputation points
3 answers

How to view/show image from file server path on button click

i am developing asp.net application. i am uploading many image documents in file server path like example (\server2\prj1\picture1.png) At the same time, i want to view/show the same file (image document) on button click event. How to show this image…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,263 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,269 questions
asked 2024-04-27T18:06:29.1133333+00:00
Gani_tpt 1,546 Reputation points
edited a comment 2024-05-02T12:58:23.16+00:00
Gani_tpt 1,546 Reputation points
0 answers

CTRL Commands Not Working with Winforms Web Browser

Hello, We have an application with a winforms web browser hosted on a WPF window and this browser is used to load HTML's within our application. These HTML files have fields that allow users to fill out. Letters and numbers work fine when put into the…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,831 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,676 questions
asked 2024-04-22T20:38:22.62+00:00
Lpatz-4663 20 Reputation points
commented 2024-05-02T12:47:49.28+00:00
Lpatz-4663 20 Reputation points
1 answer

Simulate dead lock with sampfore slim

Hi, How I simulate deadlock with with this code? public async Task<string> GetSessionToken(string developmentApiKey) { await _semLock.WaitAsync(); try { if…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,390 questions
asked 2024-05-02T08:41:24.51+00:00
Dani_S 2,726 Reputation points
answered 2024-05-02T12:34:14.59+00:00
Jiale Xue - MSFT 32,076 Reputation points Microsoft Vendor
0 answers

How to connect different Azure Id with Visual Studio 2022 Id

Is it possible to connect a personal Azure account and a company Azure account ?? ( For Test Purpose ) If so, how can this be done? Thank you.

Azure Key Vault
Azure Key Vault
An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
1,122 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,180 questions
asked 2024-05-02T08:22:12.4066667+00:00
KHSong 0 Reputation points
edited the question 2024-05-02T12:05:09.3533333+00:00
Tianyu Sun-MSFT 27,356 Reputation points Microsoft Vendor
1 answer

Does Maui-Android have an issue with Shadow property for the Border control?

When I define Shadow for the Border control (see XAML code below), Android fails to display. It works fine on WinUI. If I remove Shadow definition in XAML it works for Android. Does Android have an issue with Shadow? <Border Stroke="Blue"…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,890 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,269 questions
asked 2023-03-27T18:27:32.8933333+00:00
dg2k 1,386 Reputation points
commented 2024-05-02T11:01:02.5566667+00:00
Haider Ali Faizi 80 Reputation points
0 answers

IMAGE UPLOAD USING PHOTO PICKER DIALOG

RegistrationForm.cshtml <div class="mt-2"> <div class="row"> <div class="col-7 col-sm-6"> <div class="d-flex…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,180 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.
298 questions
asked 2024-05-02T10:39:55.1833333+00:00
Nandini S 20 Reputation points
asked 2024-04-22T15:08:19.31+00:00
THUMMALURU RAJESH REDDY 0 Reputation points
edited the question 2024-05-02T09:46:58.28+00:00
MayankBargali-MSFT 68,641 Reputation points
4 answers

How to copy big file 5g with task and within impersonation

Hi, How to copy big file 5G from source to destination using impersonation: WindowsIdentity.RunImpersonated( ImpersonationHelper.Token Thanks,

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,390 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,890 questions
asked 2024-04-18T08:06:36.18+00:00
Dani_S 2,726 Reputation points
edited a comment 2024-05-02T09:42:53.3333333+00:00
Dani_S 2,726 Reputation points
0 answers

internal error in the .NET Runtime at IP 70DE92C3

Application terminates when loading report viewer, event viewer shows an error: "internal error in the .NET Runtime at IP 70DE92C3"

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,269 questions
.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,121 questions
asked 2024-04-15T16:08:52.4566667+00:00
Tom McKeown 0 Reputation points
commented 2024-05-02T09:20:44.7566667+00:00
Jiachen Li-MSFT 26,666 Reputation points Microsoft Vendor
1 answer

How can I prevent the device font size effect of a MAUI iOS app?

When ever I change the font size in the iOS device, that font size is effecting on the MAUI application. I want to restrict that. Thanks Vaibhav Methuku.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,890 questions
asked 2024-04-30T07:59:29.0966667+00:00
Vaibhav Methuku 60 Reputation points
commented 2024-05-02T09:09:58.18+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,421 Reputation points Microsoft Vendor
3 answers

ASP.NET framework 4.8 code for file uploding into Azure storage/container using FileUpload control

Hello For file uploading into Azure Storage / containers using the FileUpload control—preferably upon button click—ASP.NET framework 4.8 code is required. Thanks in advance Regards Chandrakant

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,390 questions
Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
2,706 questions
asked 2024-04-29T17:12:45.4533333+00:00
Chandrakant Pawle 61 Reputation points
answered 2024-05-02T07:59:19.8166667+00:00
Anand Prakash Yadav 5,925 Reputation points Microsoft Vendor
0 answers

How to fix StackOverflowException after upgrading from .Net 6 to .Net 8

Hello,   I have upgraded 5 projects in my solution from .Net 6 to .Net 8 using upgrade assistant in Visual Studio. When I run the solution, StackOverflowException is being thrown and Swagger is not loading. Looks like onchangetokenfired() method is being…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,390 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,180 questions
asked 2024-04-26T06:39:38.71+00:00
Abhishek, Burra 0 Reputation points
commented 2024-05-02T07:44:08.1966667+00:00
Abhishek, Burra 0 Reputation points
6 answers

How to target .NET Framework 4.0 in VS 2022 on Windows 11?

Working on some old projects targeting .NET Framework 4.0. I used VS 2022 to open the solution and was told to install 4.0 targeting pack. I can't find the download link on the dotnet website, nor the installation option in Visual Studio Installer. …

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,269 questions
.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,121 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
942 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,200 questions
asked 2022-09-05T07:41:23.313+00:00
Lee Feng 136 Reputation points
edited a comment 2024-05-02T07:39:18.2866667+00:00
Fabrizio Cioni 0 Reputation points
2 answers

Will Visual Studio upgrade project files accordingly?

I may have an old .NET Framework app dumped into my lap. I've been looking at it for a while, to try and wrap my head around it. It's got 18 projects in the solution file, comprised of 5 different .NET Frameworks. Everything from .NET Framework 2, to…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,617 questions
.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,121 questions
asked 2024-04-29T20:26:12.4766667+00:00
Falanga, Rod, DOH 80 Reputation points
commented 2024-05-02T07:25:10.81+00:00
Tianyu Sun-MSFT 27,356 Reputation points Microsoft Vendor
0 answers

Editor is vanish when I move to full screen

Hi, When I resize the page to full screen the editor cotent disappered? why? Thanks, <ScrollView x:Name="scrollView"> <Editor x:Name="editor" IsReadOnly="False" AutoSize="TextChanges"…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,890 questions
asked 2024-04-30T06:58:54.0366667+00:00
Dani_S 2,726 Reputation points
commented 2024-05-02T07:24:30.8566667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,576 Reputation points Microsoft Vendor