4,132 questions with ASP.NET Core tags

Sort by: Updated
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,565 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
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,132 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,797 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,333 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.
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,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,132 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
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,132 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
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,132 questions
asked 2024-04-16T12:52:22.7866667+00:00
Hoài Nam Nguyễn 21 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,132 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

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,132 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
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,132 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,132 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.

C# ASP.NET MVC: develop app with running tasks and ASP.NET MVC web UI to control it

There's a url from which I need to run api get data in JSON format and store to MS-Sql Server. This project will run mostly on server(s). We also need an application to provide an interface so that whenever needed user can select which data to be stored…

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,239 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,179 questions
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.
291 questions
asked 2024-04-13T10:07:08.52+00:00
RASHMI GUPTA 20 Reputation points
accepted 2024-04-16T07:21:19.3+00:00
RASHMI GUPTA 20 Reputation points
0 answers

What is the max timeout for an API HTTP request in an Azure App Service Web App?

I have a NET 6 API deployed in a Web App in an Linux App Service plan with a P0v3 pricing plan. I would like to know the maximum timeout of a HTTP response because I have an endpoint whose execution time is currently of 20 minutes and would like to know…

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
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,797 questions
asked 2024-04-15T16:29:48.36+00:00
Armando Cons Robles 0 Reputation points
commented 2024-04-16T01:40:49.87+00:00
Tiny Wang-MSFT 1,571 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

missing -f flag that indicates the name of the Dockerfile to use

Missing -f flag in example that indicates the name of the Dockerfile to use for "Customize a Docker image to run your own web app" --> https://learn.microsoft.com/en-us/training/modules/intro-to-containers/4-create-custom-docker-image

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-15T18:20:51.85+00:00
Chad Sellers 0 Reputation points
accepted 2024-04-15T20:24:28.61+00:00
Chad Sellers 0 Reputation points
0 answers

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

We are planning to upgrade our .Net core MVC application from .Net 6 to .Net 8 version. To prepare for that upgrade we first upgraded from ubuntu 20.04 to ubuntu 22.04. This is our base image in the Docker file and the following line updates our package…

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,239 questions
asked 2024-04-15T19:25:17.3266667+00:00
Saravanakumar Balachandran 20 Reputation points
1 answer One of the answers was accepted by the question author.

Create Azure Key Vault via c# with RBAC.

Hi, I am using below code to create Azure Key vault and below is my code. Where azure is an object of IAzure. This code is working fine. But when I am visiting this vault in Azure I can see "Permission" Model within "Acces…

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,098 questions
.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,132 questions
asked 2024-04-10T06:52:54.9233333+00:00
ASR 671 Reputation points
accepted 2024-04-15T17:09:55.2266667+00:00
ASR 671 Reputation points
1 answer

Why does daemon app require user sign-in in API service principal?

I am following the code sample here: https://github.com/Azure-Samples/active-directory-dotnetcore-daemon-v2/tree/master/2-Call-OwnApi#register-the-client-app-daemon-console I am not using the sample code API, instead I have a simple test API. Both API…

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-15T14:32:33.3266667+00:00
Dev 9 76 Reputation points
edited the question 2024-04-15T16:08:17.6666667+00:00
Dev 9 76 Reputation points
0 answers

RDLC reports on .NET Core 8

Hi at all, I'm using a rdlc report inside a .net core 8 app but i'm getting this error {"An error occurred during local report processing.;The definition of the report 'report path inside the project' is invalid.\r\nAn unexpected error occurred 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,132 questions
asked 2024-04-15T08:50:57.27+00:00
Marco 0 Reputation points
commented 2024-04-15T10:13:22.3833333+00:00
Fred Gates 0 Reputation points
1 answer

MSBuild 16.4 MSB3644 Error .NET 8 Deployment Center Sync

I have 3 API projects repo'd in devops and hosted on windows 2016 servers (App Services) that were using the app service continuous deployment sync functionality. So far, everyday i have deployed small code changes to all three environments. One by one…

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
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,797 questions
asked 2024-04-11T12:52:50.5866667+00:00
Ables, Bradley 15 Reputation points
commented 2024-04-15T06:15:14.7133333+00:00
ANKIT THAKUR 5 Reputation points
0 answers

How to get changes from repo remote to local on bitbucket git ?

I have two branches first branch beforefinal and second branch name is Final and i need to  make merge and differences from Final branch to beforefinal branch local on my pc  so How to do that please  my project worked on asp.net core 8 and I worked on…

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 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.
291 questions
asked 2024-04-12T20:10:56.9866667+00:00
Ahmed Salah 0 Reputation points
commented 2024-04-15T03:12:05.3266667+00:00
Ping Ni-MSFT 2,085 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

putting trim statement in LINQ

I have the employee numbers in the database starting stored this way EmployeeNumber E123456 E999999 E666666 E111111 I want to write a LINQ statement to match the database EmployeeNumber with employeeId that is passed from web. I wrote the LINQ like…

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
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,179 questions
asked 2024-04-12T01:07:44.42+00:00
Anjali Agarwal 1,366 Reputation points
accepted 2024-04-12T21:48:15.36+00:00
Anjali Agarwal 1,366 Reputation points