4,176 questions with ASP.NET Core tags

Sort by: Updated
3 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,176 questions
asked 2024-04-15T17:43:07.4333333+00:00
Joseph Kashishian 20 Reputation points
answered 2024-04-17T10:08:54.5266667+00:00
AgaveJoe 26,136 Reputation points
1 answer One of the answers was accepted by the question author.

How to ignore ETag checking and fix this error

I read from and write to blob content in Azure blob storage. File is being changed (new content is getting appended to the file) at the same time while it is being downloaded. I get error in the below stream.Read() line. Which I believe is because of…

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,431 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,176 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,394 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,264 questions
asked 2023-01-18T12:50:17.69+00:00
Sarah 161 Reputation points
commented 2024-04-17T09:46:38.9733333+00:00
Gayatri Gupta 0 Reputation points
3 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,176 questions
asked 2024-04-16T05:14:18.7833333+00:00
Nandini S 20 Reputation points
answered 2024-04-17T06:42:33.4766667+00:00
Nandini S 20 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,385 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,176 questions
asked 2024-04-15T08:50:57.27+00:00
Marco 0 Reputation points
edited a comment 2024-04-17T04:44:57.71+00:00
Fred Gates 5 Reputation points
1 answer One of the answers was accepted by the question author.

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,176 questions
asked 2024-04-16T12:52:22.7866667+00:00
Hoài Nam Nguyễn 41 Reputation points
accepted 2024-04-17T01:00:26.5+00:00
Hoài Nam Nguyễn 41 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,176 questions
asked 2024-04-16T06:59:10.3266667+00:00
jewel 801 Reputation points
accepted 2024-04-16T16:45:54.6566667+00:00
jewel 801 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.
639 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,176 questions
asked 2023-12-19T21:43:34.1333333+00:00
Saravanakumar Balachandran 40 Reputation points
accepted 2024-04-16T13:49:52.09+00:00
Saravanakumar Balachandran 40 Reputation points
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,176 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,263 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,264 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.
297 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
1 answer

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,176 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,900 questions
asked 2024-04-15T16:29:48.36+00:00
Armando Cons Robles 0 Reputation points
answered 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,176 questions
asked 2024-04-15T18:20:51.85+00:00
Chad Sellers 20 Reputation points
accepted 2024-04-15T20:24:28.61+00:00
Chad Sellers 20 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,176 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,263 questions
asked 2024-04-15T19:25:17.3266667+00:00
Saravanakumar Balachandran 40 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,119 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,385 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,176 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
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,176 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.
297 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,165 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,176 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,264 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
0 answers

Why DataReader skip the 1st row?

Hi All, I use DataReader as below, why the 1st row is skipped?, what I have missed? using (NpgsqlConnection conn = new NpgsqlConnection(Models.AppSettings.PG_SQL.Connection_String)) { try { string sql = "select c.pid, c.iccid,…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,176 questions
asked 2024-04-12T14:02:19.3466667+00:00
Winanjaya Amijoyo 0 Reputation points
commented 2024-04-12T14:37:09.4366667+00:00
Viorel 112.2K Reputation points
2 answers

asp.net core Button -Post method in Controller

Hi, I have asp.net core web app with index.cshtml. This has only 2 buttons 'Startservice' and 'stopservice'. I have homecontroller with httppost methods. When I click on these buttons, it never calls these methods, instead calling another method(Index()…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,176 questions
asked 2024-04-11T16:42:45.8266667+00:00
Santhi Dhanuskodi 145 Reputation points
commented 2024-04-12T11:44:58.3733333+00:00
Santhi Dhanuskodi 145 Reputation points
1 answer

In .net 8 blazor webapp i am using bootstrap tab to show the component data but when i try to switch to another tab instead of showing tab content it navigate me to Home page how i can fix this.

this is my main page component where i have other tabs links below are the tab content By default company tab is active but when try to switch factory or any other tab it tries to navigate and send me back to home page. How i can fix this please…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,176 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,394 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,264 questions
asked 2024-04-05T06:49:43.5833333+00:00
Kuldeep Y 36 Reputation points
commented 2024-04-12T09:44:16.3666667+00:00
Brando Zhang-MSFT 2,956 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How can Checked Child table of Data table

Clicking on a row in my datatable opens a child table. Checked boxes are attached to columns of tables and rows of child tables. I want - when clicking on table column checkbox('className': 'dt-body-center') each row(class="chk_isChecked") of…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,176 questions
asked 2024-04-10T16:45:00.6566667+00:00
jewel 801 Reputation points
commented 2024-04-12T07:56:54.8566667+00:00
Ping Ni-MSFT 2,165 Reputation points Microsoft Vendor
3 answers

Which framework will support for next 20 years?

Hi experts! can you describe the difference between Blazor vs Razor. Which one is better for long term enterprise level application? How long Blazor will support? what the future of Blazor for enterprise level projects? Please mentions anything…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,176 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,394 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,263 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,264 questions
asked 2023-11-01T17:52:25.7933333+00:00
Engr. Mozammal Hossain 5 Reputation points
commented 2024-04-12T06:51:36.0733333+00:00
Teh Kok How 0 Reputation points
1 answer

I am using bootstrap tab in .net 8 blazor web app to render component.

@page "/QSSManagement" @using TCSManagement.Shared.Model @using TCSManagement.Shared.Model.QSSManagementModels @inject HttpClient Http @inject IJSRuntime _jsRuntime; @inject NavigationManager UriHelper @inject…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,176 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,394 questions
asked 2024-03-27T10:27:36.8166667+00:00
Kuldeep Y 36 Reputation points
edited a comment 2024-04-11T21:32:26.1633333+00:00
Bruce (SqlWork.com) 56,526 Reputation points