24,150 questions with .NET-related tags

Sort by: Updated
0 answers

How to play a web mp4 file with headers in MAUI?

I'm trying to player a web media with community's mediaelement,but there isnot any ways to set http headers. In Android, I can use the factory property in exoplayer,but in windows,I can't find any document about using winui's mediaplayer to player a…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,435 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,950 questions
asked 2024-05-16T06:52:52.46+00:00
尼龟 杰 150 Reputation points
0 answers

How to pass input data from one page to another page property

Register.cshtml <form method="post"> <div class="mb-3 row"> <div class="col-md-4"> <label for="CountryCode" class="form-label">Country Code</label> …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,221 questions
asked 2024-05-16T05:50:59.9633333+00:00
Nandhini S 0 Reputation points
edited the question 2024-05-16T06:50:18.4233333+00:00
Nandhini S 0 Reputation points
1 answer

How to migrate the FCM v1 in xamarin forms apps as xamarin got migrated

Hey Team, We got a mail from Firebase team that legacy http is going to be deprecated . When i checked in the documentation, all i could find is xamarin is not supporting FCM v1. We have azure notification hubs common library for android and iOS and…

Azure Notification Hubs
Azure Notification Hubs
An Azure service that is used to send push notifications to all major platforms from the cloud or on-premises environments.
270 questions
Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,298 questions
Azure
Azure
A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.
975 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,658 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,333 questions
asked 2024-05-16T03:05:07.0633333+00:00
Sri Gayathri Gopalakrishnan 0 Reputation points
edited an answer 2024-05-16T06:44:46.4633333+00:00
SnehaAgrawal-MSFT 18,531 Reputation points
2 answers

How to get the position of NotifyIcon at runtime?

Hi, I want to retrieve the location and size of notifyIcon whenever it be clicked. The purpose is to set the application UI above the notifyIcon like the below photo. Please show me how I can do this with C#. Thank you!

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,844 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,435 questions
asked 2024-05-15T04:06:34.3866667+00:00
Việt Trần 0 Reputation points
edited an answer 2024-05-16T06:40:00.7133333+00:00
KOZ6.0 4,895 Reputation points
1 answer

Not able to get all paging checkbox checked records in gridview asp.net c#

I am using gridview with paging. i done all the pagination code and selected checkbox. Checkbox "CheclALL" is working fine with every page. But, when i save the record, it will be saving only last page checkbox checked values. What is the…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,296 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,333 questions
asked 2024-05-13T15:30:31.1333333+00:00
Gani_tpt 1,606 Reputation points
edited a comment 2024-05-16T06:33:56.57+00:00
Gani_tpt 1,606 Reputation points
1 answer

What is the best way to install .net Runtime v8.0 via Intune?

What is the current best way to install .net Runtime v8.0 via Intune to a large number of users? The .net website offers an .exe file but it doesn't contain an .msi I can turn into an Intune app. There are also winget instructions listed but winget…

.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,131 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
4,433 questions
asked 2024-05-15T22:58:19.7133333+00:00
Woodson Baldwin 0 Reputation points
edited an answer 2024-05-16T06:32:05.9133333+00:00
Crystal-MSFT 43,981 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Right way to dispose page with WebView in a MAUI app

I have a MAUI Android app (sample) with 2 pages, 1 home page and 1 page containing WebView. From home page user can go to the WebView page and open a site, come back to the home page and again go to WebView page to open other site, user can do this…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,950 questions
asked 2023-10-24T16:15:54.12+00:00
ac-lap 71 Reputation points
commented 2024-05-16T06:20:31.7366667+00:00
Ashutosh Mehere 0 Reputation points
0 answers

App is not displaying in IOS physical device in Debug and Release mode in .net 8 maui

Hi everyone, I need some help regarding App icon and app not showing in IOS physical device while debugging or in release mode in Visual Studio. The app icon is set properly in both info.plist and .csproj file. Recently we migrated to Dot-Net 8. In .NET…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,950 questions
asked 2024-05-15T11:27:33.5+00:00
Kalita, Nandini 0 Reputation points
commented 2024-05-16T06:10:26.12+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,846 Reputation points Microsoft Vendor
0 answers

WebAuthenticator

We want to integrate a payment application, but some payment gateway do not support native WebView. Therefore, we need to navigate to a browser for the payment process and then return to our app upon completion. However, WebAuthenticator shows a login…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,950 questions
asked 2024-05-15T10:48:13.6066667+00:00
Yogita Magdum 0 Reputation points
commented 2024-05-16T05:50:11.7333333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 36,706 Reputation points Microsoft Vendor
1 answer

How can i bind Sumsub mobile android sdk to net maui?

Hi, i try create the binding project with sumsub mobile android sdk, but i didn't have methods of SDK But not have methods build and launch.... his is official android sdk initializing Can you explain what I am doing wrong? and is possible to use…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,950 questions
asked 2024-05-15T06:02:29.3266667+00:00
Баходир Кадыров 0 Reputation points
answered 2024-05-16T05:40:34.6833333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 36,706 Reputation points Microsoft Vendor
0 answers

Not able to perform read and write operation in iCloud in .Net Maui Mac

