The Code Wolf
The Code Wolf
  • Видео 66
  • Просмотров 248 711
Hybrid Cache in .NET 9 is the best new feature
HybridCache service is the best new feature in .NET 9 and ASP.NET Core 9.0. Caching is such a critical part of web apps that many devs overlook, and this new service fixes and improves upon existing options we've had for quite a while. In order to truly understand the benefits of Hybrid Cache, your also must understand the existing caching services in .NET 8 and earlier. So we'll quickly walk through some direct comparison examples to really understand why this new feature is so compelling.
Sample project: github.com/alex-wolf-ps/hybridcache
My other AI and coding views
.NET 9.0 Blazor Features in 9 Minutes
ruclips.net/video/hqEe9i7Gfy0/видео.html
Build AI Apps with Semantic Kernel ruclips.ne...
Просмотров: 1 079

Видео

Build .NET AI Apps using Microsoft.Extensions.AI - the future of .NET AI!
Просмотров 1,9 тыс.День назад
.NET provides many options for building AI apps. In this video, we'll explore the new Microsoft.Extensions.AI library, and how it can be used to improve your .NET AI code. This library allows you to write code using AI abstractions to keep your code loosely coupled and flexible when you want to change AI services or models. My other AI and coding views .NET 9.0 Blazor Features in 9 Minutes rucl...
AI Upscale Any Video on Your Local Machine (for free)
Просмотров 57421 день назад
Learn how to use AI to upscale any video on your local computer! AI upscaling is a common real world use case of AI models, and you can accomplish this for free using Stable Diffusion on your own computer. In this video, we'll walk through the process of upscaling a video using a local AI model with Stable Diffusion and discuss key concepts along the way. Related Stable Diffusion setup video: r...
GitHub Universe 2024 Azure + AI Updates - in 6 Minutes!
Просмотров 29921 день назад
GitHub Universe 2024 is here! In this video, we'll sort through the tsunami of announcements and information to focus on demos of the top updates for Azure and Azure AI developers in only 6 minutes. If you're time constrained or don't have the energy to sort through all the content, this video is for you! My other views .NET 9.0 Blazor Features in 9 Minutes ruclips.net/video/hqEe9i7Gfy0/видео.h...
New .NET 9.0 Blazor Features!
Просмотров 14 тыс.Месяц назад
Let's explore new ASP.NET Core 9.0 Blazor features! .NET 9.0 is almost here, and is mostly feature complete, so let's take a quick look specifically at the new Blazor features and tools we have to work with. There's plenty of cool new features in areas such as render mode utilities and improved components. BUG UPDATE shown in the video: This isn't actually isn't a bug, but I didn't realize addi...
Format and style AI chat prompts and completions - with one line of code!
Просмотров 577Месяц назад
Web AI chat apps often lack proper formatting and look bad visually when you initially create the experience. In this video, we’ll explore the simplest way to add proper formatting and visually appealing styles to your AI Chat apps. We’ll approach this task using concepts and steps that work in any language, whether that’s .NET, Python, or JavaScript. Surprisingly you can accomplish most of thi...
Stable Diffusion AI - a simple intro. Set up and create AI images locally!
Просмотров 1,4 тыс.2 месяца назад
In this video we’re going to explore one of the simplest possible ways to set up and use Stable Diffusion locally on your computer. Stable Diffusion is a free, powerful image generation AI model that can be used for all kinds of things, such as creating your own stock photos. We’ll see how to interact with stable diffusion using a free tool called WebUI, which provides a friendly local interfac...
Use Semantic Kernel to build AI Apps and Agents - a simple intro!
Просмотров 3,3 тыс.3 месяца назад
In this video, we'll explore how to use the Semantic Kernel SDK to build AI powered apps, agents or tools. Semantic Kernel is available for .NET/C#, Python and Java. We'll learn about Semantic Kernel concepts like the Kernel, AI Services, Plugins, Planning, and Personas. Together we'll code an AI agent step by step that can retrieve and archive current news stories - a task most AI models are t...
AI chat thread history in your apps! Maintain conversation context.
Просмотров 4074 месяца назад
In this video, you'll learn how to preserve a conversational chat thread with an OpenAI model, which enables the AI to generate responses based on previous message. This functionality is very useful when you want the OpenAI model to refine results or work back and forth to create an ideal completion. We'll work through code examples in .NET, but the concepts and steps apply to any language.
Use AI to chat with a SQL Database 2.0 - powerful new features!
Просмотров 10 тыс.4 месяца назад
In this video, we’ll see how to use AI to chat with a relational SQL Database using natural language without indexing the data or using a search service. We’ll use the new 2.0 version of the database chat app with the latest Azure OpenAI SDKs for .NET and GPT-4o - a follow up to the first popular video on my channel about this topic. This app allows you to use AI and natural language to query y...
The new OpenAI SDK for .NET is here! Explore the changes.
Просмотров 4445 месяцев назад
OpenAI has released a new official .NET SDK, which means there have also been changes to the Azure.AI.OpenAI package from Microsoft. In this video, we'll explore the relationship between these two NuGet packages and how to use each of them to connect to OpenAI and Azure OpenAI. We'll also compare and contrast these two different services. 00:00 Intro 00:43 OpenAI SDK key concepts 02:28 Explore ...
OpenAPI in .NET 9.0 - How to work with all the changes!
Просмотров 1,2 тыс.5 месяцев назад
OpenAPI in .NET 9.0 has seen significant changes and no longer relies on the Swashbuckle package. In this video we'll explore what those changes are, how to work with OpenAPI in our apps, and how to integrate the new features with existing tools we've used for years, like Swashbuckle and NSwag. 00:00 Intro 00:38 OpenAPI changes overview 01:40 New OpenAPI package demo 05:40 Integrate withe exist...
Host your own AI Model in 10 minutes...for free!
Просмотров 2,1 тыс.5 месяцев назад
There are plenty of AI models and services ready to from various cloud platforms, such as Azure OpenAI and ChatGPT. But what if you want to deploy and host your own AI model? What if you want more control over the costs, resources, security, networking, and architecture? In this video, we'll explore how to deploy and host an Ollama container and an AI model like Phi3 to a service like Azure Con...
Local AI models! Code with Ollama and Phi3.
Просмотров 1,7 тыс.5 месяцев назад
Learn to use Ollama and the Phi3 model to setup and code against a fully local, offline AI environment. This video acts a simple introduction to these powerful tools that can transform your AI development practices. Local AI models are powerful and under-utilized tools that more devs should be using. 00:00 Intro 00:55 Setup Ollama 03:30 Setup the AI model 05:53 Semantic Kernel overview 06:26 Co...
Microsoft Build 2024 - .NET Recap in 6 minutes!
Просмотров 11 тыс.6 месяцев назад
There's an overwhelming amount of information at Microsoft Build 2024 - everything from AI updates to the .NET Aspire release to new platform features. In this video, we'll quickly explore the key announcements you need to know about for .NET 8.0 and 9.0. This is not a deep dive into any single feature, but rather an overview of everything you should be aware of to stay in the loop and dive int...
Will AI actually replace software developers?
Просмотров 5516 месяцев назад
Will AI actually replace software developers?
Azure AI Document Intelligence is awesome! A simple intro.
Просмотров 4,8 тыс.6 месяцев назад
Azure AI Document Intelligence is awesome! A simple intro.
Blazor SignalR File Uploads in .NET .8.0 (Part 3 of the File Upload Series)
Просмотров 5697 месяцев назад
Blazor SignalR File Uploads in .NET .8.0 (Part 3 of the File Upload Series)
AI generate every Pokemon with OpenAI Dalle-3 and custom code
Просмотров 5627 месяцев назад
AI generate every Pokemon with OpenAI Dalle-3 and custom code
Add authenticated user login to any Azure App Service app in 10 minutes!
Просмотров 2,1 тыс.7 месяцев назад
Add authenticated user login to any Azure App Service app in 10 minutes!
Use AI to chat with a NoSQL database! A simple intro.
Просмотров 1,8 тыс.8 месяцев назад
Use AI to chat with a NoSQL database! A simple intro.
Blazor Render Modes - Understand Component Feature Compatibility
Просмотров 1,3 тыс.8 месяцев назад
Blazor Render Modes - Understand Component Feature Compatibility
Azure OpenAI Service content filtering - build safer apps!
Просмотров 1,1 тыс.8 месяцев назад
Azure OpenAI Service content filtering - build safer apps!
Use AI to chat with a relational SQL database with natural language!
Просмотров 27 тыс.9 месяцев назад
Use AI to chat with a relational SQL database with natural language!
.NET 9.0 Preview 1 is here!! An introductory tour.
Просмотров 1,6 тыс.9 месяцев назад
.NET 9.0 Preview 1 is here!! An introductory tour.
Use a Redis Container for local .NET Development (and other frameworks)
Просмотров 2199 месяцев назад
Use a Redis Container for local .NET Development (and other frameworks)
Use a SQL Server Database container for local .NET development (and other frameworks)
Просмотров 1,2 тыс.9 месяцев назад
Use a SQL Server Database container for local .NET development (and other frameworks)
Use the Azure Cosmos DB emulator to develop locally
Просмотров 3,3 тыс.10 месяцев назад
Use the Azure Cosmos DB emulator to develop locally
Authenticate to Azure OpenAI the right way using Microsoft Entra ID
Просмотров 3,2 тыс.10 месяцев назад
Authenticate to Azure OpenAI the right way using Microsoft Entra ID
Introducing Microsoft AppCAT - Analyze your apps for Azure migration in one command.
Просмотров 25810 месяцев назад
Introducing Microsoft AppCAT - Analyze your apps for Azure migration in one command.

