Posts

Showing posts from February, 2024

Working with Files in C# 10

https://www.pluralsight.com/courses/c-sharp-10-working-files by Jason Roberts Course Overview Course Overview Sandbox Managing Files and Directories Introduction Creating a New Console App Checking if a File Exists you can use to check if file path is an absolute path: Path.IsPathFullyQualified Getting the Parent Directory of a Path Checking if a Directory Exists and Creating New Directories Copying a File Moving a File Getting the File Extension from a File Name Checkpoint 01- Get the Parent Directory for a Path Changing a Filename Extension Checkpoint 02 - Get the Extension Part of a Filename Deleting a Directory Enumerating All the Files in a Directory Summary Exercise 01- Copying and Deleting Files Monitoring the File System for Changes Introduction Introducing the FileSystemWatcher Class The IntemalBufferSize Property Configuring Notification Filters Additional Properties Refactoring to Use a FileSystemWatcher use FileSystemWatcher to watch for file changes in a folder Checkpo...

End-to-End JavaScript Testing with Cypress.io

Image
https://www.linkedin.com/learning/end-to-end-javascript-testing-with-cypress-io by Shaun Wassell Introduction Test automation with JavaScript What you should know Software installation 1. Introduction to Cypress.io What is Cypress.io Advantages of Cypress. io Limitations of Cypress.io 2. The Basics Installing and opening Cypress Writing your first Cypress test Testing text input Selecting elements Aliasing elements instead of repeatedly referring to an element, you can create an alias for it Working with command results The "beforeEach" hook Setting a base URL 3. Intermediate Concepts Interacting with elements Triggering other actions Common assertions Automatic retrying Debugging in Cypress after adding a debugger, currently selected element can be accessed from the dev console using the subject keyword to add a debugger Environment variables Test doubles 4. Other Useful Commands The "wrap" command The "and" command The "filter- and "not" c...

Building a Web Application on Microsoft Azure

https://www.linkedin.com/learning/building-a-web-application-on-microsoft-azure-22880696 by Rodrigo Díaz Concha  Introduction Capitalize on the power of Azure to craft your web app What you need to know What you are going to build Chapter Quiz 1. Using Azure DevOps for Storing Your Code Using Azure DevOps for storing your Exploring the Pet Management application base source code using EF in memory Creating a new Azure DevOps account and organization Creating a new Azure DevOps project and adding existing code Creating and accepting a pull request in Azure Repos 2. Hosting and Running the Web Application in Azure App Service  Hosting and running the web application in Azure App Service Provisioning a new Azure App Service resource in the portal Creating a new deployment slot for development Connecting the deployment slot to Azure Repos how to connect azure devops to app services Modifying the source code to automatically publish the app Swapping the deployment slots 3. Using Az...