23,730 questions with .NET-related tags

Sort by: Updated
0 answers

How can i get current user groups from Azure AD using claims in dotnet core?

I have a dotnet core web application and this app authorisation is working based on azure AD. Question: How can i get all the groups name related to login user? do i have to make any changes in my azure app? I have already added this setting in…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,327 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,131 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,795 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,329 questions
asked 2024-04-16T09:54:17.1733333+00:00
Tomar, Abhishek 6 Reputation points
edited the question 2024-04-16T14:04:44.11+00:00
GitaraniSharma-MSFT 46,761 Reputation points Microsoft Employee
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.
312 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,131 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,239 questions
asked 2024-04-16T14:00:09.06+00:00
Saravanakumar Balachandran 20 Reputation points
1 answer One of the answers was accepted by the question author.

Docker changes for Building .Net 8 application targeting Ubuntu 20.0.4 for amd64

Hi, We are upgrading from .Net 6 to .Net 8. I am trying to update the docker file for building the .Net application and specify .Net 8 version and target Ubuntu 20.0.4 version with amd64 architecture. Here is the code snippet at the high level FROM…

Azure Container Instances
Azure Container Instances
An Azure service that provides customers with a serverless container experience.
633 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,131 questions
asked 2023-12-19T21:43:34.1333333+00:00
Saravanakumar Balachandran 20 Reputation points
accepted 2024-04-16T13:49:52.09+00:00
Saravanakumar Balachandran 20 Reputation points
2 answers

Xamarin navigate to page throws "Object reference not set to an instance of an object."

I'm trying to navigate and pass data to an edit page when I select a row. I select a row in the checklistpage and what to pass that rows data to the treeinfopage. (has two points of entry 1 from menu and 1 from ChecklistPage) the page structures are as…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,288 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,564 questions
asked 2024-04-10T23:23:39.3666667+00:00
tim 40 Reputation points
answered 2024-04-16T13:18:44.06+00:00
Emma Jackson 0 Reputation points
1 answer

Trying to figure out why ocx file wont load form.

Program is able to run perfectly fine, but when trying to edit the form you get: Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))Class not…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,817 questions
asked 2024-04-15T19:15:47.7333333+00:00
Zach M 0 Reputation points
commented 2024-04-16T13:11:43.3+00:00
RLWA32 39,916 Reputation points
1 answer

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,131 questions
asked 2024-04-16T06:59:10.3266667+00:00
jewel 681 Reputation points
edited an answer 2024-04-16T13:05:30.2466667+00:00
Brando Zhang-MSFT 2,716 Reputation points Microsoft Vendor
2 answers

I am having a problem with WPF text box , its not allowing record space when pressing space bar on key board

When adding some text on text box in a wpf application its not arecording the space. it's only allowing it if i type the text as one string and use the back keys to go back to to where i want to record the space. Not sure what is the cause and solution…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,327 questions
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
asked 2024-04-15T13:52:54.78+00:00
Sgcino Ngema 0 Reputation points
commented 2024-04-16T12:58:03.65+00:00
Viorel 111.5K Reputation points
0 answers

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,131 questions
asked 2024-04-16T12:52:22.7866667+00:00
Hoài Nam Nguyễn 21 Reputation points
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,327 questions
asked 2024-04-16T12:19:39.4666667+00:00
דני שטרית 2,666 Reputation points
edited an answer 2024-04-16T12:47:59.5733333+00:00
Viorel 111.5K Reputation points
1 answer

Multiple forms with common buttons

I need to create multiple winforms in an application with two buttons previous and next. When I click on the next button in a form the next form should open up. Similarly when I click on previous button previous form should open up. I don't want to…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,817 questions
asked 2024-04-16T11:10:28.12+00:00
Prash 21 Reputation points
commented 2024-04-16T12:34:24.77+00:00
Prash 21 Reputation points
0 answers

how to check user data

Hello In asp.net textbox if user enter something like this with special charater i need to show alert check data For example APPLE /45 it has auto correct like this APPLE /45 MFLOW +/ CURRENT it has to auto corrrect like this MFLOW / CURRENT HELLO…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,239 questions
asked 2024-04-16T12:33:55.6866667+00:00
RAVI 896 Reputation points
0 answers

