Code Monkey home page Code Monkey logo

onlinesessionmodule's Introduction

Online Users Module Version 2.0

Build status

This is a simple module that you can add to your website to monitor current users and session sizes

I created this module mostly to deal with ASP.NET MVC Applications specially applications migrated with Mobilize.NET WebMap.

Recently I realized that the Github code was not compiling, so I decided to update it a little and provide some more features.

Features in this release

My focus in this release was mostly on make it simple to use. On previous versions there were some manual steps to use it (don't you hate that!!) So in this new version, I hope it is super simple.

Install-Package OnlineUsersModule

And that's all ( Well in most cases).

NOTE: I assume that you have an ignore route like: routes.IgnoreRoute("sessioninfo.axd/{*pathInfo}"); inside your RouteConfig.cs.

But what does this nuget do?

Well it add an easy way to see the current list of sessions. So for example if you application is running at http:\\localhost:54485 then just navigate to http://localhost:54485/sessioninfo.axd/sessions it would show a list like:

SessionsScreen

From the session screen you can query the current session size, list the session contents or open the session terminal.

What is the session terminal?

Well in this version I added a session console. I just wanted to create a terminal-like interface and terminal interfaces are cool.

Sessions Terminal

This terminal only implements some simple commands:

>> dump session

This command will create an Excel file with the session contents. Very handy to perform analysis and comparisons.

>> dump item ITEMID

This command shows the content of a the item with a particular id in the session

>> dump pattern REGULAREXPRESSION

This command shows the contents of all elements that match the given regular expression

>> dump bim ITEMID

Shows a hex dump of the item with a particular id in the session

Installation Issues

Some uses have had some issues when installing the Nuget. It might report an error with Newtonsoft.json I really do not know why because there are no direct dependencies but anyway if you see something like that change setting as in the picture below:

NugetIssues

onlinesessionmodule's People

Contributors

mobilize-mrojas avatar orellabac avatar orellabaccr avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

onlinesessionmodule's Issues

Performance

I use ASP.NET 4.6.1 webforms, and sessions in SQL Server.
About 4500 users can be use the webapp. Concurrent users maybe 500, I dont know.

Module can be high peformance with many users and sessions in SQL Server?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.