This project is read-only.

How to Integrate BlogEngine.NET in existing website

Topics: ASP.NET 2.0
Aug 7, 2007 at 12:20 PM
BlogEngine.Net is a very good blog site.
firstly,i want to integrate this into my existing website which is in ASP.NET 2.0
please help me out to achieve this

secondly,when i redirect to blogengine (which is integrated) then i should automatically signed in with admin privelages.

Thanks in advance


Jul 17, 2008 at 6:29 AM
Edited Jul 17, 2008 at 6:31 AM

First enable ASPNET Membership on dotnetblogengine.(more on
then add a default page to your website put a login control  with settings something like

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Hello.aspx.cs" Inherits="Hello" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">

<html xmlns="" >
<head runat="server">
    <title>IDC CIRCLE</title>
    <form id="form1" runat="server">
        <asp:Login ID="Login1" runat="server" BackColor="#EFF3FB" BorderColor="#B5C7DE" BorderPadding="4"
            BorderStyle="Solid" BorderWidth="1px" Font-Names="Verdana" Font-Size="0.8em"
            ForeColor="#333333" DestinationPageUrl="~/default.aspx" >
            <TitleTextStyle BackColor="#507CD1" Font-Bold="True" Font-Size="0.9em" ForeColor="White" />
            <InstructionTextStyle Font-Italic="True" ForeColor="Black" />
            <TextBoxStyle Font-Size="0.8em" />
            <LoginButtonStyle BackColor="White" BorderColor="#507CD1" BorderStyle="Solid" BorderWidth="1px"
                Font-Names="Verdana" Font-Size="0.8em" ForeColor="#284E98" />

I hope it works for you as it works for mine.