Edit directly in Grid on WEB Page in Razor

I have a table that I populate in Razor pages using stored procedures. I populate table in a loop on the Razor pages. I want to put a button on the grid and when you click on the button you can edit the values directly in the Grid and Save it back to the…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,131 questions
asked 2024-04-15T17:43:07.4333333+00:00
Joseph Kashishian 20 Reputation points
commented 2024-04-16T12:18:22.62+00:00
SurferOnWww 1,906 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,288 questions
asked 2024-04-16T12:06:03.7033333+00:00
Hiran Desai 0 Reputation points
commented 2024-04-16T12:06:46.36+00:00
Hiran Desai 0 Reputation points
0 answers

How to render a razor page to another razorpage based on its conditions to login

Blazor syntax - @if (IsPhoneNumberPresent) { <RegistrationForm LoginModel="new OtpRegisterVm { Username = LoginPhoneNumber, CountryCode = CountryCode}" /> } else { <RegistrationForm /> } Razor syntax- <div class="px-6…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,131 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,239 questions
asked 2024-04-16T05:30:39.0866667+00:00
Surya Chandra Mohan 0 Reputation points
edited the question 2024-04-16T10:38:36.79+00:00
Surya Chandra Mohan 0 Reputation points
1 answer

How to implement layered architecture?

Hello I started working on layered architecture to write some more professional code in C#. As a result of research on the internet, I saw that each person implements layered architecture differently. This caused confusion. I use the MVVM pattern in my…

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,178 questions
asked 2024-04-10T20:42:05.4866667+00:00
fatih uyanık 80 Reputation points
commented 2024-04-16T10:23:36.7833333+00:00
fatih uyanık 80 Reputation points
0 answers

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,327 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,372 questions
asked 2024-04-15T17:46:24.84+00:00
Fin Watling (student) 0 Reputation points
edited a comment 2024-04-16T10:17:46.2666667+00:00
AgaveJoe 26,181 Reputation points
0 answers

need to render a page to another through loginform

Register.cshtml @page "/register" @using FaceAdminWebApp.ViewModels @model FaceAdminWebApp.Pages.Auth.RegisterModel @{ ViewData["Title"] = "Register"; } <h1>Register</h1> @if (Model.IsPhoneNumberPresent) { …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,131 questions
asked 2024-04-16T10:09:07.4733333+00:00
Nandini S 20 Reputation points
2 answers

how to render razor page to another based on provide logic to login

<MudPaper Class="px-6 pb-8 pt-3 rounded-t-0"> @if (IsPhoneNumberPresent) { <RegistrationForm LoginModel="@(new OtpRegisterVm { Username = LoginPhoneNumber, CountryCode = CountryCode })" /> } else { …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,131 questions
asked 2024-04-16T05:14:18.7833333+00:00
Nandini S 20 Reputation points
commented 2024-04-16T10:07:55.9866667+00:00
Brando Zhang-MSFT 2,716 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Maui app crach

Hi, App fall after runing one week, what is the reason ? Fault offset: 0x00000000000fc1b9 Faulting process id: 0xf34 Faulting application start time: 0x01da8671c6d536eb Faulting application path:…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,823 questions
asked 2024-04-10T10:21:06.85+00:00
דני שטרית 2,666 Reputation points
accepted 2024-04-16T10:05:22.3633333+00:00
דני שטרית 2,666 Reputation points
3 answers

When running the [await SecureStorage. SetAsync] command in the MAUI IOS simulator, an error is reported: Error adding record: MissingEntity

An error is reported when running the [await SecureStorage. SetAsync] command in the MAUI IOS simulator. The error is [Error adding record: MissingEntitlement]. Is this not a permission in IOS? How should it be set?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,823 questions
asked 2022-10-21T03:09:00.747+00:00
hm w 11 Reputation points
answered 2024-04-16T09:53:14.43+00:00
Thabo mashaba 0 Reputation points