23,118 questions with .NET-related tags

Sort by: Updated
0 answers

Maui && worker service ,mange token.

Hi. I have app consist of two parts: 1.Client - maui 2.Service- worker service. They both share token come from API that created on client in one of the screen and saved in DB per user. The service consume it and when the token not active any more it…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,181 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,599 questions
asked 2024-02-29T08:00:44.9733333+00:00
דני שטרית 2,266 Reputation points
1 answer

How receives push notification in Windows with MAUI

I'm creating an application using .NET8 MAUI. The application registers the device in an Azure Notification Hub. From here, I can send push notifications to the different devices. The problem I have with Windows is that the message arrives on the…

Azure Notification Hubs
Azure Notification Hubs
An Azure service that is used to send push notifications to all major platforms from the cloud or on-premises environments.
245 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,599 questions
asked 2024-02-23T00:27:46.38+00:00
Enrico Rossini 126 Reputation points
commented 2024-02-29T08:00:07.6133333+00:00
Enrico Rossini 126 Reputation points
0 answers

Error Add-Migration ?

I'am student and I learn ASP.NET.CORE 6 MVC so I use Add-Migration in the Packed Manager Console. I see error No suitable constructor was found for entity type 'FilterDescriptor'. The following constructors had parameters that could not be bound to…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,020 questions
SQL Server Migration Assistant
SQL Server Migration Assistant
A Microsoft tool designed to automate database migration to SQL Server from Access, DB2, MySQL, Oracle, and SAP ASE.
476 questions
asked 2024-02-22T11:14:49.4466667+00:00
LiaLia 0 Reputation points
commented 2024-02-29T07:59:28.83+00:00
Ping Ni-MSFT 1,365 Reputation points Microsoft Vendor
0 answers

"Error adding record: MissingEntitlement" when using secure storage

Hello, I use a mac m1, NET8 MAUI and vs code. I created a simple project. I use secure storage. I get this exception "Error adding record: MissingEntitlement" I checked, and I had this file under platforms/MacCatalyst I added this…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,599 questions
asked 2024-02-16T19:03:30.9+00:00
Roman Prystaiko 15 Reputation points
edited a comment 2024-02-29T07:54:59.8+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 24,436 Reputation points Microsoft Vendor
0 answers

Azurite - Server failed to authenticate the request - 403

I have problem with Azurite and downloading files. I have error "Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature" The problem only occurs when I do get, there is…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,181 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,278 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.
9,964 questions
asked 2024-02-26T16:15:43.7066667+00:00
zc 51 Reputation points
commented 2024-02-29T07:52:43.7033333+00:00
zc 51 Reputation points
0 answers

Login flow with shell

