700 questions with .NET-related tags

Sort by: Created
0 answers

How to fix a Errror Handling for Blazor Hybrid MAUI and WebApi

Hi, I've reference an WebApi to my Blazor Hybrid App. The database that I used is SQLite When I run the app "Windows machine" the response is Html The WebApi run well!!I've checked with swagger the response is OK. I suppose that the problem…

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,577 questions
asked 2024-10-05T17:29:37.3866667+00:00
sblb 1,231 Reputation points
edited the question 2024-10-05T18:44:12.9966667+00:00
sblb 1,231 Reputation points
0 answers

Blazor App Redirecting API response to login page

I am building a Blazor Server app on .NET. The app was started using the Visual Studio .NET8 Web template for Blazor server with individual authentication turned on. In the second step, I added an API controller to the app, with the [Authorize]…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,841 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,577 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,841 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,577 questions
asked 2024-10-05T17:18:09.84+00:00
Amjad Khan 41 Reputation points
0 answers

Blazor App Redirecting API response to login page

I am building a Blazor Server app on .NET. The app was started using the Visual Studio .NET8 Web template for Blazor server with individual authentication turned on. In the second step, I added an API controller to the app, with the [Authorize]…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,841 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,577 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,841 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,577 questions
asked 2024-10-05T17:18:09.84+00:00
Amjad Khan 41 Reputation points
0 answers

Microsoft Visual C++ X64 Minimum Runtime Error, (Not Installing. Missing the .MSI file.)

Receiving this error when trying to install VC_redist.x64 (2).exe C:\ProgramData\Package Cache{221D6DB4-46E2-333C-B09B-5F49351D0980}v14.13.26020\packages\vcRuntimeMinimum_amd64\

C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,722 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,159 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,603 questions
asked 2024-10-05T17:11:44.6266667+00:00
Gary 0 Reputation points
edited the question 2024-10-05T17:13:01.1266667+00:00
Gary 0 Reputation points
0 answers

Change the color of the selected element

How to change the background of the element that was clicked in the "CollectionView" what can be done so that the selection animation affects the inner area of ​​the clicked element.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,486 questions
asked 2024-10-05T16:30:59.3966667+00:00
валера карманов 141 Reputation points
0 answers

How to fix dynamic MAUI flyout menu in iOS showing "More"

