25,857 questions with .NET-related tags

Sort by: Updated
0 answers

search bar on windows

is there a way to get rid of the three dots? <Shell.TitleView> <Grid Margin="10" HorizontalOptions="Center"> <Border> <SearchBar…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,518 questions
asked 2024-10-14T09:22:20.4+00:00
Eduardo Gomez Romero 625 Reputation points
1 answer

I want to change the "SearchBar" element to suit myself (Android)

I use a class inherited from "EntryHandler" to remove the background of the "SearchBar" element and it is removed, but an exception occurs when entering into the "SearchBar" text field. System.InvalidCastException:…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,518 questions
asked 2024-10-11T05:55:48.65+00:00
валера карманов 271 Reputation points
commented 2024-10-14T08:54:24.8566667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 42,976 Reputation points Microsoft Vendor
1 answer

Blocking WebView Links (Android)

Is there any event that will occur when clicking on a link in the "WebView" element?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,518 questions
asked 2024-10-11T08:25:10.6133333+00:00
валера карманов 271 Reputation points
commented 2024-10-14T08:52:47.45+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 42,976 Reputation points Microsoft Vendor
1 answer

How to Write a DependencyProperty for a TextBlock when it is a child element of a parent Button class in WPF C#?

Hi there, I want to make a Dependency Property for a Text Block and the functionality of this property is to apply a Scale Transformation on the Text Block but I am unable to do that Because it's a child element inside of a Button class. I have a…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,613 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,778 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,939 questions
asked 2024-10-03T02:05:10.09+00:00
MERUN KUMAR MAITY 596 Reputation points
commented 2024-10-14T08:51:24.8+00:00
Jack J Jun 24,491 Reputation points Microsoft Vendor
1 answer

How to use the "AddLogicalChild" function (Android)

I want to try to implement "CustomPopup" and found code (as it seems to me) that adds a "Popup" element to the page, but I can't get it to display. public DashboardPage() { AddLogicalChild(new DemoPage()); AddLogicalChild(new…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,518 questions
asked 2024-10-13T20:21:47.92+00:00
валера карманов 271 Reputation points
commented 2024-10-14T08:51:15.56+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 75,746 Reputation points Microsoft Vendor
1 answer

Sort and filter not working .net maui

I'm trying to add a filter and sort to my app. the sort and filter func code are stepped thru but does not work, I do not see any data in the checkListItem I think the issue is the use of SourceCache ( I found sort/filer sample code and tried to add…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,131 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,518 questions
asked 2024-10-10T13:37:02.0266667+00:00
tim 180 Reputation points
answered 2024-10-14T08:27:53.96+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 75,746 Reputation points Microsoft Vendor
2 answers

.Net 8 runtime download corrupt?

Is there an issue with the .Net 8 runtime download? I keep getting a message that i can't run this on my pc. The only option is to use winget to install.

.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,161 questions
asked 2024-10-04T06:31:49.1066667+00:00
Jos ter Doest 10 Reputation points
commented 2024-10-14T07:56:13.8366667+00:00
Jiachen Li-MSFT 31,411 Reputation points Microsoft Vendor
0 answers

Pre-Measuring a RecyclerView

