API not deploying in Docker
I am deploying an API in my local docker using Docker Desktop for Windows. My API is running well on Visual Studio. I also tried deploying it on IIS and is working. But when I deployed it on Docker, I…
I am deploying an API in my local docker using Docker Desktop for Windows. My API is running well on Visual Studio. I also tried deploying it on IIS and is working. But when I deployed it on Docker, I…
I am trying to write a code for a project and I am trying to make a while loop but it keeps repeating when I run it. I am also trying to get it to make a table but it…
There are a lot of places on the internet that show how to return files but I have found none that will return dynamically generated binary data without storing the whole contents on memory. Maybe I should serialize my data…
I'm trying to create a multi-select box and so far tried many things. public class DepartmentDropDown { public int Id { get; set; } public string Name { get; set; } } public class DeviceUserReportViewModel { public List<int> DepartmentIds {…
I have a role controller with Auth [Authorize(Roles = Roles.Visitor, AuthenticationSchemes = AuthorizationSchemes.Visitor)] I need to add another policy AdminPolicy to it but it should work for either of them. Is there a simple way to do that? My admin…
I'm new to learning ASP.NET Core MVC C#. I tried learning from a Udemy course, but they were using an old version believe it was 2.0. But I'm trying to build a note taking web application. I keep receiving an…
I'm running an ASP.NET Core 6 application on an IIS as a Rest Api calling Powershell scripts for specific tasks. It works well from my laptop (Windows 10) but doesn't work when I'm running it on a Windows Server 2019…
I am trying to append an item to the SQL table but when I press the save button nothing happens. The reset button works but not the Save. Nothing is showing in the database either. Basically, I don't understand why…
I need to store remotely some chunks of data and compare them too see if there are duplications. I will compile a specific C program and I would like to compress this chuncks with GZIP. My doubt is: if I…
I have a list of keys that I want to get from Redis. I wrote a function like this but it returns everything: public IOrderedEnumerable<Fields> GetValues(List<string> symbols) { var retVal = new List<Fields>(); var patternStr = "["; int count =…