24,074 questions with .NET-related tags

Sort by: Updated
1 answer One of the answers was accepted by the question author.

How to customize Shell tabs?

Hi! I want to customize Shell tabs on handler level. Is there any ShellHandler or TabBarHandler? Thanks.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,923 questions
asked 2022-06-09T14:42:52.97+00:00
Igor Kravchenko 281 Reputation points
commented 2022-06-10T15:30:06.703+00:00
Igor Kravchenko 281 Reputation points
0 answers

Synchronizing A RecyclerView Item With Another View When Using A Slider

I have a Custom View that I am using in the Item Layout of a RecyclerView as well as the main layout. When the user uses a com.google.android.material.slider.Slider, I want to modify the appropriate item in the RecyclerView as well as the view in the…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,297 questions
asked 2022-06-06T03:31:48.39+00:00
Nathan Sokalski 4,121 Reputation points
commented 2022-06-10T14:50:07.15+00:00
Nathan Sokalski 4,121 Reputation points
0 answers

Nuget package creation and file removal on uninstall

Hi, I am creating a package for use in dotnet core web applications. Specifically Umbraco 9 CMS. As of recent, it would appear that Powershell scripts are no longer used to populate and remove files on Nuget package installation/ uninstallation with…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,415 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.
10,307 questions
asked 2022-06-10T12:16:43.957+00:00
Adam U 6 Reputation points
commented 2022-06-10T13:24:43.17+00:00
Karen Payne MVP 35,196 Reputation points
1 answer One of the answers was accepted by the question author.

List in Code First Class

My goal here is to read data from excel and show the data to the following html table. In other words, I will pull the data from the Model and put it in the List from this model, and then I will draw the data to the table. In this case, how should…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
698 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,207 questions
asked 2022-06-08T18:10:25.397+00:00
Ali Yılmaz 81 Reputation points
accepted 2022-06-10T12:56:32.173+00:00
Ali Yılmaz 81 Reputation points
2 answers

Why is EF core 5.0 inserting duplicate records ?

Why is Entity Framework 5.0 inserting duplicate records in the Database in uncertain behavior when using AddAsync() method for adding data.

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
698 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,207 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.
10,307 questions
asked 2022-06-07T11:32:50.87+00:00
Waqar Mehmood 1 Reputation point
answered 2022-06-10T10:59:29.64+00:00
Karen Payne MVP 35,196 Reputation points
0 answers

error when call the unmanaged resouce functions from c#.net core dll into vb.netcore windows application

Hi Team, I got Issues when i call the unmanaged resources functions from c#.net core dll into vb.netcore windows application and automatically stops the execution of program when hit that function Please below is my code Dll Unmanaged…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,415 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
323 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.
10,307 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,126 questions
asked 2022-06-10T02:34:59.15+00:00
raj reddy 1 Reputation point
commented 2022-06-10T10:18:59+00:00
raj reddy 1 Reputation point
1 answer

IIS - error

Hi, Can any one suggest resolution to this error: Application pool is getting stopped and getting - 503 error Service Unavailable HTTP Error 503. The service is unavailable. The Module DLL 'C:\Windows\System32\inetsrv\cachfile.dll' could not…

Internet Information Services
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,207 questions
asked 2022-06-06T07:22:18.297+00:00
Suman Challagundla 1 Reputation point
commented 2022-06-10T09:50:52.42+00:00
Sam Wu-MSFT 7,036 Reputation points Microsoft Vendor
0 answers

ASP.net page does not open

Good afternoon, can you help me figure out the ASP.net code? I got it from a giant developer, the problem is that the "Admin" page does not open. That is, after starting the application - the default page "PlanEntuty" opens, because…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,288 questions
asked 2022-06-09T07:07:05.047+00:00
MihailM 1 Reputation point
commented 2022-06-10T09:40:10.203+00:00
Yijing Sun-MSFT 7,071 Reputation points
1 answer One of the answers was accepted by the question author.

Can I mix a MAUI Shell app with Navigation?

I've never written a mobile app before, so am having trouble getting started with what I want to do in .NET MAUI. This will actually be a mobile version for an existing MVC web app. First I want a splash screen (already created) with two buttons -…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,923 questions
asked 2022-06-05T01:38:32.073+00:00
Bryan Cass 46 Reputation points
commented 2022-06-10T09:25:49.35+00:00
Kay 76 Reputation points
1 answer One of the answers was accepted by the question author.

Unable to add Xamarin.Firebase.Auth Nuget Package

when i adding the Xamarin.Firebase.Auth Nuget Package it shows errors and fails to install. Severity Code Description Project File Line Suppression State Error NU1202 Package Xamarin.Firebase.Auth 121.0.1.7 is not compatible with netstandard2.0…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,297 questions
asked 2022-06-09T19:32:48.2+00:00
Asgar Ali 86 Reputation points
accepted 2022-06-10T08:48:48.85+00:00
Asgar Ali 86 Reputation points
0 answers

Email.ComposeAsync behaves incorrectly on the Pixel 6.

