Moonlit
Moonlit
CC#
Created by Moonlit on 11/17/2024 in #help
Dynamically creating rows inside of document.createElement() isn't working with a template?
No description
2 replies
CC#
Created by Moonlit on 11/16/2024 in #help
✅ Local Post, 400 Bad Request. Can't figure out why?
Hey so I have a save button my website that uses JS to do a POST request to the server so tat I can update / add a command for the user, but I can't seem to figure out why I'm getting this error? I'll post some screenshots as a comment so they are formatted better
41 replies
CC#
Created by Moonlit on 11/14/2024 in #help
✅ How to stop Bootstrap CSS from overriding the layout.css of my Razor page?
So I've been trying time and time again to understand why I can't get my pages to look how I want them to at all! I've tried adding a colour background to my main body of my pages but it doesn't work unless I remove the bootstrap.css, but when I do that, my page looks terrible, like a coloured notepad rather than a nice website... I'm really struggling to understand how I'm meant to do the CSS Files.. I have the _Layout.cshtml https://pastebin.com/Y3swt5rd And I have the _Layout.cshtml.css https://pastebin.com/0n5QQ9Zx How am I meant to get the layout css to apply properly to my pages? The footer colour works and is purple... But the Header is white when it should be purple and the body is white when it should be lavander.
8 replies
CC#
Created by Moonlit on 11/6/2024 in #help
✅ Website doesn't trust SSL Provider (MSSQL Database)
So I get this error
Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - The certificate chain was issued by an authority that is not trusted.)
Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - The certificate chain was issued by an authority that is not trusted.)
But to be quite honest... I'm new to MSSQL and I don't understand where it's getting the SSL from or how I get my website to trust it? They are both hosted from the same machine
4 replies
CC#
Created by Moonlit on 10/31/2024 in #help
New to Websites, starting advice? Also, how to get my website to use a domain name instead of my ip?
Hey I'm been working on a bot that integrates with OBS, Twitch, Discord and Spotify, all my own code is in C# but I need a way for people to configure and connect to it? I've created a MongoDB to handle each streamers info but I need a website for them to be able to login and setup the bot. I've got 1 domain that has an A record to my public IP and a 2nd domain that is forwarded to that 1st domain. I made a project using the Rider "ASP.Net Core Web App" template, with the "Web App (Razor Pages)" type. Without editing it at all, my website hosts and the Domain name works but once it directs to my PC, the URL at the top has my IP and not the domain name... Also is getting HTTPS to work easy enough or complicated?
344 replies
CC#
Created by Moonlit on 10/25/2024 in #help
✅ How to clean up a stream of incomplete JSON data?
No description
48 replies
CC#
Created by Moonlit on 10/22/2024 in #help
Can I catch an error from Task.Run to stop threads crashing main program?
No description
56 replies