I have set up the app identifier in Apple developer with the document URL set up for iCloud and updated the info.plist and entitlements according to this. info.plist <key>NSUbiquitousContainers</key> <dict> …

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,435 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,950 questions
asked 2024-05-13T10:26:23.9+00:00
Kiran Mohanty 0 Reputation points
edited a comment 2024-05-16T05:36:36.8933333+00:00
Kiran Mohanty 0 Reputation points
0 answers

How to pass the input data from one page to another

Register.cshtml.cs using FaceAdminApp.Auth; using FaceAdminApp.DTOs; using FaceAdminApp.Models; using FaceAdminApp.Services; using FaceAdminApp.Utilities; using FaceAdminApp.ViewModels; using Microsoft.AspNetCore.Mvc; using…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,221 questions
asked 2024-05-16T05:34:41.9466667+00:00
Surya Chandra Mohan 20 Reputation points
1 answer One of the answers was accepted by the question author.

Maui for Android default font size

Hello All. if I have an Entry control that I don't set it's font size. How I can programmatically get it's font size. in other words how I get the default font size of a control that have text in it. Thank you very much.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,950 questions
asked 2024-05-14T06:09:21.7466667+00:00
Haviv Elbsz 1,926 Reputation points
commented 2024-05-16T05:28:08.2066667+00:00
Haviv Elbsz 1,926 Reputation points
1 answer

How to get the bindable data from View MAUI

I have a code snippet below where I dynamically add data to StackLayout. For Xamarin Forms using BindingContext, I could access the data bound to the view. But this is not possible in.net MAUI. Is there any documentation for the same? public class MyData…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,950 questions
asked 2024-05-14T12:14:20.2066667+00:00
Chinmay Dole 20 Reputation points
commented 2024-05-16T05:17:46.4133333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,226 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Create MSI from EXE in MAUI

Hi, In cmd i create the exe of MAUI App. using this command: dotnet publish -f net8.0-windows10.0.19041.0 -c Release -p:WindowsPackageType=None -p:WindowsAppSDKSelfContained=true…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,950 questions
asked 2024-05-12T09:34:27.1366667+00:00
Dani_S 2,806 Reputation points
edited an answer 2024-05-16T03:29:40.5333333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,226 Reputation points Microsoft Vendor
1 answer

Maui ios publish : Path's format not supported

Hello, I am encountering an issu when i am publishing, creating the archive of my maui application, i have the given error 16:02:09:546 Cannot create an IOS archive 'MT.TimeClean.Client.ForNative'. Process cannot be executed on XMA…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,950 questions
asked 2024-05-13T14:11:45.04+00:00
Cyril Auquier 0 Reputation points
edited an answer 2024-05-16T03:21:31.0133333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,846 Reputation points Microsoft Vendor
0 answers

Cannot supply a component of type 'Components.BookComponent' because the current platform does not support the render mode 'Microsoft.AspNetCore.Components.Web.InteractiveServerRenderMode'

when i call component by this way i have this error in TestComponent.razor i call BookComponent to get html var sensorHtml = new ComponentRenderer<WeaponDetails>() .Render(); BookComponent.razor @rendermode InteractiveServer other…

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,409 questions
asked 2024-05-15T07:54:39.42+00:00
Mahdi Elahi 26 Reputation points
commented 2024-05-16T03:19:31.01+00:00
Ping Ni-MSFT 2,250 Reputation points Microsoft Vendor
0 answers

You are using a version of the client that isn't compatible with the server. Client version 1.5, server version undefined

1 I'm using SignalR in my project (asp.net and react js). Here in C# I'm using (.net 4.8) Microsoft.AspNet.SignalR.Client Version - 1.2.2.0 Runtime version - v4.0.30319 Microsoft.AspNet.SignalR.Core Version - 2.2.3.0 Runtime version -…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,296 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,333 questions
asked 2024-05-13T12:36:08.4+00:00
Ankit Singh 2 0 Reputation points
edited the question 2024-05-16T03:15:26.6533333+00:00
Lan Huang-MSFT 26,036 Reputation points Microsoft Vendor
2 answers

CORS configuration does not work as expected

Hello! I am going through the course module "Create a full stack application by using React and minimal API for ASP.NET Core" and this unit describes steps to enable CORS in response to allow client app request data from API -…

ASP.NET Core Training
ASP.NET Core Training
ASP.NET Core: A set of technologies in the .NET Framework for building web applications and XML web services.Training: Instruction to develop new skills.
8 questions
asked 2024-05-15T10:07:49.2366667+00:00
RomKo 0 Reputation points
commented 2024-05-16T03:09:32.0933333+00:00
Pradeep M 475 Reputation points Microsoft Vendor
0 answers

The process cannot access the file because it is being used by another process.

I have a function to write log to a text file: using (var mutex = new Mutex(false, fullPath.Replace("\\", ""))) { mutex.WaitOne(Timeout.Infinite, false); File.AppendAllText(fullPath, content.ToString()); …

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,435 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,973 questions
asked 2024-05-16T02:43:07.7033333+00:00
Jimmy Koo 0 Reputation points
edited the question 2024-05-16T03:00:34.6933333+00:00
Jimmy Koo 0 Reputation points