help.net

<font size="2"><br />Musing on .Net</font>

  • Caching, why it have to be so complicated ?

    Well I have a subject where I have a lot to learn, and it's caching. For the moment I don't really get it. I tried to use some cache functions in some of my projects, but I failed almost all the time.

    I can't really find a clever article on all the different options, and it seems that the Cache class in .Net is overcomplicated. I discovered that for example timespan is more important than I could imagine, and it's really hard to tune up precisely the different parameters to have something really working and universal. I mean working well with the different browsers, different platforms, etc...

    Last time I used the server cache, it was working well for a week, and suddenly I had to deal with a lot of Internal errors, you know the so infamous error you can't catch.

    I removed the cache and now it's working very well. Of course the performances are surely not the same, but I can't afford any crash on a live website.

    Unless somebody has a great web link on the subject, I give up on this for the moment.

  • XY coordinates after clicking a button

    Just in case someone interested by this tip.

    I have on a page a server image button linked to a click event. This button has indeed two different functions, one to go back to the homepage, the other to go to another page.

    For different reasons, I didn't want to use an image map to make the distinction between my two embedded actions.

    The trick I used is quite simple but works well, and should work also with more than 2 buttons.
    In the server click event I just test the coordinates using Request.Form("Nameofmybutton.x") for the horizontal position and Request.Form("Nameofmybutton.y") for the vertical position

  • MSN Toolbar

    In case you still don't know, Microsoft has just launched the first weapon on the search engines with MSN toolbar. Sure Google seems to be the target, and it sounds like history repeat itself. Remember Netscape ?

    The thing I can say is that it seems for me more like a marketing tool to attract new MSN customers( fair enough, after all MS is not really a charity organisation) but it's really too much compare to Google.

  • Secure an ASP 3.0 page with .Net, yes you can !

    I was looking last week for a solution to secure ASP 3 pages using .Net forms authentication.

    The reason can be simply because you don't want or can't change your existing code.

    So Andrew Seven provided a great solution to bridge ASP 3 with .Net authentication and it works very well !

    Thanks a lot Andrew for the great help.

    Follow the story
    here.

    Download the zip solution
    here

  • Mozie

    Looking to compare a web page in Internet Explorer and Mozilla.

    Well now you have
    Mozie !