4,180 questions with ASP.NET Core tags

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

How to modify web api to return message not matched compare when excel compare return false ?

I work on asp.net core 2.2 i face issue I can't modify web api to display message "Not Matched Compare" when compare excel function return false (areIdentical == false) . web api below return physical file as zip file in case of compare excel…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,180 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,268 questions
asked 2022-04-01T23:15:56.227+00:00
ahmed salah 3,216 Reputation points
accepted 2022-04-04T12:28:23.94+00:00
ahmed salah 3,216 Reputation points
4 answers

Publish ASP.NET MVC Project with Local DB on Server not has SQL Server installed on it

I am developed ASP.NET MVC 5 Project, and I using local SQL Server database, I want to publish the Project on IIS Local server, But this IIS Local server do not have SQL Server, The SQL Server not installed in that local server Can I publish project on…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,180 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,263 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,747 questions
asked 2022-04-03T04:45:18.343+00:00
mostafa ahmed 21 Reputation points
answered 2022-04-04T09:07:39.737+00:00
Zhi Lv - MSFT 32,016 Reputation points Microsoft Vendor
3 answers

Do submit page, wait and only redirect page if Status = 'F'

Hi, I'm thinking to design page (Web Apps) with submit button do as following, User press submit button Wait for server processing if Status in table = 'F', then redirect the page This is my table design in SQL Server CREATE…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,180 questions
asked 2022-03-27T05:22:21.487+00:00
Jerry Lipan 916 Reputation points
answered 2022-04-04T07:07:53.91+00:00
SurferOnWww 1,911 Reputation points
4 answers

Docker external port

Hi, I have an asp.net core app (service) inside a docker container. I have a docker-compose.yaml that starts this container Port: 9010 --> 8070 (inside docker-compose) I use Consul for container registration and try to self-register my…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,180 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,268 questions
asked 2022-03-31T20:07:43.48+00:00
Wojciech Kusch 1 Reputation point
answered 2022-04-01T18:36:03.653+00:00
Wojciech Kusch 1 Reputation point
1 answer

Interacting with Outlook from an ASP.Net Core Blazor Web-site

I am converting an old Silverlight application into Asp.Net Core, using Blazor and Razor Pages. The old application is opening Outlook, and creating an email ready to send with a Subject, From etc, plus a series of attachments. It is creating an…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,180 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,395 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,268 questions
Outlook Management
Outlook Management
Outlook: A family of Microsoft email and calendar products.Management: The act or process of organizing, handling, directing or controlling something.
4,898 questions
asked 2022-04-01T14:48:37.883+00:00
Geoff Olding 1 Reputation point
answered 2022-04-01T15:03:54.133+00:00
Bruce (SqlWork.com) 56,531 Reputation points
5 answers

Missing code in MS VS 2022 ASP .NET core WebApp

Hi, I noticed, that new "MS VS 2022 ASP .NET core WebApp" has modified the "Program.cs" file: var builder = WebApplication.CreateBuilder(args); var app = builder.Build(); app.MapGet("/", () => "Hello…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,180 questions
asked 2022-03-31T09:30:08.74+00:00
JerryM 1,111 Reputation points
answered 2022-04-01T07:24:24.887+00:00
Zhi Lv - MSFT 32,016 Reputation points Microsoft Vendor
4 answers

internal server error 500 and file not downloaded although file creating on server ?

i work on application web api core 2.2 working with ui angular i design page download file file i need to download is create but can't download although i not get any exception error error i get ERROR HttpErrorResponse…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,180 questions
asked 2022-03-31T18:04:04.987+00:00
ahmed salah 3,216 Reputation points
answered 2022-04-01T04:14:59.873+00:00
SurferOnWww 1,911 Reputation points
2 answers

I caught huge queries in DB and can not find the source of that

I am actually just looking for opinions if someone had any similar experience rather than an exact solution of my problem. My project is Asp.net core 2.2 mvc project with abp framework, One of my customers has their own servers instead of cloud,…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
696 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,180 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,747 questions
asked 2022-03-31T13:32:59.037+00:00
Ali Özdede 1 Reputation point
commented 2022-04-01T02:39:11.057+00:00
Zhi Lv - MSFT 32,016 Reputation points Microsoft Vendor
3 answers One of the answers was accepted by the question author.

How to build an ASP.NET Core 6 website that also contains a WebAPI?

I'm new to ASP.NET Core 6, coming from a solid WebForms background. In my searches, I'm finding many results demonstrating how to build an ASP.NET Core 6 website, and likewise many demonstrating how to build an ASP.NET Core 6 WebAPI. But I'm not…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,180 questions
asked 2022-03-30T22:12:18.587+00:00
Jeff Bowman 101 Reputation points
accepted 2022-03-31T21:59:55.487+00:00
Jeff Bowman 101 Reputation points
2 answers One of the answers was accepted by the question author.

How can I get UserProfile name in C# code on Azure Windows server

Within a C# app I need to get the current user name for an Azure Windows VM (2019). I need the path for the current user, like - c:\Users\my_user_name\Desktop. Something similar to %userprofile% The following works in development on a Windows 10…

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,150 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,180 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,268 questions
asked 2022-03-31T07:41:58.377+00:00
Lou's World Inc 41 Reputation points
commented 2022-03-31T21:42:18.333+00:00
Bruce (SqlWork.com) 56,531 Reputation points
1 answer

The WebService published to Windows Server 2019 IIS cannot display traditional Chinese characters

We have a WebService published on Windows Server 2003 IIS and it works normally. We recently published it on Windows Server 2019 IIS. The characters in simplified Chinese are displayed normally, but some characters in traditional Chinese will be…

Internet Information Services
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,180 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,268 questions
asked 2022-03-25T10:44:30.883+00:00
Huifeng Li 1 Reputation point
answered 2022-03-31T14:18:58.093+00:00
Limitless Technology 39,361 Reputation points
1 answer One of the answers was accepted by the question author.

How to use List of a List in a View

I'm learning how to use views, and so far I can get the controller to build a list of Orders/OrderDetails for multiple customers, with the following classes: public class cls_ListOfViewModel { public List<cls_OrderViewModel>…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,180 questions
asked 2022-03-30T00:33:44.45+00:00
Coreysan 1,631 Reputation points
commented 2022-03-30T15:45:35.667+00:00
Coreysan 1,631 Reputation points
3 answers

WEB API with Entity Framework Core using the JOIN statement

Hi all, I have written a WEB API with Entity Framework that read form two tables using the JOIN statement. In order to obtain the wanted result, I have used vary solutions. The "Include" statement didn't work (I don't know why), so I have…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
696 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,180 questions
asked 2021-10-11T10:38:10.19+00:00
Igor Baldacci 41 Reputation points
commented 2022-03-30T14:05:07.197+00:00
Igor Baldacci 41 Reputation points
2 answers

