... of WCF 1 45 Using WebSockets 14 9 Using Contract First development 15 6 Chapter 8: Creating and Hosting Our First ASP .NET Web API 16 1Introduction 16 1Creating our rst ASP .NET web API 1 62 Implementing ... 1 62 Implementing a CRUD ASP .NET web API 17 0Setting up a self-hosted ASP .NET web API 1 75 Chapter 9: Using the New Capabilities of WF 18 1 Introduction 18 1 Creating a state machine workow 1 82 Using the enhanced ... designer features 19 3Appendix A: Resources for Further Knowledge 19 9Resources for knowing more about .NET 4.5 and its tools 19 9Resources for knowing more about Windows8 20 0Resources for knowing...
... Dưới đây là phần mã cho form con: public class MDIChild : System .Windows. Forms.Form { private System .Windows. Forms.Button cmdShowAllWindows; private System .Windows. Forms.Label label; ... đây vào bất kỳ form nào. Đoạn mã này sẽ lưu các thuộc tính của form khi form đóng và phục hồi chúng khi form được nạp. private FormSettingStore formSettings; private void Form1_Load(object ... key.SetValue("Top", form.Top); } public void ApplySettings(System .Windows. Forms.Form form) { form.Height = (int)key.GetValue("Height", form.Height); form.Width = (int)key.GetValue("Width",...
... instancemember instead. 60 Chapter 1Framework Fundamentalsi 32 = i16 i 32 = db db = i16 db = i 32 // C# i16 = i 32; i16 = db; i 32 = i16; i 32 = db; db = i16; db = i 32; 4. Attempt to build your ... Int16 i16 = 1; Int 32 i 32 = 1; double db = 1; 3. Attempt to assign each variable to all the others, as the following code sampledemonstrates:' VB i16 = i 32 i16 = db Lesson 1: Working ... expression: ^\d {5} $ Enter input for comparison: 12 34 InputDOESNOTmatchregularexpression. C:\>TestRegExp Enter regular expression: ^\d {5} $ Enter input for comparison: 12 3 45 Inputmatchesregularexpression.As...
... khi thực thi một câu lệnh dựa trên data-source. Bảng 10 .4 mô tả các thuộc tính thường được sử dụng khi cấu hình cho thông số. Bảng 10 .4 Các thuộc tính của đối tượng thông số Thuộc tính Mô ... liệu có trong tập kết quả. Bảng 10 .5 mô tả vài thành viên thông dụng của giao diện IDataReader và IDataRecord. Ngoài các thành viên được liệt kê trong bảng 10 .5, data-reader còn cung cấp một ... GetBytes, GetChar, GetChars, GetDateTime, GetDecimal, GetDouble, GetFloat, GetGuid, GetInt16, GetInt 32, GetInt 64, GetString, GetValue, và GetValues CommandType Một giá trị thuộc kiểu liệt kê...
... operating systems: MicrosoftWindows Server 20 03, Windows Server 20 08, Windows Server 20 08 R2, Windows XP with Service Pack 2, Windows Vista, Windows 7 Microsoft Visual Studio 20 10 This ... code:IdProduct: 46 -Price: 10 00IdProduct: 27 -Price: 20 00IdProduct: 14 -Price: 50 0IdProduct: 11 -Price: 350 IdProduct: 46 -Price: 10 00This result might seem unexpected because ... expressions (Listings 2- 1 and 2- 2) into something like the statement shown in Listing 2- 3. After you become famil-iar with the query expression syntax (Listings 2- 1 and 2- 2), it is simpler and...
... Projections 21 1 Specifying a Filter 21 1 Specifying a Sort Order 21 2Paging 21 3Joins 2 15 Grouping and Aggregation 22 1 Parallel LINQ (PLINQ) 22 3Chapter 4 LINQ to SQL 23 7Lesson 1: What Is LINQ to SQL? . ... install 64- bit SQL Server before installing Visual Studio 20 10 . Visual Studio 20 10 includes, and attempts to install, the 32- bit SQL Server 20 08 Express Edition. If you install the 64- bit versions ... . . 12 0 What Is a Transaction? 12 0 Concurrency Models and Database Locking 12 1 Transaction Isolation Levels 12 1 Single Transactions and Distributed Transactions 12 3 Creating a Transaction 12 3 Introducing...
... exactly 32 bits. If you need to store boolean values, use BitVector 32 anytime you require 32 orfewer items, and use BitArray for anything larger.DictionariesDictionaries map keys to values. For ... . . 15 0 Before You BeginThis book assumes that you have at least two to three years of experience developingWeb-based, MicrosoftWindows based, or distributed applications using the .NET Framework. ... from the stack.BitArray and BitVector 32 BitArray is an array of boolean values, where each item in the array is either true orfalse. While BitArray can grow to any size, BitVector 32 (a structure)...
... without waiting for the background threads:Main thread is complete. Waited for 10 00 ms. Waited for 20 00 ms. Waited for 3000 ms.You can also call WaitHandle.WaitAny, which waits for the first ... domainsin a .NET Framework application” exam objective, complete the following tasks.Develop Multithreaded .NET Framework Applications For this task, you should complete at least Practices 1, 2, and ... for a service.Q Install a service manually.Q Create a setup project for a service.Q Start and manage a service using tools built into Windows. Estimated lesson time: 45 minutesWhat Is a Windows...
... transactional. Lesson 2: Working with Performance Counters 41 9 20 8 .23 34 1 72. 80 78 12 7 .55 94 21 9.6767Because the IPv4\Datagrams/sec counter is averaged over 1 second, you can queryit repeatedly and ... http://www .microsoft. com/downloads/details.aspx?FamilyID=fe6f2099-b7b4-4f47-a 24 4 -c96d69c35dec. Then you can start the tool from the Administrative Tools folder on your Start menu or by opening the %WinDir% \Microsoft. NET\ Framework\ v2.0 .50 727 \Mscorcfg.msc ... Start menu, start the Microsoft .NET Framework2. 0 Configuration tool (or open the %WinDir% \Microsoft .NET\ Framework\ v2.0 .50 727 \Mscorcfg.msc snap-in). 8. In the .NET Framework2. 0 Configuration tool,...