24,805 questions with .NET-related tags

Sort by: Updated
0 answers

Issues with a struct type when calling TaskOrchestrationContext getInput - Guids are empty

Hello, Trying to migrate a code from .NET6 to .NET8, isolated worker model, I have noticed that: if the orchestrator has a struct type parameter having a Guid field, getting the input from the orchestrator, with context.GetInput<T>(), results in an…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,573 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,576 questions
asked 2024-07-03T10:14:06.26+00:00
adriana_malea 141 Reputation points
1 answer

C# - How not make WPF UI Freeze while elaborating

I have a button that after I click it send a lot of data in a remote database with a loop, but during this operation whole wpf UI is freezing. My goal is to make the loader work while it is processing everything with the database. My button code: …

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,706 questions
asked 2021-06-24T10:01:59.587+00:00
babluplanet 21 Reputation points
edited an answer 2024-07-03T10:00:41.4433333+00:00
sophiamartin2342 0 Reputation points
9 answers One of the answers was accepted by the question author.

asp.net core web application not showing in visual studio 2019

asp.net core web application not showing in visual studio 2019 Hi, i have installed visual studio 2019, with asp.net and .NET core features. Problem/Issue: while creating new project,"asp.net core web application" not showing, its showing…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,347 questions
asked 2023-03-09T14:09:34.9833333+00:00
qasimidl 106 Reputation points
edited a comment 2024-07-03T09:55:43.57+00:00
AntoineJack 5 Reputation points
2 answers One of the answers was accepted by the question author.

Timeout Expired when multiple users login to the asp.net applications

I am developing asp.net application and hosted in the IIS server. when multiple user (more than 300 users+) accessing the applications at very first time all the users getting below error. "timeout expired. The timeout period elapsed prior to…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,397 questions
asked 2024-07-01T13:29:08.3033333+00:00
BeUnique 2,112 Reputation points
accepted 2024-07-03T09:17:16.15+00:00
BeUnique 2,112 Reputation points
0 answers

Whitescreen when reopen a MAUI app from background when app was first opened from push message

Hi, we have a maui blazor app and there is a strange behavior on Android. The app receives push message from firebase. When app is completely closed (not in background) and an incoming push message is clicked the app opens and handles the push message.…

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.
296 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,154 questions
Microsoft Intune Android
Microsoft Intune Android
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Android: An open-source mobile platform based on the Linux kernel, developed by Google, and maintained by the Open Handset Alliance.
262 questions
asked 2024-07-02T10:53:40.18+00:00
alask 0 Reputation points
edited a comment 2024-07-03T09:16:30.0133333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 71,596 Reputation points Microsoft Vendor
0 answers

Switching Between System Power Saving Mode in UWP app ,makes the app non-responded for a while

My UWP app was not responding for sometime, when switching between power Saving mode(windows settings) while App was running. To Reproduce the issue , Run the app Open Windows System Battery Settings -> Enable/Disable Power Saving Mode Now try to…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,086 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,576 questions
Universal Windows Platform (UWP)
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,584 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.
786 questions
asked 2024-06-28T10:13:12.27+00:00
Prem Kumar S 0 Reputation points
commented 2024-07-03T08:06:32.83+00:00
Junjie Zhu - MSFT 16,391 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Maui for Android OCR project Using latest maui and android versions

Hello All. I created new maui project based on an Ocr for Android example. And it start build ok but after a while it throw this error. Please any help to fix this. Thank you. Build…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,154 questions
asked 2024-07-02T10:46:36.0166667+00:00
Haviv Elbsz 2,046 Reputation points
accepted 2024-07-03T06:56:28.62+00:00
Haviv Elbsz 2,046 Reputation points
1 answer

ASP Net Core 8.0-A potentially dangerous Request.QueryString value was detected from the client

Hi, I hit the issue "A potentially dangerous Request.QueryString value was detected from the client (filter="...dList eq '<bZFZ0B4I...")" . My project is netcore 8.0,and it's stand-alone executable. I found that the…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,347 questions
asked 2024-07-02T08:15:51.9333333+00:00
Liangjun Hu 0 Reputation points Microsoft Employee
commented 2024-07-03T05:34:28.3+00:00
Brando Zhang-MSFT 3,361 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Issues with certain libraries included for specific frameworks

We have certain nuget packages available for different target frameworks either Android or IOS or just .net8.0 ,this is controlled via csproj , Is there any better way to let my .cs files know that it has to build only for this target frameworks other…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,154 questions
asked 2024-06-26T09:34:46.0866667+00:00
Manickam, Suraj 300 Reputation points
accepted 2024-07-03T05:10:45.1766667+00:00
Manickam, Suraj 300 Reputation points
2 answers One of the answers was accepted by the question author.

Use SignalR service with my Blazor server app running on Azure App Service

Hi all; I've read in numerous places that adding a SignalR service to my Blazor app running on Azure App service, where the SignalR service connects to the remote client browser on one side and connects to my Blazor app on the other side should speed up…

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,480 questions
Azure SignalR Service
Azure SignalR Service
An Azure service that is used for adding real-time communications to web applications.
131 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,294 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.
236 questions
asked 2024-06-22T16:47:49.52+00:00
David Thielen 2,526 Reputation points
edited the question 2024-07-03T04:23:26.18+00:00
Ryan Hill 26,866 Reputation points Microsoft Employee
2 answers One of the answers was accepted by the question author.

