A long time ago, before GPUs, before multicore processors and gigabytes of RAM, clever algorithms were the only way to render complex graphics in real-time. Those algorithms are now mostly forgot...
https://weblogs.asp.net/bleroy/secrets-of-the-grey-beards-drawing-circles-with-additions-and-shifts
Here's an interesting bug... What's wrong with this code? var clones = source.Select(SourceType.Clone); In principle, nothing. Your IDE might even encourage you to write this instead of the...
A quick reference post about an interesting change in the way .NET formats argument exception messages. This tripped me up when debugging a test that was failing on .NET Core / 6.0 whereas it had...
https://weblogs.asp.net/bleroy/argument-exception-breaking-change
In this series, I'll reverse-engineer algorithms from video games dating back to that time when the CPU was all you had. Today, we're looking at Dungeon Master , a fantastic game by FTL that set ...
I'm pretty much convinced almost all applications need search. No matter what you're building, you'll likely handle data, and no matter how well you organize it, a good text search is often the ...
Tuples are great additions to C#. They're simple immutable structures made of a small number of members organized in a specific order. For example, a point on a plane could be represented as a pa...
https://weblogs.asp.net/bleroy/why-i-dislike-tuple-return-types
I like JavaScript, for some reason, I really do, and I still write and maintain a few open source JavaScript projects . It’s undeniable that it has bad parts though, that remain today, even ...
https://weblogs.asp.net/bleroy/the-case-of-the-defined-undefined-property
Don't let yourself be intimidated by all the quantum jargon. The bases of quantum computing are not that complicated, and I can explain them to anyone who understands programming, classical logi...
https://weblogs.asp.net/bleroy/quantum-computing-and-topological-qubits-explained-clearly
For the last presentation of the day, Sébastien explained what Orchard Core is all about. Orchard Core runs on ASP.NET Core, and as a consequence is leaner, faster, and cross-platform. One big c...
https://weblogs.asp.net/bleroy/orchard-harvest-2017-orchard-core-cms
Sébastien Ros gave a surprise demo of YesSql , the document database interface over relational databases that powers Orchard Core’s data access. YesSql stores plain objects into documents stor...
A client-side component is defined as a component that implements its rendering and behavior on the client, with server interactions going through some APIs. Such components can be implemented ...
https://weblogs.asp.net/bleroy/orchard-harvest-2017-client-side-components-in-orchard
Benedek is one of the founders of Lombiq , and the caretaker of Orchard localization. Application localization requires taking into account cultural differences such as gender, formal vs informal...
https://weblogs.asp.net/bleroy/orchard-harvest-2017-localization
In the first session of the second day of Orchard Harvest, Steve Taylor showed how to build a new theme for Orchard Core. All the pieces are already in place for building themed sites, and the w...
https://weblogs.asp.net/bleroy/orchard-harvest-2017-writing-a-theme-for-orchard-core
Nick Mayne is one of the main developers working on Orchard 2.0, a.k.a. Orchard Core. Orchard Core started as an MVC application, but this had several challenges with multi-tenancy and Glimpse ...
https://weblogs.asp.net/bleroy/orchard-harvest-2017-what-is-orchard-core-saas-framework
Rob King works for Bede Gaming , which specializes in providing a platform for gambling web sites. The company moved to Orchard in 2013, and has strong scalability requirements, with sites servin...
https://weblogs.asp.net/bleroy/orchard-harvest-2017-scaling-orchard
Taylor Mullen from the ASP.NET team is a developer working on MVC Core 2.0. In this session, he went over the design of the new Razor Pages feature. He carefully explained what is difficult with ...
https://weblogs.asp.net/bleroy/orchard-harvest-2017-what-s-new-in-asp-net-mvc-core-2-0
Daniel Stolt and Chris Payne from IDeliverable presented some new output caching techniques that they’ve developed. The problem that they’re solving is what happens when you have to output ...
https://weblogs.asp.net/bleroy/orchard-harvest-2017-when-output-cache-just-isn-t-enough
Jorge Agraz is opening the conference after Sébastien Ros’ keynote with a talk about using external data in Orchard . Jorge work for Onestop , a company that builds e-commerce sites. Their web...
https://weblogs.asp.net/bleroy/orchard-harvest-2017-using-external-data-with-orchard
Here’s a minor inconvenience that I’m going to put out there in the hope that one or two of the horrible people responsible for it may realize the errors of their ways and make the world a ma...
https://weblogs.asp.net/bleroy/unimportant-egocentric-rant-don-t-toupper-your-titles
What's interesting about debacles such as the recent left-padding madness is how it can get you to re-think seemingly obvious concepts, and challenge some basic assumptions. Here's in particula...
https://weblogs.asp.net/bleroy/on-dependencies-dependency-injection-and-sanity