24,188 questions with .NET-related tags

Sort by: Updated
0 answers

Rendering issues with our .Net application post windows patch

Recently, we've encountered rendering issues with our .NET application following a Windows patch update for Windows 10 Version 22H2. Specifically, after applying the cumulative update for .NET Framework 3.5, 4.8, and 4.8.1, we've noticed intermittent…

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,361 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,130 questions
asked 2024-05-16T16:21:59.7033333+00:00
SusanA 0 Reputation points
commented 2024-05-20T01:15:47.2566667+00:00
Jiachen Li-MSFT 26,921 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How to programmatically display the Windows taskbar using C#

I would like to know what C# code/instructions are necessary to make the Windows taskbar appear so that I can use a specific item on it. Can someone provide a concise example or resource to help me accomplish this? Thank you.

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,849 questions
Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,768 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,674 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,440 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,361 questions
asked 2024-05-16T13:35:04.7966667+00:00
Thad T 26 Reputation points
accepted 2024-05-19T23:47:12.7933333+00:00
Thad T 26 Reputation points
3 answers One of the answers was accepted by the question author.

Gridview TextBox value getting null (blank) after button click

i am selecting some checkboxes and trying to enter some feedback value in the corresponding cell of textboxes. But, I am unable to get Gridview textbox value in all paging when i click save button. Getting blank value always. below is my…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,303 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,361 questions
asked 2024-05-16T16:11:44.3566667+00:00
Gani_tpt 1,686 Reputation points
commented 2024-05-19T21:09:21.2733333+00:00
Albert Kallal 4,896 Reputation points
1 answer

How to logout user from all tabs in blazor webassembly standalone with azureb2c

Hi team, I have implemented azure b2c with my blazor webassembly standalone application. Now when user multiple tabs in same browser and log out from one of the session it remains active in other tabs. When user refreshes the page , it still is active.…

Microsoft Identity Manager
Microsoft Identity Manager
A family of Microsoft products that manage a user's digital identity using identity synchronization, certificate management, and user provisioning.
624 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,411 questions
asked 2024-05-18T12:20:37.97+00:00
Nitesh 21 Reputation points
answered 2024-05-19T19:56:38.7766667+00:00
Bruce (SqlWork.com) 57,646 Reputation points
2 answers

How to get the position of NotifyIcon at runtime?

Hi, I want to retrieve the location and size of notifyIcon whenever it be clicked. The purpose is to set the application UI above the notifyIcon like the below photo. Please show me how I can do this with C#. Thank you!

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,849 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,441 questions
asked 2024-05-15T04:06:34.3866667+00:00
Việt Trần 0 Reputation points
edited a comment 2024-05-19T17:44:54.82+00:00
KOZ6.0 5,050 Reputation points
3 answers One of the answers was accepted by the question author.

ASP.NET Core MVC pass a url parameter to the POST

Hi all; I have a Blazor Server app. It uses the ASP.NET Identity Library which is ASP.NET Core MVC. I am trying to pass a parameter to register so a URL like /identity/account/Register?follow=uniqueId gives me the parameter follow=uniqueId. In…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,228 questions
asked 2024-05-16T21:33:20.59+00:00
David Thielen 2,286 Reputation points
commented 2024-05-19T16:26:37.8866667+00:00
David Thielen 2,286 Reputation points
4 answers One of the answers was accepted by the question author.

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,441 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,962 questions
asked 2024-04-18T08:06:36.18+00:00
Dani_S 2,866 Reputation points
accepted 2024-05-19T10:23:57.17+00:00
Dani_S 2,866 Reputation points
1 answer One of the answers was accepted by the question author.

Service Monitor

Hi, I want a worker service with config file of time when to restart a given service. In the config file will be the time. the service will run always and when time reach check if service is running to restart it. Thanks in advance,

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,441 questions
asked 2024-05-05T16:07:58.2833333+00:00
Dani_S 2,866 Reputation points
commented 2024-05-19T10:21:29.3733333+00:00
Dani_S 2,866 Reputation points
0 answers

Process info - ArgumentList is limited when using user domain and password?

Hi, Process info - ArgumentList is limited when using user domain and password? Thanks in adavnce,

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,441 questions
asked 2024-04-10T06:28:48.0633333+00:00
Dani_S 2,866 Reputation points
commented 2024-05-19T07:53:23.85+00:00
Dani_S 2,866 Reputation points
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,962 questions
asked 2024-04-30T06:58:54.0366667+00:00
Dani_S 2,866 Reputation points
commented 2024-05-19T07:49:47.6933333+00:00
Dani_S 2,866 Reputation points
0 answers

Integrate Whatsapp Business API integration in MAUI App

