Microsoft Q&A

.NET

13,047 questions

Microsoft Technologies based on the .NET software framework.

Browse all .NET tags

13,047 questions with .NET-related tags

Sort by: Updated
0 answers

A white screen is displayed instead of my launch screen on my iPad Air when I start my iOS project

I have a LaunchScreen.storyboard file in my iOS project and it worked a few weeks or months ago. But now only a white screen is displayed instead of my launch screen. In addition, I have the same problem with UIImageView, a white screen is displayed…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
908 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,007 questions
asked 2023-02-05T14:38:53.1466667+00:00
Kim Strasser 361 Reputation points
commented 2023-02-06T05:09:53.61+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 15,746 Reputation points Microsoft Employee
1 answer

How to fix CORS issue during development with localhost different port

Hello, I have a Angular Js application and backend WCF service c# .net , both are running in localhost IISExpress with different port. Client UI is accessing WCF API through http POST/GET. While debugging from Visual Studio using Edge it's throwing…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
449 questions
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.
409 questions
Windows Communication Foundation
Windows Communication Foundation
A Microsoft runtime and set of application programming interfaces in the .NET Framework for building service-oriented applications.
260 questions
asked 2023-02-06T04:53:41.13+00:00
Pragyan Snata 0 Reputation points
answered 2023-02-06T05:08:08.5433333+00:00
Naimish Makwana 90 Reputation points
2 answers

C# UWP Printing "Keine installierten Komponenten gefunden. (Exception from HRESULT: 0x800F1000)" (No installed components found.)

I want to print in my UWP App. I create a SortedList of RelativePanels which i fill with controls. The PrintPreview appears correct with the first RelativePanel of the SortedList. But when i want to switch to next PrintPage, this means the next…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
635 questions
Universal Windows Platform (UWP)
asked 2023-02-05T08:30:00.67+00:00
Markus Schertler 41 Reputation points
answered 2023-02-06T04:54:33.3766667+00:00
Markus Schertler 41 Reputation points
2 answers

getting errors while migrating to MAUI

I have tried migrating existing forms project to MAUI I have used .NET Upgrade Assistant dotnet tool and ran these commands dotnet tool update --global upgrade-assistant upgrade-assistant upgrade <path to sln or csproj> --non-interactive…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
908 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
635 questions
asked 2023-02-01T05:24:37.6933333+00:00
Satya 0 Reputation points
answered 2023-02-06T04:44:51.5766667+00:00
Satya 0 Reputation points
2 answers One of the answers was accepted by the question author.

Will Xamarin Native be supported in MAUI world

Hello. I've found official end-of-support date for Xamarin: https://dotnet.microsoft.com/en-us/platform/support/policy/xamarin But I've heard, tht Xamarin Native is technology behind MAUI, and it will continue to be supported after that date. It will be…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
908 questions
Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,819 questions
asked 2023-02-01T12:25:06.19+00:00
Сергей 0 Reputation points
accepted 2023-02-06T04:25:36.0033333+00:00
Сергей 0 Reputation points
0 answers

I changed the startup form but not applied in visual studio 2022

Hi, I changed the startup form but not applied in visual studio 2022, also any other changes I make doesn't take place although there is no errors in the error list, please help

.NET
.NET
Microsoft Technologies based on the .NET software framework.
635 questions
asked 2023-02-03T07:11:56.92+00:00
Hossam 20 Reputation points
commented 2023-02-06T04:08:32.8633333+00:00
Hossam 20 Reputation points
0 answers

How to Change the Default .NET Logo and Splash Screen on an iPhone iOS .NET MAUI

Does anyone know why the app icon and splash screen will not change in debug mode on my Local Device, iPhone 12 Max pro? I do not have an Android phone to test with but the icon and splash screen do change on the emulator. This is how the .csproj is…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
908 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
635 questions
asked 2023-02-06T03:55:53.9666667+00:00
DOTNETVIC 0 Reputation points
1 answer

Interface in .NET MAUI

Hi, How can Implement Interface in .NET MAUI? I want to implement the below to access the App's Settings for both iOS and Android. Thanks, Jassim

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
908 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,007 questions
asked 2023-02-05T20:43:34.63+00:00
Jassim Al Rahma 1,126 Reputation points
answered 2023-02-06T03:42:54.2166667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 41,666 Reputation points Microsoft Employee
2 answers

LINQ OrderByDescdending for date field is not working razor pages

