﻿<?xml version="1.0" encoding="utf-8"?>

<!--
  For more information on how to configure your ASP.NET application, please visit
  http://go.microsoft.com/fwlink/?LinkId=169433
  -->

<configuration>
  <configSections>
		<sectionGroup name="n2" type="N2.Configuration.SectionGroup, N2">
			<section name="host" type="N2.Configuration.HostSection, N2" requirePermission="false" restartOnExternalChanges="true" />
			<section name="engine" type="N2.Configuration.EngineSection, N2" requirePermission="false" restartOnExternalChanges="true" />
			<section name="database" type="N2.Configuration.DatabaseSection, N2" requirePermission="false" restartOnExternalChanges="true" />
			<section name="edit" type="N2.Configuration.EditSection, N2" requirePermission="false" restartOnExternalChanges="true" />
		</sectionGroup>
	</configSections>
    <system.web>
      <compilation targetFramework="4.5"><expressionBuilders>
				<add expressionPrefix="CurrentItem" type="N2.Web.Compilation.CurrentItemExpressionBuilder, N2" />
				<add expressionPrefix="CurrentPage" type="N2.Web.Compilation.CurrentPageExpressionBuilder, N2" />
				<add expressionPrefix="StartPage" type="N2.Web.Compilation.StartPageExpressionBuilder, N2" />
				<add expressionPrefix="Code" type="N2.Web.Compilation.CodeExpressionBuilder, N2" />
				<add expressionPrefix="HasValue" type="N2.Web.Compilation.HasValueExpressionBuilder, N2" />
			</expressionBuilders></compilation>
      <httpRuntime targetFramework="4.5" requestValidationMode="2.0" />
    <!-- 
		These membership and role providers store their data as content items. You can also use the forms authentication 
		credentials only (then remove these sections) or the default ASP.NET providers (search for asp.net membership) 
		--><membership defaultProvider="ContentMembershipProvider">
       <providers>
         <add passwordFormat="Hashed" name="ContentMembershipProvider" type="N2.Security.ContentMembershipProvider, N2.Management" />
       </providers>
     </membership><roleManager enabled="true" defaultProvider="ContentRoleProvider">
                   <providers>
                     <add name="ContentRoleProvider" type="N2.Security.ContentRoleProvider, N2.Management" />
                   </providers>
                 </roleManager><profile defaultProvider="ContentProfileProvider">
                    <providers>
                      <add name="ContentProfileProvider" type="N2.Security.ContentProfileProvider, N2.Management" />
                    </providers>
                  </profile><siteMap defaultProvider="PublicSiteMap">
      <providers>
        <add name="PublicSiteMap" type="N2.Web.PublicSiteMapProvider, N2" startPageIsRoot="true" />
      </providers>
    </siteMap><pages>
			<controls>
				<add tagPrefix="n2" namespace="N2.Web.UI.WebControls" assembly="N2" />
			</controls>
			<tagMapping>
				<add tagType="System.Web.UI.HtmlControls.HtmlForm" mappedTagType="N2.Web.UI.WebControls.RawUrlForm" />
			</tagMapping>
			<namespaces>
				<add namespace="N2.Linq" />
				<add namespace="N2.Web.Mvc.Html" />
			</namespaces>
		</pages><httpModules>
			<add name="n2.initializer" type="N2.Web.InitializerModule, N2" />
		</httpModules>
    <authentication mode="Forms">
      <forms loginUrl="~/N2/Login.aspx">
        <credentials passwordFormat="SHA1">
          <user name="admin" password="ada066c28ee2d8d2061dae932db610cf7d1cfda1" />
        </credentials>
      </forms>
    </authentication>
    </system.web>

	<system.net>
		<mailSettings>
			<smtp from="info@netanet.net">
				<network host="mail.netanet.net" port="2525" userName="kundmail@netanet.net" password="24SR8?vR!M" enableSsl="false" />
			</smtp>
		</mailSettings>
	</system.net>
    <runtime>
        <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
            <dependentAssembly>
                <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
                <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
            </dependentAssembly>
            <dependentAssembly>
                <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
                <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
            </dependentAssembly>
            <dependentAssembly>
                <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
                <bindingRedirect oldVersion="1.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
            </dependentAssembly>
        </assemblyBinding>
    </runtime>

