4,350 questions with ASP.NET Core tags

Sort by: Updated
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,350 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,593 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,350 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,076 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,350 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,350 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,398 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,350 questions
asked 2020-11-23T03:21:36.31+00:00
Meh 1 Reputation point
commented 2020-11-26T05:27:02.53+00:00
Anonymous
0 answers

StatusCode: 404, ReasonPhrase: Not Found', Version: 1.1

i need help i keep getting this error locally it works when posting an image through post man but from my xamarin forms app to the local iis server i get this error {StatusCode: 404, ReasonPhrase: 'Not Found', Version: 1.1, Content:…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,350 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,593 questions
asked 2020-11-24T07:34:04.987+00:00
Ahmad salim 1 Reputation point
commented 2020-11-25T08:54:51.43+00:00
Brando Zhang-MSFT 3,361 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

IIS compression intermittent

We have a conflict with our JavaScript minifier and IIS compression. The minifier recreates the file when the app pool resets and on other occasions. The zipped version of the file that was stored by IIS is occasionally not a complete file. We are…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,350 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,536 questions
asked 2020-11-19T18:30:38.573+00:00
Robert Crockett 21 Reputation points
accepted 2020-11-23T23:23:54.973+00:00
Robert Crockett 21 Reputation points
1 answer One of the answers was accepted by the question author.

IIS anonymous site prompting for credentials

Not sure what I have missed here but I have a simple site which uses anon authentication (all others are disabled). I have allowed directory browsing and have set NTFS to everyone, IUSR, users read/list contents but I still get prompted when trying to…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,350 questions
asked 2020-11-18T21:58:53.71+00:00
Jay Paterson 96 Reputation points
accepted 2020-11-19T00:17:29.69+00:00
Jay Paterson 96 Reputation points
1 answer One of the answers was accepted by the question author.

Calling Azure Powershell commands from .net Core 3.1

Whenever I try to call Azure commands through .net core 3.1, it threw an exception I still get the error '{"The term 'Connect-AzureAD' is not recognized as the name of a cmdlet, function, script file, or operable program.\r\nCheck the spelling of…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,350 questions
asked 2020-10-08T20:55:38.88+00:00
Prashu 56 Reputation points
accepted 2020-10-14T01:42:18.75+00:00
Prashu 56 Reputation points
3 answers

Asp.net Core 2.1 web api deployed successfully but not getting response from my web api url

Can you please guide me why i am not getting response from following link https://otgapi.azurewebsites.net/api/values This url shows https://otgapi.azurewebsites.net/ api deployed successfully.

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,350 questions
asked 2020-06-17T10:47:10.39+00:00
A b d u l Wahab 1 Reputation point
answered 2020-06-25T03:27:41.12+00:00
Monalla-MSFT 12,771 Reputation points