Microsoft Q&A

.NET

14,022 questions

Microsoft Technologies based on the .NET software framework.

Browse all .NET tags

14,022 questions with .NET-related tags

Sort by: Updated
0 answers

Maui kernelbase error when installed on client

Hi, I have made a Maui application and has signed it and it is installing on the client. But when opening I dont get any response and the following is shown in the event viewer. Faulting application name: FlexViewer.exe, version: 1.0.0.0, time…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,081 questions
asked 2022-09-02T10:29:53.607+00:00
Mads S. Christiansen 1 Reputation point
commented 2023-03-27T16:24:11.0266667+00:00
Richard Dufour 0 Reputation points
0 answers

Which is best, entity framework core in a class library, MVC or Blazor server side

HI, I am planning to create an MVC project. I wanted to use entity framework core. I am wondering if I should install it in a class library or an MVC project. I see that I can use a class library to make the use of EF more available for any…

Entity Framework 6.0
Entity Framework 6.0
A Microsoft open-source object-database mapper for .NET.
229 questions
asked 2023-03-27T16:21:25.0466667+00:00
2 answers

How to support multiple names for a property using System.Text.Json Deserialization?

Hello together, right now I'm reading following learn article: https://learn.microsoft.com/en-us/dotnet/standard/serialization/system-text-json/custom-contracts It is written Support multiple names for a single property (for example, if a previous…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
885 questions
asked 2023-03-27T01:08:56.12+00:00
PFJ 0 Reputation points
edited a comment 2023-03-27T15:58:35.3166667+00:00
PFJ 0 Reputation points
2 answers One of the answers was accepted by the question author.

Xamarin forms invoking javascript from webview

The android project in the sample as described in this article does not work. The iOS project works exactly as described in the article. The Android does nothing.…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,923 questions
asked 2023-03-21T21:45:34.7833333+00:00
tbelvin 1 Reputation point
accepted 2023-03-27T15:56:41.2333333+00:00
tbelvin 1 Reputation point
0 answers

In MAUI, Top status bar is not display properly if I change it from Portrait to Landscape mode

In above image, on top left you can see the status bar background color is not updating in landscape mode, in portrait mode it's working file but as soon as I rotate into landscape mode it showing me like this. Not sure why it is happening only for ios.…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,081 questions
asked 2023-03-27T15:44:05.6266667+00:00
Mane, PRASHANT GORAKH 26 Reputation points
edited the question 2023-03-27T15:46:03.1366667+00:00
Mane, PRASHANT GORAKH 26 Reputation points
4 answers

This App Bundle contains native code

Hi, I am getting this error while uploading my Xamarin Forms' android app to the Google Play Console. This App Bundle contains native code, and you've not uploaded debug symbols. We recommend you upload a symbol file to make your crashes and ANRs…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,923 questions
asked 2021-01-20T19:44:11.02+00:00
jrahma 111 Reputation points
answered 2023-03-27T15:28:07.39+00:00
Md Delower Hossain 0 Reputation points
4 answers

ApiAuthorisation with foreign key

Hi, I have an application where it's necessary to have an ApiAuthorisation means to have several individual account. Also I need to use a foreign key. I defined modelBuilder has below : protected override void OnModelCreating(ModelBuilder…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
882 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,566 questions
asked 2023-03-25T19:03:34.56+00:00
sblb 876 Reputation points
edited a comment 2023-03-27T15:26:09.19+00:00
AgaveJoe 19,986 Reputation points
1 answer

Report Wizard missing in VS2022

In VS2022 I downloaded and installed the Microsoft RDLC Report Designer 2022 but I still can't find the report.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
2,791 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
734 questions
asked 2023-03-27T13:04:37.4366667+00:00
Ahmed Elnoury 0 Reputation points
answered 2023-03-27T15:21:14.3533333+00:00
Michael Taylor 41,191 Reputation points
4 answers

SQL Server 2022 install on Windows 10 fails with error that .NET is not installed, but it is installed and up to date

I have installed SQL Server 2022 Developer edition successfully on a Windows 10 and 11 virtual machine. The issue is that I cannot install it on a physical machine. During the install, I get the following fatal error. I have tried to install the latest…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
885 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.
9,112 questions
asked 2023-03-23T18:04:44.7966667+00:00
MJ Skeet 0 Reputation points
commented 2023-03-27T14:49:17.24+00:00
MJ Skeet 0 Reputation points
2 answers

the service microsoft.visualstudio.shell.interop.iselectioncontainer already exists in the service container in VS2022

I recently installed Visual Studio 2022 Professional edition on my machine windows 2010. I'm just trying to create a sample windows form project and trying to open the designer / form by double clicking on Form1.cs and I'm getting this weird error…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,833 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.
464 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,566 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
885 questions
.NET Standard
.NET Standard
A formal specification of .NET APIs that are available on multiple .NET implementations.
492 questions
asked 2023-03-24T14:39:48.4166667+00:00
Sunny Sharma 1 Reputation point
commented 2023-03-27T14:15:33.1266667+00:00
Michael Taylor 41,191 Reputation points
1 answer