Hi, i want to display records based on booked dates. For that i used OrderByDescending in LINQ query, but it is not sorting based on date field. ManageBooking = await _context.ManageBooking.Where(e => (e.BookingDate >= DateTime.Today &&…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,591 questions
asked 2023-02-03T06:59:51.21+00:00
Blooming Developer 196 Reputation points
edited an answer 2023-02-06T03:30:14.6333333+00:00
DOTNETVIC 0 Reputation points
0 answers

cookie can not read after downgrade from 7.0 to 6.0?

I am using .net 7.0 and after I downgrade to .net 6.0 I can not use HttpContext.User it is not authenticated. in F12 Cookie I can see the Cookie I have set but I can not read it why?

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,591 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
615 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,203 questions
asked 2023-02-06T00:49:27.5+00:00
打玻璃 1,546 Reputation points
commented 2023-02-06T03:22:37.13+00:00
打玻璃 1,546 Reputation points
0 answers

Bitmap Colors & Editing in CMYK

I have a Xamarin.Android app with an Android.Graphics.Bitmap for which I need to view each pixel's color in CMYK (as opposed to RGB). I also need to be able to rotate & crop the Bitmap. I am not extremely familiar with working with graphics &…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,819 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
635 questions
asked 2023-02-06T01:33:06.46+00:00
Nathan Sokalski 3,976 Reputation points
edited the question 2023-02-06T03:21:38.2766667+00:00
Jack J Jun 19,381 Reputation points Microsoft Employee
1 answer

ReportViewer 15.0.0.0 - Remove PageWidth and WholePage option from Zoom dropdown

We have an MVC web application, and recently we migrated from Microsoft ReportViewer from 11.0.0.0 to 15.0.0.0 version. We started having different issues in terms of UI, one of which is mentioned as below. The Page width and Whole Page options in…

ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
615 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,122 questions
asked 2023-02-03T09:51:32.1266667+00:00
Rakesh Guranani 0 Reputation points
answered 2023-02-06T03:13:29.87+00:00
AniyaTang 2,101 Reputation points Microsoft Employee
1 answer

ReportViewer 15.0.0.0 vertical scroll on opening a sub record

We have an MVC web application, and recently we migrated from Microsoft ReportViewer from 11.0.0.0 to 15.0.0.0 version. We started having different issues in terms of UI, one of which is mentioned as below. When we run the report from SSRS (SQL…

ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
615 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,122 questions
asked 2023-02-03T09:47:57.2633333+00:00
Rakesh Guranani 0 Reputation points
answered 2023-02-06T03:12:53.4233333+00:00
AniyaTang 2,101 Reputation points Microsoft Employee
0 answers

System.InvalidOperationException: 'Invalid operation. The connection is closed.'

hello All, I am getting this error when calling a small function. I am calling this function twice. Below is my code: public async Task<EmployeeInfo?> GetEmployeeByEmployeeNumber(string employeeId) { List<int> emplyoeeInfoId =…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,591 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
615 questions
asked 2023-02-06T03:09:17.0033333+00:00
Anjali Agarwal 121 Reputation points
1 answer

ReportViewer 15.0.0.0 shows scrollbar along the parameter and report body section

We have an MVC web application, and recently we migrated from Microsoft ReportViewer from 11.0.0.0 to 15.0.0.0 version. We started having different issues in terms of UI, one of which is mentioned as below. When we run the report from SSRS (SQL…

ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
615 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,122 questions
asked 2023-02-03T09:39:05.0866667+00:00
Rakesh Guranani 0 Reputation points
answered 2023-02-06T03:05:40.74+00:00
AniyaTang 2,101 Reputation points Microsoft Employee
1 answer

.Net Maui, how to run method after page is shown?

Hi, I am trying to find a way to run a method after a contentpage is showing on the screen. OnAppearing() does not work as it fires before the page is actually loaded. Is there any way to do this without using a timer? It seems strange there is no built…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
908 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,007 questions
asked 2023-02-05T22:31:22.9633333+00:00
Phunction 176 Reputation points
answered 2023-02-06T03:05:21.8766667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 11,461 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

Help with CommunityToolkit.MVVM

Hi, I am trying to use the CommunityToolkit.MVVM but when setting the two values in my sample vcard and color it's not getting Binded later on. the Popup as you can clearly see in the sample. https://www.softnames.com/temp/MVVMApp.zip Kindly…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
908 questions
asked 2023-02-02T22:53:31.4766667+00:00
Jassim Al Rahma 1,126 Reputation points
commented 2023-02-06T02:52:18.1333333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 41,666 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.
908 questions
asked 2023-02-06T02:46:09.28+00:00
Nam Pham 1 Reputation point
edited the question 2023-02-06T02:52:08.6+00:00
Nam Pham 1 Reputation point
1 answer

records update using visual basic and UPDATE SET statement ACCESS table

Hello There I am trying to update ACCESS table records using the statement UPDATE SET WHERE and a datagridview as source, the code that I put together seems to be running fine (syntax talking), I say syntax because there is not error or break during…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
1,838 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
635 questions
asked 2023-01-15T21:31:17.18+00:00
salvatore Colaiuda 0 Reputation points
commented 2023-02-06T02:48:55.18+00:00
Jiachen Li-MSFT 10,911 Reputation points Microsoft Employee
0 answers

Xamarin iOS - development app is deployed on IPhone, but I cannot start it

I have an app in Xamarin that I want to test on a physical IPhone (normally I test it on Android). I'm connected to a Mac, the development certificate is working and everything is deployed to the point that the app is actually installed on the IPhone…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,819 questions
asked 2023-01-17T17:40:49.0266667+00:00
Ganesh Gebhard 366 Reputation points
commented 2023-02-06T02:42:56.7+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 15,746 Reputation points Microsoft Employee