24,112 questions with .NET-related tags

Sort by: Updated
0 answers

Script not working

Hello, its my first time here in this forum, i work with factory talk optix software to programe HMI it support .net am not familiar with c# but i asked chatgbt about to create i have no errors after Build but nothing is happens am tring to check if…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,425 questions
asked 2024-05-14T07:33:46.9533333+00:00
Jan 0 Reputation points
1 answer

Process snapshhot for worker service

Hi, I have worker service and i have shceduler running in it. How to take process snapshots and examine what is blocking/hanging in it? Thanks,

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,425 questions
asked 2024-05-14T03:36:41.0233333+00:00
Dani_S 2,766 Reputation points
commented 2024-05-14T07:30:49.7933333+00:00
Dani_S 2,766 Reputation points
0 answers

Certificate Revocation List

Hi All, We have a WPF application built on .Net Framework v4.8. This application acts as an HTTPs client. We are currently performing the certificate check using 'RemoteCertificateValidationCallback' method (except CRL). We now need to perform CRL…

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,683 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,320 questions
asked 2024-05-14T06:33:05.25+00:00
S Abijith 346 Reputation points
edited the question 2024-05-14T06:40:09.36+00:00
Jiachen Li-MSFT 26,831 Reputation points Microsoft Vendor
0 answers

I am getting System.InvalidProgramException error when upgraded the application from .NET 3.0 to .NET 8.0

I have upgraded Npgsql package from version 4.1.5 to version 8.0.2 that is required for .NET 8 upgradation but I am getting the following error after deployment of the service on the development environment and performing the health check for…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,425 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,212 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,127 questions
asked 2024-05-13T07:12:21.36+00:00
Singh, Sheetal 0 Reputation points
commented 2024-05-14T06:21:44.5733333+00:00
Brando Zhang-MSFT 2,961 Reputation points Microsoft Vendor
1 answer

The process cannot access the file because it is being used by another process

I tried to update me db schema in my code and after changing that if i run my application i ma getting the error as follows The process cannot access the file because it is being used by another process but my db is not opened anywhere so how to…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,425 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,320 questions
asked 2023-02-09T13:53:39.9233333+00:00
Dineshkumar.S 446 Reputation points
commented 2024-05-14T06:16:20.01+00:00
Mustafa Bamboat 0 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,943 questions
asked 2024-05-08T07:28:42.4233333+00:00
Keerthana Krishna 40 Reputation points
edited a comment 2024-05-14T06:15:26.3233333+00:00
David Brewer 0 Reputation points
0 answers

Maui for Android default font size

Hello All. if I have an Entry control that I don't set it's font size. How I can programmatically get it's font size. in other words how I get the default font size of a control that have text in it. Thank you very much.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,943 questions
asked 2024-05-14T06:09:21.7466667+00:00
Haviv Elbsz 1,926 Reputation points
edited the question 2024-05-14T06:10:29.3933333+00:00
Haviv Elbsz 1,926 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,943 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,320 questions
asked 2024-05-12T21:27:18.04+00:00
Phunction 206 Reputation points
commented 2024-05-14T06:10:28.39+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 36,456 Reputation points Microsoft Vendor
0 answers

Maui ios publish : Path's format not supported

Hello, I am encountering an issu when i am publishing, creating the archive of my maui application, i have the given error 16:02:09:546 Cannot create an IOS archive 'MT.TimeClean.Client.ForNative'. Process cannot be executed on XMA…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,943 questions
asked 2024-05-13T14:11:45.04+00:00
Cyril Auquier 0 Reputation points
edited a comment 2024-05-14T05:59:39.2733333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,751 Reputation points Microsoft Vendor
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,649 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,943 questions
asked 2024-05-10T12:55:17.3633333+00:00
John Ivan D. Bachiller 0 Reputation points
commented 2024-05-14T05:48:17.5+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,146 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Working with Date picker

Currently I am using the default date picker provided by MAUI , if i have to a select the year 2025 or 26 , I have to keep pressing the right arrow to get to the year or month which can be time consuming if the years are far ! instead of tapping on the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,943 questions
asked 2024-05-13T10:28:40.7833333+00:00
Manickam, Suraj 240 Reputation points
accepted 2024-05-14T05:38:21.9733333+00:00
Manickam, Suraj 240 Reputation points
0 answers

