23,941 questions with .NET-related tags

Sort by: Updated
2 answers

Updating app service from .NET 6 to 8

I'm trying to update my asp.net core backend from .NET 6 to 8. I've updated the target framework for the projects, changed the docker images to version 8, and updated the exposed ports. It runs as expected locally. (In the past month, I've updated a…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,387 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,178 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,899 questions
asked 2024-04-30T20:53:38.6433333+00:00
Rebekah Williams 0 Reputation points
answered 2024-05-01T07:09:24.4+00:00
Azizkhon Ishankhonov 195 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,886 questions
asked 2024-04-30T06:58:54.0366667+00:00
Dani_S 2,726 Reputation points
commented 2024-05-01T06:40:23.9666667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,571 Reputation points Microsoft Vendor
0 answers

How to do Search inside a subFolder with Azure AI Search.

In Azure AI Search how to find something inside a subdirectory? right now when I am searching something i am getting result from all of the subfolders, I have to do search within a folder for example right now I am in /Submission directory and there are…

Azure AI Search
Azure AI Search
An Azure search service with built-in artificial intelligence capabilities that enrich information to help identify and explore relevant content at scale.
714 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,178 questions
asked 2024-05-01T06:29:32.8333333+00:00
Hassan Kaleem 20 Reputation points
2 answers

Add Items to List Randomly

I am fetching 50 questions from Api https://supaquizapi.azurewebsites.net/api/Questions Loading into list and deleting 40 questions randomly. Now I just to add 10 questions randomly to Questions List<InQuestion> res = await GetApiData(); …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,178 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,266 questions
asked 2024-04-30T08:09:59.47+00:00
Maui Learner 420 Reputation points
commented 2024-05-01T06:24:12.11+00:00
Ping Ni-MSFT 2,240 Reputation points Microsoft Vendor
1 answer

How do I add a CAPTCHA to a web site written with ASP.NET/VB

A bot seems to be using my web site to send out emails via AmazonSES. I want to add a CAPTCHA to it to prevent this. I came across https://stackoverflow.com/questions/71515717/how-to-add-captcha-in-asp-net-project which appears to be what I want, but…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,263 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,575 questions
asked 2024-04-27T05:08:50.44+00:00
Robert Barnes 71 Reputation points
commented 2024-05-01T05:20:18.6633333+00:00
Lan Huang-MSFT 25,556 Reputation points Microsoft Vendor
1 answer

Using Phi-3 for AI mobile app development on Maui - Need resources

I am keenly interested in bringing AI to mobile devices. Where can I get more information on using Phi-3 in Maui apps?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,886 questions
asked 2024-04-30T21:10:48.52+00:00
Tim Belvin 21 Reputation points
answered 2024-05-01T03:35:54.02+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,416 Reputation points Microsoft Vendor
1 answer

ASP.NET - The specified network password is not correct - X509Certificate2

I have a .NET web application where trying to import the certificate using the "X509Certificate2". While importing, getting the "The specified network password is not correct.". The certificate is password protected .pfx file and I'm…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,263 questions
asked 2024-04-30T12:08:12.77+00:00
Nabeel Farooq 0 Reputation points
answered 2024-05-01T03:35:11.9833333+00:00
Lan Huang-MSFT 25,556 Reputation points Microsoft Vendor
0 answers

MAUI: Background color is not updating when changing the mode (iOS)

When changing the mode I am updating the background color and text color of the UI via code. It was working fine on Android side but when I check it on iOS, the Listview background color is not updating properly. Expected Output of light and dark mode is…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,886 questions
asked 2024-04-29T13:42:50.5933333+00:00
Sreejith Sreenivasan 691 Reputation points
edited a comment 2024-05-01T03:24:47.3766667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,416 Reputation points Microsoft Vendor
0 answers

.NET MAUI Community Toolkit Popup page is breaking

I am using the .NET Community toolkit for the Popup page. When we try to load the popup page the entire UI is breaking on iOS platform but it is working fine on Android platform. On the popup page I am using listView. Screenshot: I am using below codes…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,886 questions
asked 2024-04-29T14:15:29.71+00:00
Sreejith Sreenivasan 691 Reputation points
commented 2024-05-01T03:18:09.12+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,416 Reputation points Microsoft Vendor
2 answers

Will .NET MAUI include official support for Linux ?

Certainly! Many developers who are passionate about .NET and use Linux as their operating system are eagerly awaiting official .NET MAUI support for Linux. They hope that this support will be available in the near future, allowing them to create…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,387 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,886 questions
asked 2024-03-30T13:09:56.5966667+00:00
Chauhan Pruthviraj 0 Reputation points
answered 2024-05-01T03:16:16.65+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,571 Reputation points Microsoft Vendor
2 answers

Localize application display name of iOS developed with .NET MAUI?

Display name is localized on android in "Resources\values" folder and it works as expected. However, I can't make it work with iOS. What has been done: My solution : In info.plist : In InfoPlist.strings : In csproj : When I…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,886 questions
asked 2024-04-25T23:11:33.74+00:00
Omar H 0 Reputation points
edited a comment 2024-05-01T03:14:47.0166667+00:00
Rob Caplan - MSFT 5,412 Reputation points Microsoft Employee
1 answer

MAUI: The CollectionView items collide with each other when scrolling

When I try to scroll top to bottom at that time, the CollectionView items collide on the iOS platform, but it works fine on the Android platform. Below, I am adding a screenshot and Screen record of this issue. Screenshot: Screen Record: screen record…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,886 questions
asked 2024-04-29T14:07:42.5733333+00:00
Sreejith Sreenivasan 691 Reputation points
answered 2024-05-01T02:59:56.1166667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,571 Reputation points Microsoft Vendor
1 answer

How can I prevent the device font size effect of a MAUI iOS app?

When ever I change the font size in the iOS device, that font size is effecting on the MAUI application. I want to restrict that. Thanks Vaibhav Methuku.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,886 questions
asked 2024-04-30T07:59:29.0966667+00:00
Vaibhav Methuku 60 Reputation points
answered 2024-05-01T02:58:04.6066667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,416 Reputation points Microsoft Vendor
0 answers

On visual studio community 2022 These numbers circled in blue is that what you call Lines

On visual studio community 2022 These numbers circled in blue is that what you call Lines

Universal Windows Platform (UWP)
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,674 questions
asked 2024-04-30T10:01:02.8633333+00:00
Luke Ferguson 46 Reputation points
commented 2024-05-01T02:52:05.6033333+00:00
Hui Liu-MSFT 38,256 Reputation points Microsoft Vendor
2 answers

*.net referenced dll is not seen with a using statement

Hi, I have a project called MBSAnalysisMVCWebApp which is a web app. I reference MBSAnalysisMVCWebApp from my main MVC project called Mbsa. But when I try a using statement, It says MBSAnalysisMVCWebApp cannot be seen?  The MBSAnalysisMVCWebApp.dll…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,263 questions
asked 2024-04-29T15:37:56.6+00:00
iqworks Information Quality Works 216 Reputation points
answered 2024-05-01T02:34:04.56+00:00
Lan Huang-MSFT 25,556 Reputation points Microsoft Vendor
0 answers

How to fix .NET Framework error

I have a problem with my .NET Framework, whenever I run programs like Visual Studio, it gives me this error message: Clicking "Yes" forwards me to the installation page, which after running the installer, I am told that the .NET framework…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,636 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,121 questions
asked 2024-04-30T16:02:07.9433333+00:00
Jonathan Joseph 0 Reputation points
commented 2024-05-01T02:22:42.8333333+00:00
Jiachen Li-MSFT 26,591 Reputation points Microsoft Vendor
9 answers

How to fix this error "warn: Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware[3] Failed to determine the https port for redirect."

Good evening , I am trying to build a simple web api using ASP.Net . The app has been showing the error like this after building it - warn: Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware[3] Failed to determine the https port for…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,178 questions
asked 2023-06-03T08:29:57.58+00:00
Vaishnavi P 40 Reputation points
answered 2024-05-01T01:40:34.87+00:00
Giray Turker 0 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,636 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,886 questions
asked 2024-04-30T16:15:24.1733333+00:00
Grant Schaffer 20 Reputation points
commented 2024-05-01T01:36:41.6266667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,416 Reputation points Microsoft Vendor
0 answers

ASP.NET button control not able to make disabling in panel control using c#

i am trying to make disable button controls through panels. In the panel, i am using textbox, label, fileupload,gridview and button controls. i am able to disable only textbox, label and gridview. but, i am unable to make disable fileupload and button…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,263 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,266 questions
asked 2024-04-30T18:21:01.5633333+00:00
Gani_tpt 1,546 Reputation points
commented 2024-04-30T22:25:18.3033333+00:00
Bruce (SqlWork.com) 56,526 Reputation points
0 answers

Deploy to Azure failing with Error: ENOTFOUND

I have repository with simple .net web api that I want to deploy to Azure. However my deploy is always failing with this error: The workflow file can be found here. Does anybody know what is the cause of this error?

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
1,759 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,387 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,266 questions
asked 2024-04-30T21:13:30.1833333+00:00
Jan Smutný 0 Reputation points
edited the question 2024-04-30T21:40:46.04+00:00
Jan Smutný 0 Reputation points