Microsoft Q&A

.NET

20,546 questions

Microsoft Technologies based on the .NET software framework.

Browse all .NET tags

20,546 questions with .NET-related tags

Sort by: Updated
3 answers

Asp.net core razor pages(.cshtml) not loading properly after upgrading to .net 6 and angular 14

Hi Team, Currently, in my project, we have the angular and .net core apps. The project was created using an SPA template adding angular to it. The projects had a few razor pages included. Now the issue is those razor pages not loading properly in CI/CD…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,015 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,541 questions
asked 2023-09-04T10:06:53.6+00:00
Umapathi Arumugam 0 Reputation points
commented 2023-09-21T14:14:14.7366667+00:00
Umapathi Arumugam 0 Reputation points
0 answers

How to fix XA3007: Could not link native shared library: libxamarin-app.so in Xamarin.Android

I'm trying to run and build my Xamarin.Android project in Visual Studio 2022 to upgrade Target Framework and API Level to 33 Android 13 but got the next error:(can I solved it ?any idea please)

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,144 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,764 questions
asked 2023-09-21T14:09:10.34+00:00
Herrera, Julian 0 Reputation points
1 answer One of the answers was accepted by the question author.

permanent footer row in datagridview

hi , is there a way by which our datagridview control could have a footer row below exactly after the 12 rows and if the rows in the datagridview increases , suppose by 2 . it should always be at last position but it always should be after 12 rows . the…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,618 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,941 questions
asked 2023-09-21T12:32:58.41+00:00
ankit goel 546 Reputation points
commented 2023-09-21T14:06:01.6766667+00:00
ankit goel 546 Reputation points
1 answer One of the answers was accepted by the question author.

Expiring AzureAD Client secret with implicit and hybrid flow

Our AzureAD Client secret is going to expire soon and we already created a new client secret but have not deleted the expiring one yet. It is used to authenticate our .Net core Web application. We store Clientid, TenantId, domain etc. in appsettings.json…

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
16,517 questions
Azure Application Gateway
Azure Application Gateway
An Azure service that provides a platform-managed, scalable, and highly available application delivery controller as a service.
779 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,541 questions
asked 2023-09-20T21:21:55.56+00:00
Saravanakumar Balachandran 0 Reputation points
commented 2023-09-21T14:01:25.23+00:00
Saravanakumar Balachandran 0 Reputation points
2 answers

MAUI: Any alternative packages for Xam.Plugin.Media, DLToolkit.Forms.Controls.FlowListView, Xamarin.Plugin.FilePicker

I am using below packages in my Xamarin Forms project: Xam.Plugin.Media: For opening camera and gallery in device and pick pictures DLToolkit.Forms.Controls.FlowListView: For showing multiple items on a row Xamarin.Plugin.FilePicker: For picking files…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,834 questions
asked 2023-09-18T14:30:54.9766667+00:00
Sreejith Sreenivasan 351 Reputation points
answered 2023-09-21T13:49:02.0733333+00:00
Sreejith Sreenivasan 351 Reputation points
1 answer

MAUI: Listview isvisible property is not working from the code behind?

I am trying to show the selected image or file on my UI on a listview. So initially the listview's IsVisible I set to false and after picking item I set the IsVisible property to true. My problem is after picking item the listview is not visible on the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,834 questions
asked 2023-09-19T14:24:15.5166667+00:00
Sreejith Sreenivasan 351 Reputation points
answered 2023-09-21T13:37:40.5266667+00:00
Sreejith Sreenivasan 351 Reputation points
1 answer

Populate html table from api

In the Visits controller I want to populate the index page from api and not from entity model https://visitsapi.azurewebsites.net/api/Visits I want to populate the html table with Visit Date and Notes patid is being passed from earlier…

ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
981 questions
asked 2023-09-21T12:20:30.4333333+00:00
Dotnet Engineer 220 Reputation points
answered 2023-09-21T13:27:29.51+00:00
Johan Smarius 390 Reputation points
2 answers

minimum rows to display in datagridview

hello , is there a way by which i can set that there must be minimum number of rows is available to display in datagridview regardless of the data it has or not .

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,618 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,941 questions
asked 2023-09-20T15:09:51.38+00:00
Shaifali jain 60 Reputation points
answered 2023-09-21T13:23:49.37+00:00
Karen Payne MVP 32,691 Reputation points
0 answers

How to get user name for Blazor server applications (EasyAuth)?

I configured azure app service using EasyAuth. I tried to get the user name in the article below, but the username was returned null. The EasyAuth is working…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,541 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,100 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
5,601 questions
asked 2023-09-21T06:31:02.0733333+00:00
takeolexus 60 Reputation points
edited a comment 2023-09-21T13:18:56.52+00:00
takeolexus 60 Reputation points
1 answer

Azure App Service Window Container Kudu Invalid Handle

Hi, I am getting "Invalid handle" error when accessing Kudu from App Service. Currently using App Service Window Container Plan Any idea on this issue? Look through online cant seems to find an answer for this. Thanks Ron

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,015 questions
asked 2022-06-10T15:43:02.97+00:00
ronkit 31 Reputation points
commented 2023-09-21T13:15:45.25+00:00
VL 0 Reputation points
0 answers

