RazorLight
SvelteKit
Our great sponsors
RazorLight | SvelteKit | |
---|---|---|
11 | 608 | |
1,479 | 17,471 | |
- | 1.9% | |
0.0 | 9.8 | |
6 months ago | 6 days ago | |
C# | JavaScript | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
RazorLight
-
Introducing TopazView: A Lightweight and Powerful View Engine
Yes, I have used Razor pages in non-website applications before where I needed to load the cshtml templates from a different source. I have written Line of Business apps (think WinForms or WPF) where the reporting spits out HTML with tables and charts. There are a number of similar projects to yours out there which I have used in the past such as RazorLight or RazorMachine.
- A Handlebar and Puppeteer Equivalent in C#?
-
Sending HTML based emails. Is there an easier way to dynamically generate the document?
Your mileage may vary but I've had good luck with the RazorLight library for generating HTML emails from a template with data merged in. Under the hood, it uses the ASP.NET Razor engine for applying a model to a template.
-
Email template engine
We use https://github.com/toddams/RazorLight in combination with serverless functions.
- Rendering HTML (C# windows forms) not working after deploy
-
Generating html in a hosted service
you could use a razor based engine to generate html based on a view model (your data). take a look at: https://github.com/toddams/RazorLight i use it to generate html emails
-
Don't make me think, or why I switched to Rails from JavaScript SPAs
Rails has a templating system for generating emails (standard HTML/ERB files). If you're running an ASP.NET Web API (not MVC) the best way of doing that I've found is via Razorlight which you have to set up manually - https://github.com/toddams/RazorLight
With Rails the standard is pretty much Devise or Omniauth (or both) - does everything for you. I've never found anything for ASP like Devise which gives you an entire login system with all the required views/migrations in a couple commands.
-
How would you setup a e-mail template / content in .NET in order to reference to templates when sending mail?
I use RazorLight: https://github.com/toddams/RazorLight
- How do you manage transactional email templates?
-
New library: BlazorTemplater
Sorry! I only realised the need on Monday when my .NET Standard Library that contains .cshtml templates broke when I added .razor support. I use RazorLight and used to use RazorEngine before that.
SvelteKit
- Cannot CRUD cookies in SvelteKit from another port
-
The State of Angular SSR Deployment in 2024
These adapters, for example, were built by the community: https://github.com/sveltejs/kit/tree/master/packages/adapter-vercel https://github.com/nuxt/vercel-builder If somebody builds a working one for Angular Universal, we will gladly add it to our Framework Presets → https://vercel.com/docs/concepts/deployments/build-step#framework-preset.
-
AI for Web Devs: Deploying Your AI App to Production
UPDATE: If you liked this project and are curious to see what it might look like as a SvelteKit app, check out this blog post by Tim Smith where he converts this existing app over.
-
Ask HN: Looking for lightweight personal blogging platform
I've played around with several platforms in the last year or so. I've landed on the following setup that works very well for me and ticks all your boxes:
A SvelteKit[0] app hosted on Cloudflare pages. The repo is hosted on GitHub and hooked up to the Cloudflare Pages app [1]. On PRs, I get preview environments. On merge, the changes get deployed to my "production" website. I write blog posts and other content in markdown, which is then processed by mdsvex[2] with very minimal setup.
Mostly, my requirements were more focused around getting the actual framework, hosting, etc. out of my way so that I could focus on writing. Gatsby and Next.js were too configuration heavy and turned me off once I scratched beyond the surface.
-
Mini site for recommending songs using Svelte & Deno
Behind the scenes is a simple Sveltekit-powered server function to fetch a Spotify client token then find a user's recommendation playlist and its track information. A Deno edge function to performs this data fetch and renders server-side Svelte.
-
Removing React is just weakness leaving your codebase
It’s 2024, and you are about to start a new project. Do you reach for React, a framework you know and love or do you look at one of the other hot new frameworks like Astro, Enhance, 11ty, SvelteKit or gasp, plain vanilla Web Components?
-
CryptoFlow: Building a secure and scalable system with Axum and SvelteKit - Part 5
From part 0 to part 4, we built out CryptoFlow's backend service. Though we can quickly use Postman, VS Code's ThunderClient or automated tests to see the endpoints working easily, this isn't all we want. We want to actively interact with the backend service via some intuitive user interface. Also, a layman wouldn't be able to "consume" the service we've built in the last parts. This article introduces building out the user interface of the system. We will be using SvelteKit, a framework that streamlines web development, and TailwindCSS, the utility-first CSS framework. Let's dig in!
-
How I Contributed to Open-Source While Learning Svelte
The tutorial is composed of four parts, covering both Svelte and SvelteKit, which is a UI framework for Svelte.
-
CryptoFlow: Building a secure and scalable system with Axum and SvelteKit - Part 1
CryptoFlow is a full-stack web application built with Axum and SvelteKit. It's a Q&A system tailored towards the world of cryptocurrency!
-
Cryptoflow: Building a secure and scalable system with Axum and SvelteKit - Part 0
Being a pragmatist, it's always intriguing to learn by building cool systems with the best tools currently available. The last time I did this, three series came out and it was fulfilling. Having had some break, I decided to build something with axum, "a rust web application framework that focuses on ergonomics and modularity". As usual, SvelteKit comes to our rescue at the front end. What are we building? That's a nice question!
What are some alternatives?
Next.js - The React Framework
Nuxt.js - Nuxt is an intuitive and extendable way to create type-safe, performant and production-grade full-stack web apps and websites with Vue 3. [Moved to: https://github.com/nuxt/nuxt]
Express - Fast, unopinionated, minimalist web framework for node.
astro - The web framework for content-driven websites. ⭐️ Star to support our work!
vite - Next generation frontend tooling. It's fast!
RazorEngine - Open source templating engine based on Microsoft's Razor parsing engine
Svelte - Cybernetically enhanced web apps
qwik - Instant-loading web apps, without effort
remix - Build Better Websites. Create modern, resilient user experiences with web fundamentals.
solid - A declarative, efficient, and flexible JavaScript library for building user interfaces.
Angular - Deliver web apps with confidence 🚀
Playwright - Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.