Dajbych.net


Software Developer & Cloud Engineer

service fabric

How to secure Service Fabric cluster with an X.509 certificate

You prob­a­bly no­ticed that Ser­vice Fab­ric Ex­plorer is publicly ac­ces­si­ble and does not re­quire any user­name or pass­word. Ser­vice Fab­ric Ex­plorer al­lows mon­i­tor­ing and man­age­ment ac­tions like dis­abling nodes or ap­pli­ca­tion dele­tion. The clus­ter and its man­age­ment can be eas­ily se­cured with an X.509 self-signed cer­tifi­cate. Af­ter that the cer­tifi­cate is re­quired prior to ac­cess Ser­vice Fab­ric Ex­plorer or pub­lish­ing ap­pli­ca­tions to the clus­ter. Read more ›

service fabric

Azure Service Fabric & Scheduled Tasks

Sched­uled tasks have many names. In Win­dows, it is tra­di­tion­ally called Task Sched­uler. In Unix-like en­vi­ron­ments job sched­uler is called Cron dae­mon. Mi­crosoft Azure con­tains Azure Sched­uler and Azure Web Apps have We­b­Jobs. Ser­vice Fab­ric has its own mech­a­nism called Ac­tor Remin­der. This ar­ti­cle ex­plains how to im­ple­ment them. Mul­ti­ple jobs could be encap­su­lated in a sin­gle as­sem­bly. Read more ›

edge

New features in Microsoft Edge 15.15063 for developers

Win­dows 10 Cre­ators Up­date con­tains a sta­ble re­lease of Edge­HTML 15. It al­lows de­vel­op­ers to pro­cess a pay­ment via Mi­crosoft Wal­let. Con­tent Se­cu­rity Pol­icy Level 2 sup­ports sev­eral new di­rec­tives. The Brotli com­pres­sion for­mat is now sup­ported and is more ef­fec­tive than gzip. The TCP con­nec­tion can be re­opened faster. The lat­est ver­sion also in­tro­duces an ex­per­i­men­tal im­ple­men­ta­tion of We­bAssem­bly. Read more ›

uwp

Important hotfix for Windows 10 SDK 10.0.15063

When you up­grade Win­dows 10 to ver­sion 1703 build 15063.13, you can also up­date Vi­sual Stu­dio to 2017 ver­sion 15.1 and in­stall Win­dows SDK 10.0.15063. How­ever, the lat­est bits are not enough and you must ap­ply one hot­fix to keep the abil­ity of cre­at­ing ap­pli­ca­tion pack­ages which are uploaded to Win­dows Dev Cen­ter. Read more ›

service fabric

Service Fabric cluster endpoints & Azure load balancer

Reach­ing ex­ter­nal re­sources from a Ser­vice Fab­ric clus­ter is triv­ial whereas reach­ing the clus­ter from the in­ter­net re­quires some con­fig­u­ra­tion. The vir­tual ma­chine scale set, ser­vice end­point and load bal­ancer comes into play. On the first sight, it could be seen as a com­pli­cated as do­ing a puz­zle, but un­der­s­tand­ing of mech­a­nisms un­der the hood helps to re­al­ize that whole pro­cesses is easy. Read more ›

onedrive

Public folders suddenly discontinued in personal OneDrive

The con­tent stored in the OneDrive file-host­ing ser­vice can be ac­cessed through a web browser, ap­pli­ca­tion or HTTP API. Access to files in fold­ers shared publicly with ev­ery­one wasn’t re­stricted to au­then­ti­cated re­quests only. With dep­re­ca­tion of public fold­ers dis­ap­pears also the abil­ity of an easy ac­cess to OneDrive fold­ers. I found the trick how to keep the cur­rent code with min­i­mal changes while keeping up-to-date with pro­ce­dures re­quired by the lat­est ver­sion of the ser­vice. Read more ›

service fabric

Service Fabric Hello World

Start­ing with a con­sole app is sim­ple. Write a line of text to the con­sole is easy and the re­sult is vis­i­ble im­me­di­ately. Sim­i­lar si­t­u­a­tion is with Uni­ver­sal Win­dows app where is a Text­Block con­trol. Ser­vice Fab­ric is not harder. The most dif­fi­cult part is set­t­ing up your di­ag­nos­tics, be­cause cloud ser­vices does not have any user in­ter­face. Read more ›

office 2013

Calendar sharing suddenly discontinued in Outlook.com

