23,085 questions with .NET-related tags

Sort by: Updated
0 answers

"Microsoft.Azure.WebJobs.Host: Error indexing method" after upgrade

Hello, I am doing the upgrade of my project from .netcore3.1 to .net7 (isolated process), azure functions from v3 to v4 and CosmoDB to v4. After changing every Microsoft.Azure.WebJobs.Extensions.* reference to the corresponding…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,006 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,174 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,357 questions
asked 2024-02-26T16:14:37.71+00:00
Stefania Grillo 0 Reputation points
edited the question 2024-02-27T08:53:42.1333333+00:00
Stefania Grillo 0 Reputation points
1 answer

No content inside PDF which is loaded in Customwebview in MAUI application on Android

smallPDFempty.png I am trying to load and view PDF files from local and from android device(mail) inside customwebview in MAUI application using PDF.js library. Done with all handlers code for customwebview implementation and given all permissions needed…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,586 questions
asked 2024-02-15T04:28:32.48+00:00
IndBal 0 Reputation points
answered 2024-02-27T08:53:36.18+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 64,011 Reputation points Microsoft Vendor
1 answer

Why is the blazor css isolation not working?

I have an AppLogin.razor component and its css file is AppLogin.razor.css. They are working fine. I have a UserLogin.razor component and its css file is UserLogin.razor.css. The working mechanism is as follows When you login from the AppLogin.razor…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,174 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,012 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,317 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,176 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.
9,950 questions
asked 2024-02-25T21:05:38.5766667+00:00
Haneen Al-fakhry 0 Reputation points
commented 2024-02-27T08:43:43.77+00:00
Haneen Al-fakhry 0 Reputation points
2 answers

A bug?? -> .NET 8 - the page 'error' in the new Blazor Web App (WebAssembly) redirects to 404

If you create the new Blazor Web App (WebAssembly) in .NET 8 you will see that structure: Now run application and open "/error" page, firstly you will see the error page: and then you will be redirected to 404 page: Is this a bug ??

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,317 questions
asked 2024-02-24T19:39:50.5733333+00:00
aleksw 1 Reputation point
commented 2024-02-27T08:41:00.02+00:00
Brando Zhang-MSFT 2,556 Reputation points Microsoft Vendor
1 answer

FIX REPATER HEADER WHILE SCROLLING AND EXPORT TO EXCEL

Hello This is my aspx page <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default3" %> <html> <head runat="server"> <script…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,176 questions
asked 2024-02-26T11:09:28.23+00:00
RAVI 556 Reputation points
commented 2024-02-27T08:40:54.9433333+00:00
Lan Huang-MSFT 23,221 Reputation points Microsoft Vendor
0 answers

Net maui Windows platform how to change grid width according to screen width in collectionview ?

Net maui Windows platform how to change grid width according to screen width in collectionview ? or how to set justify position of grid and width thanks..

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,586 questions
asked 2024-02-27T08:23:48.0066667+00:00
Sami 741 Reputation points
edited the question 2024-02-27T08:29:56.96+00:00
Sami 741 Reputation points
1 answer One of the answers was accepted by the question author.

Fullscreen issue in MAUI

my app shows a blackscreen at the bottom in emulator and in real device i have black line on top and bottom as well . I tried everything inside app in android activity .

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,174 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,586 questions
asked 2024-02-26T13:53:38.5933333+00:00
accepted 2024-02-27T08:25:37.5266667+00:00
1 answer

Register an iOS device to the Azure Notification Hub

I'm creating an application with .NET8 MAUI and I like to add the push notification for all platforms. I have already added the push notification for Windows and Android but I'm stuck with iOS. In Windows, for example, I wrote this code var channel =…

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.
243 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,586 questions
asked 2024-02-23T01:18:32.3+00:00
Enrico Rossini 126 Reputation points
edited a comment 2024-02-27T08:15:40.9233333+00:00
Enrico Rossini 126 Reputation points
1 answer

.Net installation using Azure update manager

We are trying to get .Net updates installed using on-demand and schedule option in Azure update manager without any luck. we don't see .Net 6.0\7.0 update is required in the WindowsUpdateExtension.log we did created registry , added .NEt update KB in…

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,497 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,174 questions
Azure Update Manager
Azure Update Manager
An Azure service to centrally manages updates and compliance at scale.
187 questions
asked 2024-02-07T11:45:57.9+00:00
Prashanth Miryala 5 Reputation points Microsoft Vendor
edited a comment 2024-02-27T08:06:07.0866667+00:00
Prashanth Miryala 5 Reputation points Microsoft Vendor
1 answer

DEP0700: Registration of the app failed with PushNotification

