Is Blazor a Good Choice for a GitHub Pages Portfolio or Blog Site?

0
0
Asked By CleverFox123 On

Hey everyone, I'm just starting out with front-end development and I'm curious about using Blazor for a personal portfolio or blog that I'd like to host on GitHub Pages. I have a background in C# and want to show that I've learned something new. However, I feel like Blazor might be a bit overkill for a site that's mainly static. I think I can't build the WebAssembly part directly through GitHub Actions, so I'd need to upload a build from my local setup, which seems a bit complicated but I'm okay with getting my hands dirty. Am I on the right track with this approach?

6 Answers

Answered By StaticHero21 On

Keep in mind that GitHub Pages is strictly for static sites. If you want to use Blazor, there's a repository called BlazorStatic that you could look into for help with that.

Answered By InspireCoder77 On

Do whatever motivates and excites you to write code! Whether it’s Blazor or something else, the learning process is what's most important. 😊

Answered By TechSavvyDude On

While Blazor is impressive, it might be overkill for your portfolio. Wasm has a heavy initial load and not the best SEO. If you're aiming for something more straightforward, regular HTML and CSS might be the way to go. But if you’re doing it for fun, then definitely go for it!

Answered By BlazorGuru88 On

Honestly, I wouldn’t recommend Blazor for this. Most sites today lean heavily on JavaScript, and Blazor is kind of a middleman that runs C# code alongside it. You might run into issues with things like local storage being unavailable in Blazor WASM. For a simple portfolio, sticking to HTML and JavaScript is probably the better route. If you want to use a framework, something like React or Vue could suit you better!

Answered By CodingNinja42 On

WebAssembly Blazor could work, but if you're into JavaScript, you might want to check out other options. Personally, for my GitHub Pages blog, I went with 11ty, which is based on JavaScript. It's pretty straightforward and does a good job for static sites. If you're looking for speed, 11ty's build times are quick!

CuriousDev99 -

I've tried 11ty too, and it worked great! Fast builds, and I heard Astro is gaining traction for its additional features; might be worth checking out!

Answered By DevExplorer23 On

Blazor is great for enterprise apps, but for a portfolio, it might be too much. Since I’m not really experienced with GitHub Actions, I can’t say much about that, but it sounds like a good learning project!

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.