home.social

#razorpages — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #razorpages, aggregated by home.social.

  1. New chapters just dropped!

    Chapters 15–17 of Razor Pages Reimagined with htmx are now available, focusing on enhancing the user experience with hx-indicator, hx-select, hx-vals, and more.

    Build smarter, simpler Razor Pages apps without drowning in JavaScript.

    aspnet-htmx.com/

    #htmx #aspnetcore #aspnet #razorpages #webdevelopment #simplicityfirst #dotnet

  2. Server-driven web apps are making a comeback—and htmx with ASP.NET Razor Pages is leading the charge. Less JS, more speed, and a whole lot simpler. The future looks familiar (in a good way): woodruff.dev/the-future-of-ser

    #htmx #ASPNETCore #RazorPages #WebDevelopment #ServerDriven #FutureOfWeb

  3. htmx makes Razor Pages more interactive—but don’t skip the security checklist. From CSRF protection to request validation, here’s how to keep your htmx apps locked down: woodruff.dev/keeping-your-htmx

    #htmx #ASPNETCore #RazorPages #WebSecurity #DevTips #SecureCoding

  4. Is htmx acting up in your Razor Pages app? Don’t panic—just debug it like a boss. From browser tools to smart logging, here are some tips to make debugging way less painful: woodruff.dev/debugging-htmx-in

    #htmx #ASPNETCore #RazorPages #WebDevelopment #DebuggingTips

  5. If your Razor Pages UI feels clunky, htmx might be the upgrade you’ve been looking for. It has a smoother UX, less JavaScript, and is way more fun to build. See how to level things up: woodruff.dev/boosting-razor-pa

    #htmx #ASPNETCore #RazorPages #WebDevelopment #UserExperience

  6. The first draft of the Introduction section (chapters 1-3) of the #htmx and #ASPNET Core #RazorPages book is done, and I am proofreading it today. May need a few people to proofread before they get pushed to the content site. aspnet-htmx.com/

  7. Excited to announce my new book "htmx Essentials for ASP.NET Core Developers"! Dive into mastering dynamic, server-side interactions with Razor Pages.

    I'm releasing each chapter online as I write at aspnet-htmx.com. The full ebook will be available once it's complete!

    Follow along and elevate your ASP.NET Core development skills with htmx.

    #htmx #ASPNetCore #RazorPages #WebDevelopment

  8. Unleash the potential of your ASPNET Core Razor Pages with #HTMX!

    Check out my .NET Days 2024 talk and learn how to makeCSharpweb apps more interactive & responsive with minimal JavaScript.

    🎥 Watch here: youtube.com/watch?v=si_U3Umqtm

    💡 Simplified development, enhanced user experiences, and expert insights!

    #DotNET #HTMX #RazorPages #WebDevelopment #ASPNetCore #CSharp

  9. Did you know that there's a third edition of Jimmy Engström's Web Development with Blazor book from Packt Publishing?

    He updated every chapter to cover what's new and updated in .NET 8. If you're getting into #Blazor development, it's a great reference to keep by your side. I just left my review on Amazon: amazon.com/review/R8C2Y36H3WSX

    #dotnet #aspnetcore #webdevelopment #razorpages #wasm

  10. Doing a talk at lunch today covering how to improve #ASPNET #RazorPages with #HTMX. I have to give this talk a few times in 2024 at conferences, so it's a great way to improve the content before then. Wish me luck!

  11. I am working on a new personal project using #ASPNET #RazorPages with #HTMX and the #ChinookDB to demonstrate how to access modern browser features directly from HTML rather than using Javascript.

    github.com/cwoodruff/chinook-r

  12. I'm so excited I get to teach #Minimal #APIs with #ASPnet today on #VisualStudio Toolbox. It's a #NoSlides talk about #MVC, #WebAPI, #RazorPages, and now #MinimalAPIs. We'll look at C# 10-12 features too. Join us live at dotnet.microsoft.com/en-us/liv and grab the code at github.com/robrich/minimal-api

  13. Coming from #django, where I had one template partial for rendering forms, I am a bit stumped with #razorpages.

    In Django, the template would loop over every field and make rendering decisions based on the type or attributes.

    In Razor Pages, I can do something similar with custom attributes and looping over `Model.GetType().GetProperties()`, however, the `asp-for` tag helper that helps with model binding won’t work with a dynamic value. I must statically put `Model.ThisProp` 😭

  14. Anyone ever see an issue in #ASPNET where the object received by your destination #RazorPages does not match what you send out on the wire?

    I'm sending along a POST body that contains the valid data, but the receiving page is completely ignoring it in favor of the default values from the model.

    The kicker here is that _the exact same code_ works coming from a different page. I literally copy-pasted it to move it to a new page.

    EDIT: Figured it out fifteen seconds later

    #CSharp #DotNet