I decided to write an administration tool for my ASP.NET 4.0 website that has Membership Capabilities too.
I have the business layer ready for the following activities,
- The number of users logging in to the website per day.
- Average spend time of the user who is logged in.
- Pages accessed by the user who is logged in.
- Frequency of the User logins per month.
- etc etc. Even though checking the above listed activities is possible by directly peeking in to the Database or Google Analytics, I prefer them to appear them at one place as I have other activities to be followed depending on the data I see from this.
I prefer to use charts (open source jquery charts).
My concern is where should I start building the admin pages like in the exisiting web application as the users accessing or in a separate web application (is this really possible)?
If in a separate web application is possible how could I map the domain to the new web application for admin.
Since you are using the built-in ASP.NET Membership, it'd probably be easiest to just make a sub-folder (like any other folder in your application) called "Admin" or whatever you prefer, and then secure this folder with a
web.config
file specifically in that folder. You can easily secure the folder either by role or by user.MSDN Entry
For the charting, one option is Highcharts. There is a .NET library (DotNet.Highcharts) to make it easy to manage Highcharts from the code-behind. I've used it before and thought it was user-friendly.