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
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…
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…
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
Does Asp.net Core support Visual Basic language development?
Does Asp.net Core support Visual Basic language development?
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 Autoupdate politics
If i installed ASP.net core on my server, will it update automatticaly? If so, can I somehow turn it off?
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…
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…
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 =…
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…
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…
TypeScript-React-Redux less-loader in ASP.NET Core 3.1?
index.tsx less style not working
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…
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…
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…
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…
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…
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 |…
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…