Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 562 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
562
Dung lượng
5,58 MB
Nội dung
[...]... becomes the Microsoft intermediate language (MSIL) byte code, which is then executed by the CLR MSIL code generated from compiling C# is generally identical to MSIL code generated from compiling VB.NET code Exceptions to this lie with a few language-speci c features, such as how C# can use classic C- style pointers within unsafe code and how VB.NET can use VB6-style Windows API definitions Chapter 1 10... be confined to a single language A class compiled from VB.NET can be called from a C# application and vice versa Similarly, a class written in VB.NET can derive from a compiled class written in C# Exceptions and polymorphism are also supported across languages This is made possible by a specification called the Common Type System (CTS) When an application written in a NET language is compiled, it becomes... their computers The next five chapters discuss network application design This includes application security, performance, and scalability Contained within these chapters is practical, hands-on advice to help improve the overall quality of your software With tougher security, your applications will be less susceptible to theft of intellectual property and privileged information The performance and scalability...x Contents 7.4 Avoiding the networking pitfalls 7.4.1 Firewall tunneling 7.5 Conclusion 8 Protecting Data: Encryption 8.1 8.2 8.3 8.4 8.5 8.6 Introduction Cryptanalysis Terminology Asymmetric encryption Using RSA as asymmetric encryption Symmetric encryption 8.6.1 Using 3DES as symmetric encryption 8.7 Piracy protection 8.8 Conclusion 9 Controlling User Access: Authentication and Authorization... framework, is capable of running on Windows CE devices, such as palmtops and certain cell phones Furthermore, there are initiatives to port the CLR to Linux, such as the MONO project (www.go-mono.com) In this book, the two most popular NET programming languages, C# and VB.NET, are used Both languages differ syntactically, but are equally capable and offer identical performance characteristics Languages... Intel processors without rendering older computers obsolete .NET languages are object-oriented rather than procedurally based This provides a natural mechanism to encapsulate interrelated data and methods to modify this data within the same logical construct An object is a programmatic construct that has properties or can perform actions A core concept of object orientation is the ability of one class... representing a car that could inherit from the vehicle class .NET does not support multiple inheritance, so the car class cannot inherit from a vehicle class and a Windows form Interestingly, every class within NET derives from a root called System.Object An interface is a contract that stipulates what methods and properties a class must expose To return to the previous example, the vehicle interface could... labeled as either C# or VB.NET and are printed with fixed-spaced fonts, such as the following example: C# public int addition(int a, int b) { return a+b; } Chapter xviii Preface In some cases, other scripts, such as SQL, ASP.NET, or MS-DOS are used and labeled accordingly Further information You can find help for speci c problems and questions by investigating several Web sites A good place to start for... Introduction Authentication techniques 9.2.1 IIS authentication 9.3 Microsoft NET Passport authentication 9.4 Hashing information 9.4.1 Hashing algorithms 9.4.2 Using SHA 9.5 SSL 9.6 Certificates 9.7 Server certificates 9.8 Client certificates 9.8.1 Microsoft Certificate Services 9.8.2 Reading certificates 9.9 Permissions in NET 9.10 Financial network security 9.10.1 X.25 9.10.2 ISO 8730 9.10.3 SWIFT 9.10.4 Corporate... email exchange, which is holding your email for you This book is largely concerned with creating network programs, not Web sites Although the capabilities of Web sites and network programs are quickly converging, it is important to understand the arguments for and against each system A service accessed via a Web site is instantly accessible to users across many different platforms, and the whole networking . 236 9.6 Certificates 236 9.7 Server certificates 238 9.8 Client certificates 239 9.8.1 Microsoft Certificate Services 240 9.8.2 Reading certificates 241 9.9 Permissions in .NET 244 9.10 Financial network. Preface This book will help you develop network applications with .NET, using either the C# or VB .NET programming language. It covers everything you need to know about network programming in .NET, . titles •Sample chapters on featured titles for free •Question our expert authors and editors •Download free software to accompany select texts Network Programming in .NET With C# and Visual Basic .NET