C
C#•4w ago
Moonlit

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?
183 Replies
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
Moonlit
MoonlitOP•4w ago
This is an example entry and it's still missing parts of info like each command should have like, which platforms it supports and etc. I don't really know a whole lot about databases.. Just when I tried to use MySQL it ended up with tables that fragmented data all over the place and you have references upon references...
No description
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
Moonlit
MoonlitOP•4w ago
I've never looked at MSSQL, I just need something that can handle my Json structures better than MySQL did
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
Moonlit
MoonlitOP•4w ago
I mean it's a shame because I really liked how easy it was to manage data in the app like this ss
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
kurumi
kurumi•4w ago
Ok, I assume you have multiple questions: 1) You asking about how to build web application with Razor Pages 2) How to point your domain name to public IP and use it instead of pure IP 3) How to configure HTTPs for more security 1) I never build something big enough to giving advices with Razor Pages, for me it's better to use something else like React / Angular / Vue to build frontend part with splitting application into backend and frontend 2) You need to configure DNS settings properly. Depends on your provider, you need to open specific admin panel. I am personally using Cloudflare. But if you are not using it, you need to copy ns servers from Cloudlfare and provide it into your Hosting provider. Then wait about 30 mins, it takes some time. After that you can create a DNS settings in Cloudflare panel. Create a website and provide your domain name. Then, under DNS settings simply create A (or AAAA for ipv6) records to point into your public IP address (make sure it is not under NAT) 3) There are many options to setup HTTPs, I personally use Cloudflare SSL/TLS tunnel with my domain name. Then in my server side I am using NGINX reverse proxy with certbot to have HTTPs under local network. You can use something like NGINX Proxy manager, it simplifies this process. By doing that Cloudlflare will take care of some common threats and you can also configure custom rules. It is double SSL, but it gives you more flexibility. If you don't need this complex staff, then cloudflare or certbot shoul be enough
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
Moonlit
MoonlitOP•4w ago
That Token is fake just for anyone that might be curious 😅 I didnt leave a real one in but erm... Maybe? In my case I don't think it really matters as basically that's all just a class which represents each person using the bot, so it's all internal and people don't query it externally but I could get how that might be bad practice
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
Moonlit
MoonlitOP•4w ago
So is the idea that I want people to be able to get commands thet pertain to Sarah without them also getting her identity details?
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
Moonlit
MoonlitOP•4w ago
I was just going to load all of that into a class and then have commands as a dictionary... So it'd be like Users[<Sarah's Twitch ID>].Commands[<CommandName>]
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
Moonlit
MoonlitOP•4w ago
I did read this and erm yeh for your 1st point... I don't need to use Razor Pages? I'm not even sure what they are for... Other than it gave me a nice looking base website template lol
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
Moonlit
MoonlitOP•4w ago
2. I'm hosting it locally on my PC. Is Cloudflare software that I run on my machine?
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
kurumi
kurumi•4w ago
It does not mean you should not use it. I told that I have no much exp with it and prefer have solid sepparate Angular / React / Vue app No, you should not
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
Moonlit
MoonlitOP•4w ago
Yeh I understand that but if starting off it'd be easier to do go another approach like what you're saying... To separate things, then I'd be down for that kind of advice. I mean at the end of the day, I really don't know anything about web stuff, so anything that makes it more understandable and less complicated, I'm down for
kurumi
kurumi•4w ago
Hosting something locally is always high risk to compromise your data. You should look at some cloud provider instead. BUT, if you agree with this risk, yes, You can host it locally. Then the question is do you have static IP address as @TeBeCo mentioned already
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
Moonlit
MoonlitOP•4w ago
Honestly right now I am learning so I just want to get something working before I think about paying for public hosting and etc. I'd limit who can use the bot and nobody is going to have interest anyway so it'd be like 4-5 friends at most that will use it and the bandwidth requirements would be pretty small. I think my IP is static :Velion_Think: I've not noticed it change in years... I pay for pretty decent broadband and this wouldn't even use a fraction of it I've hosted game servers for weeks before with no issue
kurumi
kurumi•4w ago
Imagine they look at some stats and see you transferred 1tb of data, hahha
Moonlit
MoonlitOP•4w ago
Yeh this website will just be configuring the bot. So it'll just be text transfers like command responses and etc mostly
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
Moonlit
MoonlitOP•4w ago
The honest main thing is that I need a website to listen out for Twitch and Discord to send me tokens
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
kurumi
kurumi•4w ago
If I were you I will look at some very cheap VPS. It costs really few $ per month. And there are some free, like Google
Moonlit
MoonlitOP•4w ago
I will look into efcore and MSSql
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
Moonlit
MoonlitOP•4w ago
I'll take a look. I think I'd still want to host my bot locally though
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
kurumi
kurumi•4w ago
Ok, but make sure, since you host locally you open ur ports. Means ANYONE can listen to them
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
Moonlit
MoonlitOP•4w ago
I'm not a security expert but the issue is mainly what is listening on my side right? So as long as I choose a port that isn't being used and my bot is listening, I just have to make sure I process anything sent through it correctly right? Validate incoming messages or whatever
kurumi
kurumi•4w ago
I am getting about 30 notification in my bot every month about someone trying to threat something on the system, even it used for home lab
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
Moonlit
MoonlitOP•4w ago
Yeh but I thought that just meant that directs incoming messages to my PC bypassing the router firewall? The risk is on the process that catches it right? So when my bot catches it, I just have to validate it and make sure it can't execute or do anything it shouldn't?
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
Moonlit
MoonlitOP•4w ago
So I made sure in my windows firewall to not just open the port, I just have an exception for that port with my bot.exe
kurumi
kurumi•4w ago
windows firewall :PatrickChad:
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
Moonlit
MoonlitOP•4w ago
Does it actually matter if my bot isn't open for making new connections? It makes 3 websockets, which it can take info in, it doesn't actively listen for other stuff
kurumi
kurumi•4w ago
yeah, it's better to split your network to some vlans, in this case if you compromise yourself it would not affect to another splitted vlan Just an advice, use free google vps. it should be enough I guess they still gives 6 months for trial
Moonlit
MoonlitOP•4w ago
It might just be better to host it externally... I thought it'd be easy for my bot to be secure because it doesn't deal with random people
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
Moonlit
MoonlitOP•4w ago
I'd open a websocket for all my bots / website and then just ignore anything else
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
Moonlit
MoonlitOP•4w ago
Yeh I just thought it wouldn't matter if my bot ignores it
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
Moonlit
MoonlitOP•4w ago
I thought that was what windows firewall was for tbh
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
kurumi
kurumi•4w ago
It is not strong enough
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
Moonlit
MoonlitOP•4w ago
Well the same way peopel can't connect to my network if my router firewall blocks ports, I thought windows did that
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
Moonlit
MoonlitOP•4w ago
a TV and Mobile too... But port forwarding on the router means that all incoming connections on that port are sent to my PC? so it shouldn't affect other devices?
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
kurumi
kurumi•4w ago
I guess he said he directly connected bypassing router?
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
kurumi
kurumi•4w ago
also, I would like to share this
No description
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
Moonlit
MoonlitOP•4w ago
It is currently yeh I've been using it for testing and such
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
Moonlit
MoonlitOP•4w ago
Not sure, but probably not
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
Moonlit
MoonlitOP•4w ago
2 ports one was going to be for the website
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
Moonlit
MoonlitOP•4w ago
I mean I was thinking in the future of getting a streaming PC, which the bot would run on Oh yano.. I do have a laptop But the thing is, I'm not sure how OBS would work, I'd need to look at how I connect that again
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
Moonlit
MoonlitOP•4w ago
Does google cloud work for hosting bots too or just websites?
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
Moonlit
MoonlitOP•4w ago
Well it's super lightweight, like my old £400 laptop could run it
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
Moonlit
MoonlitOP•4w ago
I used to use my laptop for testing MP games I was developing, I never use it otherwise
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
kurumi
kurumi•4w ago
GitHub
GitHub - cloudcommunity/Cloud-Free-Tier-Comparison: Comparing the f...
Comparing the free tier offers of the major cloud providers like AWS, Azure, GCP, Oracle etc. - cloudcommunity/Cloud-Free-Tier-Comparison
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
kurumi
kurumi•4w ago
most of them required credit card, at least it was when I tested it before....
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
Moonlit
MoonlitOP•4w ago
BigQuery (SQL): 1 TB of querying per month and 10 GB of storage each month Google offers this
kurumi
kurumi•4w ago
0.25 virtual CPU :catshrug:
Moonlit
MoonlitOP•4w ago
I duno what that really means lol 0.25Ghz? So here is the thing... I checked my OBS and it was connecting via a websocket using local ip. Does this mean anyone that uses my bot that wants to use OBS featuers would need to port forward though? Wouldn't everyone have the same security issues? It also means that if I host the bot externally, I'd still need a port open for OBS, which defeats the point of moving it for security reasons? Also I think we digressed a lot too maybe? I mean it's relevant but like, I duno if I actually know how to get a website working For the DB stuff, I'll look back up and see the things that TeBeCo suggested and try swapping over to that. Now as for... NGINX, I'm not honestly sure how it works
user nobody;
worker_processes 1;

