25,756 questions with .NET-related tags

Sort by: Updated
1 answer One of the answers was accepted by the question author.

How to access Microsoft.AspNetCore.Http.HttpContext in Microsoft.NET.Sdk project

In Microsoft.NET.Sdk.Web projects, we can directly access Microsoft.AspNetCore.Http.HttpContext. How to access HttpContext in Microsoft.NET.Sdk projects (representing a class library)? We discuss the tried options in the following…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,836 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,551 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,836 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,551 questions
asked 2023-05-12T13:54:48.6533333+00:00
David 31 Reputation points
edited the question 2024-10-04T08:10:26.35+00:00
Erik Moreau 661 Reputation points MVP
1 answer One of the answers was accepted by the question author.

How to access Microsoft.AspNetCore.Http.HttpContext in Microsoft.NET.Sdk project

In Microsoft.NET.Sdk.Web projects, we can directly access Microsoft.AspNetCore.Http.HttpContext. How to access HttpContext in Microsoft.NET.Sdk projects (representing a class library)? We discuss the tried options in the following…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,836 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,551 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,836 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,551 questions
asked 2023-05-12T13:54:48.6533333+00:00
David 31 Reputation points
edited the question 2024-10-04T08:10:26.35+00:00
Erik Moreau 661 Reputation points MVP
1 answer

Flyout flickering problem

I have been working in a feature, that lets the user enter in compact mode I had an issue where the title doesn't show, I fix that, with the help of the awesome @Anonymous I am facing some issues, where the shell takes some time, to go the right…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,478 questions
asked 2024-09-25T08:19:39.4433333+00:00
Eduardo Gomez Romero 525 Reputation points
commented 2024-10-04T08:07:34.0466667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 42,351 Reputation points Microsoft Vendor
0 answers

MAUI iOS - HideSoftInputOnTapped is not working issue

I have an MAUI .NET 8 project, I am facing an issue that When I click outside the custom entry when it has focus, it won't lose focus and won't hide the soft keyboard even when I Set HideSoftInputOnTapped="True". But this issue does not happen…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,478 questions
asked 2024-09-24T09:29:56.11+00:00
Aneetha 65 Reputation points
commented 2024-10-04T08:06:09.7466667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 42,351 Reputation points Microsoft Vendor
0 answers

Crash on .NET MAUI Android - JNI 'Deleted Global Reference' Error

It has been quite challenging to identify the exact cause of this issue. If anyone has any insights or suggestions on how to trace which library or line of code might be responsible, I would greatly appreciate your help.   10-04 13:07:10.445 20018…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,478 questions
asked 2024-10-04T08:03:46.4566667+00:00
PavanKumar Bandi 0 Reputation points
1 answer

Title in flyout doesn't show

Hello @Anonymous Do you remember this post https://learn.microsoft.com/en-us/answers/questions/1637791/transparent-flyout-items Where you told me that y flyout items are transparent, because I have to wait for the items to be ready. Well, I have a…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,478 questions
asked 2024-09-15T18:24:06.01+00:00
Eduardo Gomez Romero 525 Reputation points
commented 2024-10-04T08:01:25.3166667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 42,351 Reputation points Microsoft Vendor
0 answers

What will happen to performance when creating this layout?

There is a layout As I see it, it can be done on 7 "FlexLayout" elements. It will not harm the performance, and how good is this option. Maybe it is possible to somehow optimize the layout so that to use a minimum of layouts

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,478 questions
asked 2024-10-03T09:14:24.5533333+00:00
валера карманов 141 Reputation points
commented 2024-10-04T07:57:04.66+00:00
валера карманов 141 Reputation points
1 answer

Text localization

I want to add the ability to use languages in my application, but from what is written in the doc. it is not clear at all. I am interested in a couple of questions. In which folder to create resource files. You can use the Resources/Languages folder,…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,478 questions
asked 2024-10-03T11:26:40.09+00:00
валера карманов 141 Reputation points
commented 2024-10-04T07:50:36.75+00:00
валера карманов 141 Reputation points
1 answer

Range validator in MAUI Blazor

Here is a simple app to Add numbers from 0 to 100 , after which I like to perform some statistical operations. Add Insert works fine , I can restrict only 0 to 100 Delete works fine. When editing it is accepting all numbers , I like to restrict 0 to…

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,574 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,478 questions
asked 2024-09-05T09:48:22.2233333+00:00
Kalyan A 205 Reputation points
commented 2024-10-04T07:32:41.7666667+00:00
Kalyan A 205 Reputation points
2 answers

How to add the date selected to an ASP.net form with text boxes ? / v 3,5

hi, I an using a simple asp,net form to get the name, number and email address from my web page. It works fine but there is also a JS date picker which looks good and I am happy with it. My question is how do I pass the selected date to the code behind…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,480 questions
asked 2024-10-03T18:59:32.04+00:00
Matt Lee 0 Reputation points
answered 2024-10-04T07:32:37.1433333+00:00
Lan Huang-MSFT 29,331 Reputation points Microsoft Vendor
0 answers

