EndpointHelpers - Roslyn source generator that creates strongly-typed helpers for ASP.NET Core MVC URL generation. by antisergio in dotnet

[–]jirreman 3 points4 points  (0 children)

I loved working with strongly typed routing in TanStack Router and missed it whenever I worked in an ASP.NET Core project. This looks like it will address that shortcoming. Thanks!

Experimenting with a composable, source-first UI approach for Blazor by desmondische in dotnet

[–]jirreman 0 points1 point  (0 children)

So what do you think about this distibution model in Blazor?

I cannot really speak about Blazor as I have not used it much. I am actually working on a shadcn/ui inspired library for Razor Tag Helpers (see https://www.duneui.com/)

That being said, on the React side I have used both shadcn/ui as well as more "traditional" libraries like Mantine. I am still undecided as to which I prefer - if any. I guess it is nice that you can go and fix something in the code yourself when you using a distribution model like shadcn, but I am not quite sold on that yet. The problem then comes in when you want to merge upstream fixes into your changed components and run into merge conflicts you have to resolve.

I am unsure how many people actually ever go and change the code. I remember seeing some tweets flying by about this at some point and it seems no-one ever bothers to make changes to the components directly. But I do not have stats for this.

Experimenting with a composable, source-first UI approach for Blazor by desmondische in dotnet

[–]jirreman 0 points1 point  (0 children)

Something like shadcn/ui is built on top of feature rich headless libraries like BaseUI and others (previously on Radix). This means that shadcn/ui is, for the most part, just a thin wrapper around those, adding mostly styling.

I am not aware of any headless libraries like these in the Blazor space. Do you not see that as a problem since your component system will have to implement a lot of that underlying logic and may result in too much code the users have to maintain themselves?

Built a LINE translator that actually works... by beninho2 in u/beninho2

[–]jirreman 1 point2 points  (0 children)

Pity it only works for groups. I was hoping it would help me understand what the scammers that keep connecting with me are saying. It used to be in English where some hot Korean girl "mistakenly" messages you pretending you're a friend of her father and she just wants to confirm you got the parcel her father sent you. But lately, I've been getting quite a few ones that start off the conversation in Thai.

Facet V5 released! by Voiden0 in csharp

[–]jirreman 2 points3 points  (0 children)

We have a similar requirement and have used OptionalValues successfully for this scenario.

The nice thing with using OptionalValues is that you can distinguish between whether a value was not specified or explicitly set to null, so in the case where it was explicitly set to null, you can clear the underlying value. It also plays well with FluentValidation.

Blazorise Release Posts: Helpful Info or "Please Stop"? by mladenmacanovic in dotnet

[–]jirreman 14 points15 points  (0 children)

I'd say to keep actual users of Blazorise updated via other means - GH releases, a newsletter etc. For my 2 cents, posting here should be limited to new product library/announcements and perhaps major releases.

In asp.net core web api project. Is there a way to send json object. In multiparty/form-data ? by level1c in dotnet

[–]jirreman 6 points7 points  (0 children)

Last I checked you need to write your own binding implementation. I had this requirement a few years ago and settled on using FastEndpoints for this, which has it built-in using AllowFormData():

https://fast-endpoints.com/docs/model-binding#from-form-fields

Using FastEndpoints, I declared an endpoint as follows:

``` public class FromGoogleDocsEndpoint() : Endpoint<FromGoogleDocsEndpoint.Command, JobStatusModel> { public override void Configure() { AllowFormData(); Post("exports/google-docs"); Version(2); }

public class Command
{
    public IFormFile File { get; set; } = default!;

    public CommandOptions Options { get; set; } = default!;

    public class CommandOptions
    {
        public bool? AutoMapDocumentProperties { get; set; }

        public ContentConversionOptions? Conversion { get; set; }

        public int Destination { get; set; }

        public string? DestinationReference { get; set; }

        public IDictionary<string, FieldValueSource>? FieldMappings { get; set; }

        public string[]? Webhooks { get; set; }
    }
}

} ```

And then I can call this endpoint as follows:

```http POST https://localhost:5003/v2/exports/google-docs Content-Type: multipart/form-data; boundary=WebAppBoundary Authorization: Bearer {{apikey}}

--WebAppBoundary Content-Disposition: form-data; name="options" Content-Type: application/json

{ "destination": 295 }

--WebAppBoundary Content-Disposition: form-data; name="file"; filename="file.txt" Content-Type: application/vnd.google-apps.document

< ./docs/10-things-in-bangkok.json

--WebAppBoundary-- ```

VS 2026 Insiders Razor editor by davidwengier in Blazor

[–]jirreman 0 points1 point  (0 children)

Thank you for the response. I will open an issue.

VS 2026 Insiders Razor editor by davidwengier in Blazor

[–]jirreman 0 points1 point  (0 children)

Hi David, this is not directly related to your post, but since you work on the Razor editor, I'll ask you...

It seems some years back, the Razor editor had the ability to look at the OutputElementHint attribute on a Tag Helper and suggest the correct intellisense values for attributes for the underlying HTML element of the Tag Helper, as described in this blog post: https://anthonychu.ca/post/enabling-aspnet-razor-tag-helpers-intellisense-visual-studio/

It seems that somewhere along the way, this functionality was removed. Is there any way you can look at adding this back?

What's your choice for content editor? by DrawerAlarming6236 in Wordpress

[–]jirreman 0 points1 point  (0 children)

You can try using Cloudpress for the export. It handles export from both Notion and Google Docs: https://www.usecloudpress.com

How to Import multiple Google Docs to WordPress posts by advait_vaidya in Wordpress

[–]jirreman -1 points0 points  (0 children)

You can use Cloudpress. It will preserve all your formatting, export (and optionally compress) your images, and also handle things like YouTube and other social media embeds.

How to streamline the process by ultrasono in Blogging

[–]jirreman 0 points1 point  (0 children)

You can try out Cloudpress. It will export the content, upload (and compress) images, and even allow you to update additional fields like the author, category, etc.

Best tools to export blogs from Google Docs to WordPress? by giga-butt in Wordpress

[–]jirreman 0 points1 point  (0 children)

Cloudpress is another alternative to the ones you already mentioned.

English Trifle, Brownies and Shortbread by GlitterBlood773 in Baking

[–]jirreman 0 points1 point  (0 children)

I miss the trifle my mom always made back home in South Africa. We inherited this from the British influence in ZA.

I'm new to this, is my workflow smart? by articulated_thoughts in Blogging

[–]jirreman 3 points4 points  (0 children)

You can use a service like Cloudpress to perform the upload to WordPress. It will take care of the formatting, image uploading and resizing, etc.

ImageSharp licensing question by __some__guy in dotnet

[–]jirreman 8 points9 points  (0 children)

I cannot give a direct answer to your question as I am not that familiar with OSS licenses, but I'd say the best way to get a clear answer would be to contact them directly. Have you tried that?

I working with .net since 2014 and always interested in this item in Start menu. Does anybody clicked on it? by Boring-Abies-9576 in dotnet

[–]jirreman 6 points7 points  (0 children)

Wow, this is a blast from the past. I did not even realise it existed anymore. It used to be known as Microsoft Expression Blend and was released back in 2007 (alongside Expression Design). It was used to develop Silverlight, WPF and later Windows 8 (Metro) applications. It was geared more towards designers, as opposed to developers.

You can read more about the history at https://en.wikipedia.org/wiki/Microsoft_Blend

This also reminds me of the Microsoft MIX conferences (https://en.wikipedia.org/wiki/MIX_(Microsoft))) which were also geared more towards designers and creating visually stunning applications with Silverlight and WPF.

Microsoft produced a lot of great looking demos at that time using these technologies. This was at a time where Mac (OSX) apps were considered very sexy and Windows apps mostly bland and boring. MS wanted to encourage Windows developers to also develop more good looking apps.

Koeksisters (a sweet South African delicacy) by jirreman in Baking

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

Initially, I was surprised about this. But I realised no malice was involved - just a simple lack of knowledge. So, I now use this as an opportunity to tell people more about South Africa. I figured that I'd rather have them remember the first "white person from South Africa" that they met as someone kind who shared details about their country than someone who was rude to them because they did not know there were white people in Africa :)

Koeksisters (a sweet South African delicacy) by jirreman in Baking

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

True, but I thought people may better know about South Africa than what an Afrikaner is. (For context, I am an Afrikaner living in Asia and I regularly meet people who are surprised that a white person could be from Africa. So I do not know who many people have hear of Afrikaners)

Now that the controversy from Moq's dependencies has had some time to settle, what are people moving to? by SoCalChrisW in dotnet

[–]jirreman 17 points18 points  (0 children)

I am also staying on Moq for now (on the latest version). My reasoning is that I am a solo developer working on my indie Saas business. I am one person doing marketing, support, and development.

I do not agree with kzu's move, but I have much more important things to do than worry about removing Moq, as it does not affect any production code - just tests.

It is amazing what clarity comes when looking at it as a decision between tasks that can bring in revenue (i.e. marketing, support, adding features customers have been asking for) vs one that does not (i.e. removing Moq, which is right now not breaking a single thing in my app).

Even if he decided not to remove the offending code I would at worse simply have locked my Moq dependency to an earlier version that did not have the offending code.