26,910 questions with .NET-related tags

Sort by: Updated
0 answers

How to run .NET 8 console app on Azure Batch Node?

I am trying to run a custom .NET 8 app on Azure Batch Node. To do that, I need get the corresponding .NET runtime installed on the target node. While researching this problem, I found the following possible solutions: Use custom image with…

Azure Batch
Azure Batch
An Azure service that provides cloud-scale job scheduling and compute management.
352 questions
.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,195 questions
asked 2025-02-15T17:26:40.02+00:00
yuriy@mquark.com 0 Reputation points
0 answers

IIS MVC web app gets 404.0 error when opening first view page

I built an MVC web application (about a dozen view pages) that is working fine when run from the VS.net 2019 designer IIS Express, but when I deploy the app to local IIS and run it, I get error... HTTP Error 404.0 - Not Found The resource you are…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,595 questions
asked 2025-02-14T17:50:30.9833333+00:00
Jay Gunderson 0 Reputation points
edited a comment 2025-02-15T11:59:18.3333333+00:00
AgaveJoe 29,786 Reputation points
0 answers

I'm experiencing problems with EF and SQL Server when running on Azure Webservice. The same code runs fine from VS with same db.

If I turn debugging on and connect my VS to the process, the error doesn't occur. Also I can run the code just fine from Visual Studio towards the same database. I do not Lazy Load. All Queries ens with ToFirstAsync() or ToListAsync() and has a Select to…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
778 questions
Azure SQL Database
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,297 questions
Azure Startups
Azure Startups
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.Startups: Companies that are in their initial stages of business and typically developing a business model and seeking financing.
578 questions
asked 2025-02-15T10:00:46.1533333+00:00
Tomas Ekenman 0 Reputation points
commented 2025-02-15T11:50:58.1633333+00:00
AgaveJoe 29,786 Reputation points
1 answer

Can't publish new PowerShell binary module as it can't find the module

I'm trying to publish a new module to the PowerShell Gallery with publish-Module -name WillPittenger.Goodies.PowerShell.JSON -Repository PSGallery -NuGetApiKey ~~_____~~. I'm getting the error "Publish-Module: The specified module…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,105 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.
11,296 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
10,746 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,811 questions
asked 2025-02-15T08:40:31.4433333+00:00
Will Pittenger 306 Reputation points
answered 2025-02-15T09:33:24.65+00:00
Will Pittenger 306 Reputation points
0 answers

In my Maui project, sometime the scroll event stop/stuck as using mouce or touchpad.

In my Maui project, sometimes the scroll event stops or gets stuck when using a mouse or touchpad. The user cannot scroll the page, modals, or anything else. Instead, it scrolls using the scrollbar. Why is this happening? Can anybody assist me? I don't…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,105 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,927 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,105 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,927 questions
asked 2025-02-15T08:39:23.1733333+00:00
Mubashir Iftikhar 0 Reputation points
0 answers

In my Maui project, sometime the scroll event stop/stuck as using mouce or touchpad.

In my Maui project, sometimes the scroll event stops or gets stuck when using a mouse or touchpad. The user cannot scroll the page, modals, or anything else. Instead, it scrolls using the scrollbar. Why is this happening? Can anybody assist me? I don't…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,105 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,927 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,105 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,927 questions
asked 2025-02-15T08:39:23.1733333+00:00
Mubashir Iftikhar 0 Reputation points
2 answers

Blazor Web Assembly with Azure AAD and Custom authentication Login

I want to implement two authentication mechanism in my Blazor web assembly application (Azure AD and Custom Authentication). i.e. User can either login via Azure AD or he can go for Custom Authentication. When I register both Custom…

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,664 questions
asked 2022-06-02T21:42:30.053+00:00
Reishabh Saxena 1 Reputation point
commented 2025-02-15T01:28:32.55+00:00
Adrian Corral 0 Reputation points
0 answers

how to reset the button background color in android?

in android. I create Button and set BackgroundTinitList then it can not reset background. how to reset it? I have tried button.BackgroundTintList=null; button.Background =newButton.Background; it can not too;

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,927 questions
asked 2025-02-14T04:42:24.1933333+00:00
mc 5,141 Reputation points
commented 2025-02-15T01:01:23.1466667+00:00
mc 5,141 Reputation points
0 answers

Can I set Label to one color in MAUI?d

can I set Label to 1 color only has black and white? not 16 colors not 32 colors but only 1 color? what I want to do is to capture it and read it's pixel.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,927 questions
asked 2025-02-15T01:00:13.61+00:00
mc 5,141 Reputation points
2 answers One of the answers was accepted by the question author.

.NET MAUI WebView VerticalScrollBar Windows

how to hide the vertical scrollbar in the webview in windows?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,927 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.
11,296 questions
asked 2023-07-28T09:34:02.8533333+00:00
Ángel Rubén Valdeolmos Carmona 611 Reputation points
edited an answer 2025-02-14T19:27:27.1533333+00:00
Dejan Basic 0 Reputation points
0 answers

How to use Co-Pilot via API

