Microsoft Q&A

.NET

20,148 questions

Microsoft Technologies based on the .NET software framework.

Browse all .NET tags

20,148 questions with .NET-related tags

Sort by: Updated
0 answers

جــلــبـ ـالـحـبـيــب - الدوحة ٠٠٩ٍ٧٣ٍ٣ٍ٤٠ٍ٢٨ٍ٢٩ٍٍ٥ ✓ رقمـ شيخـ روحانيـ سعوديـ✓ لجلبـ ـالحبيبـ

جــلــبـ ـالـحـبـيــب - الدوحة ٠٠٩ٍ٧٣ٍ٣ٍ٤٠ٍ٢٨ٍ٢٩ٍٍ٥ ✓ رقمـ شيخـ روحانيـ سعوديـ✓ لجلبـ ـالحبيبـ

ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
946 questions
asked 2023-08-27T14:28:47.8933333+00:00
asasasas axsASas 0 Reputation points
0 answers

جــلــبـ ـالـحـبـيــب -البحرين ٠٠٩ٍ٧٣ٍ٣ٍ٤٠ٍ٢٨ٍ٢٩ٍٍ٥ ✓ رقمـ شيخـ روحانيـ سعوديـ✓ لجلبـ ـالحبيبـ

جــلــبـ ـالـحـبـيــب - الكويت ٠٠٩ٍ٧٣ٍ٣ٍ٤٠ٍ٢٨ٍ٢٩ٍٍ٥ ✓ رقمـ شيخـ روحانيـ سعوديـ✓ لجلبـ ـالحبيبـ

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,100 questions
asked 2023-08-27T14:28:25.37+00:00
asasasas axsASas 0 Reputation points
0 answers

how to refresh the page after submit event (POST) in Razor Pages

Hi, I create an action via the post method in modal dialog. When I run my app and Create an action the post method works fine. When I want to create a new action the field in modal is not empty and keep the last action data. However I use : async…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,074 questions
asked 2023-08-26T14:21:49.6466667+00:00
sblb 1,081 Reputation points
commented 2023-08-27T14:26:36.7633333+00:00
sblb 1,081 Reputation points
1 answer

how to use social media login in MAUI

how to integrate social media(Facebook, Google, Twitter) login in MAUI application. without using web authentication

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,734 questions
asked 2023-08-27T09:35:15.21+00:00
Umesh Kamble 0 Reputation points
answered 2023-08-27T10:53:44.6466667+00:00
Johan Smarius 0 Reputation points
1 answer

Setup SelftSigningCertificate x509 in asp.net core blazor wasm

How to setup x509 self signed certificate in asp.net core 7.0 with blazor wasm here is my program.cs server project asp.net core I tried to go through docs of Microsoft but didn't understand what code and where to put. var builder =…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,462 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.
1,074 questions
asked 2023-08-26T17:14:16.0266667+00:00
Prathamesh Shende 326 Reputation points
commented 2023-08-27T10:31:18.6833333+00:00
AgaveJoe 24,116 Reputation points
0 answers

Issue with "Windows Form App" Disappearing in VB.NET 2022 Hello everyon

I'm facing a problem with VB.NET 2022 that I recently installed on my PC. I'm new to programming, so I'd appreciate some guidance on this issue. The problem I'm encountering is related to the "Windows Form App" template in VB.NET 2022. Here's…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,929 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
833 questions
asked 2023-08-27T09:23:27.4266667+00:00
Mohammad Ishaq 1 Reputation point
1 answer

Visual Studio 2022 not responding when saving a design file

I am trying to add a new component to a design file, but whenever I try to save after adding it, Visual Studio stops responding and I have to close it. I have tried even deleting things from the design, but saving after that also leads to the same…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,592 questions
asked 2023-04-26T15:52:41.9833333+00:00
61921288 0 Reputation points
commented 2023-08-27T08:48:23.11+00:00
Karen Payne MVP 32,501 Reputation points
1 answer

How to reference an established GitHub library in C# with a using statement

I want to write a console app in .NET with C#. I have a library available on GitHub and want to reference it with a using statement. How do I install this library in order to use it ?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,929 questions
asked 2023-08-27T04:11:43.3366667+00:00
calman gold 0 Reputation points
answered 2023-08-27T08:38:38.2433333+00:00
Johan Smarius 0 Reputation points
1 answer

WPF : get my wpf application in settings >> Location >> precise location list

Hi, I am trying to get my application in settings >> Location >> precise location list so that I can specifically on/off location setting for my application only. I have used Microsoft.Windows.SDK.Contracts nuget to enable uwp feature. I…

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,440 questions
asked 2020-05-19T03:54:09.277+00:00
Dipika Panchal 1 Reputation point
answered 2023-08-27T06:06:31.7566667+00:00
Vahid Ghafarpour 5,300 Reputation points
0 answers

SQLProj Targets Wrong Framework Despite Explicit net6.0 Specification

Hello, I'm working on a .NET project that involves a SQL project (sqlproj) on VS Code on Linux. In my .sqlproj file, I have explicitly set the target framework to .NET 6.0. However, when I examine the project.assets.json file, I find that it's targeting…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,929 questions
asked 2023-08-27T05:00:25.17+00:00
Walid Abdelal 1 Reputation point
edited the question 2023-08-27T05:32:12.5033333+00:00
Walid Abdelal 1 Reputation point
0 answers

