Answered by:
configuration files - enterprise architecture design

Question
-
User888441741 posted
where would you put below assembly in enterprise architecture design using "domain drivien design"
configuration (class library)
session
cache
log
email......
etc...any suggustions?
thanks
Tuesday, February 23, 2010 2:43 PM
Answers
-
User214117797 posted
where would you put these files in enterprise architecture design using "domain drivien design"
configuration
session
cache
log
email......
etc...any suggustions?
thanks
You have several options.
You can create a separate configuration file for each group or you can create a group for each of them in the hosting service's configuraiton file.
The end result though is you should use CustomSections to define the configuration information so that is gives you strongly typed objects and basic schema validation.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Saturday, February 27, 2010 7:27 PM -
User214117797 posted
do you think i should create each (configration, cache, log, email, session...) class library project?It all depends on how often do you think things will change and how you plan to manage the deployment process.
HOwever, I see no reason why each section should have its own assembly.
One assembly for all of them in different namespaces would be more than adequate.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Monday, March 1, 2010 2:47 AM
All replies
-
User214117797 posted
where would you put these files in enterprise architecture design using "domain drivien design"
configuration
session
cache
log
email......
etc...any suggustions?
thanks
You have several options.
You can create a separate configuration file for each group or you can create a group for each of them in the hosting service's configuraiton file.
The end result though is you should use CustomSections to define the configuration information so that is gives you strongly typed objects and basic schema validation.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Saturday, February 27, 2010 7:27 PM -
User888441741 posted
do you think i should create each (configration, cache, log, email, session...) class library project?
Sunday, February 28, 2010 10:54 AM -
User214117797 posted
do you think i should create each (configration, cache, log, email, session...) class library project?It all depends on how often do you think things will change and how you plan to manage the deployment process.
HOwever, I see no reason why each section should have its own assembly.
One assembly for all of them in different namespaces would be more than adequate.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Monday, March 1, 2010 2:47 AM