On other Android devices that we tested, the email function provided by Xamarin.Essentials worked as intended. The app opened the email app with the provided subject, recipient, and body fields filled out. On the Pixel 6 (Android version 12) we ran into…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,297 questions
asked 2022-06-08T21:13:43+00:00
oiqbal 1 Reputation point
commented 2022-06-10T08:22:21.723+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 36,231 Reputation points Microsoft Vendor
1 answer

Open social media links to app if installed else open browser iOS and Android Xamrin forms

Webpage with social media links loading inside WebView. On tapping on social media link how to open respective app if installed else browser <a href="https://twitter.com/subaru_usa?lang=en" target="_blank">Twitter</a>

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,297 questions
asked 2022-06-03T07:48:47.477+00:00
Dipannita Das 21 Reputation points
commented 2022-06-10T07:43:11.393+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 36,231 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Documentation example missing for MAUI x Blazor

I have been trying to make the MAUI BlazorView work, and based myself on the documentation here: https://learn.microsoft.com/en-us/dotnet/maui/user-interface/controls/blazorwebview . The problem I face is that the documentation specifically states…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,923 questions
asked 2022-06-02T12:19:39.97+00:00
Benoit Hoffman 51 Reputation points
commented 2022-06-10T06:17:24.33+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,626 Reputation points Microsoft Vendor
0 answers

Setting aero theme in wpf application with 4.8 .Net framework issue

Hello team, Getting exception .Net 4.8 framework at runtime while setting the aero theme in WPF application in below lines. Any help would be appreciated. SystemResources_hwndNotifyHookField.SetValue(hookDelegate, null); var…

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,681 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.
10,307 questions
asked 2022-06-09T15:02:36.937+00:00
Yasmin Jahid 1 Reputation point
commented 2022-06-10T06:14:10.867+00:00
Hui Liu-MSFT 40,786 Reputation points Microsoft Vendor
2 answers

Catching xss in asp.net core. Equivalent of A potentially dangerous Request.QueryString value was detected from the client.

I am developing an app in asp.net core. Previous versions of .net would catch if I entered <script>[script]</script> and throw the A potentially dangerous Request.QueryString value was detected from the client. With asp.net core, I am not…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,207 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,288 questions
asked 2022-06-09T16:10:05.053+00:00
ask 21 Reputation points
answered 2022-06-10T06:11:31.71+00:00
Brando Zhang-MSFT 2,961 Reputation points Microsoft Vendor
2 answers

Xamarin CollectionView : How to remove unwanted space between items

TLDR : I need to display a list of labels using CollectionView. But CollectionView adds unwanted vertical space between the labels, where Stacklayout works as expected (no spacing) Expected result is like this : (This has been obtained using a…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,297 questions
asked 2022-05-17T12:55:44.49+00:00
Mathieu Jacquinot 1 Reputation point
commented 2022-06-10T05:07:37.867+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 36,231 Reputation points Microsoft Vendor
3 answers

How to Download as excel file from selected rows in DB using Dotnet core web API?

I am trying to collect the data from Mysql Table and my result is like one table( max 100 records). and wants to download this an excel file from .Net Core web Api response. So My API response is Excel file and for this I should not use any licensed…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,207 questions
asked 2022-05-03T16:17:43.233+00:00
Elaya Raja 96 Reputation points
answered 2022-06-10T03:28:07.76+00:00
Elaya Raja 96 Reputation points
0 answers

Hi, I use the stimulsoft report component for reporting in the accounting program that I create using the code first model, but there is a problem, this component displays the information stored in the database in itself empty

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,838 questions
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,681 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.
10,307 questions
asked 2022-06-09T13:08:52.483+00:00
Majeed Purseyedmahdi 41 Reputation points
commented 2022-06-10T03:10:41.617+00:00
Jack J Jun 24,296 Reputation points Microsoft Vendor
0 answers

Weird issue with 4.8 .Net framework - Controls are growing in size continuously during runtime whenever screen is rendering - WPF application

Hello All, I am finding a weird issue after migrating to 4.8 .Net framework. All my usercontrols and built-in controls in WPF application are growing in size continuously till i stop the application at run time. With 4.6 framework it works fine.…

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,681 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.
10,307 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.
767 questions
asked 2022-06-09T14:47:13.483+00:00
Yasmin Jahid 1 Reputation point
commented 2022-06-10T02:58:50.707+00:00
Hui Liu-MSFT 40,786 Reputation points Microsoft Vendor
1 answer

Mac Visual Studio 2022 Asset.xcassets does not open locally, but opens in Xcode and does not sync changes

Hello. I have this problem, started using VS 2022 and I am making an app, just finished the initial Demo for a mobile App iOS/Android using Forms. I need to set custom appIcons, and all the tutorials I see when they open the Asset catalog it opens in…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,297 questions
asked 2022-06-07T23:13:11.34+00:00
Pascale Beaulac 1 Reputation point
answered 2022-06-10T00:26:09.337+00:00
Rob Caplan - MSFT 5,422 Reputation points Microsoft Employee