Click here to Skip to main content
15,885,546 members
Articles / Programming Languages / C#

StrategyLight, Business Logic under Business Control in Excel File

Rate me:
Please Sign up or sign in to vote.
2.60/5 (3 votes)
19 Nov 2008CPOL1 min read 14.3K   471   5  
Definition of business logic (calculations, scorings, decisions, …) under business control in Excel file (without Excel installation and automation technique).
<?xml version="1.0"?>
<!-- 
    Note: As an alternative to hand editing this file you can use the 
    web admin tool to configure settings for your application. Use
    the Website->Asp.Net Configuration option in Visual Studio.
    A full list of settings and comments can be found in 
    machine.config.comments usually located in 
    \Windows\Microsoft.Net\Framework\v2.x\Config 
-->
<configuration>
    <configSections>
      <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
    </configSections>

    <appSettings>
      <add key="CalculationCorePath" value="c:\.Dev\"/>
    </appSettings>
  
    <connectionStrings/>
    <system.web>
        <!-- 
            Set compilation debug="true" to insert debugging 
            symbols into the compiled page. Because this 
            affects performance, set this value to true only 
            during development.
        -->
        <compilation debug="true">

        </compilation>
        <!--
            The <authentication> section enables configuration 
            of the security authentication mode used by 
            ASP.NET to identify an incoming user. 
        -->
        <authentication mode="Windows" />
        <!--
            The <customErrors> section enables configuration 
            of what to do if/when an unhandled error occurs 
            during the execution of a request. Specifically, 
            it enables developers to configure html error pages 
            to be displayed in place of a error stack trace.

        <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
            <error statusCode="403" redirect="NoAccess.htm" />
            <error statusCode="404" redirect="FileNotFound.htm" />
        </customErrors>
        -->        
    </system.web>
  
    <!-- Output setting -->
    <log4net>
      <!-- Console output -->
      <appender name="Console" type="log4net.Appender.ConsoleAppender">
        <layout type="log4net.Layout.PatternLayout">
          <conversionPattern value="%date %5level %thread - %message%newline" />
        </layout>
      </appender>

      <!-- RollingFile output -->
      <appender name="RollingFile" type="log4net.Appender.RollingFileAppender">
        <file value="c:\.Log4NET\CFStressTest.log" />
        <appendToFile value="true" />
        <rollingStyle value="Size" />
        <maximumFileSize value="5MB" />
        <maxSizeRollBackups value="5" />
        <layout type="log4net.Layout.PatternLayout">
          <conversionPattern value="%date %5level %thread - %message%newline" />
        </layout>
      </appender>

      <root>
        <level value="INFO" />
        <appender-ref ref="RollingFile" />
        <!-- <appender-ref ref="Console" /> -->
      </root>
    </log4net>

</configuration>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Team Leader
Czech Republic Czech Republic
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions