Skip to content

Category Archives: .NET

My New (Aussie!) Discount Daily Deals Accommodation Startup Business Online – Up to 80% Off Stays, yes truly!

16-Jan-12

Hey guys, sorry this blog has been relatively quiet the last six months or so, but for that period I have been knee deep hard at work involved in a startup venture that a few of my friends and myself have started. So unfortunately no real time for blogging, just a slog of actual programming [...]

ASP.NET MVC / .NET Learning Videos & Tutorial Resources

06-Jul-11

Hi Guys, I feel terrible I cannot blog as frequently now a days, so busy with so many projects on the go at the moment, including a couple of start-ups I’m working on.  But I wanted to quickly share with you probably the most valuable information I could give you in a short space of [...]

The null value cannot be assigned to a member with type System.Int64 which is a non-nullable value type

03-Sep-10

Are you getting this? System.InvalidOperationException: The null value cannot be assigned to a member with type System.Int64 which is a non-nullable value type. On something like this? var totalSize = query.Sum(x => x.Size); This occurs because your LINQ property (in my case “Size”) is not nullable, and needs to be nullable because your Sum() operation [...]

Automatically Infer MVC Validation Rules Based on LINQ to SQL Schema – Sweet!

27-Aug-10

Hey gang, just a quickie today. I have been working recently on setting up server side and client side model validation “by the book” in ASP.NET MVC 2 complete with data annotations and the first question that hit me when I was declaring attributes on my LINQ to SQL partial classes to determine model validation [...]

New VS Theme Site + Desert Nights 2008 Theme Updated – ReSharper + VS 2010 Support!

30-Apr-10

Just heard news of a sweet new website dedicated to Theming and Styling Visual Studio, called “StudioStyles” now that’s my kinda site.  Go check it out, tons of themes to choose from if your VS IDE is looking kinda drab or you’re sick of looking at that same old blue and white… I also just [...]

View Contents of HTTP WCF Message with Message Logging & Service Trace Viewer

15-Apr-10

If you would like to see the contents of your WCF message body packet as understood by the server, you can enable WCF message logging via a few adjustments in your WCF Service Web.config file and by then by using the Microsoft Service Trace Viewer application to view it. I found best results by creating [...]

.Net Enum Values As Bit Flags

13-Apr-10

Every now and then I find myself needing to set multiple values to an enum object and test this later on, synonymously I usually find myself also scouring the net on the best practice on how to set, access and test these enum flags So today I thought I would post a definitive reference I [...]

Error connecting to WAS-enabled Net Tcp WCF Service Hosted Through IIS

01-Apr-10

As you may be aware, setting up a TCP-based full duplex WCF service can have some pretty awesome advantages over regular HTTP-based WCF services, such as the ability for a true client/server persistent connection and the ability for the server to call back to the client at any time and there are a few good [...]

.NET Framework/ASP.NET/C# Development Ultimate Learning Resources (Tutorials for Beginners to Advanced)

15-Mar-10

Howdy everyone, firstly I would like to apologise for the lack of blog updates, I have seriously been flat out on development with our new online start-up, Fotochimp and have not had much time for blogging. However today I am taking a few minutes time-out to share some links with you I found for a [...]

IntelliTrace debugging is available only for x86 applications

15-Feb-10

It appears the new IntelliTrace feature of Visual Studio 2010 is only available for x86 applications?! Don’t ask me, there is an article with more info, but Habib Heydarian shed some light on the workaround here. It appears to get around this problem, you must set your project to a configuration platform of x86, enabling [...]

My name is Graham O'Neale and I'm a software architect from Gold Coast, Australia. I am an overtime thinker, full time coder and awake part time in the real world. I have a keen interest in software development, particularly in the realm of programming (C#, ASP.NET, ASP.NET MVC, LINQ (2 SQL), Entity Framework, Silverlight, Blend, WCF, WPF) and a keen interest in the cutting edge and innovation. I have a new found love for design patterns, ALT.NET practices and well crafted software architecture. The purpose of this blog is to express any thoughts, findings, tips and gripes along my travels in the wonderful world of coding and technology...