May 2004 - Posts - Stuart Gunter
in

dotnet.org.za

South African .NET Developer Portal

This Blog

Syndication

News


Get Firefox!
<!-- Begin Nedstat Basic code --> <!-- Title: StuartGunter --> <!-- URL: http://dotnet.org.za/stuartg/ --> <!-- End Nedstat Basic code -->

Stuart Gunter

There's too much!

May 2004 - Posts

  • Nigeria??? What???

    A friend & colleague of mine recently left to work in Nigeria (don't ask... I don't know) and I found it quite amusing to hear what his office is like. So if any of you are unhappy with your cubicle... listen to this before you moan. You really don't want to be transferred to Nigeria!

    “I was hoping for a nice office block….. Well that was very quickly destroyed when we crawled into a hole, and I mean a hole. Clapped out building grey from dirt and neglect, and the stench is very strange. It’s a mixture between puke, blood, rubbish, mould, sweat and perfume. I know what you’re thinking... did I gag…. Well at first there was one or to lumps in my throat, but the funny thing is that it doesn’t smell that bad, I’m not saying I love the smell and want my bathroom smelling the same way. It’s not nice but it’s not unbearable.”

    At least for us South Africans, we can kinda understand what he's talking about. There's just no place like Africa :-)

    Posted May 31 2004, 08:10 AM by stuartg with no comments
    Filed under:
  • Microsoft m{ and SADeveloper events in June!

    Microsoft is holding a series of events around the country which promises to be stacks of fun! The events are called m{ .... (“embrace“ for those that don't get it first time)

    These are the Durban dates... so make it a priority to be there:

    21 June: Tenpin Bowling Evening
    22 June: Whiteboard Sessions @ The Hilton Hotel

    More info can be found on this SADeveloper news item! You'll be able to see the dates and times of the other events around the country.

    Microsoft is also offering FREE (yes, FREE) support through PSS for the entire month of June (which costs them $750 a call, btw)! Please take advantage of this offer while it's on! You really don't want to miss out! If you phone PSS during June, you'll get “no questions asked” support - they won't even ask you for your product key!

    This'll also be a chance for all developers to tell Microsoft what they're happy with and what they're not happy with about current events and the community in general.

    Of course SADeveloper will be there in great numbers! Be sure to join our tenpin bowling team to take on the MS guys! Please also make an effort to come chat to Ernst & I about how you can get involved in the Durban chapter of SADeveloper! Things are really getting going now and it's a perfect opportunity to jump in! You can get either of us on MSN Messenger (just get our addresses on our SADeveloper profiles)

    Looking forward to seeing you all there!!! Don't miss it!

    Posted May 28 2004, 12:44 PM by stuartg with no comments
    Filed under:
  • Justin Lovell on MVP Selection

    Found a very interesting note on Justin Lovell's blog regarding MVP nominations... I'm sure you'd all find it very interesting to read. He has a very valid point! You can check out my comments on his blog too.
    Posted May 26 2004, 07:13 PM by stuartg with 1 comment(s)
    Filed under:
  • Microsoft DevDays 2004

    We had DevDays 2004 in Durban yesterday, and what a success!!! The event was really good and we all managed to come away with stacks of new ideas and knowledge. The presenters were brilliant and really knew their stuff... as always! I managed to walk away with a nifty Microsoft Wireless Optical Desktop (keyboard + mouse) signed by Bill Gates... mmm-hmmm!! And also got a copy of the Improving Web Application Security : Threats and Countermeasures Patterns and Practices book... a nice 850pg read! Something to keep me occupied in my “spare time“ (still not sure what that is).

    SADeveloper got some good exposure too, and we had about 50 new members today because of the awareness created at DevDays! Awesome stuff!!!

    Thanks to Microsoft and all the guys that put in huge effort to make it happen!

    My favourite quotes of the day:
    “you must be genetically insane” - Peter Willmot (describing anyone who chooses to use persistent cookies)
    “I don't work for Microsoft. They just dust me off and drag me to these things” - Peter Willmot (again)

    Posted May 26 2004, 01:56 PM by stuartg with 4 comment(s)
    Filed under:
  • New MSDN Mag is out... and there's a LOT on ASP.NET 2.0!!!

    Well, it looks like the latest edition of MSDN Magazine is focusing largely on the new features of ASP.NET 2.0!

    Articles covering topics such as Web Parts, Security (which looks incredibly powerful!), Controls, Master-Details Pages, Visual Inheritance, and plenty more!!!

    Check it out on the MSDN Magazine site!

  • Some personal news...

    Well... today I was lucky enough to be made a Moderator on SADeveloper! Thanks to Simon, Ruari and all the other guys that are involved! Hopefully I keep up the good work that you guys have been doing so well!

    Posted May 17 2004, 08:40 AM by stuartg with 3 comment(s)
    Filed under:
  • An MSDN article for those ASP.NET junkies!

    While doing my frequent looks at the latest content on MSDN I saw one of their main articles on ASP.NET HttpHandlers. Very very interesting! An that's the first time I've seen any article rated 9 out of 9 by 81 people! Everyone that's read it found it brilliant!

    HttpHandlers are a very powerful feature within ASP.NET and it's extremely beneificial for any serious ASP.NET developer to get this under their belt! Here's the link... have a read!

  • Creating a Stored Procedure Framework using XML

    Another article has just come hot off the press! Finished it last night, so you're guaranteed not to have read it yet! This one was by far the most enjoyable article I've written! Here it is!

    I'll be posting it on SADeveloper soon too, so I'll put a link here to that as soon as it's up.

  • Implementing Role-based Security with GenericPrincipals and Forms Authentication

    Here's another link to an article I've written, this time more on the security side of things. I did write this when I was fairly new to ASP.NET and the way it deals with security, but it's a very good starting point for building an authorisation and authentication mechanism.

    Here's the link... and again, comments welcome!

  • Analysing the Microsoft Data Access Application Block for .NET

    Just posting a link to the articles. I noticed that articles don't get listed as obviously as normal posts, so from now on I'll post a link to the articles just so everyone knows when I've written a new one (although this is one I've already posted on SADeveloper).

    So here's the link to Analysing the Microsoft Data Access Application Block for .NET

    All comments or criticism is very welcome! There's always room for improvement!

  • Performance Comparison between .NET, VS6, Java

    Found this article while browsing through the dotnetjunkies blogs... very interesting performance comparison between a few languages. As with all performance comparisons, it's wise to take into consideration the bias that the researcher may have towards a certain technology, as well as the type of applications tested. What I mean by this is that a C app can outperform a .NET or a Java app if it is coded perfectly (something that is never done), but the real comparison includes the real-world pressures of deadlines and limited resources.

    Check it out... it's worth a peek!

  • Limitation of System.Xml.XmlSerializer... planned or error?

    I recently attempted to use the XmlSerializer on a class I had written, and found that I was continually being given an error (and not a pretty one at that). After hunting down resources all over the net, I was still stuck! I tried making similar classes (structurally) and they worked perfectly, but when my actual class was used, it gave the following error:

    An unhandled exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
    Additional information: File or assembly name _gqi8w9n.dll, or one of its dependencies, was not found.

    Obviously the dll name changed each time it was executed. I didn't really pay too much attention to the methods within the class, as they supposedly have no effect on serialization. Serialization is just a representation of the state of an object at the time of serialization, so a method should not affect it, right? Wrong!

    I figured out that it was the operator overloading methods that were causing the problem, and after removing them everything worked perfectly! I'm looking into why the XmlSerializer has this limitation. To my mind, it is a limitation that should be done away with. I haven't managed to find anyone else that has written anything about this (including searches on MSDN, Google, DotNet247, SADev, and the like).

    If anyone has come across this before or knows why it acts in such a way, please give some insight! You can check out this post on SADeveloper for more info.

  • .NET Web Services: Architecture and Implementation with .NET

    I read this book a while ago when I was very new to Web Services and I found it gave an excellent explanation of how to use them properly within the .NET environment. Keith Ballinger is one of the industry leaders in defining Web Services and is the Program Manager for XML Web Services in the Microsoft .NET Framework group. He's speaking at XML Web Services One this year, so obviously knows what he's talking about!

    Onto the book... I found it very good at explaining the significance of designing your web service correctly. He spend a lot of time going through XML-related topics, including XML Serialization with .NET. The book is up to date with WSE, and he covers topics on WS-Routing, WS-Security, WS-Referral and DIME. After reading and doing the code examples in the book, you'll definitely be able to write some very good web services and know why you did what! Extending web services using with SoapExtensions is also covered, and it includes a sample CompressionExtension. Very worth reading for those who are interested in Web Services!!!

    See the reviews on Amazon (and buy it while you're there!)

    Posted May 11 2004, 10:15 AM by stuartg with no comments
    Filed under:
  • Debugging a Web Service

    I recently had to figure out what was going wrong with a web service that I had made, and needed desperately to step through the code and monitor every step of the process. I opened VS.NET with the Web Service solution and went to Debug - Processes... and attached to the “aspnet_wp.exe” process for CLR activity. The problem arose when I called my web service and nothing happened. I'm sure other people have needed to do this before, so I thought I'd share the (very simple) answer of how to do the debugging properly. I merely left out one step along the way, but here's a step-by-step guide of how to get it going:

    1. Open VS.NET with your Web Service solution.
    2. Set breakpoints wherever necessary.
    3. Go to Debug->Processes... and choose “aspnet_wp.exe” (the ASP.NET Worker Process)
    4. Make sure that Common Language Runtime is selected from the list of program types to debug.
    5. Close the Attach to Process window.

    6. Open a new instance of VS.NET with your test application.
    7. If not already done, choose to Show All Files in the Solution Explorer.
    8. Expand your Web Reference and navigate down to Reference.cs (Web References->ServiceReference->Reference.map->Reference.cs).
    9. Open Reference.cs and comment out the attribute [System.Diagnostics.DebuggerStepThroughAttribute()]
    10. Start your test app, and the instance of VS.NET with the Web Service will break at your first breakpoint.

    Very simple, but not always the kind of thing that people will know to do. It's a bad idea to “infect” your Web Service Solution with a test app, just to debug. It means that you'll be bypassing an important test: does the web service actually work???

    Hope that helped someone! Let me know if you get stuck on this, and I'll post some more info!

  • VS.NET 2005 Debugging Features

    Check out the latest edition of MSDN Magazine for a nice article on the new debugging features available in VS.NET 2005!

    Looks like there's going to be a lot more power and simplicity to debugging in the near future! For those attending DevDays this month, I'm sure this will be covered in the VS.NET 2005 demo at the end of the sessions... looking forward to it!

More Posts Next page »
Powered by Community Server (Commercial Edition), by Telligent Systems