AXForum  
Вернуться   AXForum > Microsoft Dynamics NAV > NAV: Blogs
All
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск Все разделы прочитаны

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 18.12.2020, 20:13   #1  
Blog bot is offline
Blog bot
Участник
 
25,459 / 846 (79) +++++++
Регистрация: 28.10.2006
Navigate Into Success: Fun with Interfaces: Testing
Источник: https://vjeko.com/2020/12/18/fun-wit...faces-testing/
==============

Oh how much fun we had today on my live stream, it’s just amazing. First, all the viewers had fun of waiting for me to go live for nearly an hour, and then at some point I managed to unplug my reflector. Perks of live streaming

First of all, I would like to – once again – apologize to everyone who waited for me to go live. I’ll explain in the end of this blog what really happened. For now, let’s go on-topic.

If you didn’t have a chance to follow my stream, you can check the recording from here:

Today’s session is important because it illustrates why you would actually want to go to the pains of using interfaces in places where you normally don’t see a need for them. Microsoft has made sure any use cases for interfaces when enums are involved are totally clear. However, interfaces can be very useful in scenarios where no enums are actually needed. By applying the dependency injection pattern, and using interfaces to represent functionality, you not only make your code better structured, but you also make it more testable.

You can access all of the code examples on my GitHub page, here: https://github.com/vjekob/fwi3

What went wrong?

Unfortunately, today I blundered again. At 2PM I went on happily, started my stream, checked that YouTube was receiving it. My phone wasn’t ringing so no technical issues… All seemed fine. Yet, it wasn’t.

YouTube has this Schedule feature which you can use to schedule your stream. So I scheduled my stream this morning and then used the stream’s direct link to announce the event on social platforms. However, when I started streaming, I didn’t realize that my OBS used the general live stream key (which I can use at any time to just randomly go live without a scheduled stream), instead of my scheduled stream key (which is different). Also – I didn’t click the “Go Live” button (and I am pretty sure it wasn’t there) which sometimes I have to press.

What happened is that I presented everything for nearly an hour, before realizing something must be wrong when there was no chat activity. Normally people say “hi” or something, they also ask questions. This time – nothing. When I finished the stream, YouTube still showed the stream as “scheduled”, and when I clicked it, it didn’t actually record anything.

And then I opened Teams to check with Waldo if he had by any chance been there. He said he was, but that there was no stream.

So – I went back, and reconfigured it, used the correct key, and redelivered the entire presentation. It would have been almost perfect if I didn’t knock the reflector cable with my foot, unplugging the reflector and causing me to perform some unexpected live gymnastics.

Yeah

Anyway, the quality of my streams is almost there, in a year you wouldn’t know what kind of amateur I’ve been in the early beginnings

Enjoy the stream, and let me know if you have any questions. The audience today didn’t have many. But then, again, there wasn’t much audience, because most gave up when I wasn’t really going live at the announced time. I don’t blame anyone – I’d do the same.



Read this post at its original location at https://vjeko.com/2020/12/18/fun-wit...faces-testing/, or visit the original blog at https://vjeko.com. 5e33c5f6cb90c441bd1f23d5b9eeca34


Источник: https://vjeko.com/2020/12/18/fun-wit...faces-testing/
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
Navigate Into Success: Fun with Interfaces: Patterns Blog bot NAV: Blogs 0 11.12.2020 21:12
Navigate Into Success: Fun with Interfaces Blog bot NAV: Blogs 0 27.11.2020 18:11
Navigate Into Success: Codeunit Interfaces – this time for real! Blog bot NAV: Blogs 0 27.11.2019 06:24
Navigate Into Success: Using gulp plugins to transform files Blog bot NAV: Blogs 0 09.02.2019 15:21
Navigate Into Success: Codeunit interfaces in AL Blog bot NAV: Blogs 0 03.02.2019 00:14
Опции темы Поиск в этой теме
Поиск в этой теме:

Расширенный поиск
Опции просмотра

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 09:50.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.