Dajbych’s blog about .NET


Advanced features of Azure Storage

Azure Stor­age of­fers many use­ful fea­tures and ser­vices which make in­te­gra­tion into ex­ist­ing sys­tems eas­ier. New so­lu­tions can take ad­van­tage of those fea­tures on an ar­chi­tec­tural level. Know­ing which com­mon pat­terns are na­tively sup­ported by Azure Stor­age can ac­cel­er­ate de­vel­op­ment rad­i­cally. Here is an overview of them. Read more ›


UWP will become WinUI 3, surpassing WPF and WinRT

The lat­est and great­est tech­nol­ogy have been, ac­cord­ing to Mi­crosoft’s mar­ket­ing state­ments, Uni­ver­sal Win­dows Plat­form. The rea­son for that was the need for a sin­gle run­time for mo­bile de­vices, tablets, and desk­tops. Un­til re­cently. Sur­face Duo will stick with An­droid and Win­dows de­vel­op­ment is ex­pe­ri­enc­ing a roll­back. Cur­rent UWP apps will no longer be eligible to dis­tri­bu­tion via Mi­crosoft Store. Only those based on Win­dows App SDK will see the green light. Read more ›

dotnet round

What’s new in .NET 5?

.NET 5.0 is here. It is a suc­ces­sor of .NET Frame­work 4.8 a .NET Core 3.1. It means that Con­sole, Win­dows Forms and WPF apps can be now packed with its own run­time. It was al­ways pos­si­ble to em­bed .NET Run­time in­staller to the ap­pli­ca­tion in­staller it­self, but the new ap­proach means that mul­ti­ple apps does not share and there­fore does not de­pend on a sin­gle .NET Run­time. You can develop on lat­est bits without af­fect­ing others. Im­pli­ca­tions are huge. Read more ›


Jak se podepisovat elektronicky?

Úřady nemají ve zvyku zveře­jňo­vat in­for­mace tak, že je dají na své we­bové stránky, ale tím, že je vytištěné na pa­píře vylepí na vs­tupní dveře. Může se vám tak snadno stát, že si na webu zjistíte, kdy má úřad otevřeno, a když tam do­razíte, zjistíte, že má zavřeno. Je proto prak­tičtější podá­vat a pode­piso­vat doku­menty elek­tron­icky. Tech­nicky to je poměrně kom­p­liko­vané, a jak to zpravidla bývá, ve státním prove­dení ještě kom­p­liko­vanější. Celý článek ›

dotnet round

How C# nullable reference types affects your ASP.NET Core routing

I thought that the new C# 8.0 fea­ture – non-nul­lable ref­er­ence types is just an In­tel­liSense fea­ture pow­ered by Roslyn that pre­vents null ref­er­ence ex­cep­tions. I was wrong. It may af­fect how your ap­pli­ca­tion works in many ways. More specif­i­cally, ev­ery­thing that use re­flection can start be­having dif­fer­ently. It in­cludes also ASP.NET Core rout­ing. Some bind­ings can stop work­ing when no ad­di­tional code changes are ap­plied. Read more ›


Blazor is .NET in a web browser. What makes it possible?

The most pow­er­ful, per­for­mant and easy-to-use UI frame­work is HTML with CSS and JavaScript. Di­rectX has ex­tremely high de­vel­op­ment price and UWP is miss­ing many fea­tures which are stan­dard in CSS. Achilles heel of pure web de­vel­op­ment is JavaScript. When you use higher lan­guage com­piled to JavaScript, one ques­tion arises – is JavaScript an ef­fi­cient in­ter­me­di­ate lan­guage? The an­swer is no, and the re­sult is a web byte­code called We­bAssem­bly. Read more ›


Browsers will freeze its User-Agent strings

The User-Agent HTTP header was in­tro­duced in 1993 by the first web browser. The string was as sim­ple as Mo­saic/0.9. It could be used for good pur­poses. Web server can serve slightly dif­fer­ent con­tent to browsers which might im­ple­ment new stan­dards dif­fer­ently. Sadly, Google is abus­ing its dom­i­nant po­si­tion to block­ing or mal­func­tion­ing its ser­vices for com­pet­i­tive browsers. There­fore, a new mech­a­nism of declar­ing tech­ni­cal as­pects of user’s de­vice is emerg­ing. Read more ›

dotnet round

Host ASP.NET Core on Oracle Autonomous Linux with Nginx

This ar­ti­cle is a step-by-step man­ual explaining how to cre­ate and con­fig­ure Or­a­cle Au­tonomous Linux vir­tual ma­chine for host­ing ASP.NET Core 3.1 web ap­pli­ca­tion. We will con­nect to Linux ma­chine from the Win­dows work­s­ta­tion by Pow­er­Shell. The ap­pli­ca­tion will be cre­ated and com­piled Vi­sual Stu­dio. The ap­pli­ca­tion is self-con­tained, so instal­la­tion of the .NET Core run­time is not nec­es­sary. Read more ›


An alternative to Let’s Encrypt for Azure Web Apps

The con­fig­ur­ing of Let’s En­crypt cer­tifi­cates for Azure Web Apps was al­ways a pain. One would ex­pect a sim­ple sin­gle-click so­lu­tion. It took four years un­til Mi­crosoft de­liv­ered this fea­ture. It is named App Ser­vice Man­aged Cer­tifi­cates and it will is­sue a cer­tifi­cate for your cus­tom do­mains at no cost. This fea­ture is avai­l­able for cus­tomers with Ba­sic App Ser­vice Plan and above. Naked do­mains or wild­cards are not sup­ported. Read more ›


What to expect from HTTP/3

We barely de­ployed HTTP/2 and we are al­ready talk­ing about HTTP/3. The web is mov­ing very fast these days and its users will ben­e­fit from that. In fact, Chrome is al­ready us­ing HTTP/3 if you are con­nect­ing to Google’s servers. The pro­to­col has been in de­velopment and tested in pro­duc­tion en­vi­ron­ment for years un­der the name of QUIC. It sup­presses TCP and is built up en­tirely on UDP. And the best in the end – en­cryp­tion is manda­tory (at least for the time be­ing). Read more ›

office 2013

How to disable office clipboard

Of­fice Clip­board is a se­cu­rity threat be­cause it stores pass­words copied from pass­word man­agers for a long time, so pro­ten­tional at­tacker can see your pass­words in a mo­ment when you are not check­ing your com­puter. Even worse, this fea­ture is en­abled by de­fault af­ter an of­fice up­date is in­stalled. The sec­ond in­con­ve­nience is a blink­ing yel­low rect­an­gle in the bot­tom right cor­ner of the screen which is dis­rup­tive dur­ing cod­ing in Vi­sual Stu­dio. Read more ›


Xcode is too new

De­spite the fact I only use Vi­sual Stu­dio to edit Xa­marin.iOS project files I ex­pe­ri­enced the si­t­u­a­tion when Vi­sual Stu­dio un­ex­pect­edly thought I used Xcode. More­over, Vi­sual Stu­dio broke my project be­cause it did not al­low me to use an iOS De­signer. Iron­i­cally the sto­ry­board file was cre­ated in ear­lier ver­sion of Vi­sual Stu­dio. My first at­tempt to workaround this bug was suc­cess­ful and here is how I you can do it too. Read more ›