How to fix a app saying its downloading but it isnt downloading

Hello Microsoft. I hope you are having a nice day. So my problem is I'm trying to download a game called "Roblox" on microsoft store and its showing its downloading but it does not move a single bit I have downloaded other apps from the…

.NET F#
.NET F#
.NET: Microsoft Technologies based on the .NET software framework.F#: A strongly typed, multi-paradigm programming language developed by the F# Software Foundation, Microsoft, and open contributors.
63 questions
asked 2023-08-27T02:27:12.7233333+00:00
zenji 0 Reputation points
2 answers

Side by Side MAUI possible?

I am getting increasingly aggravated and defeated by this new distribution method.  Basically from what I can tell, every release of the .NET SDK brings with it a new version of maui workloads that need to be installed via dotnet maui install / update /…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,734 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
299 questions
asked 2023-08-25T00:26:19.8533333+00:00
Jim Borden 0 Reputation points
commented 2023-08-27T01:30:05.0433333+00:00
Bruce (SqlWork.com) 42,036 Reputation points
4 answers

Duende.Identity vs Microsoft.Identity

Hi, I ran my Hosted Blazor WebAssembly (v6.x) with the account manager, and I checked the console. There was a message indicating that I am using Duende.Identity without a license! But why was my project built with these services? Until now, my projects…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,074 questions
asked 2023-08-18T15:04:39.2233333+00:00
Laurent Guigon 186 Reputation points
commented 2023-08-27T00:48:57.33+00:00
Bruce (SqlWork.com) 42,036 Reputation points
3 answers

is there any option to migrate website from .net 4.8 to .net 7?

I want to convert my asp.net website which framework is 4.8 to framework .net 7. Is there any option to direct migrate full application with making extra effort. or is there any option to share session between .net 4.8 and .net 7 framework.

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
666 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.
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.
8,773 questions
asked 2023-08-26T17:11:57.6766667+00:00
Ramesh kumar 0 Reputation points
edited an answer 2023-08-26T22:26:23.8133333+00:00
Albert Kallal 4,216 Reputation points
4 answers One of the answers was accepted by the question author.

Android.Views.InflateException Binary XML file line #1 in layout/toolbar: Error inflating class androidx.appcompat.widget.Toolbar

In a xamarin.forms android project, MainActivity.cs contains: [Activity (Label = "Almicantarat", Theme = "@style/MainTheme", Icon = "@drawable/almicantarat_launcher", MainLauncher = true, …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,100 questions
asked 2021-09-24T14:54:18.663+00:00
pierre-louis deschamps 146 Reputation points
commented 2023-08-26T22:00:01.57+00:00
Eldo Farias 0 Reputation points
0 answers

Get error with string xml

Hello I add in strings.xml <string name="Type pixel number for upper left corner">titleplx</string> when i compiled the app i get this error

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,100 questions
asked 2023-08-26T21:53:54.2966667+00:00
Shay Wilner 1,646 Reputation points
0 answers

Authentication failed because the remote party has closed the transport stream

Hi, We have created the one app service and we published the code into the app service. We are trying to call the external Api through the app service, but we are getting an exception. Please check below are the details of Api which we are trying to…

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
1,371 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,599 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.
8,773 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
5,425 questions
asked 2023-08-26T18:57:58.3+00:00
Ashish D 20 Reputation points
edited a comment 2023-08-26T19:58:12.0533333+00:00
AgaveJoe 24,116 Reputation points
1 answer One of the answers was accepted by the question author.

I cannot get to the Project Properties Editor for MAUI project. How to fix this?

Visual Studio: Version 17.6.0 Preview 3.0 (was the same issue with Version 17.6.0 Preview 2.0) Framework: 8.0.0-preview.1.23110.8 Operating System: Windows 11 Enterprise Insider Preview Edition; Version 22H2; OS Build 25336.1000 When I right-click…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,626 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,734 questions
asked 2023-04-11T21:31:39.4966667+00:00
dg2k 1,241 Reputation points
edited a comment 2023-08-26T19:05:56.7466667+00:00
Cosmin Mihai 0 Reputation points
0 answers

Maui toolkit popup bizarre behaviour

Hello all. the following work ok . But if I add 0.8 multiplier it's still showing full width can someone explain this. layout.WidthRequest = 0.8 * DeviceDisplay.Current.MainDisplayInfo.Width; public partial class TestPop : Popup {       public…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,734 questions
asked 2023-08-26T18:02:07.5366667+00:00
Haviv Elbsz 1,026 Reputation points
1 answer

GraphQL API - Fetch data from more than one table

Hi, I want to write an .net core graph ql api(using hot chocolate), which will return the data from db(one or more tables). They are independant tables. Say I want to retrieve data from employees, and offices. There is no relationship between these 2…

Entity Framework 6.0
Entity Framework 6.0
A Microsoft open-source object-database mapper for .NET.
256 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,462 questions
asked 2023-08-17T08:09:24.0033333+00:00
Santhi Dhanuskodi 40 Reputation points
answered 2023-08-26T17:54:07.96+00:00
Johan Smarius 0 Reputation points