Hi how to integrate WhatsApp business API for send message to anyone using through Microsoft MAUI.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,962 questions
asked 2022-11-21T05:56:20.563+00:00
Bhuwan 616 Reputation points
commented 2024-05-18T13:39:10.94+00:00
sumaiyaaisha 0 Reputation points
1 answer

How do I change the embed media properties (size, text wrapping, border, and so on) in CKEditor 5 (checking for script tag)?

Hi! I have an implementation of CKEditor fields in my project in the form: DecoupledEditor .create( document.querySelector( '#editor' ), { extraPlugins: [ MyCustomUploadAdapterPlugin ], removePlugins: […

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,228 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
897 questions
asked 2024-05-08T13:14:56.79+00:00
Volk Volk 571 Reputation points
answered 2024-05-18T12:11:44.0766667+00:00
Volk Volk 571 Reputation points
5 answers

XML parsing errors when manually converting app from Xamarin to Maui

I am manually converting my Xamarin app to Maui. After fixing all the conversion errors, I am left with these 16 errors that I do not know how to resolve. Severity Code Description Project File Line Suppression State Error MAUIG1001 An error occured…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,962 questions
asked 2022-05-29T16:06:12.627+00:00
Willie 31 Reputation points
commented 2024-05-18T07:38:55.24+00:00
John van der Linden 0 Reputation points
0 answers

Whenever I deploy my .NET MAUI application to my Android phone, it exits the code, producing an error "GetVersionTask" failed unexpectedly". What could be the solutions for this?

Whenever I deploy my application to my Android phone, it produces the error called ""GetVersionTask" failed unexpectedly." When I run it using Windows Machine, it runs completely normal. What could be the solution to this?

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,674 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,962 questions
asked 2024-05-10T12:55:17.3633333+00:00
John Ivan D. Bachiller 0 Reputation points
commented 2024-05-18T05:59:52.0533333+00:00
John Ivan D. Bachiller 0 Reputation points
4 answers

XA0137: The 'run-as' command failed with 'run-as: couldn't stat /data/user/0/com.test.demo: No such file or directory '.

Hi all, My app not installing in release mode, Even I tried generating apk and installing but app is crashing every time. I'm getting following error Start debugging Android application failed Start debugging Android application ... am start -a…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,299 questions
asked 2021-09-17T16:33:28.817+00:00
Nagarjuna Gadikota 1 Reputation point
commented 2024-05-18T03:58:01.94+00:00
John van der Linden 0 Reputation points
1 answer

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,962 questions
asked 2024-05-16T15:01:48.6366667+00:00
Tony Pitman 40 Reputation points
commented 2024-05-18T02:37:33.2333333+00:00
Bruce (SqlWork.com) 57,646 Reputation points
1 answer

Unhandled exception in "Build a web API with minimal API, ASP.NET Core, and .NET" Unit 2.

I wrote my code exactly as instructed, and I'm getting the following error message: Unhandled exception. System.InvalidOperationException: The service collection cannot be modified because it is read-only. at…

ASP.NET Core Training
ASP.NET Core Training
ASP.NET Core: A set of technologies in the .NET Framework for building web applications and XML web services.Training: Instruction to develop new skills.
9 questions
asked 2024-05-18T00:58:16.51+00:00
João Victor Serra Pinto 0 Reputation points
edited a comment 2024-05-18T01:51:51.47+00:00
AmaranS 2,675 Reputation points Microsoft Vendor
2 answers

How to dynamically change the port listened by Webserver in. NET when the Webserver is running

I created a NET 8 Console Application to create a WebServer and make it a Windows Service, in Program.cs, the code implementation is as follows var webOptions = new WebApplicationOptions() { Args = args, ContentRootPath =…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,441 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,228 questions
asked 2024-05-15T07:45:43.5233333+00:00
Aspire 81 Reputation points
edited an answer 2024-05-17T21:13:36.17+00:00
Can Kucukgultekin 0 Reputation points
1 answer

how to use sqlite views in.net maui

I have created 2 tables and a view in sqlite database. I also created a class for view including both table fields. Now I want to use this view in .net maui. Is it possible. Please explain how to do this. Thanks.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,962 questions
asked 2024-05-17T17:39:02.0833333+00:00
Babu R 81 Reputation points
answered 2024-05-17T19:48:03.15+00:00
Bruce (SqlWork.com) 57,646 Reputation points
3 answers

A weired error about HTTP 500 !

I created a web user asp.net 8.0 mvc without ef. When I modify the stucture of oracle datebase table ,such as add a field ,then the web related to the table report a error about HTTP 500 . But after I restart the iis,it works well without doing anything…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,228 questions
asked 2024-04-10T07:22:48.6266667+00:00
Alick Wang 266 Reputation points
commented 2024-05-17T15:52:24.6566667+00:00
MotoX80 32,091 Reputation points