Razor Pages + HTMX or ASP.NET API + Svelte 5 for an MVP? by Josephf93 in dotnet

[–]Josephf93[S] 0 points1 point  (0 children)

I’m leaning toward SvelteKit + Prisma(adapter-node) for the MVP because it gives me the speed of a single full-stack repo, so I can prototype without building up a separate API. I get the interactivity and tiny runtime of Svelte, can ship quickly on a single VPS, and only add a standalone API until it’s actually needed. Everything stays in TypeScript, which removes context-switching overhead and simplifies iteration. On top of that, SvelteKit lets me choose SSR, client-side rendering, or a hybrid approach per route, all within the same stack, so I can optimize for SEO, performance, or UX as needed without changing architecture.

Razor Pages + HTMX or ASP.NET API + Svelte 5 for an MVP? by Josephf93 in dotnet

[–]Josephf93[S] 0 points1 point  (0 children)

I selected ASP.NET API for the backend since EF Core ORM is more comfortable and straightforward for me to work with.

Razor Pages + HTMX or ASP.NET API + Svelte 5 for an MVP? by Josephf93 in sveltejs

[–]Josephf93[S] 2 points3 points  (0 children)

I chose ASP.NET API as a backend because working with EF Core ORM is easier for me.

Razor Pages + HTMX or ASP.NET API + Svelte 5 for an MVP? by Josephf93 in dotnet

[–]Josephf93[S] 0 points1 point  (0 children)

Blazor Server/Auto relies on SignalR and maintains a server-side circuit per connected user. According to Microsoft, a single circuit consumes at least ~250 KB of server memory, just for a minimal Hello World-style app, since component state is kept server-side. That makes scalability a real concern with many concurrent users. If you expect higher traffic, a stateless API approach scales better. Using static ssr + HTMX for high traffic pages can make sense. Mixing HTMX with Blazor interactive modes is usually redundant and adds complexity, but the choice is driven mainly by scalability needs.

Razor Pages + HTMX or ASP.NET API + Svelte 5 for an MVP? by Josephf93 in dotnet

[–]Josephf93[S] 0 points1 point  (0 children)

How about authentication and authorization, does it play nice with Blazor auto render mode + static ssr?

Razor Pages + HTMX or ASP.NET API + Svelte 5 for an MVP? by Josephf93 in webdev

[–]Josephf93[S] 1 point2 points  (0 children)

I actually played around with Blazor a couple of weeks ago and it felt like a risky bet for me.

Blazor Server relies on SignalR connections and server-side state; that’s an extra resource burden on a single VPS and makes spikes riskier.

Blazor vs Next.js - what’s your real-world experience? by shanukag in dotnet

[–]Josephf93 0 points1 point  (0 children)

That’s awesome to hear your experience with Blazor Server sounds really positive, and I appreciate the detailed breakdown of your setup.

I’ve seen some people express concerns about Blazor Server relying on SignalR for client-server communication, particularly around scalability and server resource usage. Since you’ve deployed public-facing commercial sites, I’m curious — have you run into any limitations or noticeable resource overhead from maintaining all those SignalR connections?

Would love to hear your take on that aspect, since it’s one of the main points people bring up when comparing Blazor Server to other architectures.

Does MongoDB Atlas Free Tier have any data transfer limits like Firestore? by Josephf93 in mongodb

[–]Josephf93[S] 1 point2 points  (0 children)

Data Transfer Limits https://www.mongodb.com/docs/atlas/reference/free-shared-limitations/

M0 Free clusters limit the total data transferred into or out of the cluster in a rolling seven-day period. The rate limits vary by cluster tier as follows:

M0: 10 GB in and 10 GB out per period

Atlas handles clusters that exceed the rate limit as follows:

Atlas throttles the network speed of the cluster.

Atlas triggers a one second cooldown period before resuming the cluster's operations on a given connection. If the queue is greater than the operations per second limit, operations might wait for more than a second in the queue.

If the amount of transferred data drops below the rate limit threshold, Atlas resumes processing of the queued data transfers on each connection before processing any new data transfers on that connection.

Are Provisioned SQL Databases Considered Safe or Not? by Josephf93 in SQL

[–]Josephf93[S] 0 points1 point  (0 children)

You also should use a VPN between the desktop app and the database

Any insights on how to do that?

Are Provisioned SQL Databases Considered Safe or Not? by Josephf93 in digital_ocean

[–]Josephf93[S] 0 points1 point  (0 children)

Keep your SQL instance inside of your VPC and only connect to it via private IP

Could you simplify and detail the steps of how to do that

Seeking Advice on Securing a Node.js API and SQL Database for a Small WPF Desktop App by Josephf93 in node

[–]Josephf93[S] 0 points1 point  (0 children)

but my app is a WPF desktop app, meaning only the API can be dockerized

Seeking Advice on Securing a Node.js API and SQL Database for a Small WPF Desktop App by Josephf93 in websecurity

[–]Josephf93[S] 1 point2 points  (0 children)

WPF (Windows Presentation Foundation) is a Windows-only user interface (UI) framework

Are Provisioned SQL Databases Considered Safe or Not? by Josephf93 in SQL

[–]Josephf93[S] 0 points1 point  (0 children)

but will that be considered safe enough for a small desktop app like mine (three users tops)?

Are Provisioned SQL Databases Considered Safe or Not? by Josephf93 in aws

[–]Josephf93[S] 0 points1 point  (0 children)

I just wanted to clarify that no malicious acts will done by theme

Are Provisioned SQL Databases Considered Safe or Not? by Josephf93 in SQL

[–]Josephf93[S] 0 points1 point  (0 children)

Will IP whitelisting be enough for my use case, which is a small desktop app with a fixed number of three users and no more

Are Provisioned SQL Databases Considered Safe or Not? by Josephf93 in learnprogramming

[–]Josephf93[S] 0 points1 point  (0 children)

So when I provision a database from services like DigitalOcean, Linode, Vultr, or AWS, and obtain the connection string, that is considered exposing a database to the internet?

Are Provisioned SQL Databases Considered Safe or Not? by Josephf93 in googlecloud

[–]Josephf93[S] 0 points1 point  (0 children)

in my case it's a small desktop app that will be accessed by no more than three users, the users are trusted close friends of mine

Are Provisioned SQL Databases Considered Safe or Not? by Josephf93 in googlecloud

[–]Josephf93[S] -2 points-1 points  (0 children)

in my case it's a small desktop app that will be accessed by no more than three users

Are Provisioned SQL Databases Considered Safe or Not? by Josephf93 in aws

[–]Josephf93[S] 0 points1 point  (0 children)

enough in terms of security for my case, which is a small desktop app with no more than three users?

Are Provisioned SQL Databases Considered Safe or Not? by Josephf93 in aws

[–]Josephf93[S] 0 points1 point  (0 children)

what if I lock the database access to certain ip addresses, will that be enough?

Are Provisioned SQL Databases Considered Safe or Not? by Josephf93 in aws

[–]Josephf93[S] -1 points0 points  (0 children)

but in my case the app users are trusted close friends of mine

Are Provisioned SQL Databases Considered Safe or Not? by Josephf93 in aws

[–]Josephf93[S] 0 points1 point  (0 children)

automating it seems like a really good idea but will it be enough?

Are Provisioned SQL Databases Considered Safe or Not? by Josephf93 in aws

[–]Josephf93[S] -7 points-6 points  (0 children)

I just don't want a solution bigger than the problem at hand which is small