Microsoft Q&A

.NET

14,030 questions

Microsoft Technologies based on the .NET software framework.

Browse all .NET tags

14,030 questions with .NET-related tags

Sort by: Updated
2 answers

Upgrade Xamarin Forms Cross Platform Library from NetStandard2.x to Net7

I am trying to use the Acr.UserDialogs nuget package. I was using an older version with an older build of my Xamarin.Forms app for Android. I have a library that uses it that is cross platform. When I try to upgrade the Acr.UserDialogs package it tells…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
887 questions
Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,925 questions
.NET Standard
.NET Standard
A formal specification of .NET APIs that are available on multiple .NET implementations.
493 questions
asked 2023-03-27T20:38:12.3+00:00
Tony Pitman 21 Reputation points
answered 2023-03-27T23:02:36.2133333+00:00
Bruce (SqlWork.com) 31,336 Reputation points
2 answers One of the answers was accepted by the question author.

How do you display html data tags surrounding text within a XML file

I have created a RSS Feed using xml data and converted via xslt for display in browser window. I now insert the data for display using a ajax text editor which now injects additional style tags to the data and inserts into xml file like such. <rss…

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
asked 2023-03-11T00:45:47.32+00:00
peter liles 411 Reputation points
commented 2023-03-27T23:01:19.32+00:00
peter liles 411 Reputation points
1 answer

The type or namespace name 'Platform' does not exist in the namespace 'Microsoft.Maui.Graphics' (are you missing an assembly reference?)

I am using Visual Studio Community 2022 64 bit 4.8.04161 on Windows 11 Pro. I need to be able to draw an image at a particular location. I am attempting to use the documentation at…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,083 questions
asked 2023-03-16T20:44:11.47+00:00
Randy Clegg 0 Reputation points
commented 2023-03-27T22:52:03.0066667+00:00
Randy Clegg 0 Reputation points
0 answers

What does this mean?

I've just downloaded a sample C# project from Github, and after opening, my references all look like this: What do these warnings mean? I can't find a related message anywhere in the Visual Studio 2019 UI. How do I know what's wrong?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
887 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
2,797 questions
asked 2023-03-27T22:39:47.4033333+00:00
DavidPendleton-7654 1 Reputation point
commented 2023-03-27T22:48:39.9533333+00:00
David Lowndes 4,381 Reputation points MVP
5 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.
884 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,568 questions
asked 2023-03-25T19:03:34.56+00:00
sblb 876 Reputation points
answered 2023-03-27T22:27:57.9433333+00:00
AgaveJoe 19,986 Reputation points
0 answers

How to Open Files on Xamarin Android Using FilePicker

