4,745 questions with ASP.NET Core tags

Sort by: Updated
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,745 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,190 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,745 questions
asked 2020-12-03T13:44:13.843+00:00
BeUnique 2,252 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,745 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,745 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,745 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,745 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.
365 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,745 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,745 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,370 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,745 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,370 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,215 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
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,745 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.
7,766 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,745 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,745 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,745 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,876 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,745 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
1 answer

Blazor Host binding workaround

Have a great day too all of you. Blazor is been considered as replacement for JavaScript but when I looked into it, it doesn't have access to DOM elements. Biggest blocker in considering C# as front end language. I want my website to have smooth…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,745 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,650 questions
asked 2020-11-29T03:57:17.603+00:00
Suraj Yadav 1 Reputation point
answered 2020-11-30T08:05:15.453+00:00
Rena Ni - MSFT 2,066 Reputation points
0 answers

Under what circumstances will Utf8JsonReader.HasValueSequence be true?

I have begun working with raw value spans and sequences inside my JSON converters. I noticed that Utf8JsonReader provides a property to check to see whether the value is a sequence: HasValueSequence. When will this be set to true? I noticed that…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,745 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,215 questions
asked 2020-11-27T22:27:08.71+00:00
TheBuzzSaw 1 Reputation point
commented 2020-11-30T02:03:37.127+00:00
TheBuzzSaw 1 Reputation point
1 answer

Authorization attributes not working when upgrading from MVC to Endpoint routing

I'm trying to upgrade my project from .UseMVC (asp.net core 2.2 compat style) to .UseEndpoint Routing and I'm getting re-directed to my suthentication failed page for all my requests. It has to do with the Claims - If I remove the role part of…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,745 questions
asked 2020-11-26T16:34:18.03+00:00
AK 11 Reputation points
commented 2020-11-30T01:19:35.973+00:00
Zhi Lv - MSFT 32,846 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

What advantages does IIS Express offer over Kestrel alone for ASP.NET Core development-time?

I understand the differences between Kestrel and proper IIS and that IIS might have some benefits useful for production (various filtering/limiting features, the activation model, etc.) The scenario that's often described is Kestrel that's behind IIS…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,745 questions
asked 2020-11-26T07:35:40.86+00:00
Tom Pazourek 26 Reputation points
commented 2020-11-27T09:53:25.903+00:00
Tom Pazourek 26 Reputation points
1 answer

Handle request in actionfilter(WITHOUT action exist)

Hello. I need to handle HEAD request which sanded by Microsoft office excel, when user click on hyperlink. I decided to use action filter to solve this problem, but I have requirement's that I can't add "[AcceptVerbs(HttpVerbs.Head |…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,745 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,570 questions
asked 2020-11-25T08:21:37.99+00:00
Pavlo Rishko 1 Reputation point
answered 2020-11-26T05:56:05.42+00:00
Yihui Sun-MSFT 801 Reputation points
1 answer

Will reinstalling URL Rewrite module cause something to break

Just recovered my VM from a fatal crash. Upon check IIS, the URL Rewrite module is no longer listed, but I've verified that the entries are still in the C:\Windows\System32\inetsrv\config\applicationHost.config file. Will reinstalling the module have…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,745 questions
asked 2020-11-23T03:21:36.31+00:00
Meh 1 Reputation point
commented 2020-11-26T05:27:02.53+00:00
Anonymous