24,991 questions with .NET-related tags

Sort by: Updated
0 answers

How to fix the code sign key not found issue in Azure pipeline in MAUI .net 8.0-iOS?

I have enterted the code provision profile and code sign key in my cs proj like below <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhone'…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,634 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,217 questions
asked 2024-07-23T12:40:55.7433333+00:00
Kumar.S, Ajith (Cognizant) 1 Reputation point
0 answers

UWP application hangs at splash screen

We are using a UWP application and it hangs on splash screen intermittently while launching and not proceeding towards landing page. No issues with Windows.Activate method as per the logs neither the event viewer is giving any hint of failure

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,634 questions
Universal Windows Platform (UWP)
asked 2024-07-23T12:34:29.7933333+00:00
Naik, Ratan Kumar 0 Reputation points
3 answers

Connection to SQL Server from .NET Core on Ubuntu fails with SSL/TLS handshake error

I have a .NET Core console application that connects to a SQL Server database. The application works fine on Windows, but I'm encountering an SSL/TLS handshake failure when running it on an Ubuntu 22.04 LTS VM  class Program { static void Main() …

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,634 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,342 questions
asked 2024-07-18T15:56:42.1666667+00:00
Ansh 0 Reputation points
commented 2024-07-23T12:34:08.71+00:00
Ansh 0 Reputation points
0 answers

How long has the player tapped on the iOS/Android display screen? How can I measure the time?

In my game the player needs to tap on the iOS/Android display screen to make a gameplay action. I want to find out how long the player pressed his finger against the display screen. For example, if the player pressed his finger 1 second on the screen…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,873 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,217 questions
asked 2024-07-22T14:08:15.7066667+00:00
Kim Strasser 856 Reputation points
commented 2024-07-23T11:18:20.8233333+00:00
Kim Strasser 856 Reputation points
1 answer One of the answers was accepted by the question author.

How can I play a local video in my Android project?

I have created a new folder named Assets in my Android project. Then I have added the file Testvideo1.mp4 to this folder and set the build action to AndroidAsset. But the video is not playing when I use this code. How can I play a local video in my…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,217 questions
asked 2024-07-22T10:21:03.7933333+00:00
Kim Strasser 856 Reputation points
accepted 2024-07-23T10:44:25.74+00:00
Kim Strasser 856 Reputation points
1 answer

Only one app running in MAC?

