Ze Golly Gosh
Ze Golly Gosh
KPCKevin Powell - Community
Created by Ze Golly Gosh on 10/5/2024 in #back-end
How would you store the data for a blog posts with .NET and Entity Framework?
Trying to wrap my head around how this would work and a lot of information use PHP and are from 10+ years ago, so it's not fully relevant at the moment for what I'm doing (at least I don't think so?). I am setting up a blog like website. There will be posts, with potentially a lot of characters. I've heard that the best way to handle posts is to essentially have them saved as html or markdown files in a server and have the SQL table link to the location of this. The only thing is I have no idea where to start looking for how to do that. What's this called? When I attempt to search up static html files, I get information on how to use MVC which isn't what I need. I have Angular as my frontend and .NET 8 as my backend. Currently it's only running locally so I'm doing everything through SQL Server Management. Servers are a weakness of mine, so I don't fully know what I'm doing, any sources or documentation or articles would be very appreciated.
6 replies
KPCKevin Powell - Community
Created by Ze Golly Gosh on 9/15/2024 in #back-end
ASP.NET SQL Connection Security; what should never go in a public github repository?
Lost my job last week and I'm working on an ASP.NET/Angular project to demonstrate what I know in .NET/C#. I'm wanting it to be public enough for potential employers to at least see that I'm comfortable working in this kind of tech, but my settings include my password for the local db, and I'm really really not a security person so I'm concerned there's something obvious that shouldn't be public. Unless I'm being overly paranoid. The server is only locally hosted right now, but if I get to the point of making it public I'm not sure the best way to securely host a database like that.
16 replies
KPCKevin Powell - Community
Created by Ze Golly Gosh on 8/15/2024 in #os-and-tools
Netlify and Namecheap: when adding www to my url, the website shows security concerns. Why?
Have a website for a client hosted on Netlify with the domain through Namecheap. I really don't know much about what a DNS is or what any of these things mean so please, please explain thoroughly the exact steps. I need the email forwarding so while using the nameservers was an easy way to start, netlify has no email forwarding option and namecheap won't offer if you're not using their nameservers. In my netlify domains, I have the domain purchased from namecheap listed, with the DNS records having a url without www. preceding it, and one that does, both with 3600 IN NETLIFY next to it (I don't know what this means at all) In advanced DNS under namecheap, I have added two records, A Record with a host @, a value of 75.2.60.5, and the TTL Automatic. I also have a CNAME record with the host www and value is the url without the www. preceding it with the TTL as automatic. Is this right? I tried to use the other settings with the Alias records but nothing happened when I did this. I'm not sure what I'm supposed to do here. I'm clearly missing a major way this system works, but I've got no clue. Any help would be appreciated.
1 replies
KPCKevin Powell - Community
Created by Ze Golly Gosh on 6/8/2024 in #ui-ux
When looking around at sites and mockups for inspiration or learning, what do you focus on?
I have a degree in computer science and work as a software dev so when I saw the opportunity to make sites for small businesses around me, I thought "sure! I can make a site, no problem!" Now I feel like I have no idea what a website actually looks like 😂 I have a pretty big gap in knowledge. Right now, I'm trying to just make a few mockups of existing sites in styles I like to try and get a grasp of what it is that make these look so beautiful while throwing boxes and text on a page in approximately the right place doesn't quite cut it. I know I can always grab templates or UI libraries (and I have when I truly need to, like if a deadline is coming), but I like having control over my projects and hate when my own lack of understanding blocks me from doing something I'd like to do, such as making a new unique component in the same style as the rest of the site. So... when looking around, what items really stand out to you on how websites are designed? There's obvious things, like the border radius of cards or color and font choices, but there are a lot of things I miss until they're pointed out, like overlapping boxes or text for example. Any tips or even just thoughts would be greatly appreciated!
11 replies