Deploying Blazor Mini Course: GitHub Actions and Continuous Delivery

Поделиться
HTML-код
  • Опубликовано: 7 май 2023
  • Deploying Blazor is really easy. But instead of me just showing you a few magic steps, we are going to break down the deployment process and understand each piece well. That way, you are prepared to use each step in the real world with a real project.
    In the last video, we created a Blazor Server project and displayed the connection string, we set up a GitHub repository, and we configured our Azure Web app that we want to deploy to. Now in this video, we are going to set up the GitHub Action to deploy our site automatically when we commit code to the repository.
    Playlist: • Deploying Blazor Mini ...
    Full Training Courses: IAmTimCorey.com
    Source Code: leadmagnets.app/?Resource=DB-...
    Mailing List: signup.iamtimcorey.com/

Комментарии • 43

  • @jamisonr
    @jamisonr 5 месяцев назад +1

    Just tried all this with .Net 8 Blazor (including the publish to Azure). Steps are identical, and screens are 95% the same as well. Very easy to follow, thanks.

  • @saddamhossaindotnet
    @saddamhossaindotnet Год назад +2

    Just Awesome! Thank you so much!

  • @justinmarshall1930
    @justinmarshall1930 2 месяца назад

    Thanks Tim, great fun!

  • @J_birdy814
    @J_birdy814 3 месяца назад

    Amazing as always! Would be nice to see best practices in creating self hosted runners and deployments with actions for IIS servers. :)

    • @IAmTimCorey
      @IAmTimCorey  3 месяца назад

      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/

  • @JoeBonez
    @JoeBonez Год назад +3

    Why would you choose GitHub actions over Azure DevOps or vice-versa?

    • @IAmTimCorey
      @IAmTimCorey  Год назад +2

      Microsoft owns both. They recommend going to GitHub if you are a new project. They also put the new features in GitHub first.

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

    I dont have Deployment Section or Deployment Center, after Events next section is Settings. Any way to add this?

  • @migueld6851
    @migueld6851 10 месяцев назад

    hey bro thanks for sharing this videos. :D

  • @vitorarchanjovasconcelosch1444
    @vitorarchanjovasconcelosch1444 10 месяцев назад

    Hi Tim! First of all thanks for the great video! I'm using .NET 7.0 and when I publish my app through Github Actions it works but I get the Application Error message when accessing the website, so I tried through the publication interface in VisualStudio, and it shows an error in Swagger, and I can't find what could be . I checked the dependencies and everything seems to be fine

  • @caseyspaulding
    @caseyspaulding Год назад

    Much appreciated

  • @hqcart1
    @hqcart1 Год назад

    Hello tim, why would we want to add another level of complexity while we can push directly github? are there any benefits?
    Thank you.

    • @IAmTimCorey
      @IAmTimCorey  Год назад +1

      This isn't standing in between you pushing to GitHub. It is setting up an automation so that when you do push to GitHub, the deployment happens automatically to Azure.

    • @hqcart1
      @hqcart1 Год назад

      @@IAmTimCorey Thank you for clarification!

  • @luisfernandodeolazabalsche3317

    Muchas gracias

  • @muzammilghani2492
    @muzammilghani2492 10 месяцев назад

    Thanks for teach us sir. please tell me what's wrong with I got this error while deploying in GitHub. I used same config as yours.
    "Specify which project or solution file to use because this folder contains"

    • @IAmTimCorey
      @IAmTimCorey  10 месяцев назад

      It sounds like you might have additional layers in your application or multiple UI layers.

    • @muzammilghani2492
      @muzammilghani2492 10 месяцев назад

      @@IAmTimCorey Yes, I do.

  • @Cobse85
    @Cobse85 9 месяцев назад

    Hi Tim.
    Tried to comment with links but seems to be removed.
    MS docs are saying that this isn't possible with Linux. Tried to do what you did here with Linux an all I get is: "Your web app is running and waiting for your content"
    In the previous video you've used Linux in Azure, but I assume you're using Windows for this showcase?
    Thanks for great video content!

    • @IAmTimCorey
      @IAmTimCorey  9 месяцев назад

      No, it runs just fine on Linux. I'm wondering if you are looking at documentation around the .NET Framework. That will only run on Windows. Although, Blazor is just in ASP.NET Core. If you look at 1:21, you will see that the operating system is Linux. Also, the build server uses Ubuntu to build the project and deploy it.

  • @guillaumeboucher8022
    @guillaumeboucher8022 Год назад

    Does the same can be done with gitlabs ?

    • @IAmTimCorey
      @IAmTimCorey  Год назад

      Something similar, yes, but not with the automation from Azure.

  • @sylinxstark3882
    @sylinxstark3882 2 месяца назад

    Hello i did everything same but i am getting error on deployment -> Unable to find any artifacts for the associated workflow. And when it comes to build it gives a warning for this " The "--output" option isn't supported when building a solution" and also this " No files were found with the provided path: /home/runner/.dotnet/myapp. No artifacts will be uploaded." my yml file same as your yml file i don't know why but something wrong can you help me ?

    • @sylinxstark3882
      @sylinxstark3882 2 месяца назад

      and i have also this Specifying a solution-level output path results in all projects copying outputs to the same directory, which can lead to inconsistent builds. [/home/runner/work/PostAutomator/PostAutomator/PostAutomator.sln]. I did not touch any output path.

    • @sylinxstark3882
      @sylinxstark3882 2 месяца назад

      Okey i found the solution after many things i tried. If someone from future get this error try this -> In visiual studio go to solution explorer -> rigth click your solution -> restore nuget packages and save. Your project.sln should have some new things about release and debug configs after that you will be able to deploy.

    • @IAmTimCorey
      @IAmTimCorey  2 месяца назад

      I’m glad you figured it out.

  • @TYNEPUNK
    @TYNEPUNK 2 месяца назад

    My screens are totally different ;-/

    • @IAmTimCorey
      @IAmTimCorey  2 месяца назад

      Do you have a different version of Visual Studio?

    • @TYNEPUNK
      @TYNEPUNK 2 месяца назад

      @@IAmTimCorey I mean in azure :) its ok I think I got the gist, great videos!.. just waiting to see if it will deploy, if so that is mighty simple. shame about azure costs though.

    • @IAmTimCorey
      @IAmTimCorey  2 месяца назад

      Azure costs should be almost $0. I forget exactly what we deploy in this course, but 10 websites are free for life, 1 SQL database is free for life, 1 CosmosDB database is free for life, etc. I don't think you should be paying for anything with this demo. And if you know how to do it, Azure is a LOT cheaper than the alternatives. The key is what you get. If you just want a random place to put a website, Azure probably won't be the cheapest. If you want production-level backups, server maintenance, data protections, the ability to easy scale, and more then Azure is the cheapest option in most cases.

    • @TYNEPUNK
      @TYNEPUNK 2 месяца назад

      @@IAmTimCoreyit forced me to pay to have a db. looks like im stuck on 13usd/month, i can drop it once i transfer site to client.

  • @homelessrogue
    @homelessrogue Год назад +1

    9:49 No it is not ;)

    • @IAmTimCorey
      @IAmTimCorey  Год назад

      I held onto it just in case I wanted to add to it.

  • @salmanahmad2532
    @salmanahmad2532 Год назад

    Hi Tim, I think you have a very bad support team. I have been emailing them since 5 May and I am not getting any relevant response.

    • @IAmTimCorey
      @IAmTimCorey  Год назад +2

      That’s not true. You’ve been getting great support. You just aren’t listening to him. He told you how to do a password reset. He told you how to confirm the email address you used. You gave him bad info, saying you used a specific email address instead of doing the work of actually checking. Last night you emailed and said you used the wrong email address, proving he was right. But even then, you didn’t supply which email address you used. You never provided an order number or the email you used to make the purchase.
      To make matters worse, you also submitted multiple help tickets and tried to circumvent the system by emailing me directly and posting on RUclips. You made a lot of extra work for us, but you couldn’t be bothered to actually give us the information we asked for or check to be sure the information you gave us was correct. Please stop trying to get around the system and instead just follow our instructions.
      To be clear, my “support team” consists of one person doing this as part of his duties during work hours on weekdays. You aren’t going to get a response right away every time. Just be patient. He will get back to you. It really helps if you give him all the information the first time, though.

    • @salmanahmad2532
      @salmanahmad2532 11 месяцев назад

      Hi Tim, You are great and your services are also great. Customer Support is also great. you are man of words sir.Salute to you.Extremely sorry for bothering you here regarding Pass subscriptions. Thanks again Man.

    • @unkn0wnrge189
      @unkn0wnrge189 2 месяца назад

      hahahaha if It was for me that harsh truth I would feel soo much shame I would delete my profile and hide behind the bed.