23,941 questions with .NET-related tags

Sort by: Updated
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
edited a comment 2024-05-01T04:27:50.04+00:00
Robert Barnes 71 Reputation points
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
1 answer

Passing NULL date parameters in SQL Server

I'm trying to write a SQL query that retrieves all records from a table, but I also want to be able to filter the results by date range. I'm using stored procedures to execute the query, and I'm passing date parameters to the stored procedure. However,…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,831 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,739 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,267 questions
asked 2024-05-01T02:59:30.6933333+00:00
Roberto Carlos Melgar Dorado 60 Reputation points
answered 2024-05-01T03:24:14.7166667+00:00
hossein jalilian 2,915 Reputation points
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,177 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,267 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,267 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
1 answer

Can I force AuthenticationState to refresh (when claims have changed)?

Hi all; Is there any way to force the AuthenticationState to re-read the database when claims have changed? I've implemented a ServerAuthenticationStateProvider and it works great for my adding IdentityUser.Enabled. But when I set it to re-read the…

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,394 questions
asked 2024-04-11T23:07:09.2+00:00
David Thielen 2,281 Reputation points
commented 2024-04-30T21:14:35.82+00:00
Bruce (SqlWork.com) 56,526 Reputation points
0 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,177 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,898 questions
asked 2024-04-30T20:53:38.6433333+00:00
Rebekah Williams 0 Reputation points
1 answer

How to fix error "Account already exists" when signing in google users on a customer entra tenant?

Dear Microsoft support team, My name is Javier Ortega, and I am writing to seek assistance with: Authentication from .Net application to Entra tenant, with google users. Currently we have a group of users migrated to a customer (external) entra tenant.…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,177 questions
Microsoft Entra External ID
Microsoft Entra External ID
A modern identity solution for securing access to customer, citizen and partner-facing apps and services. It is the converged platform of Azure AD External Identities B2B and B2C. Replaces Azure Active Directory External Identities.
2,643 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,521 questions
asked 2024-04-30T15:51:40.8333333+00:00
Javier Herrera 85 Reputation points
edited an answer 2024-04-30T19:43:05.3333333+00:00
James Hamil 21,776 Reputation points Microsoft Employee