Showing posts with label csharp. Show all posts
Showing posts with label csharp. Show all posts

Reading Notes #589

It is time to share new reading notes. It is a habit I started a long time ago where I share a list of all the articles, blog posts, and books that catch my interest during the week.

If you think you may have interesting content, share it!

Cloud

Programming

  • Understanding C# 8 default interface methods (Andrew Lock) - Very clear post about the new feature available in interfaces, with great examples that make us understand why and when it is useful and how to implement it.

Open Source

Podcasts

~Frank

Reading Notes #538


Good Monday, 
Already time to share new reading notes. Here is a list of all the articles, and blog posts that catch my interest during the week. 

If you think you may have interesting content, share it!


Cloud

Programming

Miscellaneous

~frank

Reading Notes #497


Good Monday, 
Already time to share new reading notes. Here is a list of all the articles, blog posts, and podcast episodes that catch my interest during the week. 

You think you may have interesting content, share it!

Cloud

Programming

Podcast

Miscellaneous

~frank

Reading Notes #488


Good Monday, time to share my reading notes. Those are a curated list of all the articles, blog posts, podcast episodes, and books that catch my interest during the week and that I found interesting. It's a mix of the actuality and what I consumed.

You think you may have interesting content, share it!

Programming

Books

Effortless: Make It Easier to Do What Matters Most 
(Greg McKeown) 

- Nice continuity of his first book Essentialism. I appreciated this reading. Many simple and easy ideas that we can start to apply. If interested in this topic Greg also has a podcast: What's Essential.






~Frank

Learning how to Build, Secure, and Deploy your Azure Static Web App in C#

Recently I participated in a series of videos about Azure Static Web Apps: Azure Tips and Tricks: Static Web Apps on Microsoft Channel 9. The series is perfect to get started and cover multiple different scenarios in different Javascript frameworks and C#. In this post, I wanted to regroup the four videos related to .Net Blazor. I also added the GitHub links part of the references at to end.

How to create a web app in C# with Blazor & Azure Static Web Apps

In this video, we start from scratch. We will build and deploy a brand new static website with .Net Blazor.



How to add a C# API to your Blazor web app

Now that you built your web app with C# and Blazor, what about adding a serverless C# API to it? Have a look!



How to secure your C# API with Azure Static Web Apps

Prevent unwanted users to access your C# API by configuring authentication and authorization in your Blazor Azure Static Web Apps.



I hope those videos will help you to get started. If you have questions and/or comments don't hesitate to reach out (comments, DM, GitHub issues), it's always a pleasure.

How CI/CD and preview branches work with Azure Static Web Apps

In this video, I wanted to show one of the great features of Azure Static Web App Learn: the creation of pre-production environments. Using the CI/CD workflow, you can preview your pull requests changes before it's in production leveraging the automatic creation of pre-production environments!



References:

Reading Notes #466


Every Monday, I share my "reading notes". Those are a curated list of all the articles, blog posts, podcast episodes, and books that catch my interest during the week and that I found interesting. It's a mix of the actuality and what I consumed.

You think you may have interesting content, share it!

The suggestion of the week


Cloud


Programming


Miscellaneous


~Frank


Reading Notes #455


The suggestion of the week


Cloud


Programming


Miscellaneous

Reading Notes #454


Cloud


Programming


Podcast


Books


Every Tool's a Hammer: Life Is What You Make It
 

(Adam Savage) 

- I really liked this book. In fact, As I was reading the first chapter I was "earing" Adam's voice. So instead of creating that voice in my head I bought the audiobook and let Adam himself tells me his story. This is the best book I listen to this year. It was inspiring and empowering.

Reading Notes #439

Cloud


Programming


Podcasts



Books


How to Talk to Anyone: 92 Little Tricks for Big Success in Relationships
 

Author: Leil Lowndes

I was interested to read this book to get some inspiration when it's time to talk to people in an event. But this book brought me way more then that. I really appreciated the clear example and the variety. After reading this book you won't be a master, but you now have options to start a conversation.








☁️

Reading Notes #382

Cloud


Programming

~

Reading Notes #364

