1
2
3
4
5
6
7
8
|
<
BlogEngine
>
<
blogProvider
defaultProvider
=
"XmlBlogProvider"
>
<
providers
>
<
add
name
=
"XmlBlogProvider"
type
=
"BlogEngine.Core.Providers.XmlBlogProvider, BlogEngine.Core"
/>
<
add
name
=
"DbBlogProvider"
type
=
"BlogEngine.Core.Providers.DbBlogProvider, BlogEngine.Core"
connectionStringName
=
"BlogEngine"
/>
</
providers
>
</
blogProvider
>
</
BlogEngine
>
|
1
|
<
add
name
=
"DbBlogProvider"
type
=
"BlogEngine.Core.Providers.DbBlogProvider, BlogEngine.Core"
connectionStringName
=
"BlogEngine"
/>
|
1
2
3
4
|
<
connectionStrings
>
<
clear
/>
<
add
name
=
"BlogEngine"
connectionString
=
"Data Source=MySQLServer;User ID=user;Password=password;persist security info=False;initial catalog=BlogEngine;"
providerName
=
"System.Data.SqlClient"
/>
</
connectionStrings
>
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<
appSettings
>
<
add
key
=
"BlogEngine.FileExtension"
value
=
".aspx"
/>
<!-- You can e.g. use "~/blog/" if BlogEngine.NET is not located in the root of the application -->
<
add
key
=
"BlogEngine.VirtualPath"
value
=
"~/"
/>
<!-- The regex used to identify mobile devices so a different theme can be shown -->
<
add
key
=
"BlogEngine.MobileDevices"
value
=
"(iemobile|iphone|ipod|android|nokia|sonyericsson|blackberry|samsung|sec\-|windows ce|motorola|mot\-|up.b|midp\-)"
/>
<!-- The name of the role with administrator permissions -->
<
add
key
=
"BlogEngine.AdminRole"
value
=
"Administrators"
/>
<!-- The name of the role for anonymous(non-authenticated) users. -->
<
add
key
=
"BlogEngine.AnonymousRole"
value
=
"Anonymous"
/>
<!-- The name of the role for Editors -->
<
add
key
=
"BlogEngine.EditorsRole"
value
=
"Editors"
/>
<!--This value is to provide an alternative location for storing data.-->
<
add
key
=
"StorageLocation"
value
=
"~/App_Data/"
/>
<!--This value is the folder name under the StorageLocation that data for blog instances will be stored in.-->
<
add
key
=
"BlogInstancesFolderName"
value
=
"blogs"
/>
<!--A comma separated list of script names to hard minify. It's case-sensitive. -->
<
add
key
=
"BlogEngine.HardMinify"
value
=
"blog.js,widget.js,WebResource.axd"
/>
</
appSettings
>
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
<
system.serviceModel
>
<
services
>
<
service
behaviorConfiguration
=
"AuthenticationServiceBehaviors"
name
=
"System.Web.ApplicationServices.AuthenticationService"
>
<
endpoint
binding
=
"basicHttpBinding"
contract
=
"System.Web.ApplicationServices.AuthenticationService"
/>
</
service
>
</
services
>
<
serviceHostingEnvironment
aspNetCompatibilityEnabled
=
"true"
/>
<
behaviors
>
<
serviceBehaviors
>
<
behavior
name
=
"AuthenticationServiceBehaviors"
>
<
serviceMetadata
httpGetEnabled
=
"true"
/>
</
behavior
>
</
serviceBehaviors
>
</
behaviors
>
</
system.serviceModel
>
|
1
2
3
4
5
6
7
|
<
system.web.extensions
>
<
scripting
>
<
webServices
>
<
authenticationService
enabled
=
"true"
requireSSL
=
"false"
/>
</
webServices
>
</
scripting
>
</
system.web.extensions
>
|