diff --git a/Lectures/Lecture_01/Lecture.md b/Lectures/Lecture_01/Lecture.md index cc783f28..257c0468 100644 --- a/Lectures/Lecture_01/Lecture.md +++ b/Lectures/Lecture_01/Lecture.md @@ -1,16 +1,10 @@ --- title: ICS 01 - Introduction to C#, Visual Studio and .NET -theme: simple css: _reveal-md/theme.css +theme: simple separator: "^---$" verticalSeparator: "^\\+\\+\\+$" -highlightTheme: vs -progress: true -slideNumber: true -mouseWheel: false -enableMenu: true -enableChalkboard: true -enableTitleFooter: true +highlightTheme: "vs" --- @@ -200,6 +194,45 @@ Team Explorer extension integrates GitFlow into your development workflow. It le ++++ + +### [Semantic Versioning 2.0.0](https://semver.org) + +Given a version number **MAJOR.MINOR.PATC**H, increment the: + +1. **MAJOR** version when you make incompatible API changes +2. **MINOR** version when you add functionality in a backward compatible manner +3. **PATCH** version when you make backward compatible bug fixes + +Additional labels for pre-release and build metadata are available as extensions to the MAJOR.MINOR.PATCH format. + ++++ + +### [semantic-release](https://semantic-release.gitbook.io/semantic-release/) + +semantic-release automates the whole package release workflow including: determining the next version number, generating the release notes, and publishing the package. + +This removes the immediate connection between human emotions and version numbers, strictly following the Semantic Versioning specification and communicating the impact of changes to consumers. + ++++ + +### [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) + +``` +[optional scope]: + +[optional body] + +[optional footer(s)] +``` + +The commit contains the following structural elements, to communicate intent to the consumers of your library: + +1. *fix:* a commit of the type fix patches a bug in your codebase (this correlates with PATCH in Semantic Versioning). +2. *feat:* a commit of the type feat introduces a new feature to the codebase (this correlates with MINOR in Semantic Versioning). +3. *BREAKING CHANGE:* a commit that has a footer *BREAKING CHANGE:*, or appends a *!* after the type/scope, introduces a breaking API change (correlating with MAJOR in Semantic Versioning). A *BREAKING CHANGE* can be part of commits of any type. +4. types other than *fix:* and *feat:* are allowed, for example @commitlint/config-conventional (based on the Angular convention) recommends *build:*, *chore:*, *ci:*, *docs:*, *style:*, *refactor:*, *perf:*, *test:*, and others. +5. footers other than *BREAKING CHANGE:* may be provided and follow a convention similar to git trailer format. --- ## Why To Choose .NET? @@ -394,7 +427,7 @@ Team Explorer extension integrates GitFlow into your development workflow. It le ![](assets/img/csh.png) +++ -
+
[Code sample](assets/sln/Tests/Array.cs) @@ -978,7 +1011,7 @@ string s = "a" + 5; // a5 | Boolean | `false` | +++ -
+
[Code sample](assets/sln/Tests/DefaultValue.cs) @@ -995,22 +1028,22 @@ string s = "a" + 5; // a5 * Variable **need not** *to be initialized* before the method call +++ -
+
[Code sample](assets/sln/Tests/ValueParameter.cs) +++ -
+
[Code sample](assets/sln/Tests/RefParameter.cs) +++ -
+
[Code sample](assets/sln/Tests/InParameter.cs) +++ -
+
[Code sample](assets/sln/Tests/OutParameter.cs) @@ -1136,22 +1169,22 @@ x = y = 3; * Conditional (ternary) operand `?:` +++ -
+
[Code sample](assets/sln/Tests/If.cs) +++ -
+
[Code sample](assets/sln/Tests/Switch.cs) +++ -
+
[Code sample](assets/sln/Tests/Switch.cs) +++ -
+
[Code sample](assets/sln/Tests/TernaryOperand.cs) @@ -1164,22 +1197,22 @@ x = y = 3; +++ -
+
[Code sample](assets/sln/Tests/While.cs) +++ -
+
[Code sample](assets/sln/Tests/DoWhile.cs) +++ -
+
[Code sample](assets/sln/Tests/For.cs) +++ -
+
[Code sample](assets/sln/Tests/ForEach.cs) @@ -1194,28 +1227,28 @@ x = y = 3; +++ -
+
[Code sample](assets/sln/Tests/Break.cs) +++ -
+
[Code sample](assets/sln/Tests/Continue.cs) +++ -
+
[Code sample](assets/sln/Tests/Return.cs) +++ -
+
[Code sample](assets/sln/Tests/Throw.cs) +++ -
+
[Code sample](assets/sln/Tests/Goto.cs) @@ -1228,12 +1261,12 @@ x = y = 3; * Simplification of a *Monitor synchronization primitive* +++ -
+
[Code sample](assets/sln/Tests/Using.cs) +++ -
+
[Code sample](assets/sln/Tests/Lock.cs) diff --git a/Lectures/Lecture_01/_site/Lecture.html b/Lectures/Lecture_01/_site/Lecture.html index 9021dbc3..51a81b04 100644 --- a/Lectures/Lecture_01/_site/Lecture.html +++ b/Lectures/Lecture_01/_site/Lecture.html @@ -399,7 +399,7 @@ ![](assets/img/csh.png)