Overview
This document describes the release of DotNetAge2.0.2.
DatNetAge is an open source content management system (CMS) base on Mvc & jQuery.
In v2.0.2 for Web Platform Installer (Web PI) package includes following components:
- DNA run-time files.
- DNA database generation scripts.
- DJME2 run-time components.
- Open libraries
- ASP.NET MVC3 run-time components.
- ASP.NET MVC3 WebHelpers
- jQuery,jQueryUI,jQuery Validation run-time scripts.
Runtime (WebPI) package and Source code is release on codeplex
The following page is link to codeplex : Download there
Changes in DNA2.0.2
This section describes changes in the DNA 2.0.2 release since the DNA 2.0.1 release
Added charts for logging service.
DNA2 adding a website analyze report dashboard for administrators to know about the website states.
Added OpenID login support
OpenId feature was added to DNA2 that allow using other website account to login your DNA website.
DNA2 offers the OpenID manager binding other website accounts to their DNA account.
Improving WebSite designer
Globalization feature enhancement
- Added 26 languages supports.
- Offers UI translator tools that helping you to localize the DNA UI quickly.
- Integrate the Bing translation service for resource translator.
- All the view files, resource files and source code files has been globalization
A new feature theme added
A extendable search engine added
There is a new search engine that base on OpenSearch add to DotNetAge2.
There are key features of the DNA search engine:
- Support provider base search source.
- Auto generate OpenSearch description document.
- Auto generate autodiscovery links in page head tag.
- Search result page.
Visit the following page to learn more about the DNA search engine:' A new search engine in DotNetAge2'
Web page enhancement
- Fixed could not set access roles bug.
- Add icon image url and icon url field.
- All page navigation control supports the page icon url, such as WebSite manu , SiteMapPath, WebSiteTree and as so on.
Improving Widget developing
- Completed supports Html,Razor, ASP.NET FORM widgets.
- Add a Widget online editor that allows user create widget in DNA without any development tools.
For more widget development resource please visit the following pages:
- "Write your first widget"
- "Introduction to Widget Engine"
- "WidgetEngine in DotNetAge2 for Mvc3"
Improving website management
- Add robots.txt editor.
- Supports Gravatar.
Enhanced the blog post editor
- Adjusted the post editing interface
- Added the lock post feature - When the post was locked by author the readers must supply the unlock password to read the post content.
Updated versions of jQuery,jQueryUI and jQuery Validation
The DNA2.0.2 now include the following versions of the jQuery scripts:
- jQuery 1.5.1
- jQuery Validation 1.8
- jQuery UI 1.8.11
Installation Notes
Before you install DNA2.0.2 please make sure ASP.NET MVC3 was installed on your target server. To install ASP.NET MVC3 using the Web Platform Installer (Web PI) visit the following page:
http://www.microsoft.com/web/gallery/install.aspx?appid=MVC3
If you are the first time install DotNetAge please visit the following page:
How to install DotNetAge
Software Requirements
The DotNetAge requrie the following software:
- IIS7
- SQL2008 R2
- ASP.NET MVC3
To lean more detail about DNA requirements please visit the following page:" Server requirements"
Upgrading DNA2.0.1 to DNA2.0.2 by manual
If your are installed DNA2.0.1 before, please run the WebPI again and replace all files on your DNA installed path (Exclude database), and do following steps:
1.Update DataBase
In order to update your database you could copy the follow sql scripts and execute on your server sql.
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[dna_Passports](
[ID] [int] IDENTITY(1,1) NOT NULL,
[UserName] [nvarchar](256) NOT NULL,
[UserId] [nvarchar](max) NOT NULL,
[Type] [int] NULL,
[UserData] [ntext] NULL,
CONSTRAINT [PK_dna_Passports] PRIMARY KEY CLUSTERED
(
[ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF,
ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
BEGIN TRANSACTION
SET QUOTED_IDENTIFIER ON
SET ARITHABORT ON
SET NUMERIC_ROUNDABORT OFF
SET CONCAT_NULL_YIELDS_NULL ON
SET ANSI_NULLS ON
SET ANSI_PADDING ON
SET ANSI_WARNINGS ON
COMMIT
BEGIN TRANSACTION
GO
ALTER TABLE dbo.dna_PermissionSets ADD
ResbaseName nvarchar(255) NULL,
TitleResName nvarchar(255) NULL
GO
ALTER TABLE dbo.dna_PermissionSets SET (LOCK_ESCALATION = TABLE)
GO
COMMIT
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[dna_getTraffic]
@part varchar(1)
AS
BEGIN
SELECT Distinct ClientAddress,
DATEPART(YEAR,Logged)as y,
DATEPART(MM,Logged) as m,
DATEPART(DD,Logged)as d
INTO #a
FROM dna_EventLog
WHERE Browser<>'Unknown'
GROUP BY ClientAddress,Logged
ORDER BY y,m,d
if (@part='y') BEGIN
SELECT COUNT(ClientAddress) as [Count],RTRIM(LTRIM(STR(Y)))AS Title
FROM #a
GROUP BY Y
ORDER BY y
END
if (@part='m') BEGIN
SELECT COUNT(ClientAddress) as [Count],RTRIM(LTRIM(STR(Y)))+'/'+
RTRIM(LTRIM(STR(M))) AS Title
FROM #a
GROUP BY Y,M
ORDER BY y,m
END
if (@part='d') BEGIN
SELECT COUNT(ClientAddress) as [Count],RTRIM(LTRIM(STR(Y)))+'/'+
RTRIM(LTRIM(STR(M)))+'/'+RTRIM(LTRIM(STR(D))) AS Title
FROM #a
GROUP BY Y,M,D
ORDER BY y,m,d
END
DROP TABLE #a
END
delete dna_PermsInRoles
delete dna_Permissions
delete dna_PermissionSets
2.Update web.config
Replace
<system.web>
...
<profile>
...
<properties>
<add name="DisplayName" allowAnonymous="true" />
<add name="Location" />
<add name="Birthday" type="System.DateTime" />
<add name="Signature" />
<add name="Avatar" />
<add name="Address" />
<add name="Mobile" />
<add name="Phone" />
<add name="Blog" />
<add name="Yahoo" />
<add name="MSN" />
<add name="ICQ" />
<add name="Email" />
<add name="WebSite" />
<add name="Language" />
<add name="Facebook" />
<add name="Twitter" />
<add name="Gravatar" />
<add name="TimeZone" />
<add name="Theme" />
<group name="Forum">
<add name="Rank" />
<add name="Medal" />
<add name="TotalPosts" type="System.Int32" defaultValue="0" />
<add name="TotalThreads" type="System.Int32" defaultValue="0" />
group>
properties>
profile>
...
system.web>
Add the following settings into
<dna>
...
<searchProviders>
<add name="sites" type="DNA.Mvc.DynamicUI.WebPageSearchProvider,DNA.Mvc" />
<add name="articles" type="DNA.Mvc.Areas.Publishing.ArticleSearchProvider,DNA.Mvc" />
<add name="forums" type="DNA.Mvc.Areas.Community.PostSearchProvider,DNA.Mvc" />
searchProviders>
dna>
Replace the
<system.web>
...
<customErrors mode="On" redirectMode="ResponseRedirect">
<error statusCode="404" redirect="~/Home/NotFound"/>
customErrors>
...
system.web>
-
-
阅读(1866)
-
固定链接