25,666 questions with .NET-related tags

Sort by: Updated
0 answers

Randomly getting error on Azure Linux App Service: "The directory name '/home/site/wwwroot/wwwroot/' does not exist. (Parameter 'path')"

I have a Linux App Service and I am randomly getting the error: The directory name '/home/site/wwwroot/wwwroot/' does not exist. (Parameter 'path') The error doesn't happen all the time, it has happened 131 times since the app was deployed 7 months…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,820 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,713 questions
asked 2024-09-26T09:25:53.9833333+00:00
Jason Hargrave 0 Reputation points
1 answer

Flyout flickering problem

I have been working in a feature, that lets the user enter in compact mode I had an issue where the title doesn't show, I fix that, with the help of the awesome @Anonymous I am facing some issues, where the shell takes some time, to go the right…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,443 questions
asked 2024-09-25T08:19:39.4433333+00:00
Eduardo Gomez Romero 425 Reputation points
commented 2024-09-26T09:25:36.79+00:00
Eduardo Gomez Romero 425 Reputation points
1 answer One of the answers was accepted by the question author.

How to change background color of WebView on SelectionChanged event of CollectionView

I am using Visual Studio 2022 and maui 8.0 and API level 33 I have collectionView and inside it I have Label and WebView . I have change background color of selected item using VisualStateManager.VisualStateGroups But Even if I tried lot the WebView…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,443 questions
asked 2024-09-25T18:07:36.8633333+00:00
Faiz Quraishi 125 Reputation points
accepted 2024-09-26T09:17:35.6733333+00:00
Faiz Quraishi 125 Reputation points
1 answer

When calling FlashWindowEx, Window behaves abnormally in Windows 11.

We would like to inquire about an abnormal behavior observed during the development of a Windows-based application. This was working normally in Windows 10, but in Windows 11, abnormal behavior has been confirmed when calling the Window API as shown…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,886 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,597 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,530 questions
asked 2024-09-24T09:32:40.85+00:00
윤기 오 0 Reputation points
commented 2024-09-26T09:09:13.5566667+00:00
윤기 오 0 Reputation points
1 answer One of the answers was accepted by the question author.

status code Forbidden

