Feed Yourself:
Subscribe by Email:
|
|
|
On this page....
Email Us
Archives
| March, 2007 (1) |
| January, 2007 (3) |
| December, 2006 (9) |
| November, 2006 (9) |
| October, 2006 (1) |
| September, 2006 (3) |
| August, 2006 (1) |
| July, 2006 (1) |
| June, 2006 (4) |
| May, 2006 (5) |
| April, 2006 (6) |
| March, 2006 (5) |
| February, 2006 (5) |
| January, 2006 (5) |
| December, 2005 (2) |
Navigation
Categories
Disclaimer
The opinions expressed in this site are those of the individual authors and
do not necessarily represent the official view of Ardent Development nor its employees, subsidiaries, partners,
or customers.
© Copyright 2008, Ardent Development
Powered by: newtelligence dasBlog 1.8.5223.1
|
|
|
|
 Wednesday, January 03, 2007
|
|
|
Episode #5 of the developer podcast Devcasting is up. Derek Hatchard and Mike Mullen talk to Dan Martell about the notion of "less is more" in software development. This show ran long so it is split into two parts: Part 1 Part 2
Posted by Derek Hatchard 1/3/2007 10:33:16 PM (Atlantic Standard Time, UTC-04:00)
|
|
 Thursday, December 28, 2006
 Wednesday, December 20, 2006
|
|
|
You might encounter a situation where you need to Post to a web page and read it's response.
Here's a function that uses System.Net.HttpWebRequest and System.Net.HttpWebResponse to do just that.
''Usage
' Dim xmlDoc As Xml.XmlDocument
' xmlDoc.Load(MakeHttpRequest("request=listPersons&filter=last(a*)","/requestManager.php","application/x-www-form-urlencoded"))
Protected Function MakeHttpRequest(ByVal data As String, ByVal url As String, ByVal contentType As String) As System.IO.Stream
Dim retVal As System.IO.Stream
Dim httpRequest As System.Net.HttpWebRequest
Dim httpResponse As System.Net.HttpWebResponse
Dim encoding As New System.Text.UTF8Encoding
Dim uri As New System.Uri(url)
Dim postBytes As Byte()
postBytes = encoding.GetBytes(data)
httpRequest = CType(System.Net.HttpWebRequest.Create(uri), System.Net.HttpWebRequest)
httpRequest.ContentLength = postBytes.Length
httpRequest.Method = "POST"
httpRequest.ContentType = contentType
Dim postStream As System.IO.Stream = httpRequest.GetRequestStream()
postStream.Write(postBytes, 0, postBytes.Length)
postStream.Close()
httpResponse = CType(httpRequest.GetResponse(), System.Net.HttpWebResponse)
retVal = httpResponse.GetResponseStream()
Return retVal
End Function
Variation: If the webpage you are calling expects xml you could easily replace and pass a valid xml string as data
replace
httpRequest.ContentType = "application/x-www-form-urlencoded"
with
httpRequest.ContentType = "text/xml"
You could even go further and return an xml document if the expected datatype is "text/xml".
Posted by Sebastien Aube 12/20/2006 1:44:56 PM (Atlantic Standard Time, UTC-04:00)
|
|
 Monday, December 18, 2006
|
|
|
I am planning two developer training events in Moncton, New Brunswick in early 2007 (tentatively the weeks of January 22 and 29). I'll be doing one week and it will be a .NET focus - probably Professional ASP.NET Development but if there's demand for something else I can switch it. The other week will be Mike Mullen and the focus will probably be either Professional PHP Development or Building Ajax Web Apps with Prototype and Dojo. Again, Mike is flexible based on demand. Details are not finalized so there's time to influence the schedule or topics if you're interested. We hope to offer these workshops from time to time. To keep costs in check we are trying to avoid advertising so please help us spread the word by telling your colleagues in Atlantic Canada. Classes will be a minimum of 3 people and a maximum of 5 people. The cost is $1200 for the week.
Posted by Derek Hatchard 12/18/2006 11:19:10 PM (Atlantic Standard Time, UTC-04:00)
|
|
 Wednesday, December 13, 2006
|
|
|
You heard it here first: the next Microsoft Professional Developers Conference will be October 2 - 5, 2007 in Los Angeles, California. The Microsoft Professional Developers Conference (PDC) is the definitive developer event focused on the future of the Microsoft platform. Registration is NOT open at this point. The dates have simply been announced. http://msdn.microsoft.com/events/pdc/ It was PDC 03 that tipped me off to the coming web-desktop convergence. It was PDC 05 where I saw what a real Avalon (humph, WPF) designer could look like with timelines, transitions, reflection, etc. Start saving your pennies or start dropping hints to your boss!
Posted by Derek Hatchard 12/13/2006 9:35:40 AM (Atlantic Standard Time, UTC-04:00)
|
|
 Monday, December 11, 2006
 Friday, December 08, 2006
|
|
|
Finally got podcast episode #3 and show notes posted at http://devcasting.com/index.php/2006/12/06/devcasting-3-give-me-20-cents/. The show has a name now: Devcasting. And we're in iTunes. Just search the iTunes store for devcasting or browse through the Technology category of the iTunes podcast directory. We're looking for your favourite Firefox extensions for an upcoming show. Email them to me at derek@ardentdev.com.
Posted by Derek Hatchard 12/8/2006 12:12:19 AM (Atlantic Standard Time, UTC-04:00)
|
|
 Wednesday, December 06, 2006
|
|
The Panel is the place to collect showcases of the new user experiences [in Vista and WPF] and provide insights on how they were implemented. http://www.microsoft.com/emea/msdn/thepanel/ Definitely check out UniveRSS, a 3D Vista RSS reader. I can't really see myself using this but it's neat to see. (And it did run like crap on my tablet because the NVIDIA WDDM drivers aren't final and things crash when I try the pre-release. Of course the XP driver causes problems too - could be a hardware issue I suppose. Or just crappy drivers. Who knows.) UniveRSS: http://www.microsoft.com/emea/msdn/thepanel/featured/universs.aspx (CBC Radio 3 is in the screenshot - woohoo).
Posted by Derek Hatchard 12/6/2006 11:09:39 PM (Atlantic Standard Time, UTC-04:00)
|
|
 Saturday, December 02, 2006
 Wednesday, November 29, 2006
|
|
|
If this looks familiar to you: public class Catchall : ISMTPOnArrival { void ISMTPOnArrival.OnArrival(CDO.Message msg, ref CDO.CdoEventStatus EventStatus) then you know that debugging SMTP filters sucks.
Posted by Derek Hatchard 11/29/2006 3:10:37 PM (Atlantic Standard Time, UTC-04:00)
|
|
 Tuesday, November 28, 2006
|
|
|
http://www.derekhat.com/index.php/2006/11/28/dev-east-was-great/ The room was packed and the content was great. Definitely a success. Thanks to everyone who helped with Dev East. Special thanks to Mike Hatfield and Darryl Skeard who showed up early to help with registrations and setup. Thanks to Chris Maxwell at the Dalhousie Faculty of Computer Science for much needed tech support. And thanks to Dr. Morven Gentleman for the great venue.
Posted by Derek Hatchard 11/28/2006 11:43:18 AM (Atlantic Standard Time, UTC-04:00)
|
|
|
|