24,148 questions with .NET-related tags

Sort by: Updated
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
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
answered 2024-05-16T03:08:26.48+00:00
Crystal-MSFT 43,981 Reputation points Microsoft Vendor
0 answers

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.
976 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
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,434 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
2 answers One of the answers was accepted by the question author.

*.net referenced dll is not seen with a using statement

Hi, I have a project called MBSAnalysisMVCWebApp which is a web app. I reference MBSAnalysisMVCWebApp from my main MVC project called Mbsa. But when I try a using statement, It says MBSAnalysisMVCWebApp cannot be seen?  The MBSAnalysisMVCWebApp.dll…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,296 questions
asked 2024-04-29T15:37:56.6+00:00
iqworks Information Quality Works 276 Reputation points
commented 2024-05-16T02:48:36.36+00:00
Michael Taylor 48,976 Reputation points
1 answer

MAUI Unique Device Identifier ID

I am looking for a Unique Device Identifier ID for Android and iOS. Is there any code for that ?

.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:42:58.6333333+00:00
Etien Ducka 30 Reputation points
answered 2024-05-16T02:46:12.0633333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,226 Reputation points Microsoft Vendor
1 answer

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,434 questions
asked 2024-05-15T04:06:34.3866667+00:00
Việt Trần 0 Reputation points
commented 2024-05-16T02:27:53.1933333+00:00
Việt Trần 0 Reputation points
4 answers

set order by based on asc series

Hello This is my sql table with data /****** Object: Table [dbo].[temp_days_order_pending] Script Date: 05/15/2024 23:12:34 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO SET ANSI_PADDING ON GO CREATE TABLE…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,296 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.
12,835 questions
asked 2024-05-15T17:50:11.12+00:00
RAVI 916 Reputation points
answered 2024-05-16T01:43:29.9633333+00:00
CosmogHong-MSFT 23,406 Reputation points Microsoft Vendor
1 answer

What is the Maximum size of a EventMessage or Event Data in Event Viewer. For Security channel and other channels System, Direcory Service.

What is the maximum size of a single event in Event viewer? Event message maximum length and a Event's size in kb? Does it vary for Security channel and System/ Directory Server channels?

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,844 questions
Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
4,815 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,435 questions
Windows Server Security
Windows Server Security
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Security: The precautions taken to guard against crime, attack, sabotage, espionage, or another threat.
1,736 questions
asked 2024-05-15T10:27:43.9533333+00:00
Bakya ABL 21 Reputation points
answered 2024-05-16T01:41:39.7333333+00:00
Hania Lian 8,306 Reputation points Microsoft Vendor
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
commented 2024-05-16T01:32:58.1166667+00:00
Gani_tpt 1,606 Reputation points
2 answers

How to setup devops pipeline for xamarin.forms ios app to build with ios 17 and xcode 15

How to setup devops pipeline for xamarin.forms ios app to build with ios 17 and xcode 15

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,298 questions
asked 2024-02-23T09:37:28.5833333+00:00
Vinayak Nikam 0 Reputation points
commented 2024-05-15T23:09:11.4166667+00:00
Ramiro F. Guasti 0 Reputation points
1 answer

Custom Hybrid Connection Manager

Hi, I would like to know if we can have a custom hybrid connection manager in .net core code. I would like to connect to on-prem sql server from a cloud deployed .net solution. I am using Azure app service /Relay/Hybrid Connection for the same. I would…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,219 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.
12,835 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-08T15:25:31.47+00:00
Santhi Dhanuskodi 145 Reputation points
commented 2024-05-15T22:12:04.9466667+00:00
Grmacjon-MSFT 16,356 Reputation points
1 answer

.NET runtime environment required in a python code, so how do I deploy it as an Azure App Service?

2024-05-10T08:10:16.972810276Z Traceback (most recent call last): 2024-05-10T08:10:16.972823177Z File "/tmp/8dc70c645302e9a/antenv/lib/python3.10/site-packages/pythonnet/init.py", line 77, in create_runtime_from_spec…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,434 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-10T15:27:01.0666667+00:00
Wasim Bijili A S 0 Reputation points
commented 2024-05-15T22:11:23.1933333+00:00
Grmacjon-MSFT 16,356 Reputation points
0 answers

Getting a 10054 error when calling a Cognitive Services API from VSTO Word Add-in

I am developing a Word VSTO add-in so that I can call a Cognitive Services knowledgebase service. The code is pretty straight-forward and works fine when I run it from a windows console app (a similar call in python also works without…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,434 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
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,546 questions
Azure AI Language
Azure AI Language
An Azure service that provides natural language capabilities including sentiment analysis, entity extraction, and automated question answering.
362 questions
asked 2024-05-15T21:16:54.8833333+00:00
AdamMorgan-1941 10 Reputation points