There is not need for any installation, you just drag and drop your BlogControl on your web page

  • First we need to add the control to our toolbox in Visual Studio. You can skip this step and write the code for adding the control by yourself.

    Let's go to our toolbox
    Toolbox
  • Right click on the toolbox and select "Choose Items"
    Choose items
  • In the opened window will click "Browse"
    Browse for the control file
    and point to the location of the file "BlogControl.dll"
  • Now just drag the control from the toolbox to your web page. You should see the preview now:
    Control on page
  • We need to set the "Directory" attribute in which the posts will be saved. Go the the attributes tag in Visual Studio Html Design view:
    Properties Tab
  • On the "Misc" section set the directory attribute:
    Set directory

    And that's it!
You can also add the control through source view :
  • Add a "Register" directive at the top of the page:
    <%@ Register Assembly="BlogControl" Namespace="BlogControl" TagPrefix="cc1" %>
    Now add the control anywhere you want in the page:
    <cc1:Blog ID="blog2" Directory="blogs" runat="server" />
  • You need to change the "Directory" attribute in which the posts will be saved.