Using Windows Azure Storage Table as logbook

1 posts, 0 answers
  1. Nikita
    Nikita avatar
    22 posts
    Member since:
    Jun 2011

    Posted 21 May 2013 Link to this post


    RadControls version Q1 2013
    .NET version 4.5
    Visual Studio version 2012
    programming language VB
    browser support

    all browsers supported by RadControls


    Very good usage of Windows Azure Tables for data logs.

    Logbook table LogbookTest, and columns are: User, Description, LogDate and IP.
    Writing to table is done with two class. One for Azure Table (Logbook.vb) and second for writing to table (AddLogbook.vb).

    Call AddLogbook from code, to write to table:

    Logbook.Enter(User.Identity.Name, "some text", Request.Params("REMOTE_ADDR").ToString())

    Logbook data is then displayed in RadGrid (Logbook.aspx).

    For implementation you need Windows Azure account.
    In attached working sample you need to enter your Azure Credentials. Replace "ENTER YOUR CREDENTIALS" with your data in: Webconfig and Webrole1. Project is based on VS2012 Cloud template with one Web role and stripped from unnecessary dll.

Back to Top

This Code Library is part of the product documentation and subject to the respective product license agreement.