Files

52 lines
2.9 KiB
C#

namespace WebAssembly.Data;
public static class TechStackData
{
public static List<TechStack> RawData =
[
new()
{
Name = "Blazor WebAssembly",
Description = "Framework for web applications for easy distribution and no hosting costs with third parties",
InUse = true,
ExtendedNotes = """
Simple and easy to distribute. I like C#, and it's C# web development, what's not to like.
Obviously con is if I want the user to save state between usages, I am relying on something unreliable like local storage which can be cleared by the user or obviously not transferred between different browsers.
So needs to be used in reference and informational only content. I suppose I could rely on the user to handle copying and pasting the data, but a tad cumbersome and unrealistic to expect that.
"""
},
new()
{
Name = "Blazor Server",
Description = "Framework for web applications that allows for database interactions",
InUse = false,
ExtendedNotes = """
Easy to distribute. I'll need to have to deal with authentication and all those security concerns.
Needs a database to store data. Local hosting Postgresql is the plan.
Unideal support implications. Need to make deleting all user data very easy for legal compliance.
Less reliability. Server can go down, and I can have a long outage. Fallback to Blazor WebAssembly version hosted by a third party.
"""
},
new() {
Name = "MAUI",
Description = "Framework for mobile and desktop applications",
InUse = false,
ExtendedNotes = """
So I get around the whole unreliableness of web storage by saving files locally.
I can easily distribute via an exe file or apk. Obviously con of that is the user needs to install a exe file or apk, so there is going be a clear 'this could be a virus' type of warning popup to discourage the user.
Potentially can distribute via Google Play or Windows Store and be subject to the whims and veto power of a third party.
"""
},
new()
{
Name = "PostgreSQL",
Description = "Relational database management system",
InUse = false,
ExtendedNotes = """
I am picking PostgreSQL because it appears free and simple. I have pgAdmin installed and it running.
Need to just actually implement using it in the far future.
"""
},
];
}