Provides access to local and remote processes and enables you to start and stop local system processes.
In a console application access the Process class through:
Example: Launch Windows Explorer to a specific folder:
Read JSON response:
Read Text response:
Output to Postman console:
Set environment var:
ASP.NET Core is designed from the ground up to support and leverage dependency injection. ASP.NET Core applications can leverage built-in framework services by having them injected into methods in the Startup class, and application services can be configured for injection as well. The default services container provided by ASP.NET Core provides a minimal feature set and is not intended to replace other containers.
Martin Fowler has written an extensive article on Inversion of Control Containers and the Dependency Injection Pattern.
Any ASP.NET Core application is a console application. The project will include a Program class.
The "Startup" class doesn't need to be name "Startup" since it could potentially be configured in the project Program.Main method.
Methods to have in the 'Startup' class:
A transaction is an individual and indivisible set of operations that must either all succeed or fail as one unit.
Transaction Processing systems' examples include systems that manage sales order entry, airline reservations, payroll, employee records, manufacturing, and shipping.
Since most transaction processing today is interactive the term is often treated as synonymous with online transaction processing.
Jim Gray defined properties of a reliable transaction system in the late 1970s under the acronym ACID — atomicity, consistency, isolation, and durability.
Standard transaction-processing software, such as IBM's Information Management System, was first developed in the 1960s, and was often closely coupled to particular database management systems.
Active Directory allows administrators to create a hierarchy within a domain that meets the needs of their organization.
The object class of choice for building these hierarchies is the class organizationalUnit, a general-purpose container that can be used to group most other object classes together for administrative purposes.
An organizational unit in Active Directory is analogous to a directory in the file system; it is a container that can hold other objects.
Flutter is a new open-source framework built by Google that aims to enable mobile cross-platform development using a single Dart codebase on iOS and Android. It aims to provide high performance and 60fps, jitter-free experiences on both platforms.
DotLiquid is a .Net port of the popular Ruby Liquid templating language. It is a separate project that aims to retain the same template syntax as the original, while using .NET coding conventions where possible.
It's the .NET Port of Tobias Lütke's Liquid template language.
Liquid is an open-source template language created by Shopify and is written in Ruby. It is the backbone of Shopify themes and is used to load dynamic content on storefronts.
An Observable is like a Stream and allows to pass zero or more events where the callback is called for each event.
Often Observable is preferred over Promise because it provides the features of Promise and more.
Observable has the advantage over Promise to be cancelable. If the result of an HTTP request to a server or some other expensive async operation isn't needed anymore, the Subscription of an Observable allows to cancel the subscription, while a Promise will eventually call the success or failed callback even when you don't need the notification or the result it provides anymore.
Observable provides operators like map, forEach, reduce, ... similar to an array
There are also powerful operators like retry(), or replay().
Puppeteer is a Node library which provides a high-level API to control headless Chrome over the DevTools Protocol. It can also be configured to use full (non-headless) Chrome.
The folks who built Microsoft Edge have just launched Sonar, an open-source linting tool to help test your project for performance and security issues.
The Schema cache is located in the %InstallRoot%\Xml\Schemas directory. The schema cache is global to all users on your computer and includes standard XML Schemas that are used for IntelliSense and XML document validation.
Example: DotNetConfig.xsd is the schema for all Web.Config files.
SOAP defines a binding to the HTTP protocol. This binding describes the relationship between parts of the SOAP request message and various HTTP headers.
All SOAP requests use the HTTP POST method
A SOAP request specifies at least three HTTP headers:
The actual SOAP message is passed as the body of the request or response.
The fundamental idea of Event Sourcing is that of ensuring every change to the state of an application is captured in an event object, and that these event objects are themselves stored in the sequence they were applied for the same lifetime as the application state itself.
Event Sourcing is an architectural pattern.
There are 4 different execution modes:
Note: There is a corresponding
Get-ExecutionPolicy command to output the current execution mode.
Lighthouse is an open-source, automated tool for improving the quality of web pages.
You can run it against any web page, public or requiring authentication.
It has audits for performance, accessibility, progressive web apps, and more.
You can run Lighthouse:
Chrome (version 60) has a new Audits panel, powered by Lighthouse.
Albedo is the fraction of solar energy reflected from the Earth back into space.
It is a measure of the reflectivity of the earth's surface.