DCSIMG
ASP.Net - Ran Wahle's blog

Ran Wahle's blog

Browse by Tags

All Tags » ASP.Net (RSS)
Internet Explorer 8 (and below) won’t show some of your jpegs
A very strange phenomenon I came across while developing web application for a customer. A Jpeg formatted picture wasn’t shown on IE8 browsers, while shown on others (Firefox 5, Chrome 12, IE9). ...
Changing namespace in ASP.NET Web-Form
Changing namespace in ASP.NET Web-Form When converting VS Web-Site to VS Web application One of the problem you might stumble upon is class name collisions. It is due to the fact that web-site, because of it’s compilation mode, can have the same class name (and no namespace) on different files because they will end up in different assemblies. On web-application though, it is a different story. All classes ends up in the same assembly and therefore we have to name them differently. You will encounter...
Using session manager class in Global.asax
Long ago, I’ve written about Session Manager class. The class purpose was to wrap session variables in properties and gain type safety to them. In this class we’ve added a Session property with get accessor, which wraps the HttpContext.Current.Session. Everything went well until I’ve encountered the need to use this class on Session_End method in global.asax ...
Configure your ASP.NET application that uses routing in IIS-6
After coding our routing handler in our ASP.NET application (available in .NET 3.5 and in much easier way in .NET 4) Since IIS-6 doesn’t use .Net as a natural part of it’s pipeline there is a need to do some configuration. ...
How to divide page into user controls as quietly as possible?
Post by my friend and colleague Gil Fink, has reveled one of the difficulties of our project. A legacy system, poorly designed and implemented and our need of rewriting some of it's code in order to make it easier for us to extent it with more features as demanded by our users. Another aspect of our legacy system was pages with lots of controls, almost each and every one of them has server-side event (click, textChanged, selectedIndexChanded, etc.) while best practice is to divide the page into units of User Controls while the page acts as a router between them and between them and the business layer....
Behind The Scene - Control ID's in ASP.Net
We all familiar with the terms of ID, ClientID and UniqueID which are properties of Control class. In this post I'll dive into the way the last two read-only properties values are being set and when. ...