I have an App shell view model. public partial class AppShellViewModel(IAppService appService) : BaseViewModel { [ObservableProperty] User? user; [ObservableProperty] bool isCoordinator; [ObservableProperty] bool isStudent; …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,599 questions
asked 2024-02-28T21:32:13.65+00:00
Eduardo Gomez 3,216 Reputation points
commented 2024-02-29T07:48:10.2166667+00:00
Eduardo Gomez 3,216 Reputation points
0 answers

Maui app in NET 8 craches

Hi, I used maui app , distributed as exe and run on windows 10. (VS Version 17.8.4) in NET 8. Faulting application name: GssdDesktopClient.Maui.exe, version: 1.0.0.0, time stamp: 0x65680000 Faulting module name: KERNELBASE.dll, version:…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,599 questions
asked 2024-02-28T12:47:29.5666667+00:00
דני שטרית 2,266 Reputation points
commented 2024-02-29T07:16:41.14+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 24,436 Reputation points Microsoft Vendor
1 answer

System.Windows.Forms Version=8

I keep getting errors that the system is looking for Version 8 references. All I find are System.Windows.Forms.dll - version 4. How do I resolve this error? Should I change all the references to Version 4? In this folder - C:\Program…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,801 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,428 questions
asked 2024-02-28T19:23:17.04+00:00
Simon 206 Reputation points
commented 2024-02-29T07:00:12.85+00:00
Jiale Xue - MSFT 18,281 Reputation points Microsoft Vendor
1 answer

SkiaSharp for maui could identify how many points were touched in parallel, in the TouchEnvet?

I using SKCanvasView as a custom control that allows to the user interact with an image, I would like to know if is possible to identify when the user touches to location In general, because the user wants to do a pinch.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,599 questions
asked 2024-02-27T19:47:54.87+00:00
Daniel Batista 0 Reputation points
commented 2024-02-29T06:46:56.7066667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 30,986 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

If XAMARIN support is ending, should we start with .net MAUI?

Hello I've just started learning mobile programming. In fact, I have asked two or three questions here before. While doing research on learn.microsoft.com a while ago, I came across a note like this. “Microsoft support for Xamarin for all Xamarin SDKs,…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,260 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,599 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.
9,964 questions
asked 2024-02-28T09:33:20.29+00:00
fatih uyanık 60 Reputation points
accepted 2024-02-29T06:43:09.4133333+00:00
fatih uyanık 60 Reputation points
3 answers

Unable to update DOT NET Framework 4.7.2 from DOT NET Framework 4.6.2.

I am trying to update DOT net framework from DOT NET Framework 4.6.2. to 4.7.2 but I am unable to. I am getting the following error HRESULT 0x800f081e. This is on Windows server 2016. I need to install DOT NET Framework 4.7.2. In order to install SQL…

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
11,731 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,101 questions
asked 2024-02-01T15:39:50.19+00:00
Evrard 0 Reputation points
commented 2024-02-29T06:32:03.4833333+00:00
Jiachen Li-MSFT 24,431 Reputation points Microsoft Vendor
1 answer

Localization in Blazor using bootstrap dropdown menu

I've seen tons of tutorials and blog posts but they all suggest a select control for changing a language. None of them explains how to implement localization using HREF. Could you give me at least hint or link, that would help me figure out how to change…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,020 questions
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,321 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,181 questions
asked 2024-02-28T16:24:01.7966667+00:00
Kuler Master 221 Reputation points
edited an answer 2024-02-29T06:30:17.2066667+00:00
Ruikai Feng - MSFT 2,421 Reputation points Microsoft Vendor
0 answers

Error running iOS MAUI .NET 8.0

Hi, you advised that I should create a new thread for this issue. project /Users/agro-rodney/Desktop/THAN/Agronomix/GenovixApp/GenovixApp.csproj…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,599 questions
asked 2024-02-27T14:43:23.51+00:00
Huynh Than 20 Reputation points
commented 2024-02-29T06:21:14.51+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 24,436 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How to build a rotation gesture

Hello on platform xamarin android app I tried to build a rotation gesture for ex open a ball valve i add an interface namespace plx { internal interface IONROTATIONGESTURELISTNER { void OnRotateStarted(MotionEvent Event); …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,260 questions
asked 2024-02-27T15:01:03.6566667+00:00
Shay Wilner 1,726 Reputation points
accepted 2024-02-29T06:13:37.38+00:00
Shay Wilner 1,726 Reputation points
1 answer

CS5001 Program does not contain a static 'Main' method suitable for an entry point

I developed ASP.NET website for five years. Recently I upgraded to VS2022 recent release, then R-Click on the project name in Solution Explorer I ran "Analyze and Code Cleanup". Now, I get a build error "CS5001: Program does not contain a…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,181 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,428 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
912 questions
asked 2024-02-27T11:49:12.7533333+00:00
Noorann Tech 0 Reputation points
commented 2024-02-29T06:13:09.45+00:00
Anna Xiu-MSFT 23,331 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Net maui Windows platform how to change grid width according to screen width in collectionview ?

Net maui Windows platform how to change grid width according to screen width in collectionview ? or how to set justify position of grid and width thanks..

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,599 questions
asked 2024-02-27T08:23:48.0066667+00:00
Sami 741 Reputation points
accepted 2024-02-29T05:56:11.5966667+00:00
Sami 741 Reputation points
0 answers

Stop AppDomain Timeout

I am developing a WPF app that executes code in a separate appdomain. I've noticed that the appdomain times out and terminates after 6 minutes. After doing some research, I discovered that the lease on the connection expires after 6 minutes. ***…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,181 questions
asked 2024-02-27T20:14:27.66+00:00
Wally96333 61 Reputation points
edited the question 2024-02-29T05:50:57.0666667+00:00
Hui Liu-MSFT 25,856 Reputation points Microsoft Vendor
0 answers

Which is the last iOS version supported by visual studio mac?

Hi, We are getting msg from apple that it will only allow us to deploy app with target version 17.0 only after April 29, 2024. but with Visual studio mac we are able to target till 16.4 only. Visual studio mac is not allowing to target 17.0. ITMS-90725:…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,260 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,181 questions
asked 2024-02-28T07:04:01.2933333+00:00
Shingala A 20 Reputation points
commented 2024-02-29T05:38:09.7733333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 24,436 Reputation points Microsoft Vendor
0 answers

.NET MAUI application method returning null IntPtr when migrated from .NET 7 to .NET 8

Recently we have migrated our Xamarin Bindings and Xamarin app to support .NET MAUI with .NET 7. So now we have iOS Binding and .NET MAUI App. As our iOS native SDK is written in Objective-C, it has the below method which requires a pointer…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,181 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,599 questions
asked 2024-02-29T05:24:23.7566667+00:00
Gunawardana, Bagya Nuwanthi 0 Reputation points
edited the question 2024-02-29T05:36:13.1133333+00:00
Gunawardana, Bagya Nuwanthi 0 Reputation points
1 answer

how to Clear Cookies not working on WebAuthenticator when Sign out

I am using Open ID Connect for sign in/out. i follow this link https://community.abp.io/posts/integrating-maui-client-via-using-openid-connect-aqjjwsdf After successful sign in, i sign out, then sign in again WebAuthenticator automatically logs me in…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,599 questions
asked 2023-02-23T08:26:27.1033333+00:00
Nam Pham 91 Reputation points
commented 2024-02-29T03:54:33.2266667+00:00
Gandla, Kiran 0 Reputation points