Hi, I am trying to figure out if it is possible to query co-pilot and grab the generated answer via api. What I mean by this is for example say in Jira or any Ticketing System that can make calls to an API is it possible to make a call to co pilot…

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.
375 questions
Microsoft Copilot
Microsoft Copilot
Microsoft terminology for a universal copilot interface.
581 questions
asked 2025-02-14T16:20:24.53+00:00
Jarrett Trapani 0 Reputation points
commented 2025-02-14T19:08:50.76+00:00
AgaveJoe 29,786 Reputation points
0 answers

[MAUI][iOS] Library not loaded: @rpath/libHarfBuzzSharp.framework/libHarfBuzzSharp after updated to .NET 9.0

I'm encountering a runtime error on iOS when running my .NET MAUI application after updated net from 8.0 to 9.0. Library not loaded: @rpath/libHarfBuzzSharp.framework/libHarfBuzzSharp Environment Details: .NET MAUI Version: 9.0 iOS Version: 18.2 …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,927 questions
asked 2025-02-14T04:20:44.43+00:00
Thinh NPD 40 Reputation points
commented 2025-02-14T16:59:15.1233333+00:00
Thinh NPD 40 Reputation points
2 answers One of the answers was accepted by the question author.

How to share session between framework 4.8 and .net with YARP

I realise there is plenty, plenty, of documentation/videos/help but nothing is helping me get past the very basic act of sharing session even though I see it work in the "UpgradeSample-main" example project. I'm finding resources are often…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,105 questions
asked 2025-02-12T10:19:32.33+00:00
Royden 20 Reputation points
accepted 2025-02-14T16:08:32.8966667+00:00
Royden 20 Reputation points
2 answers

How to get the call-id in Microsoft Teams?

Is it possible to get the call-id from a running Teams call? I should get call details from https://graph.microsoft.com/v1.0/communications/calls I want to use the call-id here: var result = await…

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,878 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,779 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,049 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,559 questions
asked 2024-02-14T13:47:07.57+00:00
Ottmann, Thomas 40 Reputation points
commented 2025-02-14T15:46:24.6166667+00:00
Ned Groom 0 Reputation points
1 answer

Showing WPF window having webView2 control gives error dialog with description - Microsoft Edge can't read and write to its data directory

Showing WPF window having webView2 control gives error dialog with description - Microsoft Edge can't read and write to its data directory I have Webview2 control in WPF Window as shown below in webViewStrings.xaml file <Window…

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,824 questions
asked 2025-02-07T15:57:54.6933333+00:00
Ajay Gera 45 Reputation points
commented 2025-02-14T15:18:53.9933333+00:00
Ajay Gera 45 Reputation points
0 answers

Problem publishing MAUI app to App Store

Hi there We have been struggling, for over a year, with a MAUI application. At first I couldn't even produce an IPA for ad hoc distribution, but we managed to jump that hurdle. The problem is I am now trying to publish it the App Store and I keep getting…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,927 questions
asked 2025-02-13T13:11:19.1033333+00:00
Jai Holloway 60 Reputation points
commented 2025-02-14T10:07:08.9133333+00:00
Cliff 1 Reputation point MVP
1 answer

How to activate camere when changing tab in .net maui

I'm developing a .NET MAUI application using MVVM for learning, and I have a BarcodePage that contains a CameraBarcodeReaderView (from ZXing.Net.Maui.Control). Everything works fine when I first navigate to the page, but when I navigate away and then…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,105 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,927 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,105 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,927 questions
asked 2025-02-13T07:16:56.0133333+00:00
Rendy Putrayana 0 Reputation points
commented 2025-02-14T09:52:07.7566667+00:00
Rendy Putrayana 0 Reputation points
1 answer

How to activate camere when changing tab in .net maui

I'm developing a .NET MAUI application using MVVM for learning, and I have a BarcodePage that contains a CameraBarcodeReaderView (from ZXing.Net.Maui.Control). Everything works fine when I first navigate to the page, but when I navigate away and then…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,105 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,927 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,105 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,927 questions
asked 2025-02-13T07:16:56.0133333+00:00
Rendy Putrayana 0 Reputation points
commented 2025-02-14T09:52:07.7566667+00:00
Rendy Putrayana 0 Reputation points
1 answer One of the answers was accepted by the question author.

How can I add a context menu to UI element in MAUI?

The code below is not working, Error XLS0415 The attachable property 'ContextActions' was not found in type 'Grid' <Grid.ContextActions> <MenuItem Text="Test"/> <MenuItem Text="Test 2"/> …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,927 questions
asked 2022-08-26T03:12:34.843+00:00
Nikolay Kusch 66 Reputation points
accepted 2025-02-14T09:50:44.61+00:00
Nikolay Kusch 66 Reputation points
1 answer One of the answers was accepted by the question author.

Does MAUI dotnet build support config ApplicationId base on parameters?

For MAUI we can config ApplicationId for android and iOS like below: <ApplicationId>xxx.xxx.xxx</ApplicationId> But for some reason, for different build like dogfood build require a different ApplicationId. So does dotnet commandline build…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,927 questions
asked 2025-02-12T07:42:59.3633333+00:00
xiang changan 20 Reputation points
accepted 2025-02-14T08:21:51.1266667+00:00
xiang changan 20 Reputation points