Tweaking Kestrel

Поділитися
Вставка
  • Опубліковано 23 лис 2021
  • Let's look at how to adjust the Kestrel settings in Visual Studio. See how in this 10-Minute Training video.
    Full Courses: iamtimcorey.com
    Source Code: leadmagnets.app/?Resource=Twe...
    Mailing List: signup.iamtimcorey.com/

КОМЕНТАРІ • 37

  • @muhammedalikhan7559
    @muhammedalikhan7559 2 роки тому +14

    This is amazing. I have an idea bout the 10 mins series: when you create an hour long video, also create a 10 min version of it. If someone wants to go into depth then they can watch the hour long one as well. Just a thought. Amazing work as usual!

  • @dsx7517
    @dsx7517 5 днів тому

    Is there a video how to troubleshoot Kestrel when it is running outside of Visual Studio?
    My Blazor server project is running perfectly fine from VS, but after publishing it (into a local folder) it's not working at all.

  • @King-Merlin
    @King-Merlin Рік тому

    does this apply to projects published in a folder on the PC, cause iv got more than one web project I would like to run outside Visual Studio ?

  • @AndreasRavnestad
    @AndreasRavnestad 2 роки тому

    Nice video, thanks! If you don't mind me asking, could you please tell us which VS theme you are using?

    • @IAmTimCorey
      @IAmTimCorey  2 роки тому

      The Dark theme that comes with Visual Studio.

  • @williamliu8985
    @williamliu8985 2 роки тому

    That`s cool. Recently, I was trying minimal APIs and saw these settings in the project. Never know they are calling "Kestrel". It`s a bit hard for me to pronounce it, but still cool to know its name and usage.

  • @distinguishedmoments2277
    @distinguishedmoments2277 2 роки тому +1

    Cool stuff. I would love to see a video when you talk a little more about events in blazor wasm. Just putting it out there, Stay fresh brother

    • @IAmTimCorey
      @IAmTimCorey  2 роки тому

      I will add it to the list. Thanks for the suggestion.

  • @S3Kglitches
    @S3Kglitches 2 роки тому

    Thank you. Could you do a video about Blazor Server prerendering creating circuits twice (or pre-rendering vs no pre-rendering)? I can see it on scoped services - they are instantiated twice and because scope is circuit, then probably circuits are created twice when pre-rendering. Circuits lifetime can be also watched using the built-in class CircuitHandler (overriding event handlers in a derived class).

    • @IAmTimCorey
      @IAmTimCorey  2 роки тому +1

      Thanks for the suggestion. Please add it to the list on the suggestion site so others can vote on it as well: suggestions.iamtimcorey.com/

  • @vinoththangavel185
    @vinoththangavel185 2 роки тому

    For Blazor wasm application with Client (https:localhost:5001), Server (https:localhost:5001) and API (https:localhost:7201) projects in same solution, VS always launches API project at 5001 port though I specified different port 7201 and set as startup project; and how to instruct or force kestrel server to launch each app in specified port when multiple projects (Server and API) set as start-up. Pl advise what I am missing here?

  • @dfytq
    @dfytq Рік тому

    How to pick different implementation of an interface based on environment? Should we place them inside if else condition in startup.cs ?

  • @LoganDunning
    @LoganDunning 2 роки тому +3

    First off I love all of your videos. I was really hoping for some advanced training. This video should really be called kestrel basics. we went into environmental variables and ports. please let me know if you do anything more advanced I would love that

    • @IAmTimCorey
      @IAmTimCorey  2 роки тому

      This is called 10-minute training for a reason - I'm just touching on a small slice of a topic. As for advanced training, what exactly are you thinking of? Kestrel is a developer web server designed for quick use. I'm not sure I see the value of pushing it beyond those bounds.

  • @paxvostrum4824
    @paxvostrum4824 2 роки тому

    Is there any way to host a Blazor app using just kestrel, so it was accessible from clients machines in Network?

    • @IAmTimCorey
      @IAmTimCorey  2 роки тому +1

      Yes, but you have to modify your computer's firewall, you need to update your Kestrel settings, and you need to reference your application by its IP address (instead of localhost) so that others can access it.

  • @Blemx
    @Blemx 2 роки тому +13

    The sound on notification and comment animation at start is very annoying

    • @ItsJustEza
      @ItsJustEza 2 роки тому +2

      I hate these and how they have become commonplace, they are so obnoxious. PS. something wrong with the title, it's just "- A TimCo Retail Manager Video"

    • @IAmTimCorey
      @IAmTimCorey  2 роки тому +4

      I’m working on the level of that sound. I’ll lower it some for the next video. The benefit of the animation is that I don’t have to say “like, subscribe, etc.” so I do want a bit of sound to draw peoples’ attention but I don’t want to be distracting.

  • @weifengmao
    @weifengmao 2 роки тому

    I would recommend covering vs code configuration as well which uses launch.config(c# extension) instead of launchsetting.config. because devs who choose kestrel are more likely to be cross platform (and use vscode)

    • @IAmTimCorey
      @IAmTimCorey  2 роки тому +1

      I have covered using VSCode with C# code before ( ua-cam.com/video/r5dtl9Uq9V0/v-deo.html ) but I'll add that suggestion to the list.

  • @charlesaboujawdeh
    @charlesaboujawdeh 2 роки тому +1

    Can you make a video about your opinion on Entity Framework 6

    • @IAmTimCorey
      @IAmTimCorey  2 роки тому +1

      This video covers my thoughs on EF, regardless of the version: ua-cam.com/video/qkJ9keBmQWo/v-deo.html

  • @robiulhassan4263
    @robiulhassan4263 2 роки тому +3

    The content name should be Kestrel settings. I think

    • @IAmTimCorey
      @IAmTimCorey  2 роки тому +1

      Yep, I missed that in my edit. I fixed it now. Thanks.

  • @kirillzlobin7135
    @kirillzlobin7135 3 місяці тому

    So why do we have Kestrel and IIS

    • @IAmTimCorey
      @IAmTimCorey  3 місяці тому +1

      IIS came first. It was built into all versions of Windows (desktop and server). It was what we used to host all websites hosted on Windows. When .NET Core came around, they needed a new testing web server that worked cross-platform. That's why they created Kestrel.

    • @kirillzlobin7135
      @kirillzlobin7135 3 місяці тому

      @@IAmTimCorey Thank you very much

  • @patrickjudson
    @patrickjudson Рік тому +1

    I love your videos but you did not show any tweaking here.
    Perhaps a more appropriate title would have made things clearer.

    • @IAmTimCorey
      @IAmTimCorey  Рік тому

      Changing the launch name, the port, and the environment are all tweaks to the default Kestrel setup.

  • @MrCamster999
    @MrCamster999 2 роки тому

    Cool

  • @jhbonarius
    @jhbonarius 2 роки тому

    Random comment for UA-cam algorithm