public async static Task AddFlyoutMenusDetails() { AppShell.Current.FlyoutHeader = new FlyoutHeaderControl(); AppShell.Current.FlyoutBackgroundColor = Color.FromArgb("FFEF5023"); var parentDashboardInfo =…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,486 questions
asked 2024-10-05T15:35:03.5866667+00:00
Daniel Omilegan 0 Reputation points
0 answers

Publishing MAUI Project on Windows: Grayed Out Option

I want to publish my MAUI project on the Windows platform, but the publishing option is grayed out. What steps can be taken to resolve this issue? Here's my C# project configuration: <Project…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,486 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,913 questions
asked 2024-10-05T14:00:54.4366667+00:00
Smith Tom 45 Reputation points
0 answers

VB.NET designer crashes ... error ... The Base class 'System.Void' cannot be designed. Cannot access forms.

The base class 'System.Void' cannot be designed.The base class 'System.Void' cannot be designed.The base class 'System.Void' cannot be designed. The base class 'System.Void' cannot be designed.

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,892 questions
asked 2024-10-04T20:44:27.76+00:00
Randy Glover 0 Reputation points
0 answers

datagridview row with a combobox column not inserting in database

Hi! I added a DataGridView to my windows form. The grid is data bound and one of it's columns is of type DataGridViewComboBoxColumn and the column is also data bound. This datagrid is connected to another datagrid in parent-child relationship. Following…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,892 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,841 questions
Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,892 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,841 questions
asked 2024-10-04T16:05:12.2066667+00:00
Shishir Wahi 0 Reputation points
edited the question 2024-10-05T02:46:12.4833333+00:00
Shishir Wahi 0 Reputation points
0 answers

datagridview row with a combobox column not inserting in database

Hi! I added a DataGridView to my windows form. The grid is data bound and one of it's columns is of type DataGridViewComboBoxColumn and the column is also data bound. This datagrid is connected to another datagrid in parent-child relationship. Following…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,892 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,841 questions
Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,892 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,841 questions
asked 2024-10-04T16:05:12.2066667+00:00
Shishir Wahi 0 Reputation points
edited the question 2024-10-05T02:46:12.4833333+00:00
Shishir Wahi 0 Reputation points
0 answers

Xamarin Forms / API Level 34 / Deployment Failed

While migrating the mobile app to some new tech, we need to deploy an update to our current app which requires Android 14. I've updated the AndroidManifest.xml to 34: <uses-sdk android:minSdkVersion="28"…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,348 questions
asked 2024-10-04T15:53:27.25+00:00
CSharpest 0 Reputation points
0 answers

How can I programmatically send an sms with a .net 8 maui app from the android platform?

I have tried to accomplish this but get an error when trying to implement the "Android.Telephony" class.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,486 questions
asked 2024-10-04T15:13:04.4733333+00:00
Kjell Berstad 0 Reputation points
0 answers

Click event on "FlexLayout" element

Tell me, is it possible to add a click event to the "FlexLayout" element and also add a click animation? var flexLayout = new FlexLayout { AlignContent = FlexAlignContent.Center, JustifyContent =…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,486 questions
asked 2024-10-04T14:15:42.0466667+00:00
валера карманов 141 Reputation points
edited the question 2024-10-04T16:14:45.13+00:00
валера карманов 141 Reputation points
0 answers

Theming of WPF dialog not working for all controls on the dialog

Hi, I need to change color/theme of all controls on WPF dialog whenever there is change of theme from VS2022 (i.e. Tools -> Options -> Color Theme ) I followed below MSDN…

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,769 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,107 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,913 questions
asked 2024-10-04T14:07:53.0266667+00:00
Ajay Gera 40 Reputation points
0 answers

I cannot re-use a workable code in 2021 to predict from LbfgsMaximumEntropy taining

Hello this piece of code is not working anymore, it was running well in 2021. Current setup : Microsoft Visual Studio Professional 2022 (64-bit) - LTSC 17.4 Version 17.4.21 Windows 10 Entreprise LTSC 21H2 crash when use Training code at ligne 223…

.NET Machine learning
.NET Machine learning
.NET: Microsoft Technologies based on the .NET software framework.Machine learning: A type of artificial intelligence focused on enabling computers to use observed data to evolve new behaviors that have not been explicitly programmed.
156 questions
asked 2024-10-04T12:14:17.69+00:00
DJamin 386 Reputation points
0 answers

SVG icons in android app

Is it possible to use SVG icons in Android applications? Do I need to add any dependency to the project, something like this is written in the doc. Is it possible to describe in more detail how to work with them in XAML and C#?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,486 questions
asked 2024-10-04T11:59:18.1+00:00
валера карманов 141 Reputation points
0 answers

Adding Entitlements.plist for securestorage in maui throwing error related to Entitlements.xaml

my Entitlements.plist contents is as follows <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,486 questions
asked 2024-10-04T11:27:43.0333333+00:00
Jose KJ 0 Reputation points
edited the question 2024-10-04T11:35:27.45+00:00
Jose KJ 0 Reputation points
0 answers

Crash on .NET MAUI Android - JNI 'Deleted Global Reference' Error

It has been quite challenging to identify the exact cause of this issue. If anyone has any insights or suggestions on how to trace which library or line of code might be responsible, I would greatly appreciate your help.   10-04 13:07:10.445 20018…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,486 questions
asked 2024-10-04T08:03:46.4566667+00:00
PavanKumar Bandi 0 Reputation points
0 answers

The user can determine which page will be the main one.

I want to add a setting to the application so that the user can determine which page will be loaded as the "main" when the application is launched. Do I understand correctly that this should be defined in the "App" class, but then…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,486 questions
asked 2024-10-04T07:11:54.2166667+00:00
валера карманов 141 Reputation points
0 answers

Get user data before downloading the application

I'm trying to add a login page to an Android app. There are no problems with the page itself, the issue is how to get user data before loading the app, namely. public partial class App : Application { public App() { InitializeComponent(); var…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,486 questions
asked 2024-10-04T07:06:07.21+00:00
валера карманов 141 Reputation points