Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6169959
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T22:56:53+00:00 2026-05-23T22:56:53+00:00

I have created a site using asp.net mvc3 and I have some action in

  • 0

I have created a site using asp.net mvc3 and I have some action in my site like submitting special data, register entrance of people and …
I need to make system able to make report depend on users actions. so I need to save log information in database.
my idea is to make 2 entities:

  • general action description
  • log event

like below:

LogAction: 
int id
string action

LogEvent:    
int id
int LogActionID
int userID
string extraDescription

for this idea I have to create 2 other entity in my Entity framework.
I want to know that is this idea ok or there is better idea for getting report of system?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T22:56:53+00:00Added an answer on May 23, 2026 at 10:56 pm

    I would add a DateTime property for the LogEvent, but all in all this is a good design.
    On an additional note, I’d recommend the use of some sort of AOP framework like PostSharp for the actual logging code

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created a basic site using ASP.NET routing according to Mike Ormond's example
I have simple jQuery Mobile site created using asp.net mvc 2 and uses basic
I'm playing around with using ASP.NET MVC3 and have a very simple site that
I have created my site using ASP.NET Personal Starter Kits 3.5. I use Visual
I'm using ASP.NET with C# 2.0. I have created some objects for a database
I have a site using the asp.net membership schema. I'd like to set up
I have created a site in ASP.NET 3.5 & I have only 2 or
I'm using ASP.Net membership to secure my site and I have a question about
I'm building an ASP.NET MVC site using the ADO.NET Entity Framework. I have an
I have an ASP.NET MVC 3 site using a custom route for specifying the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.