Running Xamarin iOS Error simctl returned exit code 4

Hi Three days ago, my app ran well and deployed smoothly to Emulator on my mac until today when I tried to run again, my apps cannot run with the error Error on Visual Studio Severity Code Description Project File Line Suppression State Error error…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,144 questions
asked 2023-09-21T12:32:39.5166667+00:00
Yohanes AI 0 Reputation points
edited the question 2023-09-21T12:38:23.87+00:00
Yohanes AI 0 Reputation points
2 answers

moving controls inside tablelayoutpanel

I want to move and place controls inside tablelayoutpanel but it seems that i cannot move controls as they are stuck at some place inside tableoutpanel . Any suggestions .

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,618 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,941 questions
asked 2022-11-06T10:42:51.953+00:00
ankit goel 546 Reputation points
commented 2023-09-21T12:25:06.8333333+00:00
ankit goel 546 Reputation points
1 answer One of the answers was accepted by the question author.

Is there a Blazor server localization sample somewhere

Hi all; Is there a good Blazor server localization sample somewhere. I've read the ASP.NET Core Blazor globalization and localization page and it's good. But in a lot of places it's not clear what is for WASM and what is for server side. And it's also…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,541 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,100 questions
asked 2023-09-21T03:44:28.2666667+00:00
David Thielen 1,386 Reputation points
commented 2023-09-21T12:02:25.4766667+00:00
David Thielen 1,386 Reputation points
0 answers

Opening pdf file from url

Hi I am using this code to open a pdf file from a url; var DocPath = "http://mydomain.com/Docs/MyDoc.PDF"; Launcher.TryOpenAsync(new System.Uri(DocPath)); However I am getting the 'Cannot display PDF (MyDoc.PDF cannot be opened)' error. Tried…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,834 questions
asked 2023-09-21T04:12:32.6833333+00:00
-- -- 796 Reputation points
edited the question 2023-09-21T11:46:54.17+00:00
-- -- 796 Reputation points
0 answers

MVC CORE Scaffold view to create api postgressql view

How do I scaffold view in MVC CORE , as it is failing due to lack of primary key I am trying to create api using https://learn.microsoft.com/en-us/aspnet/core/tutorials/first-web-api?view=aspnetcore-7.0&tabs=visual-studio CREATE TABLE public.visit…

ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
981 questions
asked 2023-09-21T11:45:38.6933333+00:00
Dotnet Engineer 220 Reputation points
0 answers

Deploy an asp.net core API on a Linux server with nginx

hi I followed your tutorial on deploying an asp.net core API and I followed the same logic to deploy my API on an ubuntu server with Nginx, it happens that locally I access the API from the development environment, and even from another machine on the…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
582 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,541 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.
10,900 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,941 questions
Microsoft Intune Linux
Microsoft Intune Linux
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Linux: A family of open-source Unix-like operating systems.
23 questions
asked 2023-09-21T11:42:05.2133333+00:00
Marnelle M'BENGUET 0 Reputation points
0 answers

How to integrate a web service soap into your C# windows forms project

Hello, I'm a junior C# developer and I'm developing a project with Windows Forms that communicates with a counter via a network cable, the counter has a map with an integrated soap web service, I have the url that corresponds to the counter's ip +…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,631 questions
asked 2023-09-21T10:18:13.4+00:00
Wilfried ODORICO 0 Reputation points
edited the question 2023-09-21T11:03:45.77+00:00
Jiale Xue - MSFT 10,081 Reputation points Microsoft Vendor
1 answer

How can I create a Complex View Like this one in WPF DataGridView C#?

I created this Example and Tried to make it as Simple as Possible so that you can Understand Clearly. I have SQL Server Database Named EmployeesDB that contains 4 Tables as following: 1.       Employees Table which is the Parent Table in this Example. 2.…

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,474 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,764 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.
10,900 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,941 questions
asked 2023-09-20T09:04:32.94+00:00
Mesh Ka 140 Reputation points
commented 2023-09-21T10:58:19.31+00:00
Mesh Ka 140 Reputation points
1 answer One of the answers was accepted by the question author.

Binding refresh counter smoootly

Hi, Please see https://app.screencast.com/itMCskOJqMYAL The finished counter value change its value from zero to new value. In the begging of the loop the value is zero of finished counter and later when the loop it finished it get it real value. How i…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,834 questions
asked 2023-09-14T13:12:51.5+00:00
דני שטרית 1,161 Reputation points
commented 2023-09-21T10:44:04.96+00:00
דני שטרית 1,161 Reputation points
1 answer One of the answers was accepted by the question author.

Icon status dynamically change in collection view

Hi, How can I present in collection view the status of queue list. Assume you have two states: in process && finish and two icons accordingly. When process in status in process it will show this icon. When process in status finished it will…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,834 questions
asked 2023-09-20T11:48:10.8+00:00
דני שטרית 1,161 Reputation points
accepted 2023-09-21T10:43:01.7933333+00:00
דני שטרית 1,161 Reputation points