Комментарии

  • @puresoul9537
    @puresoul9537 5 дней назад

    Can we use a word file rather than PDF?

  • @mrugajasiknis8510
    @mrugajasiknis8510 6 дней назад

    With the title "Add authenticated user login to any Azure App Service app in 10 minutes!", I assumed u wud show how to add users who can access this application.But this was not the case.

    • @alexthecodewolf
      @alexthecodewolf 6 дней назад

      The users would be anyone who has an account with the authentication providers added to the app.

  • @RajaLakshman
    @RajaLakshman 6 дней назад

    How to install this on my IIS Server so that all users in org can connect to it?

  • @adefwebserver
    @adefwebserver 7 дней назад

    Well done. It is really good you spent 90% of the time carefully explaining "why" this new method is needed 👍🏾

  • @douglas_dev1
    @douglas_dev1 8 дней назад

    Would be nice to have this code in github so we could check it too

  • @D3ATHDUDE2
    @D3ATHDUDE2 8 дней назад

    i cant get mine to launch the web browser for SD. But I triple checked that I followed all of your steps... any ideas why this might be the case? Love your videos btw! EDIT: NVM I quadruple checked and its working perfectly. THANK YOU SO MUCH! I am not tech savvy so with your teaching you'll have a large subscriber base in no time!

    • @alexthecodewolf
      @alexthecodewolf 8 дней назад

      Thanks for watching, glad you got it working!

  • @chercm
    @chercm 9 дней назад

    sorry i have downloaded the code but how to run or execute it ?

    • @chercm
      @chercm 8 дней назад

      any kind soul can guide me please ?

    • @alexthecodewolf
      @alexthecodewolf 8 дней назад

      Hey, the easiest way to run the project assumes you have Visual Studio and .NET 8 installed. Jus go to the root of the folder you downloaded and double click the DbChatPro.sln file to open it in VIsual Studio. Once it loads in Visual Studio, right click on the DbChatPro project (not the .Client one) and select "set as startup project". Then select the green run button at the top of VIsual Studio. This project assumes you have some experience working with .NET projects, but those steps should hopefully get you going.

  • @DSAAcanva
    @DSAAcanva 10 дней назад

    thanks man

  • @ravi36s
    @ravi36s 12 дней назад

    Thank you. Would love to see a demo with a local Ilm n sql

    • @alexthecodewolf
      @alexthecodewolf 12 дней назад

      My local AI video has a demo of wiring up the V1 version of this app to a local LLM ruclips.net/video/177qX6mpyMg/видео.html

  • @eugene5096
    @eugene5096 12 дней назад

    When its better to use Sematic Kernel and this ?

    • @alexthecodewolf
      @alexthecodewolf 12 дней назад

      I'm planning to make a .NET + AI ecosystem video that explains what all the options are and when/why you should use them. But to answer your question, Semantic Kernel is an orchestration tool essentially, so if you need to combine multiple AI models and orchestrate multiple data sources or a series of events that use AI, you'll want to use SK. If you just want to connect to an AI model and do general things with .NET in a loosely coupled way - use Microsoft.Extensions.AI.

  • @timmy334
    @timmy334 12 дней назад

    The only problem with Virtualize is that it doesn't support <select> components.

  • @nicolassuarez2933
    @nicolassuarez2933 13 дней назад

    Outstanding! You also can add a Natural Language Response to. Thanks! I know what you mean, there is no equivalent of Langchain for .NET in order to chat I suppose.

  • @billanderson204
    @billanderson204 16 дней назад

    Yes, please! More Semantic Kernel! What a fun technology. I like the idea of the new AgentGroupChat framework.

  • @abdullahm.3363
    @abdullahm.3363 19 дней назад

    Nice introduction to .NET9

  • @alirezakarimi8685
    @alirezakarimi8685 21 день назад

    Please help me : This browser does not support WebAssembly. This problem has occurred in some clients with Windows 11 and google chrome, whose browser is updated.

  • @tralfmusic
    @tralfmusic 21 день назад

    This is awesome!

  • @dnug4265
    @dnug4265 22 дня назад

    Huge thanks for contributing to the community

  • @jannekallio5047
    @jannekallio5047 23 дня назад

    now that I got used to use the Comfy.... this would be nice there..

  • @michael43567
    @michael43567 24 дня назад

    Insightful, thanks

  • @renierdelacruz4652
    @renierdelacruz4652 24 дня назад

    Grerat video, thanks for sharing

  • @GiridharDuggirala
    @GiridharDuggirala 24 дня назад

    Straight to the point... thank you !!

  • @MartinTrevena
    @MartinTrevena 24 дня назад

    Thanks so much for this it has made my path easier. I have it working against ollama running llama 3.1 and it runs so well locally.

    • @alexthecodewolf
      @alexthecodewolf 24 дня назад

      Nice, local AI models are awesome.

    • @saalihon
      @saalihon 21 день назад

      Hi there, are you using Llama 3.1 8B?

  • @jlou65535
    @jlou65535 25 дней назад

    That is an incredible work ! I already loved v1, and for sure will love more that one ! Thank you Just tested both versions this evening on the same Azure SQL DB (Northwind) and same Azure Open AI GPT4 model. Simple prompts are working well on both versions. But prompts like "please tell me orders sent to European countries and summarize it by customer and countries and display total sales" are working fine on v1, but I often get errors (Error: Incorrect syntax near the keyword 'Order', ... ) on v2

    • @alexthecodewolf
      @alexthecodewolf 24 дня назад

      Thanks! That's interesting to hear because both use the same core logic for the AI communication, I'll have to tinker with that. Hoping to get a video up for v3 soon.

    • @jlou65535
      @jlou65535 24 дня назад

      @@alexthecodewolf I noticed a potential issue with the Azure OpenAI deployment name in the v2 code. It seems the app is consistently looking for a deployment named “wolf” instead of the custom name that is configured. This might be due to the line: ChatClient chatClient = aiClient.GetChatClient("wolfo");. Additionally, could we consider inputting and storing AI context about the database content to enhance the AI results?

  • @sgeorge-jm7dx
    @sgeorge-jm7dx 25 дней назад

    when i do logout. it keep redirecting me to login and auto login without userid and pwd challenge.

  • @marek19922209
    @marek19922209 25 дней назад

    is it possible to use it with test containers ? in order to use in api intergration tests

    • @alexthecodewolf
      @alexthecodewolf 24 дня назад

      I believe you can run this using a container as described here: learn.microsoft.com/en-us/azure/cosmos-db/how-to-develop-emulator?tabs=docker-linux%2Ccsharp&pivots=api-nosql I've never actually tried this approach though so I don't have any further guidance.

  • @pouriameftahi7463
    @pouriameftahi7463 25 дней назад

    first of all tanks for the video, i have a question i build the project like this but with phi3 mini model and ollama the plugin functions not working ... is it about PromptExecutionSettings functionCnoisceBehavier?

    • @alexthecodewolf
      @alexthecodewolf 25 дней назад

      Hey thanks, I'm not sure if I fully understand the issue here, but Ollama with Semantic Kernel recently switched to a dedicated connector package, you can see how that works here: learn.microsoft.com/en-us/dotnet/ai/quickstarts/quickstart-local-ai You'll definitely need to configure your app to allow functions to execute as shown in the video, but I"m not sure if that setting is different somehow for ollama.

  • @seanwalker4184
    @seanwalker4184 26 дней назад

    Thanks for taking the time to share with us!

  • @gianni4302
    @gianni4302 27 дней назад

    I tried this a couple months ago both with gpt4 and a local instance of llama3. I configured it in a similar way where the chain wasnt connected to the database but instead used only the schema to understand it. That is where the major problem is, context windows for LLM's are still relatively small... How have you managed to tokenize an entire schema without breaking the context window within 2-3 messages?

    • @alexthecodewolf
      @alexthecodewolf 27 дней назад

      Hey, I talk about this a bit in part 2 of this video. Basically the best option is to use gpt-128k or some model with a large token limit. If that's still too small I believe some services let you request more. Otherwise you just have to try either break it into pieces, exclude tables you may not need, or find a different solution in general - this is definitely a limitation

    • @gianni4302
      @gianni4302 26 дней назад

      @@alexthecodewolf Thanks for the response. I struggled with higher context models as they hallucinated too much to make reliable SQL executions. Tbf, i was using langchain so there could have been other variables within one of the models that caused this. I have been told on github to look into a RAG system to retrieve only parts of the schema that are relevant? Well above my pay grade at this point! Thank you again for the videos man, you are very helpful

  • @johnsmythe7202
    @johnsmythe7202 28 дней назад

    Got to say I HATE the new net 8. They have changed the simple ability to determine what program starts if you are debugging Class libraries with AutoCAD. I can't figure out how to change the program it starts. It is a huge mess from how simple it used to be.

  • @abelgalindo1458
    @abelgalindo1458 29 дней назад

    I really enjoy this video. Is there a way you can create a video or provide some sample code to create a new plugin to read data from our own pdf?

  • @malovicn
    @malovicn Месяц назад

    Superb presentation - subscribed to channel!

  • @alexthecodewolf
    @alexthecodewolf Месяц назад

    BUG UPDATE shown in the video: This isn't actually isn't a bug, but I didn't realize additional code was required to make this work. You have to set a [CascadingParameter] HTTP Context property - you can see the code example here: learn.microsoft.com/en-us/aspnet/core/release-notes/aspnetcore-9.0?view=aspnetcore-8.0#add-static-server-side-rendering-ssr-pages-to-a-globally-interactive-blazor-web-app

  • @hussainal-ahmdi1484
    @hussainal-ahmdi1484 Месяц назад

    Thanks mate

  • @srikanthvarmakota
    @srikanthvarmakota Месяц назад

    here i have one doubt now we are also using the same methods but for same prompt it is preparing different querys when we submit the prompt multiple times

  • @Termit2009
    @Termit2009 Месяц назад

    Thank you!

  • @nthterm6408
    @nthterm6408 Месяц назад

    Thanks

  • @waynehawkins654
    @waynehawkins654 Месяц назад

    Blazor just keeps getting better. It's on fire.

  • @UmbertoK-dq6pt
    @UmbertoK-dq6pt Месяц назад

    Any chance that you will do a video for dummies showing how to deploy from github ? ;)

  • @simmothomas2138
    @simmothomas2138 Месяц назад

    You should probably tell people running AMD systems not to bother....

  • @MihaiMoisei
    @MihaiMoisei Месяц назад

    Thank for this usefull presentation.

  • @microtech2448
    @microtech2448 Месяц назад

    Hi, do you have a complete latest blazor course from scratch on your channel?

    • @alexthecodewolf
      @alexthecodewolf Месяц назад

      I don't, but I've been thinking of making one

    • @microtech2448
      @microtech2448 Месяц назад

      @@alexthecodewolf Thanks, would be waiting for it.

  • @ACH-up1xp
    @ACH-up1xp Месяц назад

    Thanks for forwarding this video, the link doesn’t work when I click it what do I need to do?

  • @jeffersantosss
    @jeffersantosss Месяц назад

    With a primary constructor, this could be even simpler

  • @ACH-up1xp
    @ACH-up1xp Месяц назад

    How do I do this ??

    • @alexthecodewolf
      @alexthecodewolf Месяц назад

      ruclips.net/video/ou3Ne3JTXJo/видео.html

  • @AlaaMasalmeh
    @AlaaMasalmeh Месяц назад

    Does it retain state after reconnection?

  • @ozanyasindogan
    @ozanyasindogan Месяц назад

    I believe the bug you mentioned may be somehow related that you only have one project set up and configured to support server side rendering alone. When you have different interaction modes, .net configures two projects by default. You may want to try the same with default setup for interactive rendering.

    • @alexthecodewolf
      @alexthecodewolf Месяц назад

      Hey thanks for watching. You should only need two separate projects if one of the render modes is webassembly because that complies a separate dll that gets sent to the browser. Both server side rendering modes should be able to be used interchangeably in the same project. The reverse of this scenario does work, where server static is the default but you enable interactive on a single component for example, assuming you configure interactive server in your program.cs

  • @adamoneil7435
    @adamoneil7435 Месяц назад

    nice demo of the server reconnect experience

  • @kourosh234
    @kourosh234 Месяц назад

    is it possible to show quickgrid as bootstrap?

    • @alexthecodewolf
      @alexthecodewolf Месяц назад

      Yes, you can add classes to the main grid component that are rendered in the final table output, and columns and rows can be styled as well. It'll just take some manual class assignments to the components and tinkering

  • @ghuang0207
    @ghuang0207 Месяц назад

    awesome video!! Thank you very much. Wonderful if you have have a video talk about how to chain multiple AI models together? and call different API for database query and so on.

    • @alexthecodewolf
      @alexthecodewolf Месяц назад

      Glad you enjoyed it, thanks for the recommendations here!

  • @saroshwadia
    @saroshwadia Месяц назад

    great video with nice looking UI - Is the source code or link to the repo available? Thx

    • @alexthecodewolf
      @alexthecodewolf Месяц назад

      Thanks for watching, I added a GitHub project in the description, or here: github.com/alex-wolf-ps/ai-chat-app You will of course need your own OpenAI deployment for this to work.