4,776 questions with ASP.NET Core tags

Sort by: Updated
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,776 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
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,776 questions
asked 2020-12-08T16:02:57.783+00:00
commented 2020-12-12T07:19:49.057+00:00
Lex Li (Microsoft) 5,847 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,776 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,776 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,776 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,776 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,536 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,776 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,751 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,776 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,776 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,415 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.
11,285 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,751 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,776 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,592 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,776 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,536 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,776 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,260 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,776 questions
asked 2020-12-03T13:44:13.843+00:00
BeUnique 2,292 Reputation points
commented 2020-12-07T08:58:54.263+00:00
Bruce Zhang-MSFT 3,751 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,776 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,776 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
1 answer

Does Asp.net Core support Visual Basic language development?

Does Asp.net Core support Visual Basic language development?

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,776 questions
asked 2020-12-06T15:26:13.937+00:00
Lu anyin 1 Reputation point
answered 2020-12-06T16:10:59.547+00:00
Anonymous
3 answers One of the answers was accepted by the question author.

best practice to configure baseaddress URI in MVC Core

Hi I have created an MVC and Web Api project. When consuming web Api endpoints I am using the complete Uri as showing below. string apiUrl = "http://localhost:57025/api/Mypage; ON every single data class I am keep adding the full uri…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,776 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.
373 questions
asked 2020-12-02T01:24:39.33+00:00
Aamiz 21 Reputation points
accepted 2020-12-05T02:49:42.207+00:00
Aamiz 21 Reputation points
2 answers One of the answers was accepted by the question author.

ASP.net core Autoupdate politics

If i installed ASP.net core on my server, will it update automatticaly? If so, can I somehow turn it off?

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,776 questions
asked 2020-11-27T07:23:32.72+00:00
answered 2020-12-04T23:55:29.573+00:00
Damian Edwards (MSFT) 1 Reputation point Microsoft Employee
2 answers One of the answers was accepted by the question author.

Can anyone actually get server side includes to work inside VS2019 (IIS Express)

I have see at least a dozen web posts regarding SSI on IIS Express and/or in Visual Studio. None of them have had any effect for me. I just want to have a .html file use <!--#INCLUDE FILE="nav.shtml"--> or <!--#INCLUDE…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,776 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,415 questions
asked 2020-12-03T18:30:31.057+00:00
SeanD-9054 101 Reputation points
commented 2020-12-04T14:56:46.42+00:00
SeanD-9054 101 Reputation points
1 answer

Console App (.NET Core) Issue

My new organization has an internal web app for product maintenance and reporting. A server was changed out and parts of the app need to point to the new data source. I updated the IP address of the existing connection to point to the new server in…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,776 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,415 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.
11,285 questions
asked 2020-12-03T14:35:58.73+00:00
Jared Severson 1 Reputation point
commented 2020-12-04T03:06:42.383+00:00
Dylan Zhu-MSFT 6,421 Reputation points