24,169 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,345 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-17T16:52:17.36+00:00
SusanA 0 Reputation points
1 answer

Debug and Release Version have different file Size, but in negative way: Maui Android App

I had a Xamarin App that when I compile goes to 30 MB file size in release after all optimization. Now, we uprade same app to Maui. And when I run the app in emulator it works fine with APK been generate of 20 MB. During Xamarin since link is not set and…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,958 questions
asked 2024-05-17T11:30:03.5166667+00:00
Sumit Gupta 26 Reputation points
commented 2024-05-17T16:34:02.0833333+00:00
Sumit Gupta 26 Reputation points
2 answers

how to create ios application in vs?

there is Android Application in VS. but no ios Application right? how to create ios? not MAUI just .net ios.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,958 questions
asked 2024-05-13T04:00:44.6866667+00:00
mc 3,701 Reputation points
edited an answer 2024-05-17T16:16:09.77+00:00
Bruce (SqlWork.com) 57,481 Reputation points
1 answer

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,846 questions
Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,754 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,669 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,438 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,345 questions
asked 2024-05-16T13:35:04.7966667+00:00
Thad T 6 Reputation points
commented 2024-05-17T16:05:59.4133333+00:00
Thad T 6 Reputation points
0 answers

How to implement google play billing in MAUI .NET 8

I'm trying to implement the google play billing library in my .net maui application (8.0). I tried following instructions on this thread. https://learn.microsoft.com/en-us/answers/questions/1347017/im-curious-about-the-google-play-store-payment-fea …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,958 questions
asked 2024-05-17T16:02:36.84+00:00
Ryan Ruffing 0 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,227 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,086 Reputation points
1 answer

Creating a Cross-Platform Calendar Event

Details I am developing an application that allows users to create meetings. For this, I need the user to select a date and time. I was thinking of letting the user choose a time zone, but Microsoft calendar converts meetings to the local time zone of…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,958 questions
asked 2024-05-17T01:41:42.6+00:00
Eduardo Gomez Romero 225 Reputation points
answered 2024-05-17T15:42:11.1166667+00:00
Bruce (SqlWork.com) 57,481 Reputation points
0 answers

What's wrong with System.Diagnostics.EventLog?

Dear Community, I run into trouble... Situation: I created a WorkerService with VisualStudio 2022 based on .NET 6. To log all Informations I use the System.Diagnostics.EventLog Library. If I run the application in the command prompt everything works…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,438 questions
asked 2024-05-17T15:38:29.7866667+00:00
Fabig, Richard 20 Reputation points
1 answer

AKS deployed application to access on-prem server

Hi, I want to connect to on-prem sql server from a .net application which is deployed in AKS. We already have Azure relay/hybrid connection setup for the same, but that requires azure app service. I am looking for options to connect from AKS deployed…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,227 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,851 questions
Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
1,883 questions
asked 2024-05-16T12:53:21.2833333+00:00
Santhi Dhanuskodi 145 Reputation points
edited a comment 2024-05-17T15:16:58.73+00:00
Bruce (SqlWork.com) 57,481 Reputation points
1 answer

Maui MediaPicker.Default.CapturePhotoAsync windows doesn't display camera

When I run the app is the VS 2022 on Windows 10 the MediaPicker.Default.CapturePhotoAsync method displays the camera and allows me to capture a photo. When the app is published and installed on Windows 10 the MediaPicker.Default.CapturePhotoAsync method…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,754 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,958 questions
asked 2024-04-30T16:15:24.1733333+00:00
Grant Schaffer 25 Reputation points
edited a comment 2024-05-17T14:30:22.2133333+00:00
Felipe Pineda O-I 0 Reputation points
1 answer

I received the error "Unable to find an OpenAPI description" while running the API tutorial at https://learn.microsoft.com/en-us/training/modules/build-web-api-aspnet-core/3-exercise-create-web-api

https://learn.microsoft.com/en-us/training/modules/build-web-api-aspnet-core/3-exercise-create-web-api When connecting to localhost using httprepl and https, I received the error "Unable to find an OpenAPI description". I am using…

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.
8 questions
asked 2024-05-10T14:06:11.3866667+00:00
Stanley, Eugene 5 Reputation points
commented 2024-05-17T14:13:09.4+00:00
Yuki.Zhang 0 Reputation points
0 answers