<system.webServer>
		<modules runAllManagedModulesForAllRequests="true">
			<add name="n2.initializer" type="N2.Web.InitializerModule, N2" />
		</modules>
		<validation validateIntegratedModeConfiguration="false" />
        <directoryBrowse enabled="false" />
        <defaultDocument>
            <files>
                <clear />
                <add value="Default.htm" />
                <add value="Default.asp" />
                <add value="index.htm" />
                <add value="index.html" />
                <add value="iisstart.htm" />
                <add value="default.aspx" />
                <add value="index.php" />
            </files>
        </defaultDocument>
        <httpErrors errorMode="DetailedLocalOnly" existingResponse="Auto" />
	</system.webServer>
<n2 xmlns="http://n2cms.com/schemas/configuration/v3">
<!--
			When installing a database from scratch you'll need to insert some required pages. 
			This can be done by the web based installer located at http://yoursite/n2/installation/ 
			-->
<host rootID="1" startPageID="2" multipleSites="true">
<vpp>
<zips>
<add name="n2.management" observedPath="~/N2/" filePath="~/N2/N2.zip" />
</zips>
</vpp>
</host>
<engine>
<errors action="Email" mailTo="info@netanet.net" mailFrom="noreply@swedeforce.com" />
<globalization enabled="true" />
</engine>
<database connectionStringName="N2CMS" caching="true">
</database>
<edit>
<installer checkInstallationStatus="false" />
<writers dynamic="true" />
<editors dynamic="true" />
<administrators dynamic="true" />
<images>
<sizes>
<add name="thumb" width="50" height="50" mode="Fill" />
<add name="wide" width="960" height="480" mode="Fill" />
</sizes>
</images>
</edit>
</n2>
<connectionStrings>
<!-- Some connection string examples:
		SQLite:           <add name="N2CMS" connectionString="Data Source=|DataDirectory|\n2.sqlite.db;Version=3;New=True;" providerName="System.Data.SQLite" />
		SQL Server 2005:  <add name="N2CMS" connectionString="Server=(local);Database=N2_Templates;Integrated Security=SSPI"/>
		SQL Express 2005: <add name="N2CMS" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\N2.mdf;Integrated Security=True;User Instance=True" providerName="System.Data.SqlClient"/>
		SQL Server 2000:  <add name="N2CMS" connectionString="Data Source=SQLServer2000;Database=SQLDatabase2000;User Id=SqlUser2000;Password=SqlPassword2000;Network Library=DBMSSOCN;" providerName="System.Data.SqlClient"/>
		MySQL:            <add name="N2CMS" connectionString="Data Source=MySQLServer;Database=MySQLDatabase;User Id=MySQLUser;Password=MySQLPassword;" providerName="MySql.Data.MySqlClient"/>
		SQL Compact 4:    <add name="N2CMS" connectionString="Data Source=|DataDirectory|\n2cms.sdf" providerName="System.Data.SqlServerCe.SqlCeEngine, System.Data.SqlServerCe"/>
		-->
<add name="N2CMS" connectionString="Data Source=localhost;Database=2031_sf2016db;User Id=2031_sf2016user;Password=SHGDer3426jkBg;" providerName="MySql.Data.MySqlClient" />
</connectionStrings>
<appSettings>
<add key="ValidationSettings:UnobtrusiveValidationMode" value="None" />
	<add key="EmailToAddress" value="info@swedeforce.com" />
	<add key="EmailFromAddress" value="info@swedeforce.com" />
</appSettings>
</configuration>