23,755 questions with .NET-related tags

Sort by: Updated
2 answers

Azure B2C sign in page does not display company branding images on .NET clients only

We are using MSAL.NET with B2C to authenticate our users. We have a custom company logo and background image that we display when the user signs in to our application. In our Angular-based web portal, the sign in page displays correctly, but in our .NET…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,200 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,337 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,359 questions
asked 2024-04-12T16:26:31.89+00:00
Jordan Hariel 21 Reputation points
answered 2024-04-18T00:16:04.3866667+00:00
Marilee Turscak-MSFT 33,706 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

does razor pages support aot?

razor pages support AOT?

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,133 questions
asked 2024-04-17T15:36:34.7966667+00:00
mc 3,641 Reputation points
accepted 2024-04-18T00:04:00.0233333+00:00
mc 3,641 Reputation points
1 answer One of the answers was accepted by the question author.

Binding Errors in a Simple Project

I have carved out a simple project from a larger one to demonstrate the binding errors I am getting so the names I use might seem ... odd. The following is the ENTIRE project: 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,665 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,562 questions
asked 2024-04-16T22:49:29.3466667+00:00
RogerSchlueter-7899 1,176 Reputation points
edited a comment 2024-04-17T23:42:22.21+00:00
RogerSchlueter-7899 1,176 Reputation points
2 answers One of the answers was accepted by the question author.

How to mitigates Cross-Site Scripting (XSS) Attacks using msal-browser and msal-angular on production?

Implementing a login solution using the Microsoft Identity Provider with OpenID Connect (OIDC). Is it safe to use the msal-browser and msal-angular libraries in an Angular application on production? How can Cross-Site Scripting (XSS) Attacks be…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,337 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,133 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,240 questions
asked 2023-12-20T14:46:41.1133333+00:00
Khajo Elias 20 Reputation points
answered 2024-04-17T22:42:51.8566667+00:00
Bruce (SqlWork.com) 54,711 Reputation points
1 answer

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
answered 2024-04-17T21:27:11.7+00:00
Bruce (SqlWork.com) 54,711 Reputation points
1 answer

Compatibility Issues with SQLClient Libraries After Migrating to .NET 6 from .NET Framework 4.8

I've encountered issues with Microsoft sqlclient packages after upgrading a set of C# projects from .NET Framework 4.8 to .NET 6.0. The setup consists of a primary C# calculator application, a C# bridge for external integration, and a C++/CLI wrapper.…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,337 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
321 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,192 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,516 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,118 questions
asked 2024-04-17T19:00:39.4733333+00:00
Nova, Sirene R 0 Reputation points
answered 2024-04-17T20:42:18.16+00:00
Bruce (SqlWork.com) 54,711 Reputation points
1 answer One of the answers was accepted by the question author.

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,337 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,240 questions
asked 2024-04-16T22:16:51.26+00:00
Donald Symmons 2,826 Reputation points
accepted 2024-04-17T20:39:59.4033333+00:00
Donald Symmons 2,826 Reputation points
2 answers

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,832 questions
asked 2024-03-30T19:27:49.6733333+00:00
Eduardo Gomez Romero 185 Reputation points
commented 2024-04-17T18:30:21.48+00:00
Eduardo Gomez Romero 185 Reputation points
1 answer

Deployment problem - error MSB4186: Invalid static method invocation syntax

I've got a .net core 8 app being deployed to a windows box and I'm getting the following errors no matter what I do after the pipeline completes successfully: MSB4186: Invalid static method invocation syntax:…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,337 questions
asked 2024-04-11T14:05:02.25+00:00
Michael B 10 Reputation points
answered 2024-04-17T18:24:35.12+00:00
Robert John 0 Reputation points
0 answers

Compatibility Issues with DataClient Libraries After Migrating to .NET 6 from .NET Framework 4.8

I'm reaching out for insights into an issue I've encountered after upgrading a set of C# projects from .NET Framework 4.8 to .NET 6.0. The setup consists of a primary C# calculator application, a C# bridge for external integration, and a C++/CLI wrapper.…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,337 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,619 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
321 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,192 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,516 questions
asked 2024-04-17T18:21:32.6033333+00:00
Nova, Sirene R 0 Reputation points
edited the question 2024-04-17T18:23:32.6333333+00:00
Nova, Sirene R 0 Reputation points
1 answer

Getting the following error when deploying a Blazor Server App using Deployment Center: Azure Repos

