23,739 questions with .NET-related tags

Sort by: Updated
0 answers

Download captured HTML Div as PDF and also send as PDF attachment to email

I want to achieve 2 things: Capture HTML, convert to Image and download as PDF Send the captured and converted HTML div as PDF attachment to email When I tried capturing the entire div and convert into image and download as PDF but it appears the…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,330 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,241 questions
asked 2024-04-16T22:16:51.26+00:00
Donald Symmons 2,826 Reputation points
1 answer

How to Prevent login redirect to 'login.microsoftonline.com' when user accesses secure page.

Hello, I am trying to have any user redirected to my login page, which has a login for ASP.net 4.8 Identity, and a button for Microsoft AD login which sends them to their company login page. Currently it words great, but if they access a page directly…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,241 questions
Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
5,808 questions
asked 2024-04-16T20:06:27.7333333+00:00
Eric 0 Reputation points
commented 2024-04-16T22:09:32.77+00:00
Eric 0 Reputation points
0 answers

AddMutableTrack mediaType string value

I'm using Swift AVFoundation in MAUI to perform audio file manipulation. As part of that I need to use the AddMutableTrack method. Swift's documentation says to use: let compositionAudioTrack = composition.addMutableTrack(withMediaType:…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,827 questions
asked 2024-04-16T21:54:22.5166667+00:00
Kevin O'Brien 0 Reputation points
0 answers

How to secure web api in asp.net c# (offboarding and crossboarding users.)

Hi , How to secure web api in asp.net c# i want to secure the web api for offboarding and crossboarding users. Example-offboarding : we have created one api, so we want to secure those api. suppose if a employee has left the organization and he knows the…

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.
292 questions
asked 2024-04-16T18:28:32.6833333+00:00
Deshmukh, Ashish 1 Reputation point
edited a comment 2024-04-16T21:54:01.5833333+00:00
AgaveJoe 26,181 Reputation points
0 answers

Help fixing my .NET framework

I have a problem with my .NET Framework, whenever I run programs like Discord, it gives me this error message: Clicking "Yes" forwards me to the installation page, which after running the installer, I am told that the .NET framework already…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,543 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,117 questions
asked 2024-04-14T18:47:50.3633333+00:00
Jonathan Joseph 0 Reputation points
edited a comment 2024-04-16T20:36:18.8933333+00:00
Jonathan Joseph 0 Reputation points
1 answer

Transparent flyout items

I don't know why, but if I change my flyout to "Locked "in Desktop In cannot see anything my pages are there, and I can navigate but I cannot see. FlyoutBehavior="{OnIdiom Desktop=Locked, Phone=Flyout}" …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,827 questions
asked 2024-03-30T19:27:49.6733333+00:00
Eduardo Gomez Romero 185 Reputation points
commented 2024-04-16T20:11:36.27+00:00
Eduardo Gomez Romero 185 Reputation points
1 answer

FCM V1 notifications are not delivered from Azure Notification Hub

I am following this Microsoft Guide to migrate from GCM/FCM notifications to FCM v1. From the guide, I - Configured the Firebase Service Account Credentials in Azure Notification Hub Updaeted backend and app (Xamarin) to use FCM v1 platform during…

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.
256 questions
Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,287 questions
asked 2024-04-16T12:06:03.7033333+00:00
Hiran Desai 0 Reputation points
commented 2024-04-16T19:51:21.8833333+00:00
Kyle S 0 Reputation points
1 answer

Is there a way to minify or bundle or pack blazor wasm js?

Is there a way to minify or bundle or pack blazor wasm js?   For example all of these files that get downloaded, some of them are third party libs but I want a generic "pack any js" into one file library.    

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,373 questions
asked 2024-04-16T14:41:52.6333333+00:00
RSa 0 Reputation points
commented 2024-04-16T19:47:11.6766667+00:00
RSa 0 Reputation points
0 answers

What could be the potential impact of changing the registry value Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\v4.0.30319\SystemDefaultTlsVersions from 0 to 1. Could it have any negative impacts for other applications, tools, etc...?

User was unable to login to Power BI the login window was not appearing. But after changing the Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft.NETFramework\v4.0.30319\SystemDefaultTlsVersions registry value from 0 to 1 on my machine.  It seems to…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,330 questions
Microsoft Configuration Manager Updates
Microsoft Configuration Manager Updates
Microsoft Configuration Manager: An integrated solution for for managing large groups of personal computers and servers.Updates: Broadly released fixes addressing specific issue(s) or related bug(s). Updates may also include new or modified features (i.e. changing default behavior).
958 questions
asked 2024-04-16T19:34:12.0166667+00:00
Suraj Bowade (Accenture International Limite) 0 Reputation points Microsoft Vendor
1 answer

Issues with using EventToCommandBehavior in .Net Maui

The issue that I am having is that the Name property length is always 0 no matter how many characters I type in the Entry Control. The TextChanged event is firing because when I type a character execution breaks at the NameChanged RelayCommand, but again…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,827 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,180 questions
asked 2024-04-16T19:06:12.9066667+00:00
Tom Meier 60 Reputation points
commented 2024-04-16T19:32:48.15+00:00
Tom Meier 60 Reputation points
1 answer

Cannot access a disposed object when Upload file in Background Service

This is the error I am facing: Error occurred executing workItem. System.ObjectDisposedException: Cannot access a disposed object. Object name: 'System.String'. at…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,132 questions
asked 2024-04-16T12:52:22.7866667+00:00
Hoài Nam Nguyễn 21 Reputation points
answered 2024-04-16T17:57:00.22+00:00
Bruce (SqlWork.com) 54,626 Reputation points
0 answers

How to debug and fix 'Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR)' error on MAUI Android app

I have an Android app published in 'open testing' in Play store. And I am seeing 2% crash rate with this error. I have got the logcat file for 2 crashes, but not able to figure out any source/reason for crash. I am really looking for some help to make…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,330 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,827 questions
asked 2024-04-16T17:45:30.3666667+00:00
ac-lap 71 Reputation points
commented 2024-04-16T17:49:10.7433333+00:00
ac-lap 71 Reputation points
1 answer

Selection Rectangle not moving along with datagrid content during scroll.

I am attempting to replicate the selection behavior of Windows File Explorer within a WPF DataGrid. Specifically, I aim to implement a selection rectangle that mimics the functionality of File Explorer's selection mechanism. Currently, I have created an…

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,663 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,180 questions
asked 2024-04-11T05:08:56.16+00:00
Amit 0 Reputation points
edited a comment 2024-04-16T17:32:50.41+00:00
Amit 0 Reputation points
0 answers

.Net 6 Ubuntu jammy 22.04 base image upgrade. GSSAPI NTLM error

We are planning to upgrade from .Net 6 to .Net 8 version. To prepare for that upgrade we first upgraded from ubuntu 20.04 to ubuntu 22.04. We target ubuntu 22.04 version jammy tag with amd64 architecture. This is our base image in the Docker file and the…

Azure Container Instances
Azure Container Instances
An Azure service that provides customers with a serverless container experience.
633 questions
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,065 questions
Azure VMware Solution
Azure VMware Solution
An Azure service that runs native VMware workloads on Azure.
313 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,132 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,241 questions
asked 2024-04-16T14:00:09.06+00:00
Saravanakumar Balachandran 40 Reputation points
commented 2024-04-16T17:08:27.02+00:00
Saravanakumar Balachandran 40 Reputation points
1 answer One of the answers was accepted by the question author.

How can pass from Datatable Data To Controller IActionResult

I want to insert some data from my datatable into another table. The checked data in my datatable is the result of the controller's action through I ajax I want to send array as parameter. Thanks in advance for your help. var table =…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,132 questions
asked 2024-04-16T06:59:10.3266667+00:00
jewel 681 Reputation points
accepted 2024-04-16T16:45:54.6566667+00:00
jewel 681 Reputation points
0 answers

Moving xamarin.ios to new SKD style issues

I am trying to move my xamarin.ios project to the new SDK style as MS is no longer supporting the previous methods. I am following the steps at https://learn.microsoft.com/en-us/dotnet/maui/migration/?view=net-maui-8.0 But I get multiple…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,827 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,180 questions
asked 2024-04-15T17:54:17.71+00:00
Phunction 201 Reputation points
commented 2024-04-16T16:43:13.6633333+00:00
Rob Caplan - MSFT 5,407 Reputation points Microsoft Employee
1 answer

How to exit from this function

Hi, How to exit from : public async Task Execute(IJobExecutionContext context) { return; }

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,330 questions
asked 2024-04-16T12:19:39.4666667+00:00
דני שטרית 2,666 Reputation points
commented 2024-04-16T16:03:24.54+00:00
דני שטרית 2,666 Reputation points
1 answer

after installation of VS2022 community, i have create a new MVC core project but after creation project is not loading under solution

after installation, i have create a new MVC core project but after creation project is not loading under solution i have tried with repair, modify and also with new instillation but no luck

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,132 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,566 questions
asked 2024-04-16T14:51:34.0333333+00:00
Shankarachary Pendota 0 Reputation points
answered 2024-04-16T15:44:23.7133333+00:00
AgaveJoe 26,181 Reputation points
1 answer One of the answers was accepted by the question author.

iOS Splashscreen not showing up

I am upgrading a Xamarin.Forms project to MAUI. I have a splash.png image in the Resources\Splash folder. It is 414x720 in size. I have the correct entries in the project file as shown on this…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,827 questions
asked 2024-04-15T21:54:03+00:00
Tony Pitman 40 Reputation points
accepted 2024-04-16T15:06:37.8566667+00:00
Tony Pitman 40 Reputation points
1 answer One of the answers was accepted by the question author.

Could not load file or assembly "System.Runtime" on Windows Server

I migrated a WPF project from .NET Framework to .NET 6 which builds fine on my local system (windows 11). However when I moved forward to Azure pipeline, we got this error and it can be replicated on a Windows Server 2022 VM. There are multiple .NET…

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,663 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,058 questions
asked 2024-04-12T21:44:36.36+00:00
zhangjinzhou 20 Reputation points
accepted 2024-04-16T15:02:40.2+00:00
zhangjinzhou 20 Reputation points