26,053 questions with .NET-related tags

Sort by: Updated
0 answers

Convert solution of class libraries in framework to .NET

Hi, I have solution with list of clsss libraries in framework 4.6.2. I would like to know full steps of converting this solution to .NET 8/9 using visual studio. Thanks in advance,

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,912 questions
asked 2024-11-06T08:53:10.0966667+00:00
Dani_S 3,786 Reputation points
0 answers

MAUI .NET 8 on Android - throwing an exception

MSBUILD : java.exe error JAVA0000: Error in C:\Users\jeeva.nuget\packages\xamarin.androidx.collection.jvm\1.4.3.1\buildTransitive\net8.0-android34.0....\jar\androidx.collection.collection-jvm.jar:androidx/collection/ArrayMapKt.class: 1>MSBUILD :…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,587 questions
asked 2024-11-06T08:52:37.01+00:00
KarPreet 0 Reputation points
2 answers

What is .Net Core Web Api Model Validation error response Type?

Hi All, I have made an .NET core web API endpoint that takes a model in parameter from body. I have purposely generated this error However, when model state is not valid it returns a response that's attached bellow based on the filters I have added…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,606 questions
asked 2021-11-09T12:57:43.197+00:00
Amir Shaikh 1 Reputation point
edited a comment 2024-11-06T08:50:51.03+00:00
都 覃 0 Reputation points
0 answers

Failing to connect to SQL Database from Azure Web App.

I got an ASP.NET Core Web App with Angular and MS SQL. Locally, I run MS SQL via Docker, which works good. I can run migrations and seed data without problem. When I uploaded the web app to an Azure resource group, I created a web app, database server…

Azure SQL Database
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,606 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,896 questions
asked 2024-11-06T01:31:13.9666667+00:00
Nemanja Tomic 0 Reputation points
edited a comment 2024-11-06T08:43:04.28+00:00
JasonPan - MSFT 5,906 Reputation points Microsoft Vendor
0 answers

access tty ports

Hi, I try to access with the tty ports on my tablet but the use of _usbManager = (UsbManager)activity.GetSystemService(Context.UsbService); but the result is just the regular usb ports. i check in terminal ls -l /dev/ttymxc* and i get a complate…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,587 questions
asked 2024-11-05T15:40:30.21+00:00
Luis Curiel 0 Reputation points
commented 2024-11-06T08:33:58.33+00:00
Luis Curiel 0 Reputation points
1 answer

Borderless editor

I am trying to get rid of the underline for the editor control, for Android, IOS, Mac and Windows this is my code <Grid Padding="10" RowDefinitions="Auto,*,Auto" RowSpacing="20"> <Label …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,587 questions
asked 2024-11-05T21:00:15.8133333+00:00
Eduardo Gomez Romero 825 Reputation points
answered 2024-11-06T08:05:56.32+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 32,306 Reputation points Microsoft Vendor
1 answer

"Not In Keychain" Issue with Apple Distribution Certificate in Visual Studio, Xcode 16

Hello everyone, I'm having trouble getting my Apple Distribution certificate to show up as valid in Visual Studio 17.11.5 for a Xamarin project. In Xamarin Apple Accounts under Apple Distribution, the certificate appears as "Not In…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,587 questions
asked 2024-11-05T15:59:11.26+00:00
Dan Taxbøl 25 Reputation points
commented 2024-11-06T07:33:53.8533333+00:00
Dan Taxbøl 25 Reputation points
0 answers

Drag and drop in Win UI

Hi, I'm doing drag and drop in Win UI application, but I have a problem. In drag and drop there is only Data.SetStorageItems method. It accepts an IStorageItem with which I have no access to hidden files and shortcuts (only using file picker, but in my…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,703 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,912 questions
Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
794 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.
11,005 questions
asked 2024-11-05T15:20:14.6+00:00
123244 60 Reputation points
edited the question 2024-11-06T07:16:47.66+00:00
Jiale Xue - MSFT 46,296 Reputation points Microsoft Vendor
1 answer

How to change Shell.Title font?

This is the current AppShell.xaml: <?xml version="1.0" encoding="UTF-8" ?> <Shell x:Class="MauiApp1.AppShell" xmlns="http://schemas.microsoft.com/dotnet/2021/maui" …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,587 questions
asked 2024-11-05T21:08:14.7266667+00:00
LuizCarneiro-4620 20 Reputation points
answered 2024-11-06T07:03:03.32+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 76,471 Reputation points Microsoft Vendor
1 answer

ClosedXML and System.Memory Error in .NET 8: Anyone Solved This?

Hi everyone! I’m migrating a project from .NET 4.8 to .NET 8. The ClosedXML library is compatible with .NET 8, but I’m encountering an error when using the XLWorkbook class. Despite installing System.Memory, the error still occurs, as shown in the image…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,912 questions
Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
1,955 questions
asked 2024-10-30T20:50:31.79+00:00
Artillis Prado 0 Reputation points
commented 2024-11-06T06:25:51.7466667+00:00
Jiale Xue - MSFT 46,296 Reputation points Microsoft Vendor
4 answers

Getting "We couldn't sign you in" error after signing into .NET Core web app using Azure authentication

