Page 5 - CSharp/C#
P. 5

Global and local AssemblyInfo                                                                     61

            [AssemblyVersion]                                                                                 62

            Reading Assembly Attributes                                                                       62

            Automated versioning                                                                              62

            Common fields                                                                                     63

            [AssemblyConfiguration]                                                                           63

            [InternalsVisibleTo]                                                                              63

            [AssemblyKeyFile]                                                                                 64
        Chapter 13: Async/await, Backgroundworker, Task and Thread Examples                                  65


          Remarks                                                                                             65

          Examples                                                                                            65

            ASP.NET Configure Await                                                                           65

            Blocking                                                                                          65

            ConfigureAwait                                                                                    66
            Async/await                                                                                       67

            BackgroundWorker                                                                                  68

            Task                                                                                              69

            Thread                                                                                            70

            Task "run and forget" extension                                                                   71

        Chapter 14: Async-Await                                                                              72

          Introduction                                                                                        72

          Remarks                                                                                             72

          Examples                                                                                            72

            Simple consecutive calls                                                                          72

            Try/Catch/Finally                                                                                 72

            Web.config setup to target 4.5 for correct async behaviour.                                       73

            Concurrent calls                                                                                  74

            Await operator and async keyword                                                                  75

            Returning a Task without await                                                                    76
            Blocking on async code can cause deadlocks                                                        77

            Async/await will only improve performance if it allows the machine to do additional work          78

        Chapter 15: Asynchronous Socket                                                                      80
   1   2   3   4   5   6   7   8   9   10