Вы находитесь на странице: 1из 2

COM+ Services

Just -in -time activation


Role -based security - Security Provider
Synchronization - Locks
Object pooling -
Transactions
Queued components
for COM+ service inherit ServicedComponent & import System.EnterpriseService
[SecurityRole("manager"),seteveryoneAcess=false)]
In used to secure distirbuted application
[Synchronization(SynchronizationOption.Required)]
To manage multiple Clients
[Objectpooling (Enable=true, MinPoolsize=1, MaxPoolSize=250)]
To create a specified number of instances at a time and store them in a pool
[Transaction(TransactionOption.Required)]
Grouping various related operations as an atomic unit
[assembly: ApplicationQueuing[Enabled=true,QueueListenerEnabled=true)]
namespace Mycomponent{
public class Class1:ServicedComponent
{}
}
Message Queuing - Enables Client to send a message to a Com+ serviced component even if the
component is not available due to network connectivity
Creating COM+ ServicedComponent
Configure the Component
Register the Component
ApplicationAccessControlAttribute
ApplicationActivationAttribute
JustInTimeActivationAttribute
ObjectPoolingAttribute
SecureMethodAttribute -Security Service
ServicedComponent - to implement COM+
SharedProperty
TransactionAttribute
Configure .net component
Registering
Manual
Programmatic
Dynamic

Вам также может понравиться