The user can determine which page will be the main one.

I want to add a setting to the application so that the user can determine which page will be loaded as the "main" when the application is launched. Do I understand correctly that this should be defined in the "App" class, but then…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,478 questions
asked 2024-10-04T07:11:54.2166667+00:00
валера карманов 141 Reputation points
0 answers

Get user data before downloading the application

I'm trying to add a login page to an Android app. There are no problems with the page itself, the issue is how to get user data before loading the app, namely. public partial class App : Application { public App() { InitializeComponent(); var…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,478 questions
asked 2024-10-04T07:06:07.21+00:00
валера карманов 141 Reputation points
1 answer One of the answers was accepted by the question author.

FONT SCALING

I have developed a pretty large application for desktop using VS Community on a 14" laptop with Windows 10. Now I migrated to a desktop PC with a 22" monitor and Windows 11. When I run my application with the default display scaling 100% it's…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,836 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,100 questions
asked 2024-10-02T17:55:00.9466667+00:00
Giorgio Sfiligoi 166 Reputation points
accepted 2024-10-04T06:57:40.1933333+00:00
Giorgio Sfiligoi 166 Reputation points
1 answer

How to move the creation of the layout for the "DataTemplate" class into a separate function?

There is such a code CollectionView _collection = new CollectionView { RemainingItemsThreshold = 10 }; _collection.ItemTemplate = new DataTemplate(_GetDataTemplate); private Border _GetDataTemplate() { var flexLayout = new FlexLayout { Direction =…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,478 questions
asked 2024-10-03T07:58:25.77+00:00
валера карманов 141 Reputation points
answered 2024-10-04T06:55:29.6166667+00:00
валера карманов 141 Reputation points
2 answers

ACR Authentication Options

Our .NET service is currently authenticating and pulling images from isolated ACR using an app registration with a username and password. We are considering using dSMS certificates instead. The plan is to obtain an access token from AAD, exchange it for…

Azure Container Registry
Azure Container Registry
An Azure service that provides a registry of Docker and Open Container Initiative images.
453 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,551 questions
Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
6,517 questions
asked 2024-10-02T19:20:08.3733333+00:00
Yuxuan Li 0 Reputation points Microsoft Employee
commented 2024-10-04T06:42:38.62+00:00
Sai Krishna Katakam 340 Reputation points Microsoft Vendor
1 answer

Slider vs SeekBar on Xamarin.Android in Visual Studio 2022

I am working on adding a Slider or SeekBar to a Xamarin.Android app. There are 2 scenarios in which I will be using this. The first one is just a simple standard select a value from x to y scenario. The second scenario is more unique, although I have…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,347 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,836 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,100 questions
Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,347 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,836 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,100 questions
asked 2024-09-28T15:41:07.3533333+00:00
Nathan Sokalski 4,106 Reputation points
edited an answer 2024-10-04T06:41:58.22+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 42,351 Reputation points Microsoft Vendor
1 answer

Slider vs SeekBar on Xamarin.Android in Visual Studio 2022

I am working on adding a Slider or SeekBar to a Xamarin.Android app. There are 2 scenarios in which I will be using this. The first one is just a simple standard select a value from x to y scenario. The second scenario is more unique, although I have…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,347 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,836 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,100 questions
Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,347 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,836 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,100 questions
asked 2024-09-28T15:41:07.3533333+00:00
Nathan Sokalski 4,106 Reputation points
edited an answer 2024-10-04T06:41:58.22+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 42,351 Reputation points Microsoft Vendor
0 answers

Is it possible to use my own cryptocurrency token in my iOS/Android game? How can I create such a token?

I want to create my own cryptocurrency token and implement it in my iOS/Android game if it is not to difficult. I want to grant my own cryptocurrency as a reward to players when they completed a specific task in my game. In addition, I want that players…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,478 questions
asked 2024-09-30T19:22:09.8666667+00:00
Kim Strasser 1,036 Reputation points
commented 2024-10-04T06:40:36.7233333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 42,351 Reputation points Microsoft Vendor
0 answers

How to Drag and Drop Outlook Attachments into a .NET MAUI Application?

I’m working on a .NET MAUI application that allows users to drag and drop file attachments from Outlook. I have successfully implemented drag-and-drop functionality for files from Windows Explorer, but I’m facing challenges when trying to do the same…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,572 questions
Outlook
Outlook
A family of Microsoft email and calendar products.
3,812 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,478 questions
asked 2024-10-02T21:03:12.09+00:00
Ansh 0 Reputation points
commented 2024-10-04T06:38:31.8566667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 31,166 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

How to stop Visual Studio's Android emulator displaying off screen.

I'm trying to use Visual Studio 2022 Community Edition to develop a MAUI application for an Android phone. I use a laptop that is sometimes connected to an external monitor. When I'm not connected to an external monitor the Android Emulator that Visual…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,100 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,478 questions
asked 2024-09-29T19:33:55.1+00:00
Martin Brown 31 Reputation points
edited an answer 2024-10-04T06:33:08.2566667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 42,351 Reputation points Microsoft Vendor