Cal­en­dar shar­ing is no longer sup­ported in Out­look.com. It started as an up­grade and tem­po­rally break, but half a year later, af­ter con­tact­ing a Mi­crosoft sup­port, noth­ing has solved and the loss of cal­endar shar­ing seems to be per­ma­nent. Read more ›

service fabric

How to set up a Service Fabric development environment

Set­t­ing up a de­vel­op­ment ma­chine for Azure Ser­vice Fab­ric ap­pli­ca­tions al­lows de­vel­op­ers to test and de­bug mi­croser­vices lo­cally. Lo­cal clus­ter use the same run­time that will run in Azure. Read more ›

service fabric

Stateless, Stateful or Actor service?

Ser­vice Fab­ric is a dis­tributed sys­tem plat­form that makes it easy to pack­age, de­ploy and man­age scal­able and re­li­able mi­croser­vices. Ser­vice Fab­ric of­fers sev­eral types of nodes. How to choose one which is the best choice for a given prob­lem? Read more ›

hockeyapp

Using HockeyApp analytics in mobile applications

Pro­gram er­rors are un­avoid­able. No one un­der­s­tands to ev­ery sin­gle line of a frame­work or an op­er­at­ing sys­tem. The oper­at­ing sys­tem can­not af­fect a bat­tery level or net­work over­load. Reach­ing a high avai­l­abil­ity is a pro­cess in which feed­back pro­vides an ir­re­place­able role. Read more ›

uwp

UWP NuGet package updated to version 5.3.0

Win­dows Uni­ver­sal Plat­form de­vel­op­ers can see an up­date of the plat­form NuGet pack­age. The ver­sion 5.2.2 was up­dated to 5.3.0. How­ever, this up­date causes more is­sues than it ac­tu­ally solves. I rec­om­mend to halt the up­date and wait for at least one month. Read more ›

xamarin

Thoughts on Visual Studio for Mac Preview

Vi­sual Stu­dio for Mac is a promis­ing project, but it still needs to in­cor­po­rate sev­eral nec­es­sary func­tion­al­i­ties. The instal­la­tion is dif­fi­cult and the main ad­van­tage of the Xa­marin plat­form is still in de­vel­op­ment. Read more ›

dot net

How to write a custom awaitable method

When you are call­ing an asyn­chronously waitable (awaitable) method, you may be cu­ri­ous how to write a cus­tom awaitable method your­self. It is very sim­ple espe­cially in case when the class con­tains only sin­gle awaitable method. Ev­ery awaitable method re­quires its own class other­wise. Read more ›

edge

New features in Microsoft Edge 14.14393 for developers

Win­dows 10 An­niver­sary up­date con­tains a sta­ble re­lease of Edge­HTML 14. It sup­ports load­ing of browser ex­ten­sions from the Store. Edge sup­ports a new HTML, JavaScript and CSS based ex­ten­sion model. Ex­ist­ing Chrome ex­ten­sions can be eas­ily mi­grated be­cause this new model is Chrome-com­pat­i­ble. For more de­tails, see sup­ported APIs. Read more ›

dot net

What is a .NET Core

It is the start of a new era of mak­ing soft­ware in the Mi­crosoft ecosys­tem. This restart pushes the .NET where it was orig­i­nally in­tended to be. Its pur­pose is sim­ple – reach­ing ev­ery plat­form and ev­ery op­er­at­ing sys­tem with C# lan­guage from Vi­sual Stu­dio. So why did it take so long? Well, this goal is ev­ery­thing but sim­ple. Only C++ lan­guage has been able to do that. The .NET is evo­lu­tion of C++ & COM world. To­day .NET fi­nally sup­ports na­tive com­pi­la­tion. Read more ›

microsoft azure

Performance, limit and pricing comparison of various Azure storages

While tra­di­tional PC has a file sys­tem and ran­dom ac­cess mem­ory, Mi­crosoft Azure is a lit­tle more com­pli­cated. Stor­age is dra­mat­i­cally af­fect­ing ap­pli­ca­tion ar­chi­tec­ture and per­for­mance. Re­mind how out­dating HDDs in fa­vor of modern SSDs al­lowed par­al­lel read­ing on a sin­gle drive. There are nu­mer­ous fac­tors to take into con­sider­a­tion when think­ing which stor­age is the best for some kind of data. A loop it­er­a­tion counter has dif­fer­ent re­quire­ments than cus­tomers list. Read more ›