hello I have a little problem So am calling an Api, I made a service public class HttpService(HttpClient httpClient, IConnectivity connectivity) { public async Task<T?> GetAsync<T>(string url) { if…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,443 questions
asked 2024-09-24T16:10:26.4766667+00:00
Eduardo Gomez Romero 425 Reputation points
commented 2024-09-26T09:04:00.69+00:00
Eduardo Gomez Romero 425 Reputation points
2 answers

Converting ASP.NET MVC Framework csproj Question

Hello - I have a few different ASP.NET MVC projects that build on .NET Framework 4.8 I want to convert to the new SDK style csproj format. I was able to convert it over fine, but once I try and publish the project, all of the DLL files are not located…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,470 questions
asked 2024-09-20T18:44:37.6566667+00:00
Palmer, Jared L 31 Reputation points
answered 2024-09-26T09:01:52.0466667+00:00
Lan Huang-MSFT 29,251 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

separate behaviors

I am trying to create two separate functions depending on devices .Net 8 Maui 8.0.9 <CollectionView Margin="20" ItemsSource="{Binding Turbines}"> <CollectionView.ItemTemplate> <DataTemplate…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,443 questions
asked 2024-09-25T15:20:09.8266667+00:00
Eduardo Gomez Romero 425 Reputation points
accepted 2024-09-26T08:51:46.33+00:00
Eduardo Gomez Romero 425 Reputation points
0 answers

Randomly getting error on Azure Linux App Service: "The directory name '/home/site/wwwroot/wwwroot/' does not exist. (Parameter 'path')"

I have an Azure App Service that running Linux OS that I deployed in February, and I randomly get the error: The directory name '/home/site/wwwroot/wwwroot/' does not exist. (Parameter 'path') I have got this error now 131 times since I deployed, and…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,820 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,713 questions
asked 2024-09-26T08:40:26.78+00:00
Jason Hargrave 0 Reputation points
edited the question 2024-09-26T08:43:54.9733333+00:00
Jason Hargrave 0 Reputation points
1 answer

How to change the bacground and text color of MenuFlyoutItem?

Hi, How to change the bacground and text color of MenuFlyoutItem? <FlyoutBase.ContextFlyout > <MenuFlyout > <MenuFlyoutItem Text="Load external configurations" Command="{Binding…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,443 questions
asked 2024-09-25T14:36:05.62+00:00
Dani_S 3,746 Reputation points
edited a comment 2024-09-26T08:37:33.4733333+00:00
Dani_S 3,746 Reputation points
3 answers

How to fix this " Error There was an error running the selected code generator: 'startIndex cannot be larger than length of string. (Parameter 'startIndex')' "

Hello I got this error issue. When I tried to create New Scaffolded Item > Selected ' MVC Controller with views, using Entity Frame Work I use Microsoft Entity Frame work version 8.0.8 Version and the Frame Work Design I use 8.05 Window 11 Net 8.0…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,539 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,470 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,070 questions
asked 2024-09-25T06:18:44.01+00:00
NADA KETMEK 0 Reputation points
commented 2024-09-26T08:29:56.13+00:00
NADA KETMEK 0 Reputation points
1 answer

Ipublish and installation of MAUI app?

Hi, I'm trying to install the MauiApp1_1.0.1.0_x86_Debug.msix package after publishing Blazor MAUI ; For information, my application is empty. I just want to know how to install a blazor maui before associating a blazor wasm application with it. I run…

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,565 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,443 questions
asked 2024-09-25T12:30:12.65+00:00
sblb 1,191 Reputation points
edited the question 2024-09-26T07:00:26.3433333+00:00
Jerry Fu - MSFT 666 Reputation points Microsoft Vendor
0 answers

reusable template

In my collectionView, I have this <CollectionView Margin="20" ItemsSource="{Binding Turbines}"> <CollectionView.ItemTemplate> <DataTemplate x:DataType="model:TurbinePin"> …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,443 questions
asked 2024-09-25T16:38:02.9433333+00:00
Eduardo Gomez Romero 425 Reputation points
commented 2024-09-26T06:40:50.2733333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 30,831 Reputation points Microsoft Vendor
1 answer

How to log in with HTTP POST protocol first and then show the homepage with "WebView" package?

How to log in with HTTP POST protocol first and then show the homepage with "WebView" package? The website needs to log in with HTTP POST protocol first, and then the web will be directed to its homepage. The code shows me logging in…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,341 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,871 questions
asked 2024-09-26T05:05:19.2033333+00:00
HC 1 Reputation point
commented 2024-09-26T06:22:38.05+00:00
HC 1 Reputation point
1 answer

Azure SCIM - Group members are not sending from azure while group provisioning

I am performing SCIM provisioning from Azure and have mapped the default attributes in the attribute mapping settings. I added 5 users to the "devtestgroup", but when sending the requests, Azure is only sending the externalId and displayName,…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,539 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,558 questions
asked 2024-09-19T04:22:53.6166667+00:00
Samadhan Salagar 5 Reputation points
answered 2024-09-26T06:11:41.9233333+00:00
Givary-MSFT 32,416 Reputation points Microsoft Employee
2 answers

Scale out Blazor Server App using Azure cache Redis as backplane

I am current hosting Blazor server app in Azure App Service. I found an issue when my application scale out. So i change to use Azure cache Redis for SignalR backplane. I also enable session affinity with my App Service configuration. Most of the time I…

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,565 questions
Azure Cache for Redis
Azure Cache for Redis
An Azure service that provides access to a secure, dedicated Redis cache, managed by Microsoft.
251 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,713 questions
asked 2024-09-18T10:05:25.38+00:00
Kevin Seng 0 Reputation points
answered 2024-09-26T05:51:10.81+00:00
kevin 0 Reputation points
2 answers

Editor controls in grid don't resize correctly after grid and row compressed to zero width and expanded back

Editor controls in a 3x3 grid don't resize correctly after compressing one of the rows and columns to 0 width and height and expanding it back to normal size. The bug is only present on the windows platform using Editor controls. Resizing works correctly…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,443 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
806 questions
asked 2024-09-24T04:33:12.63+00:00
TazKing 0 Reputation points
commented 2024-09-26T03:27:58.1166667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 42,201 Reputation points Microsoft Vendor
0 answers

System.Runtime.CompilerServices.AsyncTaskMethodBuilder

Hi, I am getting the below mentioned error. Don't know why it was showing. I guess this comes due to I migrate the dotnet version from 6 to 8. can you resolve my issue? { "error": "Error getting value from 'Context' on…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,539 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,470 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
332 questions
asked 2024-09-25T13:47:25.9333333+00:00
Stivin 0 Reputation points
commented 2024-09-26T03:04:21.8633333+00:00
Jerry Fu - MSFT 666 Reputation points Microsoft Vendor
0 answers

How to fix linker error for System framework not found?

I am trying to publish my .Net 8.0 Maui application to the iOS app store. When I run this command to remotely build this archive on my Mac: I get this error: ```(_LinkNativeExecutable target) ->C:\Program…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,443 questions
asked 2024-09-24T16:48:56.6166667+00:00
Mr. Dragon 0 Reputation points
commented 2024-09-26T02:58:19.1666667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 30,831 Reputation points Microsoft Vendor
1 answer

Unable to Build Azure Web App in Deployment Sync When Targeting .NET 8

In my web app on Azure I've set the Settings - Configuration - .NET Version to 8.0 LTS and in my source could I've targeted .NET 8. I can build locally in Visual Studio When I sync my source code from my BitBucket repository to my deployment in Azure app…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,820 questions
Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
917 questions
asked 2024-09-24T13:42:45.13+00:00
Bruce Phillips 0 Reputation points
answered 2024-09-26T02:34:57.9166667+00:00
brtrach-MSFT 16,121 Reputation points Microsoft Employee
3 answers

valdiate gridview data using asp.net c# code behind on button click

Hello This Is my MS sql data /****** Object: Table [dbo].[Table_11] Script Date: 09/22/2024 19:00:36 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO SET ANSI_PADDING ON GO CREATE TABLE [dbo].[Table_11]( [ID] [int] IDENTITY(1,1) NOT…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,470 questions
asked 2024-09-22T13:37:28.3666667+00:00
RAVI 1,076 Reputation points
commented 2024-09-26T02:24:28.0166667+00:00
Lan Huang-MSFT 29,251 Reputation points Microsoft Vendor