To demonstrate some concepts that are useful when creating a SPA with working OPE, we have released a new SPA template site on Github, called MusicFestival, together with a series of blog posts that will be available in the coming days (a complete list is at the bottom).
Author: Andreas Plahn
Reqres – A hosted REST-API ready to respond to your AJAX requests
Test your front-end against a real API
A hosted REST-API ready to respond to your AJAX requests
Source: Reqres – A hosted REST-API ready to respond to your AJAX requests
Setting up Continuous Integration with Azure DevOps and Episerver
”What, How, and Why?
Azure DevOps, the artist formerly known as Visual Studio Team Services, is a suite of tools for teams that can be used for managing the entire lifecycle of software projects. It is a fully fledged project management platform, containing functionality for VCS, issue tracking, wiki, dashboards, build- and deploy pipelines, and whatever else teams might need. There are of course alternatives, but I like it because it is cloud hosted, simple to set up, and most importantly, free for small teams. Incidentally, it is also the platform that Episerver uses under the hood for facilitating deploys in their DXC Service Platform.”
world.episerver.com/blogs/stephan-lonntorp/dates/2018/11/setting-up-continuous-integration-with-azure-devops-and-episerver-dxc-service/
How to become master writing C# code | ardalis
.NET Application Architecture Guides
Free official .NET architecture guides here
dotnet.microsoft.com/learn/dotnet/architecture-guides
axios js http client
Promise based HTTP client for the browser and node.js Inspired by http service in angular
github.com/axios/axios/blob/master/README.md
Basics: Using AJAX with Fetch API
Basics: Using AJAX with Fetch API by Benjamin Cunningham
Typography in ten minutes | Butterick’s Practical Typography
This is a bold claim, but I stand behind it: if you learn and follow these five typography rules, you will be a better typographer than nearly every writer—and even most graphic designers.
practicaltypography.com/typography-in-ten-minutes.html
.NET Internals – CodeJourney.net
Have you ever wondered about what’s under the hood of the applications you develop?
www.codejourney.net/net-internals/
Bootstrap 4 truncate-text responsive classes SASS helper
I needed to truncate text in certain device sizes in a Bootstrap 4 enabled site.
Bootstrap comes with the text-truncate css class that will truncate text in elements that are in displayed as block or inline-block.
There is no support for targeting the different viewports out the box.
Here is solution for this;
Usage
We want the text of this element to truncate (Shorten the text if it doesnt fit and adds … to the end of the text) on smaller devices:
<p class="text-truncate-xs text-truncate-sm">Maecenas egestas arcu quis ligula mattis placerat. Mauris turpis nunc, blandit et, volutpat molestie, porta ut, ligula. Fusce risus nisl, viverra et, tempor et, pretium in, sapien. Phasellus tempus. Vestibulum fringilla pede sit amet augue.</p>
Source
Include this scss file to your site:
@mixin text-truncate {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
@include media-breakpoint-only(xs) {
.text-truncate-xs {
@include text-truncate;
}
}
@include media-breakpoint-only(sm) {
.text-truncate-sm {
@include text-truncate;
}
}
@include media-breakpoint-only(md) {
.text-truncate-md {
@include text-truncate;
}
}
@include media-breakpoint-only(lg) {
.text-truncate-lg {
@include text-truncate;
}
}
@include media-breakpoint-only(xl) {
.text-truncate-xl {
@include text-truncate;
}
}