وب سایت تخصصی شرکت فرین
دسته بندی دوره ها

.NET 6 BCL Playbook

سرفصل های دوره

This course will teach you to use the .NET base class library effectively by showing the solutions to numerous practical problems, covering such topics as strings, collections, enums, file access, creating Windows services, and accessing system data.


1. Course Overview
  • 1. Course Overview

  • 2. Working with System.Object
  • 1. Introduction the BCL Playbook
  • 2. Module Summanry
  • 3. Everything Inherits from Objects
  • 4. Why Your Type Needs a String Representation
  • 5. Overriding ToString()
  • 6. ToString() with Records
  • 7. Comparing for Equality Reference Types
  • 8. Implementing Value Equality with a Record
  • 9. ReferenceEquals() and Reference Equality
  • 10. Testing for Equality with Null Values
  • 11. Equality for Value Types
  • 12. Summary

  • 3. Dates and Times
  • 1. Overview
  • 2. Introducing DateTime, TimeSpan, DateOnly, and TimeOnly
  • 3. Formatting DateTimes as Strings
  • 4. Getting the Day of the Week
  • 5. Humanizing Times
  • 6. Parsing Dates and Times from Strings
  • 7. Exporting Dates and Times for Round-tripping
  • 8. Using ParseExact() to Import Round-tripped Data
  • 9. Taking Account of Timezones with DateTimeOffset
  • 10. Converting between Timezones
  • 11. Summary

  • 4. Manipulating Strings
  • 1. Overview
  • 2. Reading a CSV File
  • 3. Trimming Excess WhiteSpace
  • 4. Removing Whitespace in the Middle of a String
  • 5. Identifying Special Characters
  • 6. Comparing for Strings Equality
  • 7. Putting Strings in a Standard Form
  • 8. Applying Grammar Rules Making Words Plural
  • 9. The Logic of Pluralizing
  • 10. Extracting Substrings
  • 11. Converting to Title Case
  • 12. Converting to Sentence Case
  • 13. Summary

  • 5. Custom Formating
  • 1. Overview
  • 2. Why You Need Multiple String Representations
  • 3. Devising Format Strings
  • 4. Implementing IFormattable
  • 5. Consuming IFormattable
  • 6. Introducing Custom Formatters
  • 7. Implementing IFormatProvider
  • 8. Implementing ICustomFormatter
  • 9. What Are Interpolated String Handlers
  • 10. Implementing a Custom Interpolated String Handler
  • 11. Consuming a Custom Interpolated String Handler
  • 12. Summary

  • 6. Regular Expressions
  • 1.What Are Regular Expressions
  • 2. Regex Matches
  • 3. Devising an Email Address Pattern
  • 4. Regex Groups
  • 5. Replacing Text with Regex
  • 6. Replacing a Match with Variable Text
  • 7. Regex Captures
  • 8. Summary

  • 7. Numeric Types and Arithmetic
  • 1. Overview
  • 2. Coding the Calculator App
  • 3. Not a Number and Infinity
  • 4. Preventing Integer Overflows
  • 5. Preventing Floating Point Overflows
  • 6. Formatting Numbers
  • 7. Numeric Format Strings
  • 8. Right-justifying Numbers
  • 9. Rounding with Math
  • 10. Choosing Numeric Types
  • 11. Summary

  • 8. Enums
  • 1. Overview
  • 2. Iterating Values of an Enum
  • 3. Getting the Enum Value Name
  • 4. Adding Behaviour to an Enum
  • 5. Declaring a Flags Enum
  • 6. The Problem with Enumerating Flag Enums
  • 7. Enumerating Enum Flags
  • 8. Combining Enum Flags
  • 9. Identifying Enum Flags
  • 10. Summary

  • 9. Collections
  • 1. Overview
  • 2. Choosing a Collection Type
  • 3. Collections vs. Sequences
  • 4. Collection Structural Equality
  • 5. Comparing Lists More Efficiently
  • 6. Finding Differences between Collections
  • 7. Using Set Operations to Find Differences
  • 8. Improving Efficiency by Manual Iterating
  • 9. Returning a Sequence with Yield Return
  • 10. Implementing the Differences Algorithm
  • 11. Comparing the File Contents
  • 12. Summary

  • 10. Indexes and Ranges
  • 1. What Is Data Slicing
  • 2. Introducing the Demo
  • 3. The Index Type
  • 4. Slicing Data using a Range
  • 5. Slicing Lists with GetRange()
  • 6. Supporting Indexes for Your Types
  • 7. Supporting Ranges and Slicing for Your Types
  • 8. Summary

  • 11. Using the File System
  • 1. Overview
  • 2. Getting the Users Documents Folder
  • 3. Getting the Running Applications Directory
  • 4. Recursively Listing Files
  • 5. Limiting the Files Returned
  • 6. Subdirectories and Relative Paths
  • 7. Searching for Files
  • 8. Identifying Text Files
  • 9. Searching for Text in Files
  • 10. Backing up Files
  • 11. Getting the Backup Name
  • 12. Summary

  • 12. Localization and Resources
  • 1. Overview
  • 2. A Non-localized App
  • 3. Making the App Localizable
  • 4. Localizing the App
  • 5. Satellite Assemblies
  • 6. VS Support for Localization
  • 7. A Non-localized WPF App
  • 8.Localizing the WPF App
  • 9. Understanding Build Actions for Images
  • 10. Consuming Image Resources
  • 11. Summary

  • 13. Consuming Web Resources
  • 1. Overview
  • 2. What Is HTTP
  • 3. Introducing HttpClient
  • 4. Using a Web API
  • 5. Invoking the Web API with HttpClient
  • 6. Parsing Web API Responses
  • 7. Handling Errors
  • 8. Demo Testing Website Pages
  • 9. Customizing an HttpClient with HttpClientHandler
  • 10. Getting and Analyzing the HTTP Response
  • 11. Getting Multiple Pages Asynchronously
  • 12. Preventing Automatic Redirects
  • 13. Summary

  • 14. Using the Windows Registry
  • 1. Overview
  • 2. Introducing the Registry
  • 3. Writing to the Registry
  • 4. Reading from the Registry
  • 5. Writing Multiple Values with the RegistryKey Type
  • 6. Reading Multiple Values
  • 7. Deleting Registry Keys
  • 8. Summary

  • 15. Writing a Windows Service
  • 1. Overview
  • 2. What Is a Windows Service
  • 3. The Service Logic Monitoring a File with FileWatcher
  • 4. Writing the Service Hosting Code
  • 5. Implementing the BackgroundService
  • 6. Installing the Service
  • 7. The Event Log
  • 8. Communicating Using Named Pipes
  • 9. Coding the Named Pipe Client
  • 10. Summary

  • 16. Accessing System Information with Management Objects
  • 1. Why Do You Need Management Objects
  • 2. Getting Battery Information with WMI
  • 3. The Power of Management Objects
  • 4. Introducing WMI Windows Management Instrumentation
  • 5. Finding out WMI Information
  • 6. Getting Drive Information
  • 7. WMI Association Classes
  • 8. Summary
  • 139,000 تومان
    بیش از یک محصول به صورت دانلودی میخواهید؟ محصول را به سبد خرید اضافه کنید.
    خرید دانلودی فوری

    در این روش نیاز به افزودن محصول به سبد خرید و تکمیل اطلاعات نیست و شما پس از وارد کردن ایمیل خود و طی کردن مراحل پرداخت لینک های دریافت محصولات را در ایمیل خود دریافت خواهید کرد.

    ایمیل شما:
    تولید کننده:
    مدرس:
    شناسه: 2310
    حجم: 1383 مگابایت
    مدت زمان: 539 دقیقه
    تاریخ انتشار: 28 دی 1401
    طراحی سایت و خدمات سئو

    139,000 تومان
    افزودن به سبد خرید