24,103 questions with .NET-related tags

Sort by: Updated
1 answer

How to bring app to the top of all other apps in .Net MAUI mac catalyst

I want to bring the application to the top of all other apps, but i have tried all the below codes, but none of them working as expected. code snippet UIWindow window = UIApplication.SharedApplication.Windows[0]; if (window != null) { …

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,423 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,937 questions
asked 2024-05-13T10:22:22.3533333+00:00
Kiran Mohanty 0 Reputation points
answered 2024-05-14T02:47:06.7333333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 36,231 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

MAUI on MAC

Hi, I have new MAC. I developed app in VS 17.8.4 net 8. How to install vs code on MAC ? Which extensions in VS Code to install ? What I need more to run the project that witten in VS 17.8.4? Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,937 questions
asked 2024-05-12T10:55:17.5+00:00
Dani_S 2,766 Reputation points
accepted 2024-05-14T02:39:00.18+00:00
Dani_S 2,766 Reputation points
1 answer

How to sub section a long user entry form in MVC C#

I need to develop a long user entry form (Job application form). Which has many sub-sections like personal data, Exam Results, Work Experience, Membership etc...As all these cannot be displayed at once I want to show one section (personal data) first,…

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
asked 2024-05-11T06:02:54.0166667+00:00
Monica Suriyaarachchi 0 Reputation points
answered 2024-05-14T02:38:14.6233333+00:00
Monica Suriyaarachchi 0 Reputation points
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,423 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-14T02:20:51.78+00:00
Brando Zhang-MSFT 2,961 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-14T02:14:22.9133333+00:00
Matěj Rada 20 Reputation points
1 answer

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,937 questions
asked 2024-05-13T10:28:40.7833333+00:00
Manickam, Suraj 240 Reputation points
answered 2024-05-14T02:00:01.9766667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,146 Reputation points Microsoft Vendor
1 answer

image not loading in modal popup imageurl in asp.net c#

i am trying to load image in image button through modal popup. The problem is modal popup is showing, but image not loading which means it is blank window. i am storing all the images in different server and application hosted in another server. what is…

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,319 questions
asked 2024-05-05T17:01:04.1133333+00:00
Gani_tpt 1,586 Reputation points
commented 2024-05-14T01:28:20.95+00:00
Lan Huang-MSFT 25,956 Reputation points Microsoft Vendor
3 answers

Change height of the snackbar in dotnet MAUI Android

Hi, Does anyone know how can i change the height and the padding of the snackbar in dotnet maui Android? var snackbarOptions = new SnackbarOptions { BackgroundColor = Colors.LightGray, TextColor = Colors.Green, CornerRadius = new…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,937 questions
asked 2024-05-11T10:08:49.3533333+00:00
ALEXANDRUSTEFAN CRACEA 0 Reputation points
edited an answer 2024-05-14T00:48:21.0666667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,146 Reputation points Microsoft Vendor
0 answers

Android Emulator waiting for debugger to attach in .net maui app

I upgraded my .net maui app from .net 7 to .net 8 and updated my nuget packages. I built the output solution but deployment was not successful as I had received the error message:- Xaml XC002 erro: Binding could be compiled if x:datatype is specified…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,937 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,319 questions
asked 2024-05-11T02:31:41.49+00:00
wire_jp 201 Reputation points
commented 2024-05-13T22:07:20.9666667+00:00
wire_jp 201 Reputation points
1 answer One of the answers was accepted by the question author.

Visual studio 2022 Maui missing android and windows dependencies

Hi, I'm working on the maui and pretty sure when creating a project I had all dependencies - android, ios, mac, & window. Today I just noticed only two dependecies. How can I get the other two (android & windows) back? Thanks, J

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,648 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,937 questions
asked 2024-05-11T16:36:10.93+00:00
Jay 20 Reputation points
accepted 2024-05-13T21:35:51.7066667+00:00
Jay 20 Reputation points
0 answers

How to Increase/Decrease mouse pointer moving speed on a WPF application surface?

Hi there, I have a simple WPF application where I need to control the mouse pointer speed. Suppose I run the application and as soon as my mouse pointer enter the application area, the mouse pointer speed should be increase and I want some more…

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,682 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,431 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,319 questions
asked 2024-05-13T21:28:00.4833333+00:00
MERUN KUMAR MAITY 511 Reputation points
3 answers

Update Workload Problem/ NuGet Package unable to be installed.

**I have created 3 Projects: FrontEndProject and it is a Blazor Project and this is the csProj:** <Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly"> …

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
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,319 questions
asked 2024-05-10T04:54:17.63+00:00
Muhammad Ghozlan 0 Reputation points
commented 2024-05-13T21:20:09.44+00:00
Bruce (SqlWork.com) 57,241 Reputation points
0 answers

Fix intermittent exceptions with an Azure function running as a .NET8 isolated worker process

I inherited an Azure function that has been running fine on .NET6 In-Process Model. I recently moved it to .NET8 Isolated Worker Model and I am seeing some Exceptions in my App Insights log. There are about 10k requests made per hour and only 10 of them…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,329 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,423 questions
asked 2024-05-13T19:24:05.7066667+00:00
AK-9186 0 Reputation points
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,937 questions
asked 2024-05-13T14:11:45.04+00:00
Cyril Auquier 0 Reputation points
edited the question 2024-05-13T19:12:16.7733333+00:00
Rob Caplan - MSFT 5,422 Reputation points Microsoft Employee
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,423 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,319 questions
asked 2024-05-13T16:09:43.7+00:00
Jordan Halgunseth 1 Reputation point
commented 2024-05-13T18:49:21.6833333+00:00
KOZ6.0 4,895 Reputation points
3 answers One of the answers was accepted by the question author.

Debugging the Painting code of a control - stepping through System.Drawing code?

I'm working on a custom control that has a fairly hard-to-diagnose bug in its Painting/Drawing code, which is using GDI+ System.Drawing tools. This is in a sub-method being called from an overridden OnPaintBackground method. It would be much easier if I…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,841 questions
asked 2024-05-11T18:18:22.0666667+00:00
gb 66 Reputation points
accepted 2024-05-13T18:43:23.0733333+00:00
gb 66 Reputation points
2 answers One of the answers was accepted by the question author.

permanent footer row in datagridview

hi , is there a way by which our datagridview control could have a footer row below exactly after the 12 rows and if the rows in the datagridview increases , suppose by 2 . it should always be at last position but it always should be after 12 rows . the…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,841 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,319 questions
asked 2023-09-21T12:32:58.41+00:00
ankit goel 746 Reputation points
commented 2024-05-13T18:35:41.33+00:00
KOZ6.0 4,895 Reputation points
0 answers

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,319 questions
asked 2024-05-13T15:30:31.1333333+00:00
Gani_tpt 1,586 Reputation points
commented 2024-05-13T18:12:26.2833333+00:00
Gani_tpt 1,586 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,937 questions
asked 2024-05-13T17:39:49.45+00:00
PragadeeshRaj V 0 Reputation points
1 answer

I tried debugging .NET application but getting SSL CERT warning. How do I fix it?

I tried debugging .NET application in MS VS 2022, but getting SSL CERT warning. Should I install the certificate? Is it mandatory?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,423 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.
947 questions
asked 2024-05-10T14:53:45.1666667+00:00
Rishitha 0 Reputation points
answered 2024-05-13T17:12:13.3+00:00
Rishitha 0 Reputation points