Corne's Blog
in

dotnet.org.za

South African .NET Developer Portal

Corne's Blog

THE blog dedicated to .Net and other new stuff

  • C# guy in a VB.Net world

    Started a new job on Wednesday, and so far its great. This will hopefully allow me to blog more, but only time will tell.

    Got given a tourch for 4 projects to run with (two live, two testing phase) so it's cool. This includes some sps2003 dev, but the rest VB.Net (using Dotnetnuke) and asp.net.

    Being a C# guy (although I do have experience with vb6 and vb.Net) makes it a bit sad, although exciting at the same time. Exciting because it gives me the oppertunity to convert more vb.net guys..... not that there are anything wrong with vb.net. ;) “ Luke, I am your father....join me“

    Will see how it goes

     

     

    Posted Sep 03 2004, 05:25 PM by corne with 3 comment(s)
    Filed under: ,
  • Enumeration list control

    Some might think I am a new blogger, but no, been here for a while…. just very busy... (aren’t we all)

     

    The current product I am working on needed to display a custom enumeration items in a drop down list.

    I though I will share the control with those that might need this functionality. This is a very simple component inheriting from ComboBox, which holds two public members:

    1) PopulateEnum(Type enumType) – Method populating the combo list with the specified enumeration type.

    2) SelectedEnumValue – Property getting and setting the current selected item. (You must specify an int value for the enum constant for this to work)

     

    Use it… don’t use it…. ;)

     

    Get the zip here.

    Posted Jul 13 2004, 04:47 PM by corne with no comments
    Filed under:
  • Control + Space

    It is funny how quickly you get use to doing things in a certain way. You get up in the morning, go have a bath before you brush your teeth, make coffee a certain way...etc.

    Two days ago I was helping a 'new to the .net technology'  fellow developer with a problem in his code. As I told him what to try, he typed it... letter by letter as I spoke.....WOW!!!.... it was way to slow for me, and I realize how used I got to the control+space feature. I got so used to this, that I even caught myself trying to do it in Word.....:)

    Control Tab is also a feature I got used to (although this is more generally used)...

    Maybe we must go back, and try a quick notepad project or two?... just to appreciate the luxuries we currently enjoy ;)

     

    P.S.

    The control + space keys... for those that don't know ... either autocompletes a word (objects/class names only) or gives you a list to choose from. It also helps a lot with c# being case sensitive.....and me being lazy to type ;)

     

     

    Posted May 26 2004, 01:30 PM by corne with 1 comment(s)
    Filed under: ,
  • Pay as you go

    Interesting licensing model.... wonder if it will take off?
  • When last did you get high?

    I started to enjoy coding again today, after a brief period of instabilities and misdirections at work. We had a lot of problems with the XMLSerializer last week, as I see Stuart also had. I got the dreaded System.EngineExecutionException (You are NOT suppose to get those), but only when it wanted to throw it to me... no recreation pattern whatsoever ..... It got so bad that we decided to take it out completely, and perform the serialization/deserialization ourselves.

    but

    today I enjoyed doing some pattern to string formatting, and also realized that our project is getting there....stable, and much faster after taken out the XMLSerializer. It is really still only a messaging framework, but I must say, myself and Armand did a great job getting the framework up. So bring on the business stuff !!

    Don't you guys/gals just love those highs you get when a piece of code works the way it should... well until the next problem that is ;)

  • Yes, its sad...

    Exactly a month after my last post... and on a saterday :(

    This current contract is really keeping me busy. So busy that I missed half of the fellow blogger posts on dotnet.org.za..... and have no idea whats up on www.sadeveloper.net . I also feel bad missing the sadev get together the 23rd, as it was my son's 3rd birthday, but Armand gave me some details.. enough to make me jealous ;)

    I took some time today to catch up, before the Cats game (go Cats go.... they might end up only three points under the Bulls .... hehe!) Colin is also coming over this afternoon for some drinks...

    As I was catching up on stuff, I saw this very complete article on gotdotnet. I might be starting to play with the motorola v600 smart phone soon, but this is a article on gaming using the .net compact framework..

    [Update: wishfull thinking Cats.... *sigh* another dark weekend for SA rugby...]

  • Longhorn, Whidbey and Yukon releases postponed indefinitely

    That got your attention.... seeing that is april fool and all... ;)

    Anyway, I was having some design issues the last two weeks. We do have a design around the system, high level. This is good for direction, but it proofs again that there isn't really a line to draw when it comes to proper design. By 'proper design' I mean some additional fat. The more details the better, I realise the last couple of days. Some might say 'you cant go into that much detail', but you are spending time to think of these things when you code anyway... why not do the design better, and have those issues resolved when you get to the code. For example, saying that you need validation (i.e mandatory, length) on a field doesn't really say much from a design perspective..... how will you do this validation? Will it be dynamic? Can it be configured by the client? Will it be saved as xml on the client or in the db on the server?......What design pattern might be out there to use.... How will the code transport these validations object? 

    Another thing I asked myself was: up to what level do you allow the architect/designer to do design? You might have a system architect who knows systems and technology.. on a high level. But you as a .Net specialist know that there are a few cool features that can be use to “design out of the box“. The arcitect only knows what .Net is and what its arcitecture consists of.... not the 'fun stuff' (if I can call it that)

    So if you got that type of architect, then it means he will only design before the techology specific details.... which leaves you to complete the design anyway, either doing some additional detail design, or code away..doing some POC's, etc....

    That leaves me with a question to you.... detail design using code, or follow a proper design process?

    Enjoy your april fools!!!!!!!!!!!

     

  • Serialization and Public Properties

    Note to self, and others that might be doing some serialization stuff.....

    If you want your properties serialized, you will need to have both their getter and setter implemented. If not, the serializer will skip these members. You might think (as I did) that only the getter is needed, but you would be wrong.

    Just thought I'll share this, because it took some time out of my day to figure this one out.

    Posted Mar 17 2004, 05:51 PM by corne with no comments
    Filed under:
  • AI

    Now, if only can remember how to post again..... The last couple of weeks were bad and I did not have a lot of time available for blogging....

    Contracting is a new thing for me, and  makes you think twice before you do stuff, i.e. how much will it cost me to go to this event/meeting?

    anyways, I saw Terminator 3 again last night, and I thought to myself, after reading david's post, how far off we are in creating real AI...

    Of course T3 is a hollywood thing, but machines that can think for itself? Possible in my lifetime?

    Let me know what your thoughts are......

    Posted Mar 15 2004, 08:25 AM by corne with 2 comment(s)
    Filed under:
  • Salt and Pepper.. mmm.. and Hash

    Found this interesting article from dotnetjunkies.

    I always used to store hashed passwords databases. I mean it is better option than clear text.... right? Not always..

    It is not difficult for a hacker to get access to your system when you use hashed password, as the article explains. It goes further and explain how to apply a little salt to your hash to make it a bit more difficult and almost impossible for unautorised access..... very simple - yet effective!

    PS: You might not be able to see the article if you are not registered, so register dammit!

    Posted Feb 27 2004, 01:47 PM by corne with no comments
    Filed under:
  • Almost there...

    The last couple of days were bad... really bad. I had to keep myself busy at work because it is my last week at my current job... starting a new one on Monday...

    I think I will make it, thanks to this and this.... but only just. Have to deploy an intranet update tonight, and then I'm there... almost..

    Posted Feb 26 2004, 04:58 PM by corne with no comments
    Filed under:
  • MyDoom.F

    I don't know but this time the .F in MyDoom.F has got a meaning.... a meaning I can not mention on this blog....

    The new strain is now busy destroying important files... read more on this here.

    but look at this statement from the article:

    "They are still infecting computers because people have not updated their computer clocks," Hypponen said. "Many users don't pay any attention to the time on their computers, which could be set to the 1980s or 1990s."

    I rest my case....

    Posted Feb 26 2004, 04:43 PM by corne with no comments
    Filed under:
  • WebServiceTester 3.0 - Support for WS-Security and BPEL4WS

    WebServiceTester 3.0 EA (Early Access) provides support for WS-Orchestration based on BPEL4WS specification. The new version of the tool "will graphically represent all the dependencies and drive the entire Workflow execution and notify the users about the defects". Also included is support for HTTP Authentication, SOAP Authentication, Binary Security Tokens, XML Signatures and XML Encryption.

    more..

    Posted Feb 20 2004, 12:20 PM by corne with no comments
    Filed under:
  • Bluetooth

    Posted Feb 20 2004, 11:14 AM by corne with no comments
    Filed under:
  • YNET Editor

    I found this cool free ASP.Net server control...

    Features include:

  • Upload images directly into HTML content.
  • Email HTML contents.
  • Drag and Drop a table, an image, or a text box for two dimensional positioning.
  • Drag and Drop a table, an image, or a text box for resizing.
  • Use a return key to move line by line not having extra vertical space.
  • Use Multiple YNet Editors in a single page.
  • Posted Feb 20 2004, 10:38 AM by corne with no comments
    Filed under:
More Posts Next page »
Powered by Community Server (Commercial Edition), by Telligent Systems