What’s the best SEO-friendly front-end option for my ASP.NET backend?

0
3
Asked By CuriousCoder42 On

I'm looking to connect an existing ASP.NET API with a front-end framework for my app, which is essentially a public blog. Multiple users will be able to add and read posts, so it needs to be dynamic. I've been considering frameworks like Next.js and Astro. I need some parts of the site to be SEO-optimized with pre-rendering, while others should support interactive features like authorization and filtering. I understand that Next.js has Static Site Generation (SSG), but it won't work perfectly for my needs. Its Client-Side Rendering (CSR) isn't great for SEO either, and I worry that using Server-Side Rendering (SSR) may drive up my hosting costs since I would need to run both an API and an SSR server. I've also heard about Svelte and Astro, but I'm getting mixed signals about their capabilities. What would my ideal front-end choice be?

1 Answer

Answered By AstroEnthusiast99 On

Astro actually supports Client-Side Rendering (CSR), so you can definitely use it for dynamic features! They also have options for dynamic server rendering, which could fit your needs really well. You might find their documentation helpful for understanding how it can work with your setup.

CuriousCoder42 -

Oh, interesting! I didn't realize that about Astro. Thanks for the info!

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.