4,241 questions with ASP.NET Core tags

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

HTTP Error 404.2

I have a web application, when I deploy it to iis, I get the error message HTTP Error 404.2 - Not Found. The page you are requesting cannot be served because of the ISAPI and CGI Restriction list settings on the Web server. I searched and found…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,241 questions
asked 2020-12-14T17:30:27.74+00:00
aqedvv 21 Reputation points
accepted 2020-12-15T17:22:33.26+00:00
aqedvv 21 Reputation points
0 answers

Open an web api generated file in new tab

Hi all! I coded a Web Api wich generates and returns a pdf file, in Blazor Server web app. It works, I can write the controller url and the pdf file shows correcty. But I want to open it when the user clics a button. I think it wouldn't be hard,…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,241 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,421 questions
asked 2020-12-14T11:14:07.77+00:00
Francisco Rubio Delgado 1 Reputation point
commented 2020-12-15T07:44:21.713+00:00
Lex Li (Microsoft) 4,742 Reputation points Microsoft Employee
2 answers

SignalR 2 with VueJS

We are working on a VueJS application that needs to interact with a SignalR 2 application (jquery.signalR-2.2.0.min.js, .NET Framework). All the examples that I can see for adding SignalR to Vue are for the SignalR version for .NET Core. Is it possible…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,241 questions
asked 2020-11-30T18:39:01.753+00:00
gonzalt85 1 Reputation point
answered 2020-12-15T07:41:04.193+00:00
Lex Li (Microsoft) 4,742 Reputation points Microsoft Employee
2 answers

SQL Server login error when accessing SSRS web service from Asp.net core 3.1

My ASP.Net Core 3.1 App programmatically generates reports on SSRS. I've added a Connected Service reference to the SSRS web service in my app. The App basically builds RDL and sends the RDL over to the SSRS Service using the service reference. The…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,459 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,241 questions
SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
2,826 questions
asked 2020-11-27T23:27:56.333+00:00
Käzz 1 Reputation point
answered 2020-12-14T17:24:06.617+00:00
Duane Arnold 3,216 Reputation points
0 answers

How to deploy .net core service in Tomcat in windows

I'm new to Tomcat. And, i have a .net core version of service. And, i need to deploy it in Tomcat in windows. Is there any documentation or reference links are available? Thanks in advance.

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,241 questions
asked 2020-12-09T17:47:57.08+00:00
MANIKANDAN RAM 1 Reputation point
commented 2020-12-14T15:24:53.633+00:00
MANIKANDAN RAM 1 Reputation point
1 answer

Will Microsoft use ASP.NET ?

Iam a Asp.net developer i have a doubt that will microsoft uses ASP.NET MVC or not or any other asp.net versions.

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,241 questions
asked 2020-12-12T09:51:15.423+00:00
Narendra chinnu 1 Reputation point
answered 2020-12-12T14:49:50.497+00:00
Sardou Noureddine 241 Reputation points
0 answers

run WSL fron ASP.net

create asp.net form project try run wsl from asp runat="server" get error WSL Windows Subsystem For Linux has no Installed Run CMD and run WSL.exe all ok if call c:\windows\sysnative\wsl.exe from asp.nen ist work but only on…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,241 questions
asked 2020-12-08T16:02:57.783+00:00
commented 2020-12-12T07:19:49.057+00:00
Lex Li (Microsoft) 4,742 Reputation points Microsoft Employee
1 answer

Why am I getting 'Unable to find package Microsoft.AspNetCore.App.Ref.' error?

I am running Visual Studio 2019 and trying to develop a .NET Core 3,1 ASP MVC application. I was working just fine yesterday but this morning I opened my project and began getting 'Unable to find package Microsoft.AspNetCore.App.Ref.' error and Unable to…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,241 questions
asked 2020-12-09T23:15:35.97+00:00
Richard Wheeler 1 Reputation point
answered 2020-12-11T09:38:19.49+00:00
Marcell Nagy 1 Reputation point
1 answer

memory issues in dot net 2.1 and 2.0

Hi, I'm using Asp.Net core 2.1 for a razor pages project with a polling system (interval ajax calls). I found it has 2 types of memory leaks. the first one is when a polling occurs the other is whenever a new webpage is opened. I assume it happen on…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,241 questions
asked 2020-12-07T09:36:16.01+00:00
moshiko museri 1 Reputation point
commented 2020-12-11T09:18:45.723+00:00
Yinqiu Yao-MSFT 236 Reputation points
1 answer One of the answers was accepted by the question author.

Log Webhook requests

Remote server periodically sends webhook notifications to us. I want to record the request and send back a 200. The request is a POST to /, so only the headers and payload matter, the headers for authentication, and the payload for the data. The data…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,241 questions
asked 2020-12-09T20:22:24.45+00:00
Boruch Tkatch 141 Reputation points
commented 2020-12-10T15:05:50.567+00:00
Boruch Tkatch 141 Reputation points
1 answer

