4,571 questions with ASP.NET Core tags

Sort by: Updated
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,571 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,526 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,571 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,571 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,571 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,142 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,962 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,571 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,494 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,571 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,526 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,571 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,807 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,571 questions
asked 2020-12-03T13:44:13.843+00:00
BeUnique 2,112 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,571 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,571 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,571 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,571 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.
336 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,571 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,571 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,142 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,571 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,142 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,962 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,416 Reputation points
2 answers One of the answers was accepted by the question author.

Fatest way to access and REST API for 200K times using HTTPCLinet

we are trying to access an API endpoint for 200K times. we are able to access it without an error with the following code snippet: private static HttpClient clinet = new HttpClient(); public static async Task Main() { string auth_token =…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,571 questions
asked 2020-11-25T05:45:39.723+00:00
Ankarao 21 Reputation points
accepted 2020-12-03T15:24:14.013+00:00
Ankarao 21 Reputation points
1 answer

Integrage MIcrosoft Authenticator for MFA

Hi guys, I have a question, kindly, I wanted to know if integrating Microsoft Authenticator with my application (Asp Net Core Razor Pages), to login with MFA, has some costs, or is it free? If not, what is the cost per notification? is there a site I…

Microsoft Authenticator
Microsoft Authenticator
A Microsoft app for iOS and Android devices that enables authentication with two-factor verification, phone sign-in, and code generation.
6,937 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,571 questions
asked 2020-11-30T08:26:27.91+00:00
Pampua84 1 Reputation point
commented 2020-12-02T15:30:50.397+00:00
1 answer One of the answers was accepted by the question author.

Uncaught exception from the OnConnectionAsync method of an IConnectionAdapter

---- Update 27.11.2020 -------------- As I was not able to post the update as response to the response below (error message "1000 characters exceeded") , I had to update my original post. ****Serious general question: -> Can it…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,571 questions
asked 2020-11-26T16:44:30.877+00:00
Fredy Wenger 201 Reputation points
accepted 2020-12-01T14:31:02.383+00:00
Fredy Wenger 201 Reputation points
0 answers

TypeScript-React-Redux less-loader in ASP.NET Core 3.1?

index.tsx less style not working

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,571 questions
asked 2020-11-30T16:24:38.343+00:00
성식 채 1 Reputation point
commented 2020-12-01T09:25:15.573+00:00
Brando Zhang-MSFT 3,696 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

When I publish my website to iis, timeout is not working.

Hi all, As the title says, after I publish my .net mvc to iis, timeout is not working. I tested it locally and it works fine. I've seen in my Web.config file that I've set executionTimeout, but it still doesn't work. what did I miss? Then I also…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,571 questions
asked 2020-11-29T15:16:46.56+00:00
exwsx 101 Reputation points
accepted 2020-11-30T11:54:10.863+00:00
exwsx 101 Reputation points