24,291 questions with .NET-related tags

Sort by: Updated
0 answers

How to clear the account list in the Web Account Manager list of Accounts displayed by WAM Broker

I have a WPF desktop app that accesses an Azure WebAPI. It uses the MSAL library and when authenticating uses the WAM broker. When the list of accounts is displayed, there is an account of someone that used the computer once when I was logged on to the…

Microsoft Identity Manager
Microsoft Identity Manager
A family of Microsoft products that manage a user's digital identity using identity synchronization, certificate management, and user provisioning.
628 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,467 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,895 questions
asked 2024-05-25T18:43:22.4933333+00:00
Michael 76 Reputation points
edited the question 2024-05-29T05:00:31.1666667+00:00
MayankBargali-MSFT 69,751 Reputation points
0 answers

Using User Control in WPF, How to create good UI grid?

Hi Team I have a mock-up and want to reproduce it exactly the same way using User controls offered by Microsoft forms in WPF. <UserControl x:Class="Feedmill_Weighbridge.Presentation.UCPremixPacks" …

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,689 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,402 questions
asked 2024-05-28T17:20:47.55+00:00
Gcobani Mkontwana 40 Reputation points
commented 2024-05-29T03:52:26.58+00:00
Hongrui Yu-MSFT 415 Reputation points Microsoft Vendor
0 answers

Not able to debug mobile application in .net maui

If debugger is not applying then application works fine but when i am applying debugger application getting crashed in .net maui for android platform. How to solve this issue?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,989 questions
asked 2024-05-28T15:49:10.0166667+00:00
Thombre, Ashish 105 Reputation points
commented 2024-05-29T03:26:06.16+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,616 Reputation points Microsoft Vendor
0 answers

How to reproduce the UI control from mock-up using wpf?

Hi Team I have a mock-up and want to reproduce it using wpf controls given by Microsoft forms in windows. Below is my current code and need some adjustment, as well screen shot of the mock-up want to produce using wpf ui controls. <UserControl…

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,689 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,402 questions
asked 2024-05-28T16:45:17.65+00:00
Gcobani Mkontwana 40 Reputation points
edited the question 2024-05-29T03:22:59.1666667+00:00
Jiale Xue - MSFT 37,131 Reputation points Microsoft Vendor
1 answer

can pushModalAsync in .net android?

not maui just .net android. how touse PushModalAsync I am not want to use this PushModalAsync I just want to push Modal Dialog how to Create Modal Dialog?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,989 questions
asked 2024-05-28T08:26:34.33+00:00
mc 3,746 Reputation points
edited an answer 2024-05-29T03:16:12.71+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 37,186 Reputation points Microsoft Vendor
2 answers

Maui controls handlers learning

Hello All. I'm trying to learn how to customize android control. I know the concept of the customizing but my difficult is where I can find learning stuff of the android side what I mean is in the example below where I can find the section that start…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,989 questions
asked 2024-05-23T10:16:10.72+00:00
Haviv Elbsz 1,966 Reputation points
answered 2024-05-29T02:58:49.36+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 27,126 Reputation points Microsoft Vendor
1 answer

registration in authenticator app fails following example in https://learn.microsoft.com/en-us/training/modules/secure-aspnet-core-identity/7-configure-multi-factor-authentication

I followed the description in https://learn.microsoft.com/en-us/training/modules/secure-aspnet-core-identity/7-configure-multi-factor-authentication the code generated in the microsoft authenticator app is rejected with message "Verification code…

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.
11 questions
asked 2024-05-28T20:47:24.3+00:00
Christof Sidler 0 Reputation points
answered 2024-05-29T02:37:16.2933333+00:00
Pradeep M 725 Reputation points Microsoft Vendor
1 answer

Prevent the white flash when navigating between Maui Blazor Hybrid views

I have a .NET 8 MAUI app that has a dark background (not only in dark mode). We require users to log or pin in to use the app and the login/pin entry page has a dark background and these pages are straight xaml pages. On success, we navigate them to 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,427 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,989 questions
asked 2024-05-23T15:36:00.33+00:00
Joshua Engelbrecht 0 Reputation points
commented 2024-05-29T02:24:57.3766667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 37,186 Reputation points Microsoft Vendor
1 answer

Accessing Sharepoint Online (Uploading Documents)

I have .net application that's able to access Sharepoint Online and upload documents. We're using an app only registration using a certificate to authenticate. This all works locally, including using a local (on-disk) certificate. Today, I've moved the…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,467 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,889 questions
asked 2024-05-28T09:50:23.1866667+00:00
answered 2024-05-29T01:55:30.5066667+00:00
RaytheonXie_MSFT 32,241 Reputation points Microsoft Vendor
2 answers

Can I use global interactivity along with per page interactivity in same project of .net 8 blazor web app ?

I have created a blazor web app application and I want to use global auto render mode along with per page interactivity mode in same project, is it possible ?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,467 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,246 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,427 questions
asked 2024-05-28T14:30:31.64+00:00
Kuldeep Y 36 Reputation points
answered 2024-05-29T01:50:26.8566667+00:00
Jerry Fu - MSFT 561 Reputation points Microsoft Vendor
1 answer