I have a Custom View that inherits from RecyclerView. Once created, the RecyclerView will always have the same number of items, all of which will remain the same size once created. All other items on the page will remain the same size as well (except of…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,354 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,863 questions
Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,354 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,863 questions
asked 2024-10-13T02:22:46.6466667+00:00
Nathan Sokalski 4,106 Reputation points
commented 2024-10-14T07:54:44.2366667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 75,746 Reputation points Microsoft Vendor
0 answers

Pre-Measuring a RecyclerView

I have a Custom View that inherits from RecyclerView. Once created, the RecyclerView will always have the same number of items, all of which will remain the same size once created. All other items on the page will remain the same size as well (except of…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,354 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,863 questions
Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,354 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,863 questions
asked 2024-10-13T02:22:46.6466667+00:00
Nathan Sokalski 4,106 Reputation points
commented 2024-10-14T07:54:44.2366667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 75,746 Reputation points Microsoft Vendor
0 answers

How to fix an error System.TypeLoadException: in an swagger api project ?

System.TypeLoadException: Method 'get_LockReleaseBehavior' in type 'MySql.EntityFrameworkCore.Migrations.Internal.MySQLHistoryRepository' from assembly 'MySql.EntityFrameworkCore, Version=0.0.0.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' does…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
742 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,560 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.
13,830 questions
asked 2024-10-11T08:15:59.3133333+00:00
Mathis De Sousa 0 Reputation points
commented 2024-10-14T07:22:47.8766667+00:00
Ping Ni-MSFT 4,335 Reputation points Microsoft Vendor
1 answer

Which package does this comes under AzureSearchChatExtensionConfiguration

I referred this blog post to connect my Azure OpenAI model to build one of the project. https://devblogs.microsoft.com/semantic-kernel/azure-openai-on-your-data-with-semantic-kernel/ But unfortunately, at this step AzureSearchChatExtensionConfiguration…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,863 questions
Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
3,084 questions
asked 2024-10-10T11:25:38.48+00:00
Shreyas Udupa 0 Reputation points
commented 2024-10-14T07:19:33.2266667+00:00
navba-MSFT 24,465 Reputation points Microsoft Employee
0 answers

How to Drag and Drop Outlook Attachments into a .NET MAUI Application?

I’m working on a .NET MAUI application that allows users to drag and drop file attachments from Outlook. I have successfully implemented drag-and-drop functionality for files from Windows Explorer, but I’m facing challenges when trying to do the same…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,613 questions
Outlook
Outlook
A family of Microsoft email and calendar products.
3,857 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,518 questions
asked 2024-10-02T21:03:12.09+00:00
Ansh 0 Reputation points
commented 2024-10-14T06:46:15.7233333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 31,641 Reputation points Microsoft Vendor
1 answer

populate TextBoxes base on date value selected in DatePicker

Hi All. In form of WPF VB.Net project I would like to populate 3 TextBoxes base on selected in DatePicker date value of Monday. The first TextBox named txbWeek will display the number of week of the month depending on the selected date in the…

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,778 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,728 questions
asked 2024-10-07T22:53:26.74+00:00
zleug 51 Reputation points
commented 2024-10-14T06:42:03.6766667+00:00
Hongrui Yu-MSFT 1,995 Reputation points Microsoft Vendor
1 answer

Jaws screen reader /Narrator does not read selected value of combo box control which contains tree view control in wpf

Hi, I have created one combo box control and inside ComboBox.Template I have added one tree view control. Basically one Combobox user control which on expanding shows contents as treeview control. Combox selected item is bound with item which is selected…

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,778 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,131 questions
asked 2024-10-08T14:42:51.84+00:00
Ajay Gera 40 Reputation points
commented 2024-10-14T06:41:35.9833333+00:00
Hongrui Yu-MSFT 1,995 Reputation points Microsoft Vendor
0 answers

How to style with corners rounded on shell topBar to all pages including using Routing registration

Hi I`m trying to customize the default shell topbar in Android and iOS I would do like to set some rounded corners on it i`m trying to follow this https://vladislavantonyuk.github.io/articles/Customizing-.NET-MAUI-Shell/ I almost get done, but when a…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,518 questions
asked 2024-10-11T12:20:22.75+00:00
Armando Araujo Junior 0 Reputation points
commented 2024-10-14T06:28:14.6333333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 75,746 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

ignoring margin on dektop

In my Maui app, I have a customBorderStyle, that my DeskTopTemplate is ignoring completely <ContentPage.Resources> <DataTemplate x:Key="PhoneTemplate" x:DataType="{x:Null}"> …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,518 questions
asked 2024-10-11T17:07:37.33+00:00
Eduardo Gomez Romero 625 Reputation points
commented 2024-10-14T06:21:04.67+00:00
Eduardo Gomez Romero 625 Reputation points
1 answer

Although my .NET Core WebAPI app is deployed in an Azure AppService (Windows) successfully, it always provides 403 error

I'd like to deploy my first .NET Core Web API in an Azure AppService. Code written in Visual Studio 2022 using .Net 6.0 and it is running as it should in local environment. Azure App Service is a windows based AppService. Using VS 2022, the…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,560 questions
asked 2024-10-09T07:46:23.71+00:00
László Kocsor 0 Reputation points
commented 2024-10-14T06:11:16.1433333+00:00
Jerry Fu - MSFT 741 Reputation points Microsoft Vendor
1 answer

Applying migration fails with error

Doing step 6 (dotnet ef database update --context PizzaContext) under Change the model and update the database schema on this page results in output ending with the following error. I have no idea how to proceed. System.InvalidOperationException: An…

Entity Framework Core Training
Entity Framework Core Training
Entity Framework Core: A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.Training: Instruction to develop new skills.
3 questions
asked 2024-10-11T09:22:50.27+00:00
geoff-m 0 Reputation points
answered 2024-10-14T06:06:55.3933333+00:00
Pradeep M 3,600 Reputation points Microsoft Vendor
0 answers

Invalid stack map table at instruction index 177: invokespecial Ljava/lang/IllegalArgumentException;<init>(Ljava/lang/String;)V, error: Unexpected attempt to initialize initialized

Invalid stack map table at instruction index 93: dup, error: The max stack height of 4 is violated when pushing initialized my.com.softspace.SSMobileUtilEngine.exception.SSError to existing stack of size 4. In later version of R8, the method may be…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,518 questions
asked 2024-10-08T07:35:35.76+00:00
Rupesh HikePOS 0 Reputation points
commented 2024-10-14T05:50:16.5033333+00:00
Rupesh HikePOS 0 Reputation points
0 answers

Errors from .net MAUI android binding project after adding reference

Android binding project successfully compiles without issues but the same project is referenced into maui project it throws compile time errors These all errors are just warnings in native android studio project but in MAUI this warnings shows as errors…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,518 questions
asked 2024-10-08T07:18:13.2766667+00:00
Rupesh HikePOS 0 Reputation points
commented 2024-10-14T05:37:26.2166667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 42,976 Reputation points Microsoft Vendor