23,801 questions with .NET-related tags

Sort by: Updated
1 answer

Not able to add a View in Visual Studio 2022 .net 6

I'm trying to add View in .net and getting below error popup. Kindly assist me to resolve this. I'm using .net 6 and visual studio 2022 community version.

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,346 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,584 questions
asked 2024-04-20T14:16:48.7133333+00:00
srivatshan br 0 Reputation points
answered 2024-04-22T06:39:21.2633333+00:00
Anna Xiu-MSFT 25,546 Reputation points Microsoft Vendor
1 answer

Xamarin iOS unable to debug over local device iOS 17.1.1

I have two real devices: iPhone 15 Pro Max iOS 17.1.1 iPhone 7 iOS 15.7.8 I'm trying to debug my Xamarin application over a real device. Using my iPhone 7 works as expected. But it has been impossible for me to do the same using my iPhone 15 Pro…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,292 questions
asked 2024-04-11T07:21:13.1733333+00:00
Alex 0 Reputation points
commented 2024-04-22T06:24:37.3566667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,071 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

IOS 18 compatibility?

Hi, Can anybody confirm if existing Xamarin form (ios only) apps will continue running on all devices when ios 18 is released? I realise the support cycle ends May 1st, but if i rebuild the app now with new distribution and provisioning certificates, is…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,292 questions
asked 2024-04-19T10:05:10.08+00:00
Andy H 20 Reputation points
commented 2024-04-22T06:20:19.31+00:00
Andy H 20 Reputation points
2 answers

How to update entire MAUI workload to latest? (8.0.20)

How do I update my entire .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…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,845 questions
asked 2024-04-16T09:48:41.18+00:00
Mikkel Bech 10 Reputation points
commented 2024-04-22T06:10:13.5233333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,071 Reputation points Microsoft Vendor
1 answer

problem with otp generation