using Xamarin.Essentials; (at the top of the file) async Task<FileResult> PickAndShow(PickOptions options) { try { var result = await FilePicker.PickAsync(options); if (result != null) { string Text…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,925 questions
asked 2023-03-21T13:53:33.71+00:00
Ronald GANS 136 Reputation points
commented 2023-03-27T21:55:36.3633333+00:00
Ronald GANS 136 Reputation points
1 answer

Exapand glyphicon-plus glyphicon-plus when collapsed on button click

I have a page with bootstrap glyphicon-plus glyphicon-minus in a span with a class. when the page loads the span is collapsed by default and I need to Expand it on a button click programmatically. I am doing $("#btn-search").click(function…

ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
736 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
517 questions
asked 2023-03-24T19:53:12.94+00:00
Benjoe 386 Reputation points
edited a comment 2023-03-27T21:38:44.65+00:00
Benjoe 386 Reputation points
1 answer One of the answers was accepted by the question author.

Input control used to display and change font-family does not work with multiple javascript

I have controls that can be used to change font-family and colors of label controls. The input control is for changing font-family while the AjaxControlToolkit ColorPickerExtender is used to change labels color. At the top of my HTML page, I registered…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
517 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
.NET
.NET
Microsoft Technologies based on the .NET software framework.
887 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,323 questions
asked 2023-03-25T13:21:23.1466667+00:00
Donald Symmons 1,246 Reputation points
accepted 2023-03-27T21:37:05.6433333+00:00
Donald Symmons 1,246 Reputation points
0 answers

How can I figure out what nuget package is throwing an error about Xamarin.Android.Support.v4 no longer supported?

I have an old Xamarin.Forms app for iOS and Android that I am trying to upgrade to work on the latest Android OS. When I build I get these errors: …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,925 questions
asked 2023-03-27T21:22:32.47+00:00
Tony Pitman 21 Reputation points
1 answer

Change font in MAUI Blazor?

I have downloaded the font Comfortaa and saved it in the directory wwwroot/css/open-iconic/font/. In the file index.html I loaded the font under <style>: I also specified the alternative font "courier new". As you can see, it seems…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,083 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.
884 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,568 questions
asked 2023-03-27T19:09:16.13+00:00
perfect code 271 Reputation points
answered 2023-03-27T21:05:16.76+00:00
Bruce (SqlWork.com) 31,336 Reputation points
1 answer

How to bind table data dynamically to pdfmake table body using jquery

I have created a HTML Table and I want to download selected columns into pdf using pdfmake below is my code example html code :- using cdn links are:- <script type="text/javascript"…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,323 questions
asked 2023-03-27T10:52:54.96+00:00
Ashok Kumar 121 Reputation points
edited an answer 2023-03-27T20:57:53.78+00:00
Bruce (SqlWork.com) 31,336 Reputation points
0 answers

Viewing Embed Link (Thumbnail) that is the content of a property

I would like to be able to access an embed link that is the string content of a property in the same manner that the code below allows me to access a web link that is the string content of a property. <a href=@Html.DisplayFor(modelItem =>…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,835 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
736 questions
asked 2023-03-27T20:06:49.5466667+00:00
Dean Everhart 906 Reputation points
2 answers One of the answers was accepted by the question author.

No way to get, or calculate, magnetic declination using xamarin essentials?

Essentials Compass- gets me true north. Essentials Magnetometer gets me X, Y, Z. Is X,Y,Z, the magnetic declination, if so, how to use it\convert it (is x the declination?)? You can go to…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,925 questions
asked 2021-10-05T15:05:13.673+00:00
Louis Elston 21 Reputation points
answered 2023-03-27T20:05:53.7633333+00:00
Justin 1 Reputation point
0 answers

Null Warnings Re: Student, Course Create and Edit

Working on the following Contoso University Tutorial... https://learn.microsoft.com/en-us/aspnet/core/data/ef-mvc/crud?view=aspnetcore-6.0#update-the-edit-page The code runs successfully but has some warnings... Errors: Warning…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,835 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
736 questions
asked 2023-03-27T19:29:05.2133333+00:00
Dean Everhart 906 Reputation points
0 answers

Does Maui-Android have an issue with Shadow property for the Border control?

When I define Shadow for the Border control (see XAL code below), Android fails to display. It works fine on WinUI. If I remove Shadow definition in XAML it works for Android. Does Android have an issue with Shadow? <Border Stroke="Blue"…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,083 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,568 questions
asked 2023-03-27T18:27:32.8933333+00:00
dg2k 896 Reputation points
edited the question 2023-03-27T18:47:08.6166667+00:00
dg2k 896 Reputation points
0 answers

How can I host a shared Blazor Custom Elements app on a different Domain?

I tried to publish a Blazor app with custom elements on a Static Web App and reference it from another deployed app. Just added the necessary script tags pointing to the static web app. It does not work. Looking into the blazor.webassembly.js…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
884 questions
asked 2023-03-27T18:06:00.6133333+00:00
László Tóth 0 Reputation points
0 answers

Service fabric application project not crated properly

Hi I need to set up service fabric for Uni project, and I run into an issue I will try to explain as clearly because I am not sure where does the problem come from: When I create Service Fabric Application project, VS2022 creates only Service Fabric…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,835 questions
Azure Service Fabric
Azure Service Fabric
An Azure service that is used to develop microservices and orchestrate containers on Windows and Linux.
206 questions
asked 2023-03-27T16:47:40.6366667+00:00
Mirko Mijanović 0 Reputation points
1 answer

Support for English (United Arab Emirates) in Azure App Services or possibly VMs

We have a customer in the UAE we would like to support. They would like AED currency but English dates which are supported in the English (United Arab Emirates) locale. It appears this locale is not yet available in Windows Server (other than v2004)…

Azure App Services
Azure App Services
A feature of Azure App Service used to create and deploy scalable, mission-critical web apps.
4,566 questions
Azure FastTrack
Azure FastTrack
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.FastTrack: A Microsoft program that helps customers adopt Microsoft Cloud solutions and drive user adoption.
59 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
8,840 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 2021-07-22T04:11:54.977+00:00
Tony Schollum 6 Reputation points
edited the question 2023-03-27T16:46:12.6966667+00:00
Ryan Hill 16,526 Reputation points Microsoft Employee
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,835 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,568 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
887 questions
Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,401 questions
asked 2023-03-27T12:17:02.6366667+00:00
Sunny Sharma 1 Reputation point
commented 2023-03-27T16:33:35.93+00:00
David Lowndes 4,381 Reputation points MVP
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,083 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