How to resolve SignalR Hub connection issue from Client side Javascript code

I have web application developed in .NET 5.0. This web application calls Web APIs to fetch information from SQL DB. Web and API applications are two separate applications hosted in Azure. I want to push some real time data every 2 minutes to all clients…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,438 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,227 questions
asked 2024-05-15T12:40:41.6033333+00:00
Mayuri Barve 1 Reputation point
commented 2024-05-17T13:35:07.4266667+00:00
JasonPan - MSFT 4,386 Reputation points Microsoft Vendor
0 answers

What to use for Target Framework and Minimum Framework for Android Maui project

When I select the Target Android Framework as available in dropdown (Android 14.0 API Level 34) it change the XML Tag in file as <TargetFrameworks>net8.0-ios;net8.0-android34.0</TargetFrameworks> But when I use same file to compile using…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,958 questions
asked 2024-05-17T11:24:36.0766667+00:00
Sumit Gupta 26 Reputation points
1 answer

In Blazor Web App Server authentication Azure missing iss claims

Hello, I followed this guide to create a Blazor Web App (server) with azure athentication https://learn.microsoft.com/it-it/entra/identity-platform/tutorial-blazor-server and it works. here the authentication…

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,410 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,760 questions
asked 2024-05-14T08:32:37.7933333+00:00
Stefania Robuschi 0 Reputation points
commented 2024-05-17T10:10:50.67+00:00
Stefania Robuschi 0 Reputation points
1 answer One of the answers was accepted by the question author.

How to perform a pivot grid in maui?

Hi, i want to display data from observablecollection in a pivotgrid using .Net Maui 8 like in the picture below. the columns are generated programatically. i write this code in the viewmodel: Stockstcviews =…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,958 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,345 questions
asked 2024-05-03T16:24:46.6+00:00
Kaouthar GR AOUICHAOUI 60 Reputation points
accepted 2024-05-17T09:41:39.07+00:00
Kaouthar GR AOUICHAOUI 60 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,846 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,438 questions
asked 2024-05-15T04:06:34.3866667+00:00
Việt Trần 0 Reputation points
commented 2024-05-17T09:41:31.4166667+00:00
Jiale Xue - MSFT 34,506 Reputation points Microsoft Vendor
1 answer

How to create backend application using Asp.net C# Web API Core

How to create backend application using web api core application followed by standards using desing pattern, Depedency injection and solid principle I am new to web api core how to start following things JWT token authentical and authorization simple…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,227 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,298 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,345 questions
asked 2024-05-17T06:22:52.4166667+00:00
coder rock 196 Reputation points
commented 2024-05-17T09:35:47.32+00:00
Brando Zhang-MSFT 2,961 Reputation points Microsoft Vendor
0 answers

Could you suggest anti-tampering solution for .NET MAUI mobile application ?

Hi all, Our team is facing with a challenge that applying anti-tampering solution for our .NET MAUI mobile application on both Android and IOS. We tried checksum bytes from assembly but it's not work on Android (IOS is normal working). Also, we tried…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,958 questions
asked 2024-04-08T07:46:33.6033333+00:00
Thinh Nguyen Viet 0 Reputation points
commented 2024-05-17T09:31:57.1366667+00:00
Thinh Nguyen Viet 0 Reputation points
1 answer

How to pass input data from one page to another page property

Register.cshtml <form method="post"> <div class="mb-3 row"> <div class="col-md-4"> <label for="CountryCode" class="form-label">Country Code</label> …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,227 questions
asked 2024-05-16T05:50:59.9633333+00:00
Nandhini S 0 Reputation points
commented 2024-05-17T09:30:53.95+00:00
JasonPan - MSFT 4,386 Reputation points Microsoft Vendor
0 answers

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,298 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,345 questions
asked 2024-05-16T16:11:44.3566667+00:00
Gani_tpt 1,666 Reputation points
commented 2024-05-17T09:30:45.7833333+00:00
Gani_tpt 1,666 Reputation points