Posts

Showing posts from July, 2023

Cloud Foundations: Building a Stateless Application

https://www.linkedin.com/learning/cloud-foundations-building-a-stateless-application by Semirah Dolan Introduction Stateless applications: Migrating applications to the cloud Stateless vs. Stateful Stateless and stateful applications comparison Stateful app example How do stateful applications fit into a stateless world? Architectural differences Cloud service provider basics Why Stateless Applications Matter Why do stateless applications matter? How stateless applications work Microservices and container management Best Practices for Stateless Applications Best practices for stateless applications Stateless application tools Scaling and performance benefits of stateless applications Scaling and performance benefits of stateful applications How to Develop a Stateless Application Developing new stateless applications Develop stateless applications using microservices Containerized microservices applications Apply REST API topology Conclusion Next steps

C# 10 Performance Playbook

https://www.pluralsight.com/courses/c-sharp-10-performance-playbook by Chris Behrens Mod 1: Course Overview Course Overview Mod 2: Understanding the Role of Performance Introduction Optimizing for the Developer Premature Optimization and Goldplating All optimization is premature optimization unless it's just-in-time Introducing BenchmarkDotNet .NET library for benchmarking Demo: Using BenchmarkDotNet you need to add a console app and add an attribute Run your benchmarks in  Release mode, however  you do them Summary Mod 3: Optimizing C# Code Line-by-line: Part 1 Introduction Demo: Build Strings Effectively explains why StringBuilder is needed and how it works internally instead of sb.Append(" "), do sb.Append(' '), it is more performant Demo: Picking Strings Apart uses ReadOnlySpan Demo: String Comparison there is no one best way to compare string in c#, when taking into consideration length of string and care insensitivity  Demo: For Loops and Foreach Demo: Class...

Making .NET Applications Faster

https://www.pluralsight.com/courses/making-dotnet-applications-faster by Sasha Goldshtein Mod 1: Implementing Value Types Correctly Introduction Why Value Types? Correct Value Type Implementation value types inherit from System.ValueType Demo: Measuring Value Type Performance GetHashCode Mod 2: Applying Precompilation Introduction NGen and Assembly Loading NGen precompiles .NET assemblies to native code > ngen install MyApp.exe Demo: NGen RyuJlT and MPGO Demo: RyuJlT shows how to set an environment variable > set COMPLUS_AltJit=* Reducing 1/0 Costs Demo: ILMerge Precompiling Regular Expressions Demo: Optimizing Regex with Precompilation Summary Mod 3: Using Unsafe Code and Pointers Pointers in C# Demo: memcpy Reading Structures Demo: Reading Structures Summary Mod 4: Choosing a Collection Introduction Built-in Collections (1) Built-in Collections (2) Comparing Built-in Collections if you want to determine the word frequency in a large body of text, Dictionary would be the best co...

Debugging with Visual Studio 2022

https://www.pluralsight.com/courses/visual-studio-2022-debugging by Erik Dahl Mod 1: Course Overview Course Overview Mod 2: Basic and Next-level Debugging Introduction and Welcome Version Check Our Application shows how to make multiple projects startup projects Debugging Is Useful! Demo: Debugging Starts in the IDE Demo: Launching, Breakpoints, and Stepping Demo: Viewing Data and Hot Reload Text Visualizer, a feature of the debugger in visual studio, can decode a JWT token Demo: Other Debug Windows Mod 3: Attaching the Debugger Introduction Attaching to a Running Process shows how to attach a debugger for a dotnet application launched from command line Launch Settings - Kestrel and IIS Express Debugging a NuGet Package if you want to debug a nuget package, you need to disable 'Enable Just My Code' from the Options menu you need to also turn on 'Enable Source Link support' you need to also enable 'Microsoft Symbol Servers' and 'Nuget.org Symbol Server' w...

Secure Coding with OWASP in Angular

https://www.pluralsight.com/courses/angular-owasp-secure-coding by Alisa Duncan Mod 1: Course Overview Course Overview Mod 2: Introduction to Secure Coding About This Course Introduction to Secure Coding OWASP Top Ten short explanation of each item of the OWASP Top Ten Demo: OWASP Top Ten Key OWASP Projects Mod 3: Managing Authentication and Identity Introduction Robust Authentication Mechanisms Identity Providers use the authorization code with PKCE for angular applications  you must handle signing out as well handled by most OIDC libraries  Demo: Adding Authentication using the Angular Auth OIDC Client library and okta Summary Mod 4: Managing Sessions Introduction Session Considerations Demo: Session Expiration Protecting Sessions XSRF Protection in Angular angular implements the Double Submit Cookie Pattern - this is to fight CSRF attacks - shows how to configure it Demo: XSRF Protection demo of using csrf protection with a backend Summary Mod 5: Handling Inputs and Outputs...