Register.cshtml @page "/register" @model FaceAdminWebApp.Pages.Auth.RegisterModel @{ViewData["Title"] = "Register";} <h5>NEW REGISTER</h5> @if (Model.IsPhoneNumberPresent) { <form method="post"…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,145 questions
asked 2024-04-19T07:05:24.33+00:00
Nandini S 20 Reputation points
commented 2024-04-22T06:09:29.9+00:00
Tiny Wang-MSFT 1,571 Reputation points Microsoft Vendor
1 answer

How to disable/Remove the hamburger menu icon in Maui - .Net 8

I had added flyout in my maui project (not shell). By default I can able to see the hamburger menu icon in Window. I want to remove that icon. and want add a custom icon. Thanks, Vaibhav Methuku.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,845 questions
asked 2024-04-19T05:22:22.3566667+00:00
Vaibhav Methuku 60 Reputation points
commented 2024-04-22T06:02:25.3+00:00
Vaibhav Methuku 60 Reputation points
0 answers

Selected tab icon not visible in tabbed page

Issues- Selected tab(Resources) icon shows blank, icon should be visible( ref screenshots) Previously selected tab(Details) icon color changes to black its should be white (ref screenshots) Currently using below code for custom handler public class…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,845 questions
asked 2024-04-01T08:33:04.75+00:00
Thombre, Ashish 105 Reputation points
commented 2024-04-22T05:51:31.3333333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,176 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

LINQ sum Data Group by Month And Year

I have Some Data below Image. How Can do this Using LINQ Query.

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,145 questions
asked 2024-04-21T17:12:47.58+00:00
jewel 761 Reputation points
accepted 2024-04-22T05:50:54.9233333+00:00
jewel 761 Reputation points
1 answer

How can I programmatically simulate a button click in a MAUI application?

How can I programmatically simulate a button click in a MAUI application?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,845 questions
asked 2024-04-19T10:30:11.5766667+00:00
Sarfaraz Sable 20 Reputation points
answered 2024-04-22T05:36:50.89+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,046 Reputation points Microsoft Vendor
1 answer

Report Viewer (.rdlc) print dialog box save to pdf option download file with different name in Firefox.

Hi Team, using ASP.Net web application report viewer page,Report Viewer (.rdlc) print dialog box save to pdf option download file with different name in Firefox. Thanks, Shaik Masthan Babu.

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,246 questions
SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
2,793 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,208 questions
asked 2024-04-18T08:23:45.3966667+00:00
Shaik Babu 0 Reputation points
answered 2024-04-22T05:35:37.4566667+00:00
Shaik Babu 0 Reputation points
0 answers

Dynamically pass the B2C sign-in policy in .NET 8

I am developing the web application using .NET 8 with Asp.NET MVC and using Azure B2C tenant for Authentication. And it will be hosted in the Azure App services that configured with two domain urls. Based on the requested Urls, I wanted to pass the…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,145 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,400 questions
asked 2024-04-19T16:58:01.86+00:00
Ragu 0 Reputation points
edited the question 2024-04-22T05:12:03.83+00:00
Zhi Lv - MSFT 32,011 Reputation points Microsoft Vendor
1 answer

Seeking Alternative to Xamarin.Forms.Mocks for MAUI

I'm currently working on a project using MAUI and need a mocking framework similar to Xamarin.Forms.Mocks for Xamarin.Forms. However, I'm unsure if there's an equivalent library specifically designed for MAUI. Could anyone recommend an alternative or…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,292 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,845 questions
asked 2023-10-23T07:16:47.61+00:00
Mahesh Amin 0 Reputation points
commented 2024-04-22T05:07:35.74+00:00
Thomas Galliker 0 Reputation points
1 answer

Xamarin GoBackAsync does not return to last page.

I have a tabbed main page that I can select other pages from. one page has code to select a row and navigate from that content page to another content page to edit the selected row. Checklist page var navService =…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,292 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,584 questions
asked 2024-04-20T18:15:44.7833333+00:00
tim 60 Reputation points
answered 2024-04-22T03:34:00.8733333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,176 Reputation points Microsoft Vendor
1 answer

Selection Rectangle not moving along with datagrid content during scroll.

I am attempting to replicate the selection behavior of Windows File Explorer within a WPF DataGrid. Specifically, I aim to implement a selection rectangle that mimics the functionality of File Explorer's selection mechanism. Currently, I have created an…

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,668 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,208 questions
asked 2024-04-11T05:08:56.16+00:00
Amit 0 Reputation points
commented 2024-04-22T03:20:25.6133333+00:00
Hui Liu-MSFT 38,051 Reputation points Microsoft Vendor
1 answer

Implementing Vertical Design for Android and iOS, Horizontal Layout for Windows in MAUI: Guidance Needed

Is it possible to implement a vertical design for Android and iOS, while ensuring a horizontal layout for Windows in a MAUI application? If so, could you guide me on how to achieve this?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,845 questions
asked 2024-03-29T09:48:02.8933333+00:00
Sarfaraz Sable 20 Reputation points
commented 2024-04-22T03:18:00.7233333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,046 Reputation points Microsoft Vendor
2 answers

How to design patterns from scratch using C# asp.net MVC

I am new to building design pattern using factory design pattern, its C# asp.net mvc application which i am going developing my new web application, please can you help me how to start from scratch. I have worked one design pattern application which is…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,346 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,246 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,208 questions
asked 2024-04-19T14:27:10.4633333+00:00
coder rock 196 Reputation points
answered 2024-04-22T03:12:16.71+00:00
Lan Huang-MSFT 25,471 Reputation points Microsoft Vendor
1 answer

Empty space between elements .NET MAUI

The entire page is a grid. I'm trying to position a child grid on top of the parent grid. This works on Android. On Apple up to iPhone 14 too. On iPhones 14 and 15, the space between the parent and child grids is displayed. <?xml…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,845 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,208 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.
762 questions
asked 2024-04-19T07:41:18.8766667+00:00
Влад Тигинян 20 Reputation points
answered 2024-04-22T03:02:34.9166667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,046 Reputation points Microsoft Vendor
0 answers

Value cannot be null. Parameter name: existingConnection

Hi, I am quite new to Visual Studio development and I am working on a hobby project using WPF application with C#. I currently exploring User Control in WPF application. So, I have a project named "wpfLearnMainWin" say parent project (that has…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,346 questions
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,668 questions
asked 2024-04-19T13:16:45.13+00:00
Lakshman Balasubramanian 1 Reputation point
commented 2024-04-22T02:42:58.6233333+00:00
Hui Liu-MSFT 38,051 Reputation points Microsoft Vendor
1 answer

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. Question: How can i get all the groups name related to login user? do i have to make any changes in my azure app? I have already added this setting in…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,346 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,145 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,838 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,400 questions
asked 2024-04-16T09:54:17.1733333+00:00
Tomar, Abhishek 6 Reputation points
commented 2024-04-22T02:20:35.5366667+00:00
Shweta Mathur 27,216 Reputation points Microsoft Employee
4 answers

saving the Identity token in the Aspnetusertokens table

Hi I created an Asp.net core 6 project and I added the Identity framework for authentication and authorization, I would like to add token management and while doing research I realized that Identity also manages the management of tokens because it…

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.
607 questions
Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
696 questions
Microsoft Authenticator
Microsoft Authenticator
A Microsoft app for iOS and Android devices that enables authentication with two-factor verification, phone sign-in, and code generation.
5,460 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,145 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,208 questions
asked 2023-11-07T11:19:50.1566667+00:00
Marnelle M'BENGUET 20 Reputation points
edited a comment 2024-04-22T01:51:45.9333333+00:00
Angel Tobon 0 Reputation points