Keep it simple, stupid.

Keep it simple, stupid.

Let's learn together while building real-world .NET C# applications. And ML?

My first passion is creating digital products with innovative technology.
My second passion would be dogs.

So, we'll build clean, well-architected apps with great practices for you to adopt.
And hopefully we'll help some dogs along the way.

I pledge to keep things simple.

Find freebies and more source code on my Patreon (link on profile).

I'll be posting lifestyle videos on my other channel: www.youtube.com/@fleedum

Пікірлер

  • @Vishnubhandarge1
    @Vishnubhandarge122 күн бұрын

    I need such small projects. Please develop using web api more

  • @kis.stupid
    @kis.stupid17 күн бұрын

    Hi, my .NET 6 video's are mostly using Web API. I covered most topics on Web API as well. Filters, Rate Limiting, ...

  • @kis.stupid
    @kis.stupidАй бұрын

    @11:25 Turns out you may not need to use Ngrok or any other tunnel as long as you're working on the same machine. I confused the webhook scenario with this one.

  • @kis.stupid
    @kis.stupidАй бұрын

    Source code: www.patreon.com/posts/i-assistant-3-c-107637045 Find more: www.kiss-code.com/products Subscribe: www.kiss-code.com

  • @jalolxanmaxkamov4312
    @jalolxanmaxkamov4312Ай бұрын

    Very good

  • @nileshj2452
    @nileshj2452Ай бұрын

    SAS Url is still an unsecure way of downloading in my opinion. The reason is, however, has access to the SAS Url can download it. May be using OAuth based token to download the blob?

  • @mclab33
    @mclab33Ай бұрын

    Can the NPU, which is on an AMD 8845HS, somehow be used for this ? I wonder how it will work on these 16 TOPS

  • @kis.stupid
    @kis.stupidАй бұрын

    @@mclab33 there's support for AMD but I don't know the specifics, you can find it on Docker hub of ollama/ollama. Or run on CPU and ask the bot ;)

  • @kis.stupid
    @kis.stupidАй бұрын

    Honestly, if you are in possession of an NPU or TPU, you likely know more about the hardware side than I do ;)

  • @kis.stupid
    @kis.stupidАй бұрын

    @04:00 You can easily run on an NVIDIA GPU (way faster): docker run -d --gpus=all -p 11434:11434 --name ollama ollama/ollama Using LLaMA 3 through the CLI can be limiting but mixed into other clients / interfaces / background workers, this can prove to be a power-house! I'll be using it for content ideation, filling gaps in my knowledge / explanations, bulk operations like translations, page fillers, ... for web apps / content & generation, summarize educational material, guides, ... & automate it all! Potentially, to generate code documentation & unit tests? 🤔

  • @kis.stupid
    @kis.stupidАй бұрын

    Get free code: www.kiss-code.com/products Access to most of my code: www.patreon.com/kisstupid

  • @kis.stupid
    @kis.stupidАй бұрын

    Get it here: www.kiss-code.com/product/v2-net-8-brand-website-emailcampaigns-commerce-sponsorship-member Or here: www.patreon.com/kisstupid/shop/v2-net-8-brand-website-emailcampaigns-243600

  • @shabanelmogy7912
    @shabanelmogy79122 ай бұрын

    how can i revalidate token when i open app in two tabs and logout

  • @kis.stupid
    @kis.stupid2 ай бұрын

    Currently the access token is stored in the browser's local storage. Which means that if you log one tab out, nothing changes for the other tab. What you want to accomplish is something that needs to happen server-side. So, the token or cookie being stored server-side may be an approach for you. Or, you could use something like SignalR to send a notification to that user to invalidate the token after a logout occurred. The Identity Endpoints do support the use of cookies, maybe you can look into that approach.

  • @shabanelmogy7912
    @shabanelmogy79122 ай бұрын

    @@kis.stupid im using blazor server with api with jwt and i want to create revalidateauthentication like new class in blazoe template

  • @kis.stupid
    @kis.stupid2 ай бұрын

    @@shabanelmogy7912 Oh, I haven't used that one yet, I'll take a look. There are likely many ways to achieve this. You could set a flag / store a value server-side or in the database but that may defeat the point of 'stateless' authentication using JWTs. Let me know what solution you come up with!

  • @rvrunkillyow716
    @rvrunkillyow7162 ай бұрын

    Does python better to utilize this kind of machine learning projects than having C# as its platform? Thanks in advance.

  • @kis.stupid
    @kis.stupid2 ай бұрын

    Yes, Python has an amazing ecosystem around A.I. a lot of examples, learning materials, tooling, pre-built models, ... Python is also a very accessible language. That said, it's not everyone's favorite language and it does not cover all platforms or use cases. For example, I've trained a feed-forward neural network on embeddings coming from FaceApi.js with TensorFlow.js => fully client-side JavaScript, leveraging the client resources. So perhaps with TensorFlow.NET & Blazor we could do something similar. It would be cool to be able to use our favorite / most familiar language to incorporate A.I. into our apps and APIs. But at times it may be easier to quickly setup a Python API with an API endpoint to the ML model coming from a Python package.

  • @kis.stupid
    @kis.stupid2 ай бұрын

    Instead of downloading the .pt model it may be possible to get it from the Python package. Like so: `model = YOLO('keremberke/yolov8n-pokemon-classification')` I've done that before for other YOLOv8 models with amazing performance.

  • @kis.stupid
    @kis.stupid2 ай бұрын

    Source code: www.patreon.com/posts/object-detection-104964921 Get free code: www.kiss-code.com/products Access to most of my code: www.patreon.com/kisstupid

  • @kis.stupid
    @kis.stupid3 ай бұрын

    Get free code: www.kiss-code.com/products Access to most of my code: www.patreon.com/kisstupid Access 34.000 remote jobs: remotive.com/accelerator?via=auguste

  • @kis.stupid
    @kis.stupid3 ай бұрын

    Source code: www.kiss-code.com/product/my-most-useful-net-8-nuget-packages More: www.patreon.com/kisstupid Blog post: www.kiss-code.com/blog/secure-access-to-azure-storage-blobs-28-04-2024

  • @szekelymatyas2316
    @szekelymatyas23163 ай бұрын

    Hi! Has the endpoint customization been added yet as an official feature?

  • @kis.stupid
    @kis.stupid3 ай бұрын

    Hi! I don't think it will come soon, I opened this issue: github.com/dotnet/aspnetcore/issues/54073 And, we can search these boards for feature planning: - github.com/dotnet/aspnetcore/milestone/288 - github.com/dotnet/aspnetcore/milestone/268

  • @kis.stupid
    @kis.stupid3 ай бұрын

    Source code: www.patreon.com/posts/js-interop-soon-101723417?Link& Get free code: www.kiss-code.com/products Access to most of my code: www.patreon.com/kisstupid Access 34.000 remote jobs: remotive.com/accelerator?via=auguste

  • @jensappelmans3427
    @jensappelmans34274 ай бұрын

    Thanks it helped! Hopefully we can customize the api endpoints in a future release :)

  • @kis.stupid
    @kis.stupid4 ай бұрын

    I hope so too & some security additions like token rotation would be welcome. About the endpoints, something like this would be cool: github.com/dotnet/aspnetcore/issues/54073

  • @tech_scratch
    @tech_scratch4 ай бұрын

    Could you please share the github link

  • @kis.stupid
    @kis.stupid4 ай бұрын

    Here is the link: www.patreon.com/posts/web-scraping-in-88339240?Link&

  • @SertuncSELEN
    @SertuncSELEN4 ай бұрын

    I wasted half a day because I added the wrong library. Be careful when adding libraries!!!

  • @kis.stupid
    @kis.stupid4 ай бұрын

    :') happens to the best of us! Which wrong one did you add?

  • @SertuncSELEN
    @SertuncSELEN4 ай бұрын

    @@kis.stupid I chose the wrong library when I wanted to do it quickly, but I don't remember its name.

  • @JohnSmith-yr7ih
    @JohnSmith-yr7ih4 ай бұрын

    Hi! can you please make a tutorial of aspNet web api + Blazor webassembly (not a `BlazorApp` or `Blazor Server` templates) Identity auth tutotial (new way, .net 8)? register, login, logout features

  • @kis.stupid
    @kis.stupid4 ай бұрын

    Thanks for the suggestion! Do you mean the Identity UI Blazor way? Most other ways I have covered already. - The brand website playlists contains end-to-end authentication Blazor WASM + Identity Endpoints. - I also covered the JWT alternative. - And, I covered an alternative to the out-of-the-box Blazor WASM auth approach. For the Web API approach, I covered that in .NET6 + Blazor WASM I am interested in the BFF approach, I'll cover that later. And possibly the Identity UI approach. Links playlists: - kzread.info/head/PLCRZSJL1Bb7H2-oEZyQgyMMbYNvs-bson - kzread.info/head/PLCRZSJL1Bb7ErP2IbVDFXRYdbNE2fDYtS

  • @joaogabrielv.m328
    @joaogabrielv.m3284 ай бұрын

    Mapster is pretty nice, but there is still heavily relling on Reflections, but still way faster and easier that AutoMapper :v You might want to take a look into Mapperly, it is quite simple to use and it works with Source Generation

  • @kis.stupid
    @kis.stupid5 ай бұрын

    It's an idea to run Blazor and MVC side-by-side, have them navigate to each other. Perhaps share state by using the same scoped services 🤔. But, building up the Blazor while fading out the MVC views or a rewrite seem to be the options. Do you know another approach? Let me know!

  • @WantOxide
    @WantOxide5 ай бұрын

    These idiots managed to mess up even a minimal api call

  • @kis.stupid
    @kis.stupid5 ай бұрын

    Source code: www.patreon.com/posts/migrate-mvc-to-c-99608655?Link& Get free code: www.kiss-code.com/products Access to most of my code: www.patreon.com/kisstupid Access 34.000 remote jobs: remotive.com/accelerator?via=auguste

  • @kis.stupid
    @kis.stupid5 ай бұрын

    Get free code: www.kiss-code.com/products Access to most of my code: www.patreon.com/kisstupid Access 34.000 remote jobs: remotive.com/accelerator?via=auguste

  • @kis.stupid
    @kis.stupid5 ай бұрын

    Get free code: www.kiss-code.com/products Access to most of my code: www.patreon.com/kisstupid Access 34.000 remote jobs: remotive.com/accelerator?via=auguste

  • @kis.stupid
    @kis.stupid5 ай бұрын

    Get free code: www.kiss-code.com/products Access to most of my code: www.patreon.com/kisstupid Access 34.000 remote jobs: remotive.com/accelerator?via=auguste

  • @kis.stupid
    @kis.stupid5 ай бұрын

    Get free code: www.kiss-code.com/products Access to most of my code: www.patreon.com/kisstupid Access 34.000 remote jobs: remotive.com/accelerator?via=auguste

  • @kis.stupid
    @kis.stupid5 ай бұрын

    Get free code: www.kiss-code.com/products Access to most of my code: www.patreon.com/kisstupid Access 34.000 remote jobs: remotive.com/accelerator?via=auguste

  • @kis.stupid
    @kis.stupid5 ай бұрын

    Get free code: www.kiss-code.com/products Access to most of my code: www.patreon.com/kisstupid Access 34.000 remote jobs: remotive.com/accelerator?via=auguste

  • @kis.stupid
    @kis.stupid5 ай бұрын

    Get free code: www.kiss-code.com/products Access to most of my code: www.patreon.com/kisstupid Access 34.000 remote jobs: remotive.com/accelerator?via=auguste

  • @kis.stupid
    @kis.stupid5 ай бұрын

    Get free code: www.kiss-code.com/products Access to most of my code: www.patreon.com/kisstupid Access 34.000 remote jobs: remotive.com/accelerator?via=auguste

  • @kis.stupid
    @kis.stupid5 ай бұрын

    Get free code: www.kiss-code.com/products Access to most of my code: www.patreon.com/kisstupid Access 34.000 remote jobs: remotive.com/accelerator?via=auguste

  • @kis.stupid
    @kis.stupid5 ай бұрын

    Get free code: www.kiss-code.com/products Access to most of my code: www.patreon.com/kisstupid Access 34.000 remote jobs: remotive.com/accelerator?via=auguste

  • @kis.stupid
    @kis.stupid5 ай бұрын

    Get free code: www.kiss-code.com/products Access to most of my code: www.patreon.com/kisstupid Access 34.000 remote jobs: remotive.com/accelerator?via=auguste

  • @kis.stupid
    @kis.stupid5 ай бұрын

    Get free code: www.kiss-code.com/products Access to most of my code: www.patreon.com/kisstupid Access 34.000 remote jobs: remotive.com/accelerator?via=auguste

  • @kis.stupid
    @kis.stupid5 ай бұрын

    Get free code: www.kiss-code.com/products Access to most of my code: www.patreon.com/kisstupid Access 34.000 remote jobs: remotive.com/accelerator?via=auguste

  • @kis.stupid
    @kis.stupid5 ай бұрын

    Get free code: www.kiss-code.com/products Access to most of my code: www.patreon.com/kisstupid Access 34.000 remote jobs: remotive.com/accelerator?via=auguste

  • @kis.stupid
    @kis.stupid5 ай бұрын

    Get free code: www.kiss-code.com/products Access to most of my code: www.patreon.com/kisstupid Access 34.000 remote jobs: remotive.com/accelerator?via=auguste

  • @kis.stupid
    @kis.stupid5 ай бұрын

    Get free code: www.kiss-code.com/products Access to most of my code: www.patreon.com/kisstupid Access 34.000 remote jobs: remotive.com/accelerator?via=auguste

  • @kis.stupid
    @kis.stupid5 ай бұрын

    Get free code: www.kiss-code.com/products Access to most of my code: www.patreon.com/kisstupid Access 34.000 remote jobs: remotive.com/accelerator?via=auguste

  • @kis.stupid
    @kis.stupid5 ай бұрын

    Source code: www.patreon.com/posts/localization-98661735 Get free code: www.kiss-code.com/products Access to most of my code: www.patreon.com/kisstupid Access 34.000 remote jobs: remotive.com/accelerator?via=auguste I failed to get localization into the validation messages so I cut that part out. My assumption was to inject the IStringLocalizer in a FluentValidation Validator or to use it in the Data Annotations but it will require some more tinkering.