April 2004 - Peter's Gekko

Peter's Gekko

Sponsors

The Lounge

Wicked Cool Jobs

News

Advertisement

  • From index.htm to default.aspx

    A large project of mine consists of a number of web applications. So far everything was tied together with a regular webpage index.htm. As some asp.net functionality was needed there as well it had to become a default.aspx. Firing up the new web project wizard I had forgotten all about the web.config...
  • Vrijmarkt

    The 30th of april is a national holiday in the Netherlands. Besides being out eldest son's birthday it is queens day. Part of the fun is selling your junk without any need of a permit, vrijmarkt translates as free market. This year my family joined in and we had a good time. Being a modern guy I'll continue...
  • Wikis on the dotnetjunkies ?

    I'm not deep into wiki's at all. The most things I had seen were more or less a kind of chicken-shack, noisy and chaotic. But the interop wiki several people have blogged about is dramatically changing my mind. In the last months I've posted some tips which worked on my (customers) machine to solve common...
  • Good meeting

    Yesterday some 60 developers joined for a meeting of DotNed . The presentations were quite diverse Hassan Fadili kicked of with a general introduction on platform tot platform communication and the role of design patterns therein. Hassan is a very faithfull DotNed visitor, this time he was on the other...
  • Live at last : the myfone asp.net forum

    It took some trouble but the forum of myfone is live at last. We are using the beta of the asp.net forums which is an open source app still undergoing (big) changes. The myfone site already had a large user database and offers extra functionality to registered users. This led to a conflicting wishlist...
  • Don't forget the Ned

    Hey you Dutchies. Don't forget to come tomorrow (22nd of april) to the meeting of the dotned user group. See you there. Peter
  • Spam, .NET and a Windows service

    A new article with this title is up on the sdgn site. It's a bit of cookbook recipe how to build, install and debug a Windows service. The functionality of the service uses devmail to read and write email. Peter
  • XML-RPC (and Dutch ZIP codes)

    Cendris is offering a (paid) web service to validate Dutch ZIP codes. A bump in using it is that it does not offer goodies like wsdl like we are used to in the .NET implementation of web services. Cendris uses classical XML-RPC . But you don't have to (dis-)assemble the request and responses yourself...
  • Transfering data between webapps using a cookie

    At this moment I am working on coupling two different applications. A custom one and the asp.net beta forums . What I want to do is use an own user database to authenticate users in the forum app. The asp.net forums use forms authentication to log on users. In a previous post I demonstrated how to work...
  • System.DBNull.Value != null

    Spent the most of easter digging through heaps of sql. So here's another “in-stinker” which almost had me fooled again. Inside of a component I'm not afraid to work directly with sqlcommands. Setting up a datadapter and a dataset would be an overkill when the database will return just a scalar...
  • Where it's @ when addressing sql parameters from code.

    Speaking of SQL. Take this sql query in a datadapter SELECT Name, Street FROM Customer WHERE id = @idCust The @ in front of idCust indicate idCust is a paramater. You can access these parameters from code. Being a bad or lazy typer (I'm both) it's tempting to do this by number. sqlDataAdapter.SelectCommand...
  • sa ? Sharks Anonymous !

    In the dark years of last century the letters sa, standing for one of the nazi groups, were bad. They still are banned form Dutch car plates . As not to confront people with the dreaded letters. IT has given the two-letter combination a new chance as being the name of your favaurite sql user. To be found...
  • The scope of the session object (where have my objects gone ?)

    You can use the session object to store things you need in other places of your web-app. With the many assemblies which make an app it is sometimes a little puzzling where your session objects can be reached and where they are unavailable. When your code enters another assembly (like a classlib) your...
  • CoCreateGuid .net style

    For an app I needed some GUID's at runtime. In the COM days I used the CoCreateGuid for that. In .NET it is much simpler, it is even so simple I overlooked it and spent far to long looking for a way to import the COM stuff in my code. So let me share what I found in the help file. The Guid class has...
  • Apple is no Aprils fool

    Did you know that the Apple company was founded the 1st of april in 1976 ? I didn't, but our local newspaper had a story (in Dutch) on the birth of the personal computer. The story started nice but the expert carted in stated that Apple was the first computer to bring windows to the masses (which is...
Devlicio.us