events {
worker_connections 1024;
}

http {
include mime.types;
default_type application/octet-stream;
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
access_log logs/access.log main;

sendfile on;
keepalive_timeout 65;

server {
listen 80;
server_name <Name>.com;

location / {
proxy_pass http://localhost:8080;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection keep-alive;
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}

error_page 500 502 503 504 /Error.cshtml;
location = /Error.cshtml {
root "C:\\Stream\\Bots\\My Bot\\Website\\Website\\Pages";
}
}
}
user nobody;
worker_processes 1;

events {
worker_connections 1024;
}

http {
include mime.types;
default_type application/octet-stream;
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
access_log logs/access.log main;

sendfile on;
keepalive_timeout 65;

server {
listen 80;
server_name <Name>.com;

location / {
proxy_pass http://localhost:8080;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection keep-alive;
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}

error_page 500 502 503 504 /Error.cshtml;
location = /Error.cshtml {
root "C:\\Stream\\Bots\\My Bot\\Website\\Website\\Pages";
}
}
}
Like this is the config file right? But erm, I run the NGINX.exe, I run my website and then I use my URL and it's still my IP
kurumi
kurumi•4w ago
look at nginx docs, it might be domain name or smth. Also, if you are new to it, just use nginx proxy manager. It gives friendly GUI https://github.com/NginxProxyManager/nginx-proxy-manager
GitHub
GitHub - NginxProxyManager/nginx-proxy-manager: Docker container fo...
Docker container for managing Nginx proxy hosts with a simple, powerful interface - NginxProxyManager/nginx-proxy-manager
Moonlit
MoonlitOP•4w ago
Ohh thanks very much! Yeh having no GUI pains me for sure lol
kurumi
kurumi•4w ago
Raid Owl
YouTube
Self Hosting on your Home Server - Cloudflare + Nginx Proxy Manager...
Once you have your fresh new home server setup you'll definitely want to host some cool stuff. Let's make sure you're hosting it the safe way...and luckily its also the easy way. Cloudflare - https://www.cloudflare.com/ Nginx Proxy Manager - https://nginxproxymanager.com/ ------------------------------------------------------------------------...
Moonlit
MoonlitOP•4w ago
See all of my self learning and then Uni work was all in Unity and I never did any networking. This bot was my adventure to learn how to make independent code outside of an engine + learning about networking It's been a struggle... I was just about getting the hang of websockets and having an independent App, then this website stuff is really confusing
kurumi
kurumi•4w ago
Mostly of devs don't really work with networks, containers, server etc. There is #devops-and-tools channel here, probably someone can give you some advices? But it is about devops, but not networking in general
Moonlit
MoonlitOP•4w ago
Is devops where you can constantly keep a service running by basically having 2 branches of it? And it seamlessly swaps between WIP and Live?
kurumi
kurumi•4w ago
Atlassian
What is DevOps? | Atlassian
DevOps is a partnership between software development and IT operations that emphasizes communication, collaboration, and integration.
Moonlit
MoonlitOP•4w ago
Tool page is pretty good
No description
Moonlit
MoonlitOP•4w ago
But erm anyway yeh I duno... Not sure if #devops-and-tools is the right place for what I'm doing Devops page is a good read and I think in the future it'd be useful to know tho
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
Moonlit
MoonlitOP•4w ago
I just feel disheartened tbh... The more I learn and the more I think I know, it always ends up getting to a place where I feel I know nothing
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
Moonlit
MoonlitOP•4w ago
Like I feel in this thread that I come off as someone that knows nothing but I can accomplish a lot in games dev, I can make most mechanics without needing any assistance but then in here I sound like someone who has never touched programming before lol
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
Moonlit
MoonlitOP•4w ago
Well I kinda want to do that, I wanted to host it locally just for me and I got the bot working in a modular way where I could just drop .dll files for each command but it was messy... I moved to Json files and automating commands (But it wouldn't really support other people?).. So I decided to move to a DB so that I can make it so other people can just add commands via a website The transition from being a local bot that was just mine, to supporting other people and needing a website is steep tho
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
Moonlit
MoonlitOP•4w ago
I'm installing that docker thing and will see if I can get Nginx to work for now
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
Moonlit
MoonlitOP•4w ago
Right true
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
felsokning
felsokning•4w ago
If you want to use a db, as other have said, use a different provider. I'd recommend using EntityFramework to interface with the database (it JIT's the SQL commands for you), as some projects support it out of the box.
No description
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
Moonlit
MoonlitOP•4w ago
When looking up things, it made it sound like I need 1 port for HTTP and 1 port for HTTPS? Do I just only use HTTPS?
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
Moonlit
MoonlitOP•4w ago
And the HTTP is rerouted to HTTPS, it was confusing
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
Moonlit
MoonlitOP•4w ago
Does that change how the code works?
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
Moonlit
MoonlitOP•4w ago
Okay so I don't need to worry too much, NGINX handles it
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
Moonlit
MoonlitOP•4w ago
2 yes
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
Moonlit
MoonlitOP•4w ago
Not yet no
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
Moonlit
MoonlitOP•4w ago
I only started doing this yesterday and I came here because I was getting overwhelmed
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
Moonlit
MoonlitOP•4w ago
Game development is so much easier... I feel like things just work in games engines In here it's like a million pieces that need eachother
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
Moonlit
MoonlitOP•4w ago
The worst learning experience was when I realized that .pdb files were needed to get stacktraces from .dll files
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
Moonlit
MoonlitOP•4w ago
For weeks I was debugging without .pdb files in every command and module
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
Moonlit
MoonlitOP•4w ago
How do certs work? It just needs renewing every year or something? Or is it constantly generated?
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
Moonlit
MoonlitOP•4w ago
Not really, it rings a bell in the back of my head somewhere
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
Moonlit
MoonlitOP•4w ago
Probably crypto
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
Moonlit
MoonlitOP•4w ago
Like 2 factor? I have a special key that can generate keys and I exposed the generated one which can be verified?
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
Moonlit
MoonlitOP•4w ago
Is that to stop people spoofing?
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
Moonlit
MoonlitOP•4w ago
How do people pretend to own a DNS tho?
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
Moonlit
MoonlitOP•4w ago
Doesn't stop middle man attacks though right? can't someone just catch a packet and change it?
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
Moonlit
MoonlitOP•4w ago
Like I understand someone can intercept messages but I don't understand how someone can pretend to be a website?
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
felsokning
felsokning•4w ago
Check out OWASP.
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
Moonlit
MoonlitOP•4w ago
Does Caddy support rerouting too?
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
Moonlit
MoonlitOP•4w ago
Okay so that I think shows me how to set it up too? I was reading through their home page first So I'll get Caddy to get HTTPS certificate working + reroute to hide my IP. I'll move my bot to my laptop and have the router forward to that. I'll look into MSSQL? Since it's local now And there was a database thing u said
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
Moonlit
MoonlitOP•4w ago
efcore
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
Moonlit
MoonlitOP•4w ago
ORM is what again?
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
Moonlit
MoonlitOP•4w ago
So EFCORE works in tandem with MSSQL?
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
Moonlit
MoonlitOP•4w ago
Is it a lib that makes handling the DB easier then?
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
Moonlit
MoonlitOP•4w ago
What is that and why would I need to migrate them?
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
Moonlit
MoonlitOP•4w ago
Man networking has so many new words and acronyms
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
Moonlit
MoonlitOP•4w ago
So what, is schema the structure of a db?
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
Moonlit
MoonlitOP•4w ago
Like an interface
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
Moonlit
MoonlitOP•4w ago
So whenever I'm changing the structure.. Like if I want to store a data type it didn't prior, that's when I need to handle migration? Or a new table and etc
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
Moonlit
MoonlitOP•4w ago
Right okay, I assume that's in place so that databases don't just break when they get extended
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
Moonlit
MoonlitOP•4w ago
That's what makes them reliable I guess
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
Moonlit
MoonlitOP•4w ago
Can you do that if there are no null values stored currently tho?
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
Moonlit
MoonlitOP•4w ago
Or can you use the migration thing to specify a new default value for null things?
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
Moonlit
MoonlitOP•4w ago
I guess you'd do a DB query and replace all null values with something then
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
felsokning
felsokning•4w ago
When you do Add-Mirgration in EF, it'll create a class with that migration name. Check it (e.g.: trust but verify).
Moonlit
MoonlitOP•4w ago
What is Docker for exactly? Oh is this like a manager for applications? So I can build my bot and website and docker will run them both? Oh it would run Caddy too? Ok well I really appreciate all the time you 3 have put into helping me, it's a lot of information :ShpykeCry: I have a lot of reading to do, but I think you guys have given me all the info that I need to get started? I guess I'll just hyperventilate and then get on with it 😅 I really do appreciate it :Moon_JJ_Love:
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
Moonlit
MoonlitOP•4w ago
How would that work... The router itself would run the website, meaning that you wouldn't need to let connections into your home network? I assume the router would need it's own cpu and memory for that though? Would be an expensive box? Like a mini server
Unknown User
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server