23,941 questions with .NET-related tags

Sort by: Updated
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
0 answers

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,266 questions
asked 2024-05-01T02:59:30.6933333+00:00
Roberto Carlos Melgar Dorado 60 Reputation points
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

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
edited the question 2024-05-01T01:01:37.49+00:00
Jiachen Li-MSFT 26,591 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
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,900 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,522 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
0 answers

OutputCaching issue in .NET 8.0

Hi, I have implemented the Output Caching in ASP.NET Core 8.0 and deployed the same S3 bucket and Lambda function and its exposed through AWS API gateway. After implementation output cache and I have tested the local swagger API through postman first…

.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
asked 2024-04-26T11:48:11.7033333+00:00
Venkat 1 Reputation point
commented 2024-04-30T18:36:17.5333333+00:00
Venkat 1 Reputation point
1 answer

Best Practice For Database Access In Blazor MAUI Hybrid App

I'm porting a project from MVC into a Blazor MAUI Hybrid app with the intent to share common components and data. I have a Razor Class Library which does this, but was wondering if I should also put my SQL Server data access in here as well or keep that…

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
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
.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-30T17:24:11.6166667+00:00
Daniel Kovach 0 Reputation points
answered 2024-04-30T18:30:11.3766667+00:00
Bruce (SqlWork.com) 56,526 Reputation points
1 answer

Hot to Fix The exception 'GenericArguments[0], 'PizzaStore.PizzaDb', on 'Microsoft.EntityFrameworkCore.Design.IDesignTimeDbContextFactory`1[TContext]' violates the constraint of type 'TContext'.' was thrown while attempting to find 'DbContext' types.

I'm studing the module 'Exercise - Use the SQLite database provider with EF Core' (https://learn.microsoft.com/en-us/training/modules/build-web-api-minimal-database/5-exercise-use-sqlite-database), but when I try to set up the SQLite database to my…

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.
4 questions
asked 2024-04-30T12:35:31.8633333+00:00
Raphael Soares 0 Reputation points
answered 2024-04-30T17:29:55.6033333+00:00
Pradeep M 390 Reputation points Microsoft Vendor
3 answers One of the answers was accepted by the question author.

Scriptmanager alert not displaying properly in same page

I am doing some simple screen add functionality and after end of saving, i am using scriptmanager.RegisterStartupScript() for save message. when i run the program, the alert have not been throwing properly. it showing same page but, without controls like…

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-29T17:12:15.2666667+00:00
Gani_tpt 1,546 Reputation points
accepted 2024-04-30T17:07:12.91+00:00
Gani_tpt 1,546 Reputation points