(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| public class FeatureViewLocationRazorViewEngine : RazorViewEngine | |
| { | |
| public FeatureViewLocationRazorViewEngine() | |
| { | |
| ViewLocationFormats = new[] | |
| { | |
| "~/Features/{1}/{0}.cshtml", | |
| "~/Features/{1}/{0}.vbhtml", | |
| "~/Features/Shared/{0}.cshtml", | |
| "~/Features/Shared/{0}.vbhtml", |
| app.directive('datepickerLocaldate', ['$parse', function ($parse) { | |
| var directive = { | |
| restrict: 'A', | |
| require: ['ngModel'], | |
| link: link | |
| }; | |
| return directive; | |
| function link(scope, element, attr, ctrls) { | |
| var ngModelController = ctrls[0]; |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| <NotepadPlus> | |
| <UserLang name="X12" ext=""> | |
| <Settings> | |
| <Global caseIgnored="no" /> | |
| <TreatAsSymbol comment="no" commentLine="no" /> | |
| <Prefix words1="no" words2="no" words3="no" words4="no" /> | |
| </Settings> | |
| <KeywordLists> | |
| <Keywords name="Delimiters">000000</Keywords> | |
| <Keywords name="Folder+"></Keywords> |
| git config core.editor "'C:\Program Files (x86)\Notepad++\notepad++.exe' -multiInst -notabbar -nosession -noPlugin" |
| $cmdbar_name = 'ReSharper (Custom)' | |
| $ctrl_caption = 'Toggle ReSharper' | |
| $cmdbar = $DTE.CommandBars[$cmdbar_name] | |
| if (-not $cmdbar) { | |
| Write-Host "Creating '$cmdbar_name' toolbar..." | |
| $cmdbar = $DTE.Commands.AddCommandBar($cmdbar_name, [EnvDTE.vsCommandBarType]::vsCommandBarTypeToolbar) | |
| } | |
| if (-not ($cmdbar.Controls | Where-Object Caption -eq $ctrl_caption)) { |
This will provide an example of integrating Active Directory authentication in an ASP.NET Core app.
Note, you'll need to be running on a Windows domain with Visual Studio debugging in IIS Express for this to work.
In launchSettings.json, you'll want to modify iisSettings by turning on windowsAuthentication:
Server-side Blazor is a stateful application framework. Most of the time, your users will maintain an ongoing connection to the server, and their state will be held in the server's memory in what's known as a "circuit". Examples of state held for a user's circuit include:
Occasionally, users may experience a temporary network connection loss, after which Blazor will attempt to reconnect them to their original circuit so they can continue.
There are lots of cases that you can improve. The examples use nullable reference types, but only the WhenNotNull example requires it.
Consider adopting the new property pattern, wherever you use IsNullOrEmpty.
string? hello = "hello world";