Microsoft Q&A

.NET

13,111 questions

Microsoft Technologies based on the .NET software framework.

Browse all .NET tags

13,111 questions with .NET-related tags

Sort by: Updated
0 answers

How to fix double permission popup in xamarin ios web view

When I am trying to use camera in a web view, there are two permissions that are asked in iOS. One is the popup created from browser and the other is created from the Phone. Are there are any ways to avoid the browser popup for camera permission?

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,824 questions
asked 2023-02-06T09:19:10.4933333+00:00
Anila Mathew 0 Reputation points
commented 2023-02-09T06:32:24.4466667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 15,821 Reputation points Microsoft Vendor
4 answers One of the answers was accepted by the question author.

asp.net setup doubts

Hello We Have developed one small web application which has aspx page and cs file c# as a code behind. We use database as sql express 2008 R2 Microsoft SQL Server Express Edition with Advanced Services ( sql server management studio …

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,212 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
8,596 questions
asked 2023-02-03T11:07:51.19+00:00
RAVI 256 Reputation points
accepted 2023-02-09T06:31:29.1+00:00
RAVI 256 Reputation points
0 answers

Maui stuck in release building when Microsoft Graph is added

Hi Am having issues trying to build a release of my Maui app when adding Microsoft.Graph I have tried different computers, different versions of Graph and even a clean template but with the same result. The only kind of logging I can give is shown…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
917 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
608 questions
asked 2023-02-08T09:14:02.71+00:00
christian 0 Reputation points
edited a comment 2023-02-09T06:29:31.5766667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 42,061 Reputation points Microsoft Vendor
3 answers

Sql select most repeated value

Hi, I have a database called a “reader”, and a table called "dailyreader". The dailyreader has 6 columns and i am looking to create a query to select the most repeated values in all columns and show how many times has been repeated. Thanks,

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
8,596 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
644 questions
asked 2023-02-08T13:31:04.7266667+00:00
M Simo 0 Reputation points
answered 2023-02-09T06:22:37.3533333+00:00
Olaf Helper 26,056 Reputation points
3 answers One of the answers was accepted by the question author.

How to create environments with appSettings?

In previous projects i could click the Configuration or Debug menu (in the top bar) and set a new Configuration. This was displayed when i expanded web.config and i could use this to change environments to use different database connection strings…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,613 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.
7,036 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
644 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
622 questions
.NET Standard
.NET Standard
A formal specification of .NET APIs that are available on multiple .NET implementations.
485 questions
asked 2023-02-03T09:02:57.8733333+00:00
Mr Edge 121 Reputation points
accepted 2023-02-09T06:18:10.86+00:00
Mr Edge 121 Reputation points
0 answers

xamarin ios not able to find some of the swift standard runtime libraries.

xamarin ios not able to find some of the swift standard runtime libraries. I am even using linker flag too and it does resolve many errors related to swift runtime libraries but still there few library error such as swiftDataDetection, swiftFileProvider…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,824 questions
asked 2023-02-08T17:28:34.61+00:00
Muhammad nawaz shafiq 0 Reputation points
edited a comment 2023-02-09T06:13:16.76+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 15,821 Reputation points Microsoft Vendor
0 answers

Xamarin.Forms Speakerphone Stop Activating Suddenly on Android 10

I have App that has been working for years on Android 10, 11, 12 to Turn On/Off SpeakerPhone for Inbound and Outbound calls, but now it works sometimes on Inbound calls but never on Outbound calls. Here is a simple BroadcastReciever and…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,824 questions
asked 2023-01-17T22:27:57.81+00:00
Universal Camera 286 Reputation points
edited a comment 2023-02-09T06:02:42.6+00:00
Universal Camera 286 Reputation points
4 answers

how to use where in my order-details?