Not able to Insert Image data for two images Postgresql

[HttpPost] [ValidateAntiForgeryToken] public async Task

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,347 questions
Azure Database for PostgreSQL
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.
236 questions
asked 2024-06-11T19:37:32.6+00:00
Anonymous
edited the question 2024-07-03T04:22:20.2+00:00
Ryan Hill 26,866 Reputation points Microsoft Employee
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,576 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,294 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.
236 questions
asked 2024-05-10T15:27:01.0666667+00:00
Wasim Bijili A S 0 Reputation points
edited the question 2024-07-03T04:18:51.3666667+00:00
Ryan Hill 26,866 Reputation points Microsoft Employee
1 answer

Unable to upload an image to my blob storage account

So i am trying to upload an image to my blob storage and I keep getting this error

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,579 questions
.NET F#
.NET F#
.NET: Microsoft Technologies based on the .NET software framework.F#: A strongly typed, multi-paradigm programming language developed by the F# Software Foundation, Microsoft, and open contributors.
98 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.
236 questions
asked 2024-05-03T08:58:12.4+00:00
ProDevs 0 Reputation points
edited the question 2024-07-03T04:17:52.03+00:00
Ryan Hill 26,866 Reputation points Microsoft Employee
0 answers

How to make UWP MediaElement to be loop mode when casting to a TV?

I find that when using UWP MediaElement (component name: video), it works well to be in loop mode when set as below: video.IsLooping = true; // method 1 video.MediaEnded -= Video_MediaEnded; video.MediaEnded += Video_MediaEnded; // method 2 private…

Universal Windows Platform (UWP)
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,706 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,584 questions
asked 2024-06-28T08:17:01.82+00:00
Tom JD1 Xue 21 Reputation points
commented 2024-07-03T02:34:45.64+00:00
Tom JD1 Xue 21 Reputation points
0 answers

using HWND in C++ CLR build error (.NET core 8)

I have a C++ CLR that contains windows forms on it, the project is a C++ CLR DLL, somewhat related to this: https://video2.skills-academy.com/en-us/answers/questions/1745336/porting-c-clr-net-framework-winform-to-net-8 however, when I declare a variable for…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,576 questions
asked 2024-07-02T09:32:16.24+00:00
cebuhax0r 46 Reputation points
commented 2024-07-03T02:30:06.43+00:00
cebuhax0r 46 Reputation points
0 answers

How to apply search in collection view with portion loaded data?

i want to display filtred product in collectionview defined as: <CollectionView Grid.Row="0" Grid.ColumnSpan="3" IsVisible="{Binding IsNoResult, Converter={StaticResource…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,154 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,584 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.
786 questions
asked 2024-06-24T16:24:32.32+00:00
Kaouthar GR AOUICHAOUI 80 Reputation points
commented 2024-07-03T01:42:27.98+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 71,596 Reputation points Microsoft Vendor
0 answers

DbUpdateConcurrencyException: Database operation expected to affect 1 row(s) but actually affected 0 row(s). Data may have been modified or deleted since entities were loaded.

Hi If you allow, I would like to ask a question. I want to replace the data I brought with the "public async Task<IActionResult> WriterEditProfile()" method with the "public IActionResult WriterEditProfile(AppUser p)"…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,347 questions
asked 2024-07-01T13:36:58.2366667+00:00
Yalçın Mete 60 Reputation points
commented 2024-07-03T01:22:09.8566667+00:00
JasonPan - MSFT 4,796 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Blazor accessing global variable issue

Hi all I asked here how to save variable state and i get long answers and what I want is to know if it's possible in blazor to define a variable somewhere in the app structure so I can access it from any component. something like in console program…

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,480 questions
asked 2023-10-01T07:18:17.1633333+00:00
Haviv Elbsz 2,046 Reputation points
commented 2024-07-03T00:04:29.12+00:00
Andy Mesta 0 Reputation points
1 answer

Unhandled exception in "Build a web API with minimal API, ASP.NET Core, and .NET" Unit 2.

I wrote my code exactly as instructed, and I'm getting the following error message: Unhandled exception. System.InvalidOperationException: The service collection cannot be modified because it is read-only. at…

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.
16 questions
asked 2024-05-18T00:58:16.51+00:00
João Victor Serra Pinto 25 Reputation points
commented 2024-07-02T17:49:36.6433333+00:00
David Amedeka 5 Reputation points
7 answers

Best Report Tools for Blazor

My company is transitioning from legacy software that makes extensive use of Crystal Reports and we are looking for a tool compatible with Blazor. Many options come up in a Google search, but we don't have enough experience with the platform to make an…

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,480 questions
SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
2,855 questions
asked 2023-02-09T02:52:54.0333333+00:00
RussDFM 5 Reputation points
answered 2024-07-02T16:20:20.1366667+00:00
David Thielen 2,526 Reputation points