I realise that it is fairly easy to query performance counters in code and display these on an ASPX page but does anyone know if a product already exists which is basically a web version of PerfMon - free or otherwise?
many thanks
Marcus
HP SiteScope can do this.
Related
I am trying to run a LINQ query within a website plugin with Dynamics CRM Hosted. I need to us LINQ to retrieve a list of all the currently registered Members as shown in the MemberWorks tab. But to be host I have no idea where to start.
Ive really jumped in at the deep end with this one to help out a friend, and I find that necessity and crushing time demands are the best way to challenge my brain and learn something new. So please if you van give me relevant pointer Id really appreciate it.
To clarify my LINQ knowledge is at beginner level and my knowledge of the hosted Dynamics CRM datastructure is at a similar level. So Ive not really tried anything as I simply don't know where to start at this stage. But hopefully some kind folk can give me direction and Ill see where that takes me.
Thanks in advance!
If you look at Hosk's blog you will probably find your answer, if not you will have other questions to ask :)
It's quite hard to give an answer to a question this general so excuse me if it's a bit fuzzy and not exactly what you expected
I am using MVC3-ViewModel with EF model first on my project.
and the view im doing right now is a page where users should see statistic displayed with charts.
Any tips and helps is appreciated on how to be able to do this kind of stuff in a good way.
Any plugins perhaps or packages?
Thanks in advance!
As i understand, your real need is not getting the statistics data (you can do that by calling a pure SQL query or just using LINQ, its your choice), just displaying them. There're many ways to do that but using a Javascript library like Highcharts or Flot will probably be much easier than a full blown Reporting service if you don't need some advanced features. You don't need advanced Javascript knowledge, most of them are documented enough to use instantly. There're also some complementing libraries, they're simply wrappers around those libraries so that you can use them in ASP.NET or ASP.NET MVC projects easier. Some examples:
Flot.Net - http://flotdotnet.codeplex.com/
Highcharts.net - http://highcharts.codeplex.com/
DotNet.Highcharts - http://dotnethighcharts.codeplex.com/
I would use direct SQL / stored procedure for data retrieval or even SQL server reporting services (it offers charts) for any kind of reporting.
I'm not sure to really understand your SQL diagram without knowing much of your application, so for the moment I'm skipping that part.
Displaying statistics as charts can be done, quite quickly and without needing to know much of javascript, using one of the many javascript libraries that you can find for example here . In order to use this libraries you may need to integrate some AJAX functionalities in your MVC application (if it's not already the case).
I use Highcharts for my personal projects and I think it's very well done and it's easy to use, though if you are using it for a commercial purpose you need a license.
I'm doing some research on the Groovy programming language, and despite all the information there is out there, I am having a hard time finding some examples of what well-known applications are written in Groovy, or what companies use Groovy. Anyone care to help me out? I'd like to have some information to share at the end of a presentation I am giving tomorrow. Thanks!
There is a good list of sites in this quora question - http://www.quora.com/Who-has-deployed-a-medium-large-website-succesfully-on-Groovy-Grails
A showcase of startups built using the Grails web application framework: Grails Startups.
What would be a proper way to simulate a large number of requests to test if my web application can handle it?
You could try using Microsoft's WCAT tools. Look here: http://support.microsoft.com/kb/231282
They're free, too. That's always nice.
Depending on your budget, you may be interested in some load testing software designed for this. A Google search brings up all sorts of alternatives. This is probably the best way to do it.
This one has a free trial version and isn't too pricey, but I would recommend shopping around first.
I've used JMeter in the past, and I find it to be very useful for stress/load testing as website, even ones written in ASP.NET (with or without MVC).
In general you would want to (with any tool) write a script of what an average user of your site would do. You may even end up creating multiple of these scripts. Tools like JMeter even allow for a random element to be added to a script. With these scripts created a load testing tool can then simulate as many users as you desire hitting your site.
I would recommend allow JMeter to slowly ramp up the number of concurrent users and watch the response time graph. At the point where the response time starts increasing too highly is at the point where you've hit the maximum number of users (given you scripts) that your site can handle.
ab and httperf are two, more unixy options, if you don't mind delving in that direction.
There's a nice screencast for using httperf by peepcode.
Use the load testing tools from Visual Studio Team System. 2010 if you can get it.
The tools are great to use and provide wonderful instrumentation. There is also a programming model to go with the tools, allowing you to make some very complex testing scenarios possible.
Post the URL on stackoverflow.
Make it sound like a challenge, so lots of people come check it out: "Can you find the hidden performance problem in this app?"
I have a niche site that I'd like to sell banners for directly, rather than going through adsense. I need a system to manage the whole process: displaying ads and an administrative interface to manage them. It doesn't have to be anything terribly fancy, although open source is greatly preferred so that I can grow the system as needs be. Since the site itself is in Rails, I would prefer something for that environment. Googling turns up bunches of them in PHP, but the results are a bit polluted and I didn't have any luck finding one that was done in/for Rails.
If I don't find one, I suppose I'll see what I can do to hack together something and release it myself under an open license.
Another possibility is this: http://www.google.com/admanager - anyone have anything to say about it? Is it right for someone just selling a few ads for a not-so-big site?
Thanks,
Dave
The company I work for has several Rails projects. We searched for a Rails banner management system but we didn't find any commercial/open source project available.
We integrated Google AdManager and I have to say it's definitely a good choice. It lacks some advanced features available in Openx, but we didn't miss them for our projects.
There really aren't any full-featured rails advert managing tools.
I created one gem/engine that helps to manage and render different banners and placements on depending parameters that you set when rendering your views in rails, see:
https://github.com/holli/advert_selector
For simpler setups with consistent banner sizes and targetings, you should probably use dfp: http://www.google.com/dfp/info/sb/index.html
You can give this rails-ad-server a try. Please give us all a feedback too.
http://github.com/coolblade/rails-ad-server
Dave,
we have recently released AdServerBeans MyAds v.0.4 (http://www.adserverbeans.com) which you might be interested to take a look at. It's open source and we position it as an alternative to OpenX.