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…
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…
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…
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…
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.
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 …
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…