24,029 questions with .NET-related tags

Sort by: Updated
1 answer One of the answers was accepted by the question author.

How to connect different Azure Id with Visual Studio 2022 Id

Can other people connect and use it with one ID(Tenant ID or Subscription ID, ...)? ( For Test Purpose ) If so, how can this be done? Thank you.

Azure Key Vault
Azure Key Vault
An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
1,129 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,199 questions
asked 2024-05-02T08:22:12.4066667+00:00
KHSong 20 Reputation points
commented 2024-05-08T01:58:50.5666667+00:00
KHSong 20 Reputation points
0 answers

Shadow Offset issues in .Net Maui

Hello, I am following this official documentation:"https://learn.microsoft.com/en-us/dotnet/maui/user-interface/shadow?view=net-maui-8.0" and it is working fine. But, I am facing one issues, when I try to set y-offset value to negative…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,908 questions
asked 2024-05-07T11:34:24.3033333+00:00
Haider Ali Faizi 80 Reputation points
commented 2024-05-08T01:32:30.57+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,661 Reputation points Microsoft Vendor
1 answer

why url converts https:// instead of http

Hello We have one domain name for example www.abcd.com i shared this link to our team via whats app when they click it automtically converting https:// how to solve so that the link can be open in http only

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,282 questions
asked 2024-05-06T10:47:19.84+00:00
RAVI 916 Reputation points
edited a comment 2024-05-08T01:27:29.2033333+00:00
XuDong Peng-MSFT 10,101 Reputation points Microsoft Vendor
2 answers

Where Can I Find the Remoted iOS Simulator for Windows PC?

Where can I find the Remoted iOS Simulator for Windows PC? Where in Microsoft Visual Studio 2022 should I find the Remoted iOS Simulator for Windows PC? Is it somewhere in a directory like “C:\Program Files\Microsoft Visual Studio\2022\Community?”

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,296 questions
asked 2024-05-06T08:53:53.8966667+00:00
R9I1 1 Reputation point
edited the question 2024-05-08T01:21:48.7833333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,551 Reputation points Microsoft Vendor
0 answers

ADFS Authentication Issue in .Net 8

I have an existing ASP.NET MVC application that relies on ADFS authentication. I'm currently upgrading it to .NET 8. As part of the upgrade process, I prioritized implementing the authentication functionality first. However, I'm encountering an issue…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,402 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,199 questions
Active Directory Federation Services
Active Directory Federation Services
An Active Directory technology that provides single-sign-on functionality by securely sharing digital identity and entitlement rights across security and enterprise boundaries.
1,198 questions
asked 2024-05-03T06:09:59.2233333+00:00
Vijayan, Neethu 0 Reputation points
edited a comment 2024-05-08T00:48:41.86+00:00
Vijayan, Neethu 0 Reputation points
1 answer

What NuGet package to I use for Microsoft.Office.Interop.Excel?

I maintain an old ASP.NET WebForms application, which is at .NET Framework level 4.5.2. The original developers incorporated an Excel report in this application. I'm trying to get the app to build using a GitHub Self-Hosted Runner running on one of our…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,282 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,519 questions
asked 2024-05-07T21:01:02.6533333+00:00
Falanga, Rod, DOH 80 Reputation points
edited the question 2024-05-08T00:46:10.7933333+00:00
Emi Zhang-MSFT 22,011 Reputation points Microsoft Vendor
2 answers

running asp.net intranet application on localhost asking for authentication

I have an intranet application written int ASP.net core, when I run this application on localhost, I get a pop window asking me to authenticate and once I enter my domain name\my username and password then it authenticates me and lets me run the…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,199 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,282 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,293 questions
asked 2024-05-06T23:53:29.4066667+00:00
Anjali Agarwal 1,386 Reputation points
commented 2024-05-08T00:33:05.18+00:00
SurferOnWww 1,916 Reputation points
2 answers

How to Create simple HTML/CSS project in Visual Studio 2022

I'm so used to creating simple HTML projects in 2019. How do I do the same thing in 2022? I don't want Core at all, just a project that will launch from a basic index.html. I can't even find a way to add an HTML file to an empty project. What's the best…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,402 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,282 questions
asked 2024-05-07T19:07:57.77+00:00
Coreysan 1,631 Reputation points
answered 2024-05-07T22:54:50.0966667+00:00
Albert Kallal 4,731 Reputation points
3 answers One of the answers was accepted by the question author.

Blazor Server: It is possible get Current Loged User In DbContext

Hello, I build blazor server multi tenant application and I wants to use HasQueryFilter in entity framework DbContext for predefined filter with TenantId. But I cannot get Current Loged User in DbContext. I inject to DB Context…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
696 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,399 questions
asked 2021-03-17T08:54:54.227+00:00
Jan Mucha 101 Reputation points
edited a comment 2024-05-07T22:50:36.6+00:00
Bruce (SqlWork.com) 56,846 Reputation points
0 answers

SQL Connectivity Issue From Cloud app to on-prem server

hi, I have deployed a .net core MVC app in azure app service as a webapp. I have to connect to a on-prem sql server to retrieve data. I have setup Azure relay/hybrid connection for the same. Also I have installed hybrid connection manager in on-prem…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,199 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,775 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,930 questions
asked 2024-05-07T10:38:07.05+00:00
Santhi Dhanuskodi 145 Reputation points
commented 2024-05-07T22:46:12.8266667+00:00
Grmacjon-MSFT 16,191 Reputation points
0 answers