I'm trying to retrofit Azure authentication into a .NET Core v8 web application. I'm using this tutorial: https://learn.microsoft.com/en-us/entra/identity-platform/tutorial-web-app-dotnet-call-api?tabs=visual-studio%2Cdotnet6 I have an application set up…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,606 questions
Microsoft Entra
asked 2024-11-01T20:36:19.5633333+00:00
Ron Raney 0 Reputation points
edited an answer 2024-11-06T06:23:07.8833333+00:00
JasonPan - MSFT 5,906 Reputation points Microsoft Vendor
1 answer

Two-factor authentication for Net Framework 2.0 (Visual Studio 2005)

Is Two-factor authentication using SMS and email with ASP.NET Identity support for .Net Framework 2.0 (Visual Studio 2005)?

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,505 questions
asked 2024-10-28T08:39:37.9733333+00:00
Khushvinder Singh Sidhu 0 Reputation points
commented 2024-11-06T05:36:13.38+00:00
Lan Huang-MSFT 29,746 Reputation points Microsoft Vendor
0 answers

'No Matching Profile Found' While Selecting Distribution Profile For MAUI iOS Application In MAUI In Visual Studio MAC

Visiting developer portal of apple Created New App Chosed iOS platform Entered name, language, bundle ID (Same as in the source code), SKU with full access Save Added New Device Go to certificates, identifiers & profiles Chosen iOS…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,912 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,187 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,587 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,912 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,187 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,587 questions
asked 2024-11-05T13:39:27.0066667+00:00
Smit Rathod 0 Reputation points
commented 2024-11-06T03:41:56.9633333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 32,306 Reputation points Microsoft Vendor
0 answers

'No Matching Profile Found' While Selecting Distribution Profile For MAUI iOS Application In MAUI In Visual Studio MAC

Visiting developer portal of apple Created New App Chosed iOS platform Entered name, language, bundle ID (Same as in the source code), SKU with full access Save Added New Device Go to certificates, identifiers & profiles Chosen iOS…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,912 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,187 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,587 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,912 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,187 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,587 questions
asked 2024-11-05T13:39:27.0066667+00:00
Smit Rathod 0 Reputation points
commented 2024-11-06T03:41:56.9633333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 32,306 Reputation points Microsoft Vendor
1 answer

SSlStream Authentication failing in .NET MAUI Android app whereas same is working in Xamarin.forms

have connected to Controller via WiFi from .NET MAUI Android app and TLS is enabled in connected Controller. From .NET MAUI Android project, I am trying to authenticate SSLStream with below code SslStream _secureStream = new SslStream( new…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,587 questions
asked 2024-11-05T11:11:23.7066667+00:00
Venkatareddy Desireddy 0 Reputation points
answered 2024-11-06T02:36:56.7166667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 43,931 Reputation points Microsoft Vendor
1 answer

realtime update

I have a service, that is uploading to firestore async Task LoadOrInitializeTurbineAsync() { var turbinesRef = _firestoreDb!.Collection(collectionName); var snapshot = await turbinesRef.GetSnapshotAsync(); if (snapshot.Count ==…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,587 questions
asked 2024-11-03T01:07:14.06+00:00
Eduardo Gomez Romero 825 Reputation points
commented 2024-11-06T01:22:34.33+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 32,306 Reputation points Microsoft Vendor
3 answers

403 Forbidden Error while trying to access authorized routes in a .NetCore 8 WebAPI -

Hi All, Let me discuss my problem in clear detail. I am trying to build a backend webAPI for an app using .NetCore 8. I created the database for my webapi by using code-first migrations on AspNet Identity. The respective tables have been created. In…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,606 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,505 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.
13,970 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
342 questions
asked 2024-11-05T18:16:25.4366667+00:00
P. G. Choudhury 21 Reputation points
answered 2024-11-06T01:13:15.81+00:00
SurferOnWww 3,041 Reputation points
3 answers

How to detect user's inactiveness in Blazor server app

We are developing a Blazor Server App, with no single line of JS written so far. This may be a basic question. My question is how to detect the user's inactiveness on Blazor server app and prompt them to either continue or logout or simply log…

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,595 questions
asked 2022-09-27T12:47:00.917+00:00
Balu Raju 81 Reputation points
commented 2024-11-05T22:38:30.2433333+00:00
Bruce (SqlWork.com) 66,461 Reputation points
3 answers One of the answers was accepted by the question author.

How to validate security stamp on next request

When using ASP.NET Core Identity how can I make it so a user's security stamp will be validated on the next request they make? For context I have a logout all sessions feature and I want to logout other sessions immediately on the next request after the…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,606 questions
asked 2024-11-03T19:30:43.2833333+00:00
iKingNinja 80 Reputation points
accepted 2024-11-05T21:54:39.29+00:00
iKingNinja 80 Reputation points
1 answer One of the answers was accepted by the question author.

Creating Relationships Between Entities in gRPC Using Proto Files

Hello everyone, I have just started working with ASP.NET Core gRPC. I have a question: I have several proto files, and one of these files references another proto file. In this case, I want to use messages from the referenced file as fields in a message…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,606 questions
asked 2024-11-03T13:23:00.6666667+00:00
Kamyab Faghih 60 Reputation points
accepted 2024-11-05T17:12:24.17+00:00
Kamyab Faghih 60 Reputation points