It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
Is there any tool available which can find/suggest possible places in code which can be re-factored to use parallelism for improving performance.
To be able to suggest places in code that can be optimised by parallelism or concurrency would be a very tough job to implement in to any static analyser. I don't know of any tool that can do this out-of-the-box.
As one of the commenters said, the best approach would be to read and gain a solid understanding of where parallelism or concurrency can help you and combine this with tools such as the Visual Studio profiler.
One tool which maybe of some interest to you is JetBrains' Resharper. I don't belive it does what you require, but it is a great tool and who knows, what you require may be added in future releases?
I hope this helps.
Related
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
After learning about state machines, I want to place it in every class of my code. That's a great pleasure for me to declaratively (or "fluently") construct a machine, handle events and be sure that any logic violation will throw an exception.
Can you please critisize me on this practice? Or, may be, you install Stateless package habitually for each project (like I do)?
Any examples of state machines overusing?
Whilst design-patterns are very good practice, you should be cutting code to solve a particular problem that potentially will use a design-pattern to solve that problem in a tried-and-tested manner.
We do not write code from a "let's use this design-pattern" perspective because a single design-pattern is not a one-size fits all solution!
Do not write all your code around the state machine idiom. It will make many simple tasks over-complicated and difficult to maintain.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I'm particularly interested in some Visual Studio plugins (or maybe built-in functionality I don't know of) that can help me with that...
You can do this with perfmon - can I suggest you read this article on MSDN magazine that describes auditing memory in detail:
http://msdn.microsoft.com/en-us/magazine/dd882521.aspx
Good luck!
System.Process has a lot of properties you can use to analyse memory usage.
You can get a handle on the current process like this Process.GetCurrentProcess() or another process using one the Process.GetProcessXXX(..) methods
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
Edit: (Being more concise to avoid rubbing up against other questions)
I see the link for some suggested books... Books are good but I prefer the web. I can try them out free right away. And I'm a guy that likes multiple sources of information either way.
I am also a big believer in tutorials over just reading. Something I can try out and then modify or do my own way. (I just made a blog in PHP/Zend since that was originally going to be the project language)
And I didn't see what made the best references (which is in my mind entirely different from a learning resource). Though I'm sure I'll figure this out naturally as I google issues that crop up.
There's this website called Stackoverflow that's pretty good
According to MS: http://www.asp.net/
Theres also channel 9: http://channel9.msdn.com/
I enjoy Pluralsight's video offerings and TechEd online videos.
Another good resource is 4GuysFromRolla.
Microsoft has a Beginners' Learning Center.
For paid training, Pluralsight (mentioned above) and TekPub are both highly rated.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 12 years ago.
I'm searching for a good cache manager for generic objects.
I'm using C# with ASP.NET. I want to use System.Web.Cache. So I want a cache manager that will care about the caching and implement functions like ADD, GET, and UPDATE.
NVelocity, NCache, and the Microsoft P&P Caching block
For in-process memory caching take a look at the following:
For .NET 4: http://msdn.microsoft.com/en-us/library/dd997357(v=VS.100).aspx
For earlier versions:
http://msdn.microsoft.com/en-us/library/xsbfdd8c(v=vs.71).aspx
http://codemaverick.blogspot.com/2007/01/caching-in-windows-application-i-was_8639.html
Those can easily be used to cache objects, though the latter is mostly intended for caching ASP.net pages - if that's what you want :)
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 13 years ago.
How can I become an expert in C# and any language I learn?
Also, what are some recommended books....?
Is really easy. Learn all features of the language, then study the framework and read when to apply each feature.
A great place to start is the Head First series.
The Head First C# book is totally awesome. I learned a lot from it, and it's super easy, comprehensive (and fun!) to read. (Amazon Link)
Then just start a project on your own and apply what you learned. You will pick up faster than you think you can!
Good luck on your quest!