windows athentication mode not working

Hi I am following through with Pluralsight tutorial I create empty webform app and set authentication to windows and deny anonymous users and enable NTLM in properties . But when I run app I am not getting log in pop up like the instructor is…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,241 questions
asked 2020-12-08T15:07:02.877+00:00
kobosh 176 Reputation points
answered 2020-12-10T08:09:19.63+00:00
Sam Wu-MSFT 7,046 Reputation points Microsoft Vendor
4 answers One of the answers was accepted by the question author.

Creating a TCP Server in IIS

Hello Everyone, We are working on a project which involves remote devices and the end user via a media player to send & receive command messages in order to retrieve and watch video footage (MDVR). Can you advise wether IIS can be the gateway…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,241 questions
asked 2020-12-07T22:31:48.07+00:00
Michael Benk 21 Reputation points
commented 2020-12-09T09:23:55.353+00:00
Bruce Zhang-MSFT 3,736 Reputation points
1 answer

Is there a way to specify a universal exception handler for SignalR client message handlers?

I am using the C# SignalR client library, and I caused an exception inside one of my message handlers. (Oops!) I noticed that it silently abandons the handler. Is there any way to specify a general exception handler for when a given delegate fails to…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,241 questions
asked 2020-11-27T16:22:53.427+00:00
TheBuzzSaw 1 Reputation point
answered 2020-12-08T16:51:38.333+00:00
TheBuzzSaw 1 Reputation point
2 answers

How do I clear a remote session after publishing my C# MVC application from Visual Studio?

So I have my C# MVC application, happy with its design, I publish the application onto external servers (ionos), once I've published I've found if I create a new account or go to log into the application its like the session is still hanging around. As…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,241 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,699 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,389 questions
asked 2020-12-05T21:56:20.873+00:00
martin cooke 1 Reputation point
commented 2020-12-08T07:04:24.903+00:00
Bruce Zhang-MSFT 3,736 Reputation points
1 answer

How to make a Ressults Key for an ASP.NET API call

I have a API that work but the client app calling is is getting an error and is looking for a results key. Can someone please tell me how to add this to the API? I'm using Visual Studio 2019 and this is a ASP.NET API project (not core). Thank you.

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,241 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,317 questions
asked 2020-12-07T21:47:09.883+00:00
moondaddy 911 Reputation points
answered 2020-12-08T06:20:30.11+00:00
Yihui Sun-MSFT 801 Reputation points
0 answers

Cannot open/create ASP.NET applications in Visual Studio

I'm having trouble opening my projects in Visual Studio. I get the following error and the project does not load. Creation of virtual directory failed with the following error: Filename: C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,241 questions
asked 2020-12-07T11:59:28.787+00:00
SaranRajen 1 Reputation point
commented 2020-12-08T03:39:07.257+00:00
Sam Wu-MSFT 7,046 Reputation points Microsoft Vendor
1 answer

PII PHI data encyption using data protection api

I am using data protection api in asp.net core 3.1 . I have PII and PHI data in database. can I use data protection api to encrypt the data. what if my data is not accessed for more than 6 month how key rotation will effect that

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,241 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,038 questions
asked 2020-12-02T14:37:27.09+00:00
Somnath Shukla 411 Reputation points
commented 2020-12-07T09:17:39.953+00:00
Fei Han - MSFT 306 Reputation points Microsoft Vendor
0 answers

Getting Error a Argument 'Length' must be greater or equal to zero

I am getting error Argument 'Length' must be greater or equal to zero. This error has come after migrating of windows server 2012 to windows server 2016. If i am logging new application, i am getting above mentioned error. How to solve this type…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,241 questions
asked 2020-12-03T13:44:13.843+00:00
Gani_tpt 1,746 Reputation points
commented 2020-12-07T08:58:54.263+00:00
Bruce Zhang-MSFT 3,736 Reputation points
1 answer

Azure: Hosting asp.ent MVC with Web Api can I host them as a soltuion.

Hi, I am trying out hosting on Azure App Services. I crated a solution, it has two project. One for MVC and one for WebApi. MVC project consume Web api for its data. So this is currently on my local. Now when I am doing the deployment, should I…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,241 questions
asked 2020-12-04T09:48:58.3+00:00
Aamiz 21 Reputation points
answered 2020-12-07T08:21:45.19+00:00
Fei Han - MSFT 306 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

avoid recycling at specific times when auto recycle is set

In IIS when we have IIS recycle set to every 2 hours, can we avoid the recycling at a specific time like 16.00 UCT as our major job runs at this time and we don't want IIS to recycle the app worker process

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,241 questions
asked 2020-12-04T08:02:34.19+00:00
Purinder 21 Reputation points
accepted 2020-12-07T06:55:47.107+00:00
Purinder 21 Reputation points