Posting Data from .Net 5 MVC to WebApi

Hello everyone and thanks for the help in advance. I'm using .Net 5 to create a MVC web app that needs to post data to a remote server running .Net 5 WebApi. I'm going to proceed to ask multiple stupid questions, so please be patient. The data being…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,180 questions
asked 2022-03-26T02:05:20.773+00:00
Kmcnet 696 Reputation points
commented 2022-03-30T06:49:01.473+00:00
Zhi Lv - MSFT 32,016 Reputation points Microsoft Vendor
3 answers One of the answers was accepted by the question author.

Javascript library or framework to use in Razor Pages

Hi I'm not a big fan of SPAs I'm using razor pages most of the time and it has always been jquery, jquery ui and bootstrap. (Jquery is becoming obsolete or is it already?) are there any new javascript library and/or frameworks out there that I can use…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,180 questions
asked 2022-03-04T09:16:05.93+00:00
John Patrick S. Po 41 Reputation points
accepted 2022-03-30T00:39:17.983+00:00
John Patrick S. Po 41 Reputation points
2 answers One of the answers was accepted by the question author.

C# .net core - Nested Div with ID on button press load, but works on normal load. ViewComponent

I have a view component in my view and it works properly when its loaded one time. This view is part of a Slideshow so there are buttons on it. When the user clicks the next button it creates a duplicate outer div tag. Now with both of these divs…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,180 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,268 questions
asked 2022-03-28T16:35:57.263+00:00
Andrew Harkins 46 Reputation points
answered 2022-03-29T17:55:31.59+00:00
AgaveJoe 26,136 Reputation points
1 answer One of the answers was accepted by the question author.

Submit buttons are not working

After button "Submit C" click it is not directed to OnPostAsyncC and after button "Submit R" click it is not directed to OnPostAsyncR . Below is the code: @Anonymous @Anonymous Pro.Pages.PersonalPage.CreateNew …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,180 questions
asked 2022-03-29T13:01:33.07+00:00
S A 81 Reputation points
accepted 2022-03-29T15:16:12.023+00:00
S A 81 Reputation points
1 answer

About team development in vs

How to develop an asp.net core web app by team in visual studio 2019?

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,180 questions
asked 2022-03-28T02:05:01.757+00:00
李畋岷 76 Reputation points
commented 2022-03-29T15:13:32.357+00:00
Bruce (SqlWork.com) 56,531 Reputation points
3 answers

What is the migration guidelines to migrate .NET Core 2.1 apps to .NET 6?

Hello! I'm looking for some guidance on migrating .NET Core 2.1 applications to .NET 6(Preview). As .NET 6 is going to be a LTS, I would like to migrate it. Thanks, Siva

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,180 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,121 questions
asked 2021-09-17T15:18:19.993+00:00
Sivakumar 1 Reputation point
commented 2022-03-29T09:15:04.343+00:00
Nagendran, Arun Prakash 1 Reputation point
4 answers One of the answers was accepted by the question author.

.Net 6 and C# 10 on MacOS Monterey

Dear community, I want to learn C# and .Net 6 for backend development with ASP .Net 6 and frontend with Blazor. As database, I'm using MySQL and PostgreSQL. Also, in the future , mobile development with .Net MAUI. I'm using a MacBook Pro M1 with…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,180 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,268 questions
asked 2022-03-28T06:40:57.727+00:00
Claudiu Alex 141 Reputation points
commented 2022-03-29T09:01:15.423+00:00
Claudiu Alex 141 Reputation points