Quantcast
Channel: Rob Garrett - Blog » Code
Browsing all 10 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

NOAA Weather Service and .NET

I have been fighting with the national weather web service, provided by the National Oceanic and Atmospheric Administration, today.  Like a lot of developers, who like to make their web sites fancy...

View Article



Image may be NSFW.
Clik here to view.

HTTP SOAP Remoting Problem

I am developing a simple .NET remoting server using an HTTP channel and SOAP formatter, and ran into a problem earlier with invalid SOAP actions.  When invoking a method on a remoted object I was...

View Article

Image may be NSFW.
Clik here to view.

Access modifiers on property get/set

To some I may be stating the obvious, but today I was happy to find out that C# lets you set a different access level on the get and set for a property. The example below will help to illustrate what...

View Article

Image may be NSFW.
Clik here to view.

Code Snippets

Like the code snippets in Visual Studio 2005? Want some more?  Check out http://msdn.microsoft.com/vstudio/downloads/codesnippets/default.aspx

View Article

Image may be NSFW.
Clik here to view.

Right-Click ListBox – Select Item

Useful to know – to select items in a ListBox with a right mouse click wire up the following code to the MouseDown event: private void LB_MouseDown(object sender, MouseEventArgs e) { // Select item if...

View Article


Image may be NSFW.
Clik here to view.

Code Access Security – A Primer

Overview This post serves as a primer for software developers interested in learning about Code Access Security (CAS) in .NET. The following information is not exhaustive of the subject matter and...

View Article

Image may be NSFW.
Clik here to view.

C# Value Types and Ranges

Just because it’s good to know….. Keyword Class Range bool System.Boolean true and false byte System.Byte 0 to 255 sbyte System.SByte -128 to 127 short System.Int16 -32768 to 32767 ushort System.Uint16...

View Article

Image may be NSFW.
Clik here to view.

Failed to open XML parser COM object.

I came across a problem when launching any PPC emulator through Visual Studio’s Device Emulator Manager – I’d receive an error of the sort: Failed to open XML parser COM object. After digging around...

View Article


Image may be NSFW.
Clik here to view.

Pass by Reference

Contrary to the beliefs of some developers, .Net reference types do not need to be passed as reference parameters (ref in C#, ByRef in VB) when a method is going to alter the contents of an object...

View Article


Image may be NSFW.
Clik here to view.

.NET Wrapper for COM Elevation

Microsoft has ramped up the security in their latest operating system – Windows Vista, which means that developers now have to pay more attention to certain security constraints imposed by the...

View Article
Browsing all 10 articles
Browse latest View live




Latest Images