24,172 questions with .NET-related tags

Sort by: Updated
1 answer

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,299 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,350 questions
asked 2024-05-16T16:11:44.3566667+00:00
Gani_tpt 1,666 Reputation points
edited an answer 2024-05-18T05:03:40.5+00:00
Poluru Sairam Sekhar 31 Reputation points
0 answers

How to maintain ajax text box calander control value after save button clicked

I am using asp.net text box control for date picking..for that, i am using ajax calander extender. Here, is facing issue that, date control values will be clearing after save button clicked...here I want to maintain the date values till I manually…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,299 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,350 questions
asked 2024-05-18T04:24:53.3166667+00:00
Gani_tpt 1,666 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,298 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,959 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,641 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
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,959 questions
asked 2024-05-17T11:30:03.5166667+00:00
Sumit Gupta 26 Reputation points
commented 2024-05-18T01:21:12.83+00:00
Sumit Gupta 26 Reputation points
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,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-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
3 answers

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,227 questions
asked 2024-05-16T21:33:20.59+00:00
David Thielen 2,286 Reputation points
edited an answer 2024-05-17T20:57:01.1166667+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,959 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,641 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-17T18:29:07.3466667+00:00
KOZ6.0 4,895 Reputation points
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,350 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
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,959 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,641 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,755 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,350 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,959 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,959 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,641 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,852 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,641 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,755 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,959 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.
9 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