In my .NET 8 MAUI application for Windows, I would like to receive push notifications even when the app is closed. For that, I tried to add a background task using this code: private async void RegisterBackgroundTask() { var builder = new…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,586 questions
asked 2024-02-26T16:30:34.42+00:00
Enrico Rossini 126 Reputation points
edited a comment 2024-02-27T08:03:12.9433333+00:00
Enrico Rossini 126 Reputation points
0 answers

Shell navigation key error

White navigating, and selecting pages back and forth, I get this error An item with the same key has already been added. Key: 0 I do not understand it, I cheek the stack and I found this. at…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,586 questions
asked 2024-02-27T07:47:44.1533333+00:00
Eduardo Gomez 3,196 Reputation points
edited the question 2024-02-27T07:59:40.09+00:00
Eduardo Gomez 3,196 Reputation points
1 answer

How to concatenate string in password.aspx file ?

Hi, For my domain i want to concatenate automaticaly *DOMAIN* + username in password.aspx file : Because many of my users dont write DOMAIN\ and its very boring ! ive already add a value like value="DOMAIN" in the input form but when i put a…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,176 questions
Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,140 questions
asked 2024-02-22T14:56:28.91+00:00
Thg 0 Reputation points
answered 2024-02-27T07:57:58+00:00
Thg 0 Reputation points
1 answer

Maui for android one row HorizontalStackLayout issue

Hi All I have this HorizontalStackLayout I wantthe 4 controls to be in one row How I achieve this so that the last label '?' to be at the end of the row. currently what I get is 'RTL Writing ?' I know I can do it in grid.Thank you. …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,586 questions
asked 2024-02-26T06:41:30.0466667+00:00
Haviv Elbsz 1,751 Reputation points
answered 2024-02-27T07:57:40.2733333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 30,566 Reputation points Microsoft Vendor
1 answer

How can visually impaired people control mobile programs with screen readers when they run them with XAMARIN?

Hello masters I am visually impaired and I am very interested in software development. I have previously worked and learned on desktop applications with .net C# architecture. Now I want to learn the mobile side with Visual Studio using XAMARIN. My…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,256 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.
9,950 questions
asked 2024-02-26T06:56:25.3533333+00:00
fatih uyanık 60 Reputation points
commented 2024-02-27T07:53:23.9866667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 64,011 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

how to hide navigationbar in landescape?

I am using android in maui. I want to hide navigationbar but not in full screen mode (with the status bar not hide). If I set the SystemUIVisibility yes it is hide. but when I tap somthing the navigationbar will appeared. and If I detect…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,586 questions
asked 2024-02-17T08:36:00.3433333+00:00
mc 3,461 Reputation points
accepted 2024-02-27T07:31:42.47+00:00
mc 3,461 Reputation points
1 answer

Maui - close up with confirmations

Hi, I'm using .Net 8. I want when user will close the app he will get promp: If confirm it willl do this code otherwise close operation will be cancell ? How is can be done ? My current code: builder .UseTelerik() …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,586 questions
asked 2024-02-26T10:05:45.4433333+00:00
דני שטרית 2,226 Reputation points
commented 2024-02-27T07:27:28.92+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 64,011 Reputation points Microsoft Vendor
0 answers

Unable to find an entry point named 'http_query_request_property' in DLL 'aspnetcorev2_inprocess.dll' in ASP.NET 8

We have just decided to migrate our existing web applications from .NET 6 to .NET 8. We have them configured with SSL and all works as intended in .Net6 but fails with this error message: An unhandled exception was thrown by the application. med…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,174 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,012 questions
asked 2024-02-26T15:24:14.6566667+00:00
Nicklas Engberg 0 Reputation points
commented 2024-02-27T07:18:49.7+00:00
Jim Sinclair 0 Reputation points
1 answer

Microsoft.Identity.Client latest is not returning expected value

Microsoft.Identity.Client latest version not returning the expected UTC time in my machine. Microsoft.Identity.Client.AuthenticationResult ExpiresOn property value is not returning the correct UTC time. Kindly check the value. Expected value -->…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,174 questions
asked 2024-02-26T06:17:07.3166667+00:00
Dinesh K 0 Reputation points
commented 2024-02-27T07:05:38.16+00:00
Jiale Xue - MSFT 17,516 Reputation points Microsoft Vendor
2 answers

How I can change a C# .net Framework 4.7 Console Application main into a function?

Hi, Thank you for reading. I have a C# Console Application. I am using VS 2019 and .NET Framework 4.7. This Console Application has various classes that I created in order to complete the requirements. I have been informed this Console App. will be…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,174 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.
9,950 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,500 questions
asked 2024-02-27T06:04:31.93+00:00
Josh S 26 Reputation points
edited an answer 2024-02-27T06:58:31.6566667+00:00
Jiale Xue - MSFT 17,516 Reputation points Microsoft Vendor
0 answers

Websocket server in MAUI with .NET 8

Hello, I'm trying to create a websocket server in a MAUI app and .NET8. When I launch the server using Android app, the server is pefectly listening to the Websocket clients but when I launch the app in Windows the server is not listening any local…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,586 questions
asked 2024-02-22T13:33:41.49+00:00
Jorge Vilaplana Herruzo 0 Reputation points
commented 2024-02-27T06:54:57.1833333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 64,011 Reputation points Microsoft Vendor