Access Control

Good morning, I am working on a .NET Core 6, SQL Server project and I need some idea of how to implement permissions by fields, let me explain: in a form, for example, that has [Name, Surname, Date, Address, Gender] to be able to assign in an access…

ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
734 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
885 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,833 questions
asked 2023-03-23T12:15:43.6866667+00:00
Juan A. Reyes Paulino 0 Reputation points
commented 2023-03-27T14:05:55.5+00:00
Juan A. Reyes Paulino 0 Reputation points
1 answer

CommunityToolkit.Maui.Storage.FileSaver on iOS strange

I have the latest release version of CommunityToolkit.Maui (5.0.0). When I run CommunityToolkit.Maui.Storage.FileSaver in my app on iOS I get a strange user interaction. The window shown looks like that in the iOS_FileSaver.png image attached. The…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,081 questions
asked 2023-03-26T16:35:16.08+00:00
Eigil Krogh Sorensen 41 Reputation points
answered 2023-03-27T13:57:31.7533333+00:00
Eigil Krogh Sorensen 41 Reputation points
0 answers

How to download a file from Android emulator

As the Android emulator needs to be factory reset every so often I have several files that I create and store on emulator (phone). They are the result of sometimes hundreds of calls to an API so the file makes access to the data much quicker. When I…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,081 questions
asked 2023-03-27T13:23:18.86+00:00
Lloyd Sheen 936 Reputation points
2 answers One of the answers was accepted by the question author.

How do I add a data entry control inside of the ListView.

I am trying to add a data entry control called Entry Cell inside of a ListView so that the user can enter data that I can save to the Database. I get the error... A value of type 'EntryCell' cannot be added to a collection or dictionary of type…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,081 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,566 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.
600 questions
asked 2023-03-24T19:30:03.5933333+00:00
Ronald Rex 591 Reputation points
commented 2023-03-27T13:16:31.3066667+00:00
Ronald Rex 591 Reputation points
4 answers

There is no ViewData item of type 'IEnumerable<SelectListItem>' that has the key 'designid'.

When i am passing data from view to controller then below error is coming There is no ViewData item of type 'IEnumerable<SelectListItem>' that has the key 'designid'. <div class="form-group"> …

ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
734 questions
asked 2023-03-26T11:52:22.46+00:00
akhter hussain 2,901 Reputation points
commented 2023-03-27T12:58:54.59+00:00
AgaveJoe 19,986 Reputation points
2 answers

I was downloaded and trying to install .NET framework 3.5 for a applaction but it gived me the 0x80070422 error. isearched and found something to solve but shows again error code 0*80070422

I was downloaded and trying to istall .NET framework 3.5 for a applaction but it gived me the 0x80070422 error. isearched and found something to solve but shows again error code 0*80070422. it describe windows couldn't complete the requested changes…

Entity Framework 6.0
Entity Framework 6.0
A Microsoft open-source object-database mapper for .NET.
229 questions
Microsoft 365
Microsoft 365
Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line.
497 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
885 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
4,102 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: The period of time during which a program is being executed in a computer.
981 questions
asked 2023-03-27T07:54:11.77+00:00
NMC 0 Reputation points
answered 2023-03-27T12:30:49.7533333+00:00
Limitless Technology 16,666 Reputation points
0 answers

Programatically force winform app to open at 125 scaling using Dotnet core 6

We have built a DPI Unaware Winform app using DotNet core 6 which works fine on windows operating system with 100% and 125% scaling options on all devices whether it's laptop or desktop . Example screenshot for the 125 scaling is given below The moment…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,833 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,566 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
885 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.
464 questions
Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,399 questions
asked 2023-03-27T12:17:02.6366667+00:00
Sunny Sharma 1 Reputation point
0 answers

RDMA MemoryRegister Error

Hi, I'm Network Engineer and developing RDMA in Windows 10 using mellanox connectX-3. I'm developing in a slightly unusual environment, so I need to register about 500GB with this adapter using RegisterMemory among NDSPI interfaces. There is a…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
885 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
2,751 questions
asked 2023-03-27T11:40:49.5266667+00:00
이하운 0 Reputation points
0 answers

Circular Progressbar through SKIA Sharp is not working in MAUI

I have created a custom control for circular progress bar using skia sharp in xamarin forms and it is not working in MAUI after migration. I have shared the code below, please check <skia:SKCanvasView x:Name="canvas" …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,081 questions
asked 2023-03-27T11:27:08.9133333+00:00
Satya 40 Reputation points
0 answers

Custom configuration provider with sqlserver

Hi everyone, I need to create my own customized provider configuration with a sqlserver database in order to offer my client (who manages his website) to change some settings. My idea is to use the settings in the json file for the "system"…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,833 questions
asked 2023-03-27T11:11:05.1166667+00:00
Salvatore Sanollo 0 Reputation points