Gage
Gage
CC#
Created by Gage on 12/6/2022 in #help
✅ Nginx Errors
2022-12-05 19:27:52 /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
2022-12-05 19:27:52 /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
2022-12-05 19:27:52 /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
2022-12-05 19:27:52 10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf
2022-12-05 19:27:52 10-listen-on-ipv6-by-default.sh: info: Enabled listen on IPv6 in /etc/nginx/conf.d/default.conf
2022-12-05 19:27:52 /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
2022-12-05 19:27:52 /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh
2022-12-05 19:27:52 /docker-entrypoint.sh: Configuration complete; ready for start up
2022-12-05 19:28:02 2022/12/06 00:27:52 [emerg] 1#1: host not found in upstream "Gradebook" in /etc/nginx/nginx.conf:7
2022-12-05 19:28:02 nginx: [emerg] host not found in upstream "Gradebook" in /etc/nginx/nginx.conf:7
2022-12-05 19:27:52 /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
2022-12-05 19:27:52 /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
2022-12-05 19:27:52 /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
2022-12-05 19:27:52 10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf
2022-12-05 19:27:52 10-listen-on-ipv6-by-default.sh: info: Enabled listen on IPv6 in /etc/nginx/conf.d/default.conf
2022-12-05 19:27:52 /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
2022-12-05 19:27:52 /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh
2022-12-05 19:27:52 /docker-entrypoint.sh: Configuration complete; ready for start up
2022-12-05 19:28:02 2022/12/06 00:27:52 [emerg] 1#1: host not found in upstream "Gradebook" in /etc/nginx/nginx.conf:7
2022-12-05 19:28:02 nginx: [emerg] host not found in upstream "Gradebook" in /etc/nginx/nginx.conf:7
I think this has to do with my proxy_pass in nginx.conf?
2 replies
CC#
Created by Gage on 12/4/2022 in #help
✅ To run a docker compose file
Hello, I’m new to docker and having significant difficulties getting docker to map to a port. I believe it’s due to a bad docker run command. Could someone explain how to use docker run or show me a good resource?
2 replies
CC#
Created by Gage on 11/26/2022 in #help
❔ Docker
Any advice on how to do this?
10 replies
CC#
Created by Gage on 11/25/2022 in #help
✅ Mapping an Identity user to an instance of an EF core model ID
Any suggestions on how to make an identity user have a model ID? I need to do this so I can have a custom view for all users . My plan was to just use loops and only show content where IDs match up. Not sure where to begin.
82 replies
CC#
Created by Gage on 11/25/2022 in #help
✅ Passing Multiple Parameters Through A Button
I would like to call this method:
public async Task<IActionResult> OnPostAsync(int? id, string type, bool isRemoval){}
public async Task<IActionResult> OnPostAsync(int? id, string type, bool isRemoval){}
With a button like this:
<form method="post">
<input type="hidden" asp-for="" />
<input type="submit" value="Delete" class="btn btn-danger" /> |
</form>
<form method="post">
<input type="hidden" asp-for="" />
<input type="submit" value="Delete" class="btn btn-danger" /> |
</form>
Is it possible to hard code multiple parameters into a single button?
2 replies
CC#
Created by Gage on 11/25/2022 in #help
✅ EF Core, All models into one collection
I would like to make a single collection of all models in the database. What is a good approach for this?
5 replies
CC#
Created by Gage on 11/14/2022 in #help
❔ Seed Users with Claims
How do you make Identity users with claims that are added in the startup class? Seed data should stem from Application DB context
2 replies
CC#
Created by Gage on 11/13/2022 in #help
❔ Converting ASP.NET 6 to ASP.NET 5
4 replies
CC#
Created by Gage on 11/11/2022 in #help
Entity Framework Core DB issues [Answered]
4 replies
CC#
Created by Gage on 10/30/2022 in #help
Working with URL Audio [Answered]
How would one use this URL to render audio inside the On get method of a razor page? https://api.streamelements.com/kappa/v2/speech?voice=Brian&text= The link provided works by appending a string to the end of the URL and then generating a TTS audio file. I would like to play that audio file on the users end once they load that specific razor page (hence the onGet method)
37 replies
CC#
Created by Gage on 10/28/2022 in #help
choosing Update software
What update software do you all use for console apps? Looking for a solution to pushing remote updates to console applications.
8 replies