Advertisement
Guest User

Untitled

a guest
Apr 16th, 2018
236
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.25 KB | None | 0 0
  1. <?xml version="1.0"?>
  2. <configuration>
  3. <configSections>
  4. <section name="monorail" type="Castle.MonoRail.Framework.Configuration.MonoRailSectionHandler, Castle.MonoRail.Framework" requirePermission="false"/>
  5. <section name="castle" type="Castle.Windsor.Configuration.AppDomain.CastleSectionHandler, Castle.Windsor" requirePermission="false"/>
  6. <section name="repository" type="HughGRice.Portal.Core.ConfigSectionHandler, HughGRice.Portal.Core" />
  7. <section name="hibernate-configuration" type="System.Configuration.NameValueSectionHandler , System, Version=1.0.5000.0,Culture=neutral, PublicKeyToken=b77a5c561934e089" />
  8. </configSections>
  9.  
  10. <!--SQL Server 2005-->
  11. <hibernate-configuration xmlns="urn:nhibernate-configuration-2.2">
  12. <session-factory>
  13. <property name="dialect">NHibernate.Dialect.MsSql2005Dialect</property>
  14. <property name="connection.provider">NHibernate.Connection.DriverConnectionProvider</property>
  15. <property name="connection.driver_class">NHibernate.Driver.SqlClientDriver</property>
  16. <property name="connection.connection_string">server=(local);Data Source=hughgrice;usr=sa;pwd=sa</property>
  17. <property name="connection.isolation">ReadCommitted</property>
  18. <property name="show_sql">true</property>
  19. <!-- HBM Mapping Files -->
  20. <mapping assembly="HughGRice.Portal.Core" />
  21. </session-factory>
  22. </hibernate-configuration>
  23.  
  24.  
  25.  
  26. <repository>
  27. <assemblies>
  28. <assembly name="HughGRice.Portal.Core" />
  29. </assemblies>
  30. </repository>
  31.  
  32. <monorail useWindsorIntegration="true" smtpHost="mail.gumpshen.com" smtpUsername="admin@gumpshen.com" smtpPassword="r0xxxxx">
  33. <viewEngine viewPathRoot="Views" customEngine="Castle.MonoRail.Framework.Views.NVelocity.NVelocityViewEngine, Castle.MonoRail.Framework.Views.NVelocity"/>
  34. <routing>
  35. <rule>
  36. <pattern>(/default.aspx)(.)*$</pattern>
  37. <replace>/home/index.ashx</replace>
  38. </rule>
  39. </routing>
  40. </monorail>
  41. <system.web>
  42. <customErrors mode="Off"/>
  43. <trust level="Full"/>
  44. <trace enabled="true"/>
  45. <httpHandlers>
  46. <add verb="*" path="*.ashx" type="Castle.MonoRail.Framework.MonoRailHttpHandlerFactory, Castle.MonoRail.Framework"/>
  47. <!-- block direct user access to template files -->
  48. <add verb="*" path="*.vm" type="System.Web.HttpForbiddenHandler"/>
  49. <add verb="*" path="*.boo" type="System.Web.HttpForbiddenHandler"/>
  50. <add verb="*" path="*.st" type="System.Web.HttpForbiddenHandler"/>
  51. </httpHandlers>
  52. <httpModules>
  53. <add name="monorail" type="Castle.MonoRail.Framework.EngineContextModule, Castle.MonoRail.Framework"/>
  54. </httpModules>
  55. <compilation debug="true"/>
  56. </system.web>
  57. <appSettings>
  58. <add key="PathToThumbnailFolder" value="D:\@Repository\HughGRice.Portal\src\HughGRice.Portal.Web\Content\images\paintings\small"/>
  59. <add key="PathToImageFolder" value="D:\@Repository\HughGRice.Portal\src\HughGRice.Portal.Web\Content\images\paintings\large"/>
  60. </appSettings>
  61. <castle>
  62. <include uri="file://Config/properties.config"/>
  63. <include uri="file://Config/facilities.config"/>
  64. <include uri="file://Config/components.config"/>
  65. <include uri="file://Config/controllers.config"/>
  66. </castle>
  67. </configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement