Contents tagged with Web Forms
-
ProjectDistributor - online storage for tools and code snippets
ProjectDistributor is now pretty stable and nearly feature complete for iteration 1. This application was created as a place to store small or trivial pieces of code. Either code which was expensive to create - such as a prototype - or code which will be useful again in the future - such as a macro, server control or stored procedure.
-
New Web Widget: Hierarchy Wizard
Just posted a prototype for new reuseable Wizard Framework on ProjectDistributor:
-
Global themes not in ASP.NET Beta1
I noticed this last week but it came up again on a recent thread... the global Theme styles which had been in the ASP.NET V2 alpha's have disappeared in Beta 1.
-
Classic ASP Page Framework
The other day I asked a question on a list about the perf. Implications of using VBScript classes in classic ASP applications. After participating in that thread I was reminded that, a while back I actually wrote an object oriented, event-driven classic ASP Page model which mimics some of the services which are built into the ASP.NET pages - such as Authentication, Users/Identities and Page properties. The page automagically serializes it's state (which could be abstracted by implementing a Provider model). The model also contained an in-built AuthenticationProvider which handles re-directs when secured resources are requested.
-
Visual Web Developer Express Edition FAQ
Visual Web Developer Express (VWD) is a lightweight tool for building ASP.NET applications and WebServices.
-
ASP.NET Whidbey docs online
http://whidbey.msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_aspnetcon/html/e8601952-642e-4479-8b6f-6a1b2a58401d.asp
-
Request.ApplicationPath - may cause unexpected results when using in pages at root level...
One of the first .NET tricks I learnt was from IBuySpy; they showed me how I could sneakily use
Request.ApplicationPath
so that my sites could seamlessly work when I'm developing against different domains (such as Localhost in development). To perform the "trick" you simply prepend <%= Request.ApplicationPath %> to the beginning of any paths in your pages, such as: -
NullReferenceException = LoadFromFile( ... ) ;
The other day I was trying to fix a problem on a website. The problem was that, whenever I tried to load a file from the filesystem, I received a NullReferenceException being thrown from "GdipLoadImageFromFile"!
-
ReThrowing exceptions
Here's some good pointers for re-throwing exceptions:
-
ViewState size, File Upload Memory Leak, Enums passed as Args and CancelEventArgs
A bookmark of interesting posts which I've seen in the past couple of days...