Hi, Does this code work on MAC, only one app running ? Thanks, public partial class App : Application { private static Mutex mutex = new Mutex(true, Assembly.GetEntryAssembly().GetName().Name); public App() { if…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,217 questions
asked 2024-06-26T12:02:14.2933333+00:00
Dani_S 3,316 Reputation points
commented 2024-07-23T10:33:06.4+00:00
Dani_S 3,316 Reputation points
0 answers

Blazor probleme can you please give me the solution

when i click the button to save data i have this probleme and the windows will be blocked fail: Microsoft.AspNetCore.Components.Server.Circuits.CircuitHost[111] Unhandled exception in circuit 'qajoUi6A0BGKjN2aUjWSN55NG-RBRr61sWP_k_pikVk'.

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,497 questions
asked 2024-07-22T09:21:29.6033333+00:00
Alberto mangio 0 Reputation points
edited a comment 2024-07-23T10:25:33.55+00:00
AgaveJoe 27,656 Reputation points
11 answers One of the answers was accepted by the question author.

TypeScript VS Jquery using for Razor page

Now I am developging using the Razor page with .Net Core . Please help me to to suggest Shoud i used Typescript ro JQuery which one shoud i use ? Please advise . Thank you .

.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,141 questions
asked 2020-12-03T00:46:45.613+00:00
Htet Lin 46 Reputation points
commented 2024-07-23T10:21:32.1733333+00:00
Chirag Agarwal 0 Reputation points
1 answer

Cannot switch from one tabbed page to other tabbed page, NotSupportedExceptionUnable to find the default constructor on type Microsoft.Maui.Controls.Platform.FragmentContainer.Please provide the missing constructor.

Hi In my project the Main page is a tabbedpage and when we switch from the main page to another page which is also a tabbed page we are seeing System.NotSupportedException: 'Unable to find the default constructor on type…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,217 questions
asked 2024-07-19T13:57:05.1266667+00:00
dedeepya yarlagadda 40 Reputation points
commented 2024-07-23T10:08:32.39+00:00
dedeepya yarlagadda 40 Reputation points
2 answers

How and how to return to the main page without losing page data

The page is made with Asp.Net Core Razor Page, In this page >> MAINPAGE (Please see the picture) 1- Populate data and filling dropdown1 Here are the codes: public SelectList TermList { get; set; } public SelectList CourseList { get; set; } …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,392 questions
asked 2024-07-22T17:53:32.98+00:00
Ashkan 41 Reputation points
edited a comment 2024-07-23T09:51:29.7366667+00:00
AgaveJoe 27,656 Reputation points
0 answers

Remote connection to Mac installs CorePackage.pkg and MobileDevices.pkg every time.

Every time I launch Visual Studio (17.10.4) and try to connect to my Mac machine remotely to deploy and debug iOS applications using MAUI, it re-installs CorePackages.pkg and MobileDevices.pkg files, which take around 8-9 minutes to finish. It's pretty…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,217 questions
asked 2024-07-18T09:17:36.1966667+00:00
Burak Kose 0 Reputation points
commented 2024-07-23T09:04:06.86+00:00
Burak Kose 0 Reputation points
1 answer

Unnessary folders after pulish in windows

Hi, Which folder are no need after publish : dotnet publish -f net8.0-windows10.0.19041.0 -c Release -p:WindowsPackageType=None -p:WindowsAppSDKSelfContained=true /p:PackageCertificateThumbprint="c01ba45666762f3615cf6813aeb4dc4b1919541d"…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,217 questions
asked 2024-07-17T08:51:34.1133333+00:00
Dani_S 3,316 Reputation points
commented 2024-07-23T09:00:04.1633333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 72,011 Reputation points Microsoft Vendor
1 answer

How can I use the Android Exoplayer to play videos?

Currently I use the Xamarin MediaManager to play videos: https://github.com/Baseflow/XamarinMediaManager Is it possible to use the Android Exoplayer instead to play videos? I want to find out if the black screen that appears before a video is played will…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,217 questions
asked 2024-07-17T12:28:29.27+00:00
Kim Strasser 856 Reputation points
commented 2024-07-23T08:59:44.3866667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 72,011 Reputation points Microsoft Vendor
1 answer

Trouble accessing custom field properties in ObservableCollection

I created an ObservableCollection in my ViewModel and defined a CustomField class that implements INotifyPropertyChanged. However, when I try to access the properties of the CustomField model in the view, I get an error saying that the members cannot be…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,873 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,217 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,635 questions
asked 2024-07-17T18:43:00.8866667+00:00
Mirai Dinelli 0 Reputation points
commented 2024-07-23T08:59:17.2366667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 72,011 Reputation points Microsoft Vendor
1 answer

An ImageButton with rounded corners does not display well

I am developing an application in .NET MAUI using Visual Studio 2022. Generally it works fine, but at some point something got corrupted and a particular button on a screen is not displayed correctly. The XAML code would be as follows: <StackLayout…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,217 questions
asked 2024-07-18T10:58:16.9666667+00:00
Jalza 761 Reputation points
commented 2024-07-23T08:58:52.82+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 72,011 Reputation points Microsoft Vendor
0 answers

How to Host the Firestore Identity File Securely?

I am working on a WPF project with C#, and I am using Firebase Firestore for which I need to host the identity JSON file on disk. However, I want to ensure that users cannot access this file or the Firestore services using the information inside it. What…

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,710 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,635 questions
asked 2024-07-19T09:13:39.21+00:00
fatih uyanık 80 Reputation points
edited a comment 2024-07-23T08:51:46.67+00:00
Hongrui Yu-MSFT 1,020 Reputation points Microsoft Vendor
0 answers

Microsoft Cognitive Services Voise to Text How to Recognise base64string

I'm using Microsoft Cognitive Services Voise to Text in my Asp.Net application. How can I pass base64string from my c# controller to SpeechRecognizer? Thank you!

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,392 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,635 questions
asked 2024-07-19T15:16:15.11+00:00
Sviatlana 20 Reputation points
edited a comment 2024-07-23T08:41:37.05+00:00
Sviatlana 20 Reputation points
1 answer

DataTable values are getting the default values(Initially loaded values) when we click on the dropdown icon of DataTable in asp.net C# using jQuery

I'm very new to this DataTable logic implementation concept and I have append the data to the DataTable and append successfully and in that DataTable controls I have written some event logic (ex:- dropdown onchange and textbox oninput events) and those…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,414 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
941 questions
asked 2024-07-22T07:45:31.2566667+00:00
Ashok Kumar 201 Reputation points
commented 2024-07-23T08:40:33.61+00:00
Lan Huang-MSFT 28,841 Reputation points Microsoft Vendor
0 answers

Distributing WinUI apps with AI

I want to add Phi Silica to my WinUI apps. It`s possible install AI model on users PC as system component or extension for avoiding duplicating if user have few apps using same model? Or I should place models in PublisherCacheFolder?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,634 questions
Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
750 questions
asked 2024-07-22T17:48:22.51+00:00
Dmytro 0 Reputation points
commented 2024-07-23T08:39:25.6333333+00:00
Dmytro 0 Reputation points
1 answer

MAUI .NET 8 - Xamarin Migrated project

I have created a new MAUI .NET 8 project and migrated the Xamarin forms project code. In my project, I used RelativeLayout for UI design on all the pages, now this RelativeLayout is outdated in MAUI. I used the Compatability namespace to use…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,217 questions
asked 2024-07-19T05:31:32.3766667+00:00
Aneetha 45 Reputation points
commented 2024-07-23T08:37:18.45+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 72,011 Reputation points Microsoft Vendor