23,723 questions with .NET-related tags

Sort by: Updated
0 answers

How can i get current user groups from Azure AD using claims in dotnet core?

I have a dotnet core web application and this app authorisation is working based on azure AD. services.AddAuthentication(options=>{ options.DefaultScheme = CookieAuthenticationDefaults.AuthenticationScheme; …

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,326 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,128 questions
Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
5,806 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,320 questions
asked 2024-04-16T09:54:17.1733333+00:00
Tomar, Abhishek 6 Reputation points
3 answers

When running the [await SecureStorage. SetAsync] command in the MAUI IOS simulator, an error is reported: Error adding record: MissingEntity

An error is reported when running the [await SecureStorage. SetAsync] command in the MAUI IOS simulator. The error is [Error adding record: MissingEntitlement]. Is this not a permission in IOS? How should it be set?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,823 questions
asked 2022-10-21T03:09:00.747+00:00
hm w 11 Reputation points
answered 2024-04-16T09:53:14.43+00:00
Thabo mashaba 0 Reputation points
0 answers

How to update MAUI workload to latest (8.0.20)

How do I update my .NET MAUI workload to the latest stable version 8.0.20? The latest version can be found here: https://github.com/dotnet/maui/releases/tag/8.0.20 When i run sudo dotnet workload update then it doesn't update to the latest version of…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,823 questions
asked 2024-04-16T09:48:41.18+00:00
Mikkel Bech 0 Reputation points
0 answers

Entry UnFocused Event not trigger after change value

After changing the value of an entry, the 'Entry Unfocused' event does not trigger, nor does it trigger when clicking on any other page after changing the entry value. please provide me any solution or any patch to fix this issue.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,823 questions
asked 2024-04-15T06:10:45.9+00:00
Bhuwan 596 Reputation points
commented 2024-04-16T09:48:06.9133333+00:00
Bhuwan 596 Reputation points
0 answers

OpenIdConnect with request object

Version: .net 6.0 Our idp now requests that all new authentication implementations use oidc request object method instead of query parameters. I have gotten the request object itself and signing it with our private key to work correctly and the idp…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,326 questions
asked 2024-04-11T13:37:58.3+00:00
Tommi Koponen 0 Reputation points
commented 2024-04-16T09:47:07.71+00:00
Jiale Xue - MSFT 29,246 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Add Validator in Blazor

I want Location text box to accept only alphabets both cases,number and comma 1)a-z 2) A-Z 3) 0-9 4) comma(,) So Location can be like 125 Harkness Ave,Pasadena or London,Ontario Location shouldnt accept %![ etc. Please suggest how do I add Validator in…

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,372 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,823 questions
asked 2024-04-12T18:16:54.3033333+00:00
Maui Learner 420 Reputation points
accepted 2024-04-16T09:24:50.7966667+00:00
Maui Learner 420 Reputation points
1 answer

How to use. net8 for VS2022 for Mac? I only have. net6 and. net7 options, but I have installed the. net8 package locally. Thank you for your help!

How to use. net8 for VS2022 for Mac? I only have. net6 and. net7 options, but I have installed the. net8 package locally. Thank you for your help!

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,823 questions
asked 2024-04-15T12:40:46.0233333+00:00
于晏 彭 0 Reputation points
commented 2024-04-16T08:46:06.5533333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 67,781 Reputation points Microsoft Vendor
0 answers

How to make .aar workable in maui project ?

Hi all, I am trying integrate a android native sdk into maui, Made a project with Android Java Library Binding, By looking into the docs. But after that total of 3 error are occuring. 1. The type or namespace name 'ProgressStateEventArgs' does not…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,823 questions
asked 2024-04-15T13:20:13.0366667+00:00
Manu Michael Samuel 131 Reputation points
commented 2024-04-16T08:40:51.2366667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 67,781 Reputation points Microsoft Vendor
1 answer

Maui app crach

Hi, App fall after runing one week, what is the reason ? Fault offset: 0x00000000000fc1b9 Faulting process id: 0xf34 Faulting application start time: 0x01da8671c6d536eb Faulting application path:…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,823 questions
asked 2024-04-10T10:21:06.85+00:00
דני שטרית 2,646 Reputation points
answered 2024-04-16T08:10:28.29+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 25,586 Reputation points Microsoft Vendor
1 answer

Transparent flyout items

I don't know why, but if I change my flyout to "Locked "in Desktop In cannot see anything my pages are there, and I can navigate but I cannot see. FlyoutBehavior="{OnIdiom Desktop=Locked, Phone=Flyout}" …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,823 questions
asked 2024-03-30T19:27:49.6733333+00:00
Eduardo Gomez Romero 185 Reputation points
commented 2024-04-16T07:56:50.99+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 25,586 Reputation points Microsoft Vendor
0 answers

How to implement "When the maui project is executed and compiled to generate an EXE, how to place all the dependent dll files of the EXE in the libs directory under the EXE directory"

I am a beginner of MAUI. I developed a simple Windows project using maui. I now encounter a problem. The problem is that the compilation result of this project will copy all the dependent DLLs of the EXE to the same directory of the EXE. These DLLs…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,823 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,177 questions
asked 2024-04-16T07:51:34.15+00:00
晅晢 廖 0 Reputation points
0 answers

internal error in the .NET Runtime at IP 70DE92C3

Application terminates when loading report viewer, event viewer shows an error: "internal error in the .NET Runtime at IP 70DE92C3"

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,177 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,117 questions
asked 2024-04-15T16:08:52.4566667+00:00
Tom McKeown 0 Reputation points
edited the question 2024-04-16T07:26:42.7633333+00:00
Jiale Xue - MSFT 29,246 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

C# ASP.NET MVC: develop app with running tasks and ASP.NET MVC web UI to control it

There's a url from which I need to run api get data in JSON format and store to MS-Sql Server. This project will run mostly on server(s). We also need an application to provide an interface so that whenever needed user can select which data to be stored…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,128 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,237 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,177 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.
291 questions
asked 2024-04-13T10:07:08.52+00:00
RASHMI GUPTA 20 Reputation points
accepted 2024-04-16T07:21:19.3+00:00
RASHMI GUPTA 20 Reputation points
2 answers

how to render razor page to another based on provide logic to login

<MudPaper Class="px-6 pb-8 pt-3 rounded-t-0"> @if (IsPhoneNumberPresent) { <RegistrationForm LoginModel="@(new OtpRegisterVm { Username = LoginPhoneNumber, CountryCode = CountryCode })" /> } else { …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,128 questions
asked 2024-04-16T05:14:18.7833333+00:00
Nandini S 20 Reputation points
edited an answer 2024-04-16T07:10:14.31+00:00
Brando Zhang-MSFT 2,716 Reputation points Microsoft Vendor
0 answers

How to render a razor page to another razorpage based on its conditions to login

<RegistrationForm LoginModel="new OtpRegisterVm { Username = LoginPhoneNumber, CountryCode = CountryCode}" /> } else { <RegistrationForm /> } </div> <RegistrationForm LoginModel="@(new OtpRegisterVm { Username =…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,128 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,237 questions
asked 2024-04-16T05:30:39.0866667+00:00
Surya Chandra Mohan 0 Reputation points
edited the question 2024-04-16T07:03:45.6033333+00:00
Surya Chandra Mohan 0 Reputation points
0 answers

How can pass from Datatable Data To Controller IActionResult

I want to insert some data from my datatable into another table. The checked data in my datatable is the result of the controller's action through I ajax I want to send array as parameter. Thanks in advance for your help. var table =…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,128 questions
asked 2024-04-16T06:59:10.3266667+00:00
jewel 681 Reputation points
0 answers

Getting the following error when deploying a Blazor Server App using Deployment Center: Azure Repos

error MSB3644: The reference assemblies for .NETFramework,Version=v8.0 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. My application runs fine locally and was…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,326 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,372 questions
asked 2024-04-15T17:46:24.84+00:00
Fin Watling (student) 0 Reputation points
commented 2024-04-16T06:49:49.88+00:00
Ping Ni-MSFT 2,085 Reputation points Microsoft Vendor
1 answer

How to implement layered architecture?

Hello I started working on layered architecture to write some more professional code in C#. As a result of research on the internet, I saw that each person implements layered architecture differently. This caused confusion. I use the MVVM pattern in my…

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,663 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,177 questions
asked 2024-04-10T20:42:05.4866667+00:00
fatih uyanık 80 Reputation points
commented 2024-04-16T06:04:08.1766667+00:00
Hui Liu-MSFT 37,311 Reputation points Microsoft Vendor
0 answers

How to Make Span Text/content Wrapped if it exceeds?

Here if my account number exceeds the numbers from last get cut/disappear. So I used LineBreakMode to WordWrap in label but this is also not working here. <Label FontFamily="InterstateRegular"> …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,287 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,823 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
760 questions
asked 2024-04-15T09:49:12.2+00:00
Pratap Singh, Ayush 20 Reputation points
commented 2024-04-16T05:44:37.45+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 34,761 Reputation points Microsoft Vendor
0 answers

Moving xamarin.ios to new SKD style issues

I am trying to move my xamarin.ios project to the new SDK style as MS is no longer supporting the previous methods. I am following the steps at https://learn.microsoft.com/en-us/dotnet/maui/migration/?view=net-maui-8.0 But I get multiple…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,287 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,177 questions
asked 2024-04-15T17:54:17.71+00:00
Phunction 201 Reputation points
edited a comment 2024-04-16T05:12:08.11+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 25,586 Reputation points Microsoft Vendor