mohit | Shared With: Everyone - Sep 24 2007 | development, .net, c#, performance
mohit | Shared With: Everyone - Jul 24 2008 | development, .net, microsoft, confusion, asp.net
So do you need to install the .net 3.5 framework to run .net 3.5 assemblies, or will these assemblies work with .net 2.0?
Quoted: Yesterday I had a discussion on an internal Microsoft Developers meeting about the status of .NET 3.5. We had presented that .NET 3.0 is an extension of .NET 2.0, and not a new version. My statement that the status of .NET 3.5 is the same, it is basically .NET 2.0 with extra features, was received sceptically.
Just to prove I'm right, here my observations.ShareViewed: 11 Times
mohit | Shared With: Everyone - Mar 20 2008 | asp.net, development, c#, validation, .net, programming
The problem with calling Validate in Page_Load is that your controls may not be ready to be validated (i.e. they need to be Loaded before they are ready to be validated).
Quoted: One potentially confusing thing about this timing is that the validators will not have been evaluated at the time Page_Load is triggered. The benefit of this is that it gives you a chance to programmatically change property values affecting the validity of the page, such as enabling or disabling certain validators.
...
If this timing is not to your liking and you prefer to evaluate everything in Page_Load, you can do this by explicitly triggering the validation during this event by calling Page.Validate.ShareViewed: 3 Times
mohit | Shared With: Everyone - Mar 20 2008 | development, c#, asp.net, .netSome nice .Net "Cheat Sheets"
ShareViewed: 2 Times
mohit | Shared With: Everyone - Jan 18 2008 | software, development, caching, .net, distributed systems
Overheard our officemates talking about this.
Quoted: ScaleOut Software provides powerful distributed caching for enterprise ASP.Net applications running in server farm or grid computing environments.
ShareViewed: 1 Time
mohit | Shared With: Everyone - Jan 14 2008 | development, facebook, .net, c#
Nikhil just updated Facebook.NET.
Quoted: A quick update on the release of Facebook.NET 0.3 with support for new and changing Facebook APIs...
ShareViewed: 25 Times
mohit | Shared With: Everyone - Oct 26 2007 | development, typeinitializationexception, msdn, c#, static constructor, .net
It's good practice to avoid making database or remote calls in a static constructor. If the call throws, the type will fail to initialize, and you're out of luck for the duration of the application lifetime. We've been hit by this a few times.
Quoted: A TypeInitializationException can be a fatal error in an application since it renders a type useless. You should plan to catch any exceptions inside of a type constructor if there is any possibility of recovering from the error, and you should allow an application to terminate if the error cannot be reconciled.
ShareViewed: 4 Times
mohit | Shared With: Everyone - Jul 24 2007 | tools, asp.net, development, c#, .net, debugging, cachingThis is pretty good for an Internet Explorer-based tool.
Quoted: A browser extension to provide tools for the Web developer including ASP.NET page and control developers.
...
# Ability to view items stored in cache, and remove them for testing purposes.
# Ability to shutdown the application (unloading the associated appdomain), in order to test starting it from a clean state.ShareViewed: 17 Times
mohit | Shared With: Everyone - Jul 24 2007 | development, c#, asp.net, performance, caching, .net
Quoted: For instance, you may want your cache to be varied based on some internal state and/or property of your application. I'll use an example to demonstrate...
ShareViewed: 13 Times
mohit | Shared With: Everyone - Jul 24 2007 | development, asp.net, performance, c#, .net
Some great tips in here.
Quoted: Web App Follies: Keep Sites Running Smoothly By Avoiding These 10 Common ASP.NET Pitfalls -- MSDN Magazine, July 2006
...
LoadControl and Output Caching
Sessions and Output Caching
Forms Authentication Ticket Lifetime
View State: The Silent Perf Killer
SQL Server Session State: Another Perf Killer
Uncached Roles
...ShareViewed: 9 Times

- derek - Sep 24 2007
- mohit - Sep 24 2007
- mohit - Sep 24 2007
- derek - Sep 24 2007
You must be Mohit's friend before you can comment on this Fave.Cool, never heard of this one. Let me know how it works.
so far, it doesn't. rebooting my machine. is there a free one you like? i like ants profiler, but it's not free.
oh, and i'm trying to do performance profiling specifically.
nprof works sometimes ...
Send Mohit a friend request or a personal message instead.