Cloud




    Programming



    Miscellaneous




    ~

      Reading Notes #359

      DockerDesktopCloud


      Programming


      Databases


      Miscellaneous


      Books

      How to Be a Bawse_cover
      How to Be a Bawse A Guide to Conquering Life
      Lilly Singh
      Not only the message is strong, but the way she delivers it is awesome. Many times I laugh and nod of the head... Definitely a great book to read at the end of the year when resolution time is not far...









      ~

      Reading Notes #332

      IMG_20180616_101111

      Cloud


      Programming


      Books

      • [Invisible Ink: A Practical Guide to Building Stories That Resonate] (Brian McDonald)  - We all know it, a story is the element that will give that little plus to our post, and video. This short book explains how to really make an effective one talking about the not visual things...
        Really interesting.

        ISBN 0984178627 (ISBN13: 9780984178629)

      Reading Notes #311

      DateTimeImg2Suggestion of the week



      Cloud


      Programming

      • Styling Social Media Icon Lists in CSS (Mark Heath) - Yeah right, we can read CSS and probably hack some stuff... But it's excellent to learn how to do simple things the good way. And this post shows exactly that.


      Data


      Miscellaneous


      Reading Notes #244

      cakeWin10Cloud


      Programming


      Miscellaneous



      Reading Notes #169

       

      Happy New Year!


      freezing-rain-388933_640

       

      Suggestion of the week


      Cloud


      Programming


      Miscellaneous



      ~Frank Boucher


      Reading Notes #165

       

      OmnisharpSuggestion of the week

       

      Cloud

      Programming

      Integration

      • Azure BizTalk Services: An Introduction - This is the second post of a series on BizTalk. We are still in an introduction mode, but this is good, BizTalk is not a little application or system, and in this time of the Internet of things, it's good to have the good tools.
      ~ Frank B

      Toby, did you see what I just did!

      Today, I was running around with my laptop trying to find someone to show him what I did. My problem was that since I'm working from home, I found no one except my dog... Toby, did you see what I just did! He was looking at me and didn't really care about that I was doing some C# in Atom, a regular text editor. So, here I am now, sharing my discovery with you.

      The "What"

      While reading some article on the Internet, I fall on a video talking about OmniSharp.
      A family of Open Source projects, each with one goal - To enable great .NET development in YOUR editor of choice.
      SO I decide to give it a try in one of my favorite text editors this time called Atom.
      Less than two minutes after, I was running across my house....

      The "How"

      What I like about Atom that it is so easy to install and to customize. The easiest way to install it is via Chocolatey.
      Chocolatey NuGet is a Machine Package Manager, somewhat like apt-get, but built with Windows in mind.
      Assuming that you don't have Chocolatey installed, let's start by that. Open a command prompt (cmd.exe) as Administrator, and execute this command:
      @powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin

      In a new command prompt again with the administrator permission, let's Install the text editor Atom:
      cinst Atom

      and Git:

      cinst Git

      Now to install the OmniSharp in Atom you have two options. You could do it through the Settings or using a console. For this post, I will use the second option. Let's open a new command prompt, always as Administrator.
      The reason why I use a new prompt every time is to be sure that environment variable gets refreshed.

      Execute these command:
      apm install language-csharp
      apm install autocomplete-plus-async
      apm install omnisharp-atom

      Now open Atom and let's put some code:
      using System;
      
      namespace ConsoleAppDemo
      {
          class Program
          {
              static void Main(string[] args)
              {
                var myBook = new Book{Title="Get Started with OmniSharp"};
                Console.WriteLine(String.Format("Here is my review of: {0}", myBook.Title));
              }
          }
      
          public class Book
          {
            private string _review;
      
            public string Title{get;set;}
      
            public string Review{
              get{
                if(String.IsNullOrEmpty(_review))
                {
                  _review = "This book is nice";
                }
                return _review;
              }
              set{
                _review = value;
              }
            }
          }
      }

      Nothing special until you start the OmniSharp server with Ctrl-Alt-o.

      Boom!

      Atom_Intellicnse


      As you can see now the intelisense, completion, code navigation and so more! If you click on the little green flame on the bottom left you see details about notification and error message.

      notification


      The end


      OmniSharp is a frontend compiler, not a complete compiler so it doesn't generate CLI code. But It's already a lot. Today, you can use OmniSharp with Sublime Text 3, Atom, Emacs, Brackets, Vim and with command line only. So whether on your old laptop or your new PC, whether you run Linux, Mac or Windows let's do some C#!


      ~Frank Boucher