error MSB3644: The reference assemblies for .NETFramework,Version=v8.0 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. My application runs fine locally and was…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,337 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,373 questions
asked 2024-04-15T17:46:24.84+00:00
Fin Watling (student) 0 Reputation points
answered 2024-04-17T18:07:57.8366667+00:00
Fin Watling (student) 0 Reputation points
0 answers

Versioned Artifacts for .NET Framework and .NET Core application(s)

Hi Microsoft, I am trying to create versioned artifacts for dotnet applications (.NET Framework & .NET Core) using msbuild and dotnet CLI commands. I ran it for msbuild while implementing CI/CD pipeline using GitHub Actions following Microsoft's…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,133 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,240 questions
asked 2024-04-17T17:41:02.4466667+00:00
Arjun Goel 0 Reputation points
edited the question 2024-04-17T17:41:38.6033333+00:00
Arjun Goel 0 Reputation points
1 answer

Community toolkit install is not working

I have had community toolkit installed on this project for quite a while and now it gives the following error when I am trying to update: Severity Code Description Project File Line Suppression State Error NU1605 Warning As Error: Detected package…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,832 questions
asked 2024-04-17T13:38:10.5+00:00
Lloyd Sheen 1,351 Reputation points
commented 2024-04-17T17:32:02.1633333+00:00
Lloyd Sheen 1,351 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…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,133 questions
asked 2024-04-16T14:00:09.06+00:00
Saravanakumar Balachandran 40 Reputation points
edited the question 2024-04-17T17:25:43.53+00:00
deherman-MSFT 33,056 Reputation points Microsoft Employee
1 answer

How to update entire MAUI workload to latest? (8.0.20)

How do I update my entire .NET MAUI workload to the latest stable version 8.0.20? The latest version can be found here: https://github.com/dotnet/maui/releases/tag/8.0.20 When i run sudo dotnet workload update then it doesn't update to the latest version…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,832 questions
asked 2024-04-16T09:48:41.18+00:00
Mikkel Bech 0 Reputation points
edited the question 2024-04-17T17:24:13.0033333+00:00
Rob Caplan - MSFT 5,412 Reputation points Microsoft Employee
4 answers

How to fix Error DEP0700 Maui .NET7.0

Can someone please help sort this deployment error once updated to .NET7.0 Error        DEP0700: Registration of the app failed. [0x80073CF6] AppxManifest.xml(33,27): error 0x80070003: Cannot install or update package chhlvl.designIT7_xzp7k71ajzmr6…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,832 questions
asked 2023-02-08T00:06:19.36+00:00
Anjalee Gamage 10 Reputation points
commented 2024-04-17T17:19:53.22+00:00
Ibrahima Sow 0 Reputation points
1 answer

How to upload file and view those file in modal popup using gridview

I need help in gridview. i am using normal add, edit and delete functionalities in gridview. This is working fine. Initially i am saving the records using textbox controls and save button. This contains including file upload also. After saving the…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,240 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,192 questions
asked 2024-04-17T14:56:04.6833333+00:00
Gani_tpt 1,506 Reputation points
commented 2024-04-17T16:01:20.89+00:00
Michael Taylor 47,626 Reputation points
0 answers

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 15 Reputation points
commented 2024-04-17T15:46:42.96+00:00
Hiran Desai 15 Reputation points
1 answer

.Net-6 docker image from Microsoft Container Registry has vulnerabilities

Hello, I am trying to pull .NET docker images from Microsoft Container Registry and while scanning these images I am seeing below vulnerabilities. Does any body have any suggestion to fix this please? FROM mcr.microsoft.com/dotnet/sdk:6.0-alpine FROM…

Azure Container Registry
Azure Container Registry
An Azure service that provides a registry of Docker and Open Container Initiative images.
382 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,337 questions
asked 2024-04-17T09:59:50.9633333+00:00
@IamCoder 391 Reputation points
answered 2024-04-17T15:38:45.7066667+00:00
kobulloc-MSFT 23,181 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

Custom Namespaces and Prefix for XML file

I have a structure in which I fill in data and I want to save it as an XML file. How can I set Namespaces and Prefix so as to obtain an XML file with the structure as in the example below? Thank you! desired XML structure: <?xml…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,337 questions
asked 2024-04-17T11:33:24.13+00:00
TRAIAN MACAVEIU 26 Reputation points
accepted 2024-04-17T15:04:11.36+00:00
TRAIAN MACAVEIU 26 Reputation points