Azure AD B2C returns 401 Unauthorized when accessing controller

I am building a Blazor WASM app, in .NET 8, which I intend to protect using Azure Active Directory B2C. I created an AAD B2C app registration, and exposed an API from it. Then I created another app registration to serve as a client, and gave it the…

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,399 questions
Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
5,911 questions
asked 2024-05-07T21:57:34.52+00:00
Lazar N 0 Reputation points
edited the question 2024-05-07T21:59:04.5+00:00
Lazar N 0 Reputation points
0 answers

.Net Maui ViewModel and MVVM

Currently I have a shell application with a Tabbed Page with several Content Page Views. Instead of using one big Model (Populated with Data from a Database) in my ViewModel for all these Content Page Views, what is the best practice to separate…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,908 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,293 questions
asked 2024-05-07T20:27:49.38+00:00
Tom Meier 80 Reputation points
edited the question 2024-05-07T20:59:13.8233333+00:00
Tom Meier 80 Reputation points
2 answers

Cannot create BindableProperty in my project

I have a code snippet to create BindableProperties, (not used often). When I use it I get an error with the accessors. It does not recognize the GetValue/SetValue with a The name 'SetValue' does not exist in the current context. So I took sample code…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,908 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,293 questions
asked 2024-05-07T20:41:44.6066667+00:00
Lloyd Sheen 1,386 Reputation points
answered 2024-05-07T20:50:40.1033333+00:00
Lloyd Sheen 1,386 Reputation points
1 answer

Access network folder and files from .NET Core application in IIS

Greetings, I have an application deployed in IIS with .NET Core 7 and SQL Server, I want to access a network path, write and read files within a folder in the path (\path\folder) What steps should I follow to achieve this?

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,199 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,775 questions
asked 2024-05-07T17:35:39.8066667+00:00
Juan A. Reyes Paulino 20 Reputation points
answered 2024-05-07T20:42:31.8533333+00:00
Bruce (SqlWork.com) 56,846 Reputation points
0 answers

need to Need to call the Microsoft GraphApi from the .net application and get the user details based on the email address

Hi, I have a below requirement. I need to call the microsoft GraphApi from the .net application and get the user details based on the email address he/she types in the textbox. In Azure portal - i have enabled (Any Microsoft Entra ID tenant -…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,402 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,677 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,282 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,293 questions
asked 2024-05-07T20:13:50.26+00:00
pk 5 Reputation points
0 answers

Azure Adb2c External IDP Authentication Browser Back Button Click redirects to External IDP Again

We have AD B2C Authentication with .NET 8 MVC Web Application. We configured Open Id Provider with Custom Policy in Adb2c. The authentication is working successfully. But the problem is, after the External IDP successful authentication, the provider…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,199 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,599 questions
asked 2024-05-07T09:47:53.4+00:00
Logesh Palani 1 Reputation point MVP
commented 2024-05-07T19:58:35.9766667+00:00
James Hamil 21,851 Reputation points Microsoft Employee
1 answer

Which is best web framework of the C#

I want to learning an web framework by C#. I have knowledge HTML, CSS and CSS other framework. Now which is better for me from ASP.NETCORE? The serial should be HTML CSS JS ----/--- ----/--- ----/---

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,199 questions
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.
6 questions
asked 2024-05-07T18:16:57.1633333+00:00
Shahid ullah 0 Reputation points
answered 2024-05-07T18:46:24.59+00:00
Michael Taylor 48,656 Reputation points
4 answers

saving the Identity token in the Aspnetusertokens table

Hi I created an Asp.net core 6 project and I added the Identity framework for authentication and authorization, I would like to add token management and while doing research I realized that Identity also manages the management of tokens because it…

Microsoft Identity Manager
Microsoft Identity Manager
A family of Microsoft products that manage a user's digital identity using identity synchronization, certificate management, and user provisioning.
617 questions
Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
696 questions
Microsoft Authenticator
Microsoft Authenticator
A Microsoft app for iOS and Android devices that enables authentication with two-factor verification, phone sign-in, and code generation.
5,550 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,199 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,293 questions
asked 2023-11-07T11:19:50.1566667+00:00
Marnelle M'BENGUET 20 Reputation points
edited a comment 2024-05-07T17:33:51.2333333+00:00
Bruce (SqlWork.com) 56,846 Reputation points
1 answer

ASP.NET Core web app with Microsoft SSO via Azure Microsoft Entra ID and not manage secrets - is it possible?

In the Azure Portal, I create a resource Microsoft Entra ID and then add an app registration. In the app registration I can specify redirect URIs for Microsoft logins (SSO) via "Authentication" for my .NET web app: Authentication button on side…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,199 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,599 questions
asked 2024-05-03T13:15:34.5066667+00:00
Shubash Chumber 0 Reputation points
commented 2024-05-07T17:19:31.6933333+00:00
Shubash Chumber 0 Reputation points
3 answers

How to pass values from a Razor page to an Asp.Net MVC controller

I am working on an Asp.Net Core MVC project. The identity was scaffolded and uses Razor pages. When the user enters the username and password, if they are valid, they will be redirected to an MVC controller where they have to answer a security question.…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,199 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,282 questions
asked 2024-05-07T02:32:23.82+00:00
Sherpa 161 Reputation points
commented 2024-05-07T16:57:05.75+00:00
Sherpa 161 Reputation points