Integrating MAUI Project with Another Project Reference and MSI Setup in Visual Studio

I'm currently tackling a project that requires creating a MAUI (Multi-platform App UI) project in Visual Studio while also referencing another project, such as a service for installation and background processes, within the same solution. Furthermore, I…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,292 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,943 questions
asked 2024-05-13T17:39:49.45+00:00
PragadeeshRaj V 0 Reputation points
commented 2024-05-14T05:31:21.21+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,146 Reputation points Microsoft Vendor
1 answer

How to setup Blazor Server with Blazor WASM with gRPC for virtual IIS application?

Hi, I have simple Blazor Server without static files. It is only falling into Blazor WASM with static files using FallBackTo. There is gRPC an its Controller mapped on the main endpoint. Everythig is working on https://localhost. Once I try to deploy…

Internet Information Services
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,212 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,406 questions
asked 2024-05-10T13:41:33.87+00:00
Matěj Rada 20 Reputation points
commented 2024-05-14T05:15:52.1466667+00:00
Rada Matěj 100 Reputation points
1 answer

Not able to get all paging checkbox checked records in gridview asp.net c#

I am using gridview with paging. i done all the pagination code and selected checkbox. Checkbox "CheclALL" is working fine with every page. But, when i save the record, it will be saving only last page checkbox checked values. What is the…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,292 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,320 questions
asked 2024-05-13T15:30:31.1333333+00:00
Gani_tpt 1,586 Reputation points
answered 2024-05-14T05:15:26.4966667+00:00
Lan Huang-MSFT 25,956 Reputation points Microsoft Vendor
0 answers

Get all drives in MAC ?

Hi Bruce, Maui approach is to run windows in a vm, and use visual studio for windows. How i get in C# all the drives in MAC ? Thanks in advance,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,943 questions
asked 2024-05-14T03:29:53.6166667+00:00
Dani_S 2,766 Reputation points
commented 2024-05-14T03:30:52.98+00:00
Dani_S 2,766 Reputation points
0 answers

USB on MAC

Hi Bruce, Maui approach is to run windows in a vm, and use visual studio for windows. Is there USB in MAC ? How I protected the app for malicious operation that only the app will have access to it ? Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,943 questions
asked 2024-05-14T03:27:55.41+00:00
Dani_S 2,766 Reputation points
0 answers

Burn media in MAC

Hi Bruce, Maui approach is to run windows in a vm, and use visual studio for windows. Is there burn media in apple ? How do i work with it ? C# ? Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,943 questions
asked 2024-05-14T03:24:40.07+00:00
Dani_S 2,766 Reputation points
1 answer

Stop background worker

I am using C#. I have a that has a background worker reading a file. How do I stop it before it is finished by pressing esc key.

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,425 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,320 questions
asked 2024-05-13T16:09:43.7+00:00
Jordan Halgunseth 1 Reputation point
commented 2024-05-14T03:23:07.6433333+00:00
Jiale Xue - MSFT 34,361 Reputation points Microsoft Vendor
0 answers

Impersonation on MAC

Hi Bruce, My Maui approach is to run windows in a vm, and use visual studio for windows. This is a windows only feature. unix does not support changing the process owner.If we are using kerberos authenication, MacOs (and linux) only supports one active…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,943 questions
asked 2024-05-14T03:21:31.8866667+00:00
Dani_S 2,766 Reputation points
2 answers

Show/hide the fields based on the condition in jQuery

how to show/hide the otp->textbox and update->button based the onblur SaveProfileName_Email values change. Initially, when the page is loaded the txtProfileEmail and txtProfileName should contains the default values ex:- txtProfileEmail :- a@b.com…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,292 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
885 questions
asked 2024-05-07T12:17:10.6533333+00:00
Ashok Kumar 201 Reputation points
answered 2024-05-14T03:18:45.8033333+00:00
QiYou-MSFT 4,306 Reputation points Microsoft Vendor