public class Order{ public int Id{get;set;} public int UserId{get;set;} public DateTime CreateTime{get;set;} public List<OrderDetail>OrderDetails{get;set;} } public class OrderDetail { public int Id{get;set;} public int ProductId{get;set;} public…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,613 questions
Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
430 questions
asked 2023-02-09T01:01:56.52+00:00
打玻璃 1,546 Reputation points
commented 2023-02-09T05:59:48.4266667+00:00
打玻璃 1,546 Reputation points
0 answers

How to fix Error DEP0700 Maui .NET7.0

Can someone please help sort this deployment error once updated to .NET7.0 Error        DEP0700: Registration of the app failed. [0x80073CF6] AppxManifest.xml(33,27): error 0x80070003: Cannot install or update package chhlvl.designIT7_xzp7k71ajzmr6…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
917 questions
Microsoft Configuration Manager Deployment
Microsoft Configuration Manager Deployment
Microsoft Configuration Manager: An integrated solution for for managing large groups of personal computers and servers.Deployment: The process of delivering, assembling, and maintaining a particular version of a software system at a site.
610 questions
asked 2023-02-08T00:06:19.36+00:00
Anjalee Gamage 0 Reputation points
edited the question 2023-02-09T05:52:13.32+00:00
Roy Li - MSFT 26,636 Reputation points Microsoft Employee
1 answer

Making a control required on the cshtml page

I have the following Model class public partial class EmployeeInfo { [DisplayName("Last Name")] public string LastName { get; set; } = null!; [DisplayName("First Name")] [Required] public string FirstName {…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,613 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
622 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.
7,036 questions
asked 2023-02-08T23:40:41.31+00:00
Anjali Agarwal 141 Reputation points
answered 2023-02-09T05:45:00.4666667+00:00
Zhi Lv - MSFT 19,061 Reputation points Microsoft Employee
0 answers

upload file on one drive using asp.net C#

Upload a file on one drive using asp.net c#

OneDrive
OneDrive
A Microsoft file hosting and synchronization service.
65 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,212 questions
asked 2023-02-09T05:15:25.85+00:00
Alisha Mulla 0 Reputation points
edited the question 2023-02-09T05:43:02.45+00:00
XuDong Peng-MSFT 4,576 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

linq from a list inside a class

i have the following Model class: public partial class EmployeeInfo { public int EmployeeInfoId { get; set; } public string FirstName { get; set; } = null!; public int? JobTitleLookupId { get; set; } public virtual JobTitleLookup? JobTitleLookup {…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,613 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
622 questions
asked 2023-02-08T23:51:11.5733333+00:00
Anjali Agarwal 141 Reputation points
commented 2023-02-09T04:37:26.28+00:00
Anjali Agarwal 141 Reputation points
1 answer One of the answers was accepted by the question author.

How to set width of a FlyoutPage.Flyout?

In Shell we have the FlyoutWidth property but in FlyoutPage I cannot find anything similar. I tried WidthRequest on the FlyoutPage.Flyout page and some other fields but none of them worked.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
917 questions
asked 2023-02-03T00:36:33.8733333+00:00
stcmz 0 Reputation points
accepted 2023-02-09T04:24:56.9266667+00:00
stcmz 0 Reputation points
0 answers

Wrong Host name of the website in IIS. Domain name with a hyphen doesn't work.

Hello, I want to run an application in IIS Server and it must run on host name like a "my-app", but it doesn't work. When I try to run the app with domain "my-app.com" it works correctly. Locally on the server everything works…

ASP.NET Web Forms
ASP.NET Web Forms
A part of the ASP.NET web application framework that can be used to create ASP.NET web applications.
412 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
8,273 questions
Internet Information Services
asked 2023-02-08T11:37:06.1266667+00:00
Kornel Mizdalski 0 Reputation points
commented 2023-02-09T04:21:40.22+00:00
Yurong Dai-MSFT 1,116 Reputation points Microsoft Employee
0 answers

mudar fonte no cue-easy virtual teleprompter

Como posso mudar a cor da fonte no "Cue-easy virtual teleprompter"

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,613 questions
Windows 10 IoT Core
Windows 10 IoT Core
An Azure subscription offering that provides the essential services needed to commercialize a device on Windows 10 IoT Core.
230 questions
asked 2023-02-09T04:10:29.1633333+00:00
Alexandre Prado 0 Reputation points
2 answers

is vb.net died?

hello, I'm a vb.net developer, I wanted to know if visual basic is dead or still has support. if it still has support is there a trick to use it with .net maui like you did with xamarin?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
917 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
644 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
1,850 questions
asked 2023-02-08T10:42:06.7266667+00:00
giorgio 0 Reputation points
answered 2023-02-09T03:12:32.0366667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 11,696 Reputation points Microsoft Employee
0 answers

iOS device works as not expected

I published MAUI APP to Testflight but, the app installed from Testflight works with some problems Title of FlyoutItem in Shell does not appear Carousels does appear CollectionView does not show data on iOS emulator all of them works well. on App…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
917 questions
asked 2023-02-06T02:46:09.28+00:00
Nam Pham 21 Reputation points
commented 2023-02-09T03:06:03.1933333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 15,821 Reputation points Microsoft Vendor
0 answers

Best Report Tools for Blazor

My company is transitioning from legacy software that makes extensive use of Crystal Reports and we are looking for a tool compatible with Blazor. Many options come up in a Google search, but we don't have enough experience with the platform to make an…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
805 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,137 questions
asked 2023-02-09T02:52:54.0333333+00:00
RussDFM 0 Reputation points
6 answers

Does MAUI support push notification

Does MAUI preview 6 have option to support or handle push notifications using FCM.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
917 questions
asked 2022-08-04T08:30:59.637+00:00
Anjana Jois 1 Reputation point
answered 2023-02-09T02:49:53.72+00:00
小姐 罗 0 Reputation points
0 answers

why invoking a multi-targeting library doesn`t work as expected?

I`m currently learning how to create multi-targeting library with dotnet. I created a multi-targeting library in .net6 and .net 7. However, when I calling the method in this library, the output doesn`t work as my expectation. excution command: in…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
644 questions
asked 2023-02-04T07:27:37.1966667+00:00
William Liu 121 Reputation points
edited a comment 2023-02-09T02:48:37.9+00:00
Jack J Jun 19,571 Reputation points Microsoft Employee