| < Day Day Up > |
14.4. SummaryTo run code in a managed environment, .NET creates partitions called application domains for the assemblies to execute in. The AppDomain, which runs inside of a physical process, has the advantage of providing more secure code through code isolation and security boundaries. The boundaries prevent an object in one AppDomain from directly accessing an object in another AppDomain. For them to communicate, .NET provides a set of classes that support remoting —a technique that enables objects to communicate across AppDomain boundaries.
Remoting provides a way to implement client-server or peer-to-peer distributed applications. It's designed to conceal the underlying details of how messages are transported and permit the developer to focus on higher level
The remote objects can be implemented in several ways: as a
singleton
that services all
|
| < Day Day Up > |
| < Day Day Up > |
14.5. Test Your Understanding
|
| < Day Day Up > |
| < Day Day Up > |
Chapter 15. Code Refinement, Security, and DeploymentTopics in This Chapter
In the earliest days of programming, computers were used primarily to perform calculations and
This chapter looks at the issues and steps involved in producing a
Figure 15-1. Deliverable software should meet coding standards, be secure, and be easily deployed
The first section shows how to use FxCop as a tool to analyze an assembly and generate code change recommendations based on a predefined set of coding standards. The second section looks at the details of how to create a strongly named assembly and the security benefits that accrue from doing so.
The
The chapter concludes with a look at the issues to be considered in deploying an application to users or customers. The advantages and disadvantages of using XCOPY or an installer to physically distribute an application are discussed. |
| < Day Day Up > |