Birthday Reminders - 16 - Deploy Blazor Server App to Azure & Migrate SQL Database

Поделиться
HTML-код
  • Опубликовано: 5 май 2022
  • This is part 16 in a series of videos describing the development of a Blazor Server application that will automatically send email reminders of forthcoming birthdays. In this video we migrate the SQL Server database to Azure and then deploy the Blazor App to Azure Web Apps.
    References:
    Blazorcode: blazorcode.uk/birthdayreminde...
    Blazorcode Code : blazorcode.uk/birthdayreminde...
    Hangfire error: stackoverflow.com/questions/5...
    Microsoft Docs re Localisation: docs.microsoft.com/en-us/aspn...
  • НаукаНаука

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

  • @MichaelTroulis
    @MichaelTroulis 2 года назад

    Nicely done. Looking forward to your next project!

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

    I can not thank you enough :) Well done

  • @RouteDeTours
    @RouteDeTours 2 года назад

    It is times like this that I wish I had a better command of the English language in order to express my gratitude to you for giving hope that it might, after all, be possible for a complete beginner like myself to learn how to create websites. How anyone is able to work out the extremely complicated procedures necessary to publish a site that uses a database is beyond me. There are plenty of Blazor tutorials out there but none that come anywhere close to explaining as well as you, how to publish, which in my opinion is THE most important thing. Trying not to so sound too fawning, please let me say that I love your tutorials and really hope you are able to produce another sometime. Maybe something that uses images, but that is only a thought.

    • @christopherbell7186
      @christopherbell7186  2 года назад

      Thank you for your kind words - I'm humbled. I, too, am pretty much a beginner, which is why I approach these from a beginner's perspective; I know I need every little step to be explained. (I started off making these videos just to document what I had done, so I could refer back to them later...)
      If English isn't your first language, I would never guess - it's far better than most of my compatriots!

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

    Great! Thanks a lot for sharing this

  • @jamesscott6864
    @jamesscott6864 2 года назад

    Hi Chris.. I've been following your series from the beginning and I'll have to say, I wouldn't be able to develop any application or call myself a developer if you hadn't started creating these videos.. I've followed from countries and cities to purchase orders and this. The truth is I haven't necessarily built this birthday app but I just follow the videos and I've learned from it.
    But I've realized something and I don't know if you already know of it. It got to do with blazor Server. The problem is, since blazor server is running on the server not like wasm where it's running in the browser, on mobile phones, the user get disconnected just immediately they leave the browser. And for simple applications like the birthday reminder, I don't think it would be fun to only use it on a PC because it's a simple application for a simple purpose. These days almost everything is mobile.
    So I think we need to start migrating to web assembly especially for the applications where users will prefer using their phones for the app and wouldn't necessarily need to use on a PC all the time. Because with blazor server, it's quite impossible and annoying to use on mobile. It's only great on PC.
    So far, it seems you test only on PC so I don't know if you already know about this issue or not. But it's just a suggestion.

    • @christopherbell7186
      @christopherbell7186  2 года назад

      Hi James. You're absolutely right. In fact I have a version of Birthday Reminders that I have released to my family, and warned them that they should enter data using a computer (or tablet), and not to attempt to use it with a mobile. (It is, just about, possible to use a mobile, but it's hard work - not necessarily because of connection problems, but also because of screen size and layout.)
      I haven't tried to do anything with WASM, but perhaps the time has arrived to give it a go. The other thought is that .NET MAUI is about to go 'public' and that will probably mean another huge change to what can be done. (And yet more learning!)
      As an aside, I have taken your suggestion about using SQLite for the Birthday Reminders database and am in the process of creating a RUclips video - it should be ready some time next week...

    • @jamesscott6864
      @jamesscott6864 2 года назад +1

      Oh yes, I'm looking forward to go into MAUI myself.. And talking about screen size and layout. I recognized that as well during Purchase Orders so what I decided to do was use tailwind css for my UI and use syncfusion for some of the necessary components like the datagrid. But for cards and other components, I just use responsive tailwind classes and bind the values and it makes the UI beautiful. Plus I completely changed the blazor nav menu too. And talking about the connection problem, I did some digging, Microsoft gave it a 3min time to be able to reconnect when it disconnects. It all got to do with the circuit. There is a Microsoft page on signalR guidance, you can look it up (I added the link on my first reply but RUclips deleted it)
      I managed to imply some of the stuff to keep it alive and not disconnected but it just doesn't work for mobile.

    • @christopherbell7186
      @christopherbell7186  2 года назад +1

      Thank you for the information :-)

    • @jamesscott6864
      @jamesscott6864 2 года назад

      Hi Chris, so MAUI is still in PREVIEW and there happen to be some issues being raised on GitHub plus other bugs to be fixed. I started a Blazor Hybrid project to test stuff out. Apparently MAUI doesn't support appsetting, at least not yet. And it's publishing steps isn't really exactly close to the one we know of. Publishing is as well only supported through the .NET command line interface apparently and even before that, there are couple of stuff to do for each platform before you can finally publish.
      What I'm trying to say is, since we mentioned that we'll look into Maui perhaps start a new project with it, I see it as, as I'm a beginner and now trying to learn, I could wait till the final release and use this time to explore web assembly.
      But I don't know about you, you happen to be our teacher and I'm a student so let me know what you think or perhaps if you've figured out something that can make we start off something with Blazor MAUI.

    • @christopherbell7186
      @christopherbell7186  2 года назад

      By coincidence I have recently watched a .NET MAUI webinar in the Syncfusion channel by James Montemagno (ruclips.net/video/LOxAipaYbPo/видео.html) and although it was recorded a month or two ago is helpful. My conclusion was that it looked pretty scary, and deploying it could be tricky. I will probably wait a little while before I do anything with MAUI. (I am, by the way, only a student of .Net myself - a complete amateur!

  • @mariewebb2017
    @mariewebb2017 2 года назад

    I so appreciate you providing these training videos. I really enjoy watching them.
    I do have a question. What is the best way to add website content automatically to social media platforms, like Facebook, Twitter, etc., using Blazor & Dapper ? I am hoping that my website users can choose which content (from my website) they want to share on their Social Media pages, and my website will automatically share one post per day, to their chosen social page. I really hope this can be done.
    Thanks again for teaching novices like me. 😊

    • @christopherbell7186
      @christopherbell7186  2 года назад +1

      Hmm... I don't know is the answer. However, this RUclips video might give you a clue ruclips.net/video/uJizSKO62o8/видео.html Sorry I can't be of more assistance and good luck!