Xamarin Forms Target Version Android 14

Hi, I am working on the Migration of Xamarin Forms code to .NET MAUI. Till then, I tried to publish the Xamarin Form Android app with Android Target SDK version 14. I got the same issue as mentioned in the GitHub link:- …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,302 questions
asked 2024-05-16T12:29:49.5333333+00:00
Chinmay Dole 20 Reputation points
commented 2024-05-29T01:34:43+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,616 Reputation points Microsoft Vendor
1 answer

.Net Maui, ability to access external sd card

With the removal of read and write permissions to external storage, is there any way to access external SD cards? My app normally relies on being able to automatically backup data to external SD cards in the event the tablet dies or is broken. Is there…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,989 questions
asked 2024-05-15T16:07:34.8933333+00:00
Phunction 206 Reputation points
commented 2024-05-29T01:33:33.2033333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,616 Reputation points Microsoft Vendor
2 answers

REST interface, server for GET,PUT,POST,DELETE

Hello, My goal is to control a Rest Server from a WPF C# desktop app. Get, Push, Pop, Delete should be tested. The server does not require extensive logic, only test data. Later, the customer REST server is connected. How can I achieve this? How should I…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,246 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,319 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,402 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.
306 questions
asked 2024-05-23T17:15:44.0466667+00:00
Noah Aas 260 Reputation points
commented 2024-05-29T01:10:38.71+00:00
SurferOnWww 2,076 Reputation points
0 answers

How to customise global window closing prompt in a .NET MAUI application

I am working on a .NET MAUI project for desktop, I found a global solution for prompting a user before closing the application here. I would like to know if this can be customised and triggered conditionally when closing. For example: I have an…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,989 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,402 questions
asked 2024-05-28T08:55:28.29+00:00
Arturs Pramalts 0 Reputation points
edited the question 2024-05-29T00:57:32.18+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,616 Reputation points Microsoft Vendor
1 answer

MAUI: What is the difference between GoToAsync() and PushAsync() to navigate between pages?

What is the difference exactly between using await Shell.Current.GoToAsync Route Relative/GoBack with (..) Single instance?? await Shell.Current.Navigation.PushAsync(Use NavigationPage) - similar to prism or Xamarin Forms…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,989 questions
asked 2024-05-26T10:02:39.0233333+00:00
honggyu kim 0 Reputation points
commented 2024-05-29T00:56:17.19+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,616 Reputation points Microsoft Vendor
1 answer

.net maui grouping code throws cast error.

I'm converting a Xamarin app to .NET Maui. I'll be needing the .NET page to ( stating all desired functions in case a different grouping code is needed ) group by sector ( optional , Sort and or filter maybe added later-- I'll settle for grouping…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,711 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,989 questions
asked 2024-05-24T13:17:07.98+00:00
tim 120 Reputation points
commented 2024-05-29T00:55:12.9733333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,616 Reputation points Microsoft Vendor
2 answers

Prepare code to fetch data from mock server does not seem to work

Hi! I am working through this Exercise: https://learn.microsoft.com/en-us/training/modules/build-web-api-minimal-spa/5-exercise-create-api. After starting the Mock Server (I can see in the Browser that it is running) The Website has the error: Unexpected…

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.
11 questions
asked 2024-05-28T19:02:39.45+00:00
Frank Geisler 16 Reputation points MVP
edited an answer 2024-05-29T00:47:32.19+00:00
Bruce (SqlWork.com) 58,121 Reputation points
1 answer

How to make fit ASP.NET page in horizontal bar when resizing the width of the page manually

I am developing ASP.NET application. sometimes user, resizing the width of the page. most of the global page (like microsoft all the pages), the page automatically fit the width based on the size of the horizontal width. How to make this. by default, the…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,319 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,402 questions
asked 2024-05-25T07:53:00.6633333+00:00
Gani_tpt 1,786 Reputation points
edited a comment 2024-05-29T00:38:49.2133333+00:00
Bruce (SqlWork.com) 58,121 Reputation points
1 answer

Not seen mac simulator

Hi, I installed vs code, xcode , and open new maui project and run it. It is not running, do i need to config ant simulator , I want mac simulator. Thw error is on missing android simulators & sdk. How is sone? Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,989 questions
asked 2024-05-28T08:56:44.53+00:00
Dani_S 2,886 Reputation points
answered 2024-05-28T22:31:46.0033333+00:00
Bruce (SqlWork.com) 58,121 Reputation points
1 answer

Entra ID - OIDC BFF pattern - does not work

Hi, I have a blazor hybrid app with both webassembly and server. Currently I'm using the oidc flow with b2c (https://learn.microsoft.com/en-us/aspnet/core/blazor/security/blazor-web-app-with-oidc?view=aspnetcore-8.0&pivots=with-bff-pattern) and…

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,427 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,683 questions
asked 2024-05-28T19:05:49.29+00:00
Robert Desbiens 20 Reputation points
answered 2024-05-28T22:00:38.1033333+00:00
Marilee Turscak-MSFT 34,791 Reputation points Microsoft Employee