Once again, some little geek at Microsoft owes me back several hours of my life back, and serveral hours of my wages back to my company.
Tips & Tricks: Object reference not set to an instance of an object when creating Silverlight-Enabled WCF Service
A Southwestern adventurer striking out into the badlands of the Midwest for fun, profit, and for a wife who wouldn't move back to the Southwest :)
Monday, December 21, 2009
Friday, December 18, 2009
Thursday, December 17, 2009
Missing Enum.GetValues() when doing Silverlight for instance ? - Blog'A'Little
Missing Enum.GetValues in Silverlight? Here is a partial work around.
Missing Enum.GetValues() when doing Silverlight for instance ? - Blog'A'Little
If you name your class something like myclass.shared.cs and remember to put the partial keyword infront of the class you can declare this class in your web project and it will be shared with your silverlight project (if using the business or similar tempate, which breaks things up in a silverlight and a web project. Remember to include the folling namespaces at the top of the class.
using System;
using System.Collections;
using System.Collections.Generic;
using System.Reflection;
using System.Linq;
Have fun.
Missing Enum.GetValues() when doing Silverlight for instance ? - Blog'A'Little
If you name your class something like myclass.shared.cs and remember to put the partial keyword infront of the class you can declare this class in your web project and it will be shared with your silverlight project (if using the business or similar tempate, which breaks things up in a silverlight and a web project. Remember to include the folling namespaces at the top of the class.
using System;
using System.Collections;
using System.Collections.Generic;
using System.Reflection;
using System.Linq;
Have fun.
Wednesday, December 16, 2009
WCF RIA Services Update bug? : The Official Microsoft Silverlight Site
Another Silverlight Gotcha...ran into a lot of those today.
WCF RIA Services Update bug? : The Official Microsoft Silverlight Site
WCF RIA Services Update bug? : The Official Microsoft Silverlight Site
Tuesday, December 15, 2009
Silverlight DataSet
Many an oldschool developer has been put off from joining the "RIA" world because data access through web services is a comparitive pain in the arse compared to old school ADO.Net. Some smart guys in Canada might be changing the equation (hopefully). I haven't used Laskarzhevsky Software's free Silverlight DataSet control yet, but it looks promising. Check it out and let me know what you think.
Laskarzhevsky Software Inc
Laskarzhevsky Software Inc
TranslateThis Button: Copy+Paste translation for 52 languages
One push button translation. I like it.
TranslateThis Button: Copy+Paste translation for 52 languages
TranslateThis Button: Copy+Paste translation for 52 languages
jSnow jQuery Plugin
Monday, December 14, 2009
Silverlight and RIA: Ignoring a Property in Your Business Object - Deborah's Developer MindScape
My XAP file is 5 Mb size, is that bad?
dygraphs JavaScript Visualization Library
Wednesday, December 09, 2009
Great Into Silverlight RIA Services Video
If you are developing with Silverlight and RIA Services, and you haven't seen this video, I would watch it. Two hours that are well worth it.
Currently Watching : The Official Microsoft Silverlight Site
Currently Watching : The Official Microsoft Silverlight Site
Friday, December 04, 2009
Kind of a Cool Star Wars Fan Remake
Enjoy
The crew has Chapter 2 up which is just as good if not better. For more go here-
http://impstherelentless.com/
Star Wars: IMPS the Relentless from Darth Anonymous on Vimeo.
The crew has Chapter 2 up which is just as good if not better. For more go here-
http://impstherelentless.com/
Thursday, December 03, 2009
WCF and Silverlight
We are experimenting around with WCF vs .Net RIA Services at work. Here is a pretty good entry level tutorial on getting started with WCF and Silverlight. One WCF method is exposed and consumed by a datagrid. Also so SQLtoLinq is used as well.
MSDN Switzerland Blog
MSDN Switzerland Blog
Wednesday, December 02, 2009
CommonJS effort sets JavaScript on path for world domination
Looks interesting, a new javascript framework/engine/api?
CommonJS effort sets JavaScript on path for world domination
CommonJS effort sets JavaScript on path for world domination
Tuesday, December 01, 2009
Photoshop Tip: CS3 and CS4 Get Rid of the Hide/Show All Menu Items
I was working with Photoshop and the stupid menu items kept hiding themselves. If you are a guru, and you know what you need, that is fine, but I'm not. I'd like to always see everything and see it in the same spot in the menu list. Someone named Chris Koerner came up with a fix that makes this go away.
Remove “Show all Menu Items” From Photoshop CS4 « Chris Koerner
Thanks Chris!
Remove “Show all Menu Items” From Photoshop CS4 « Chris Koerner
Thanks Chris!
Monday, November 23, 2009
JavaScript - Find position
This is kind of a useful script for setting the window's scroll position to that of an object's in javascript.
It is based on this.
JavaScript - Find position
function Scroll2Pos(cID)
{
var obj = document.getElementById(cID);
var curtop = 0;
if (obj.offsetParent)
{
do
{
curtop += obj.offsetTop;
}
while (obj = obj.offsetParent);
window.scrollTo(0, curtop);
}
}
It is based on this.
JavaScript - Find position
Friday, November 20, 2009
Military Video System is Like YouTube With Artillery | Danger Room | Wired.com
This is pretty cool (and pretty deadly if you are our enemy). The youTube of surveillance videos for the military.
Military Video System is Like YouTube With Artillery | Danger Room | Wired.com
Military Video System is Like YouTube With Artillery | Danger Room | Wired.com
Thursday, November 05, 2009
Unit Testing: When You Should and When You Shouldn't
Unit Testing and Test Driven Development are all the rage right now, and rightly so, especially for the type of work some of the developers I work with do (low level switch programming on telecommunication critical infrastructure). But there are often cases where TDD and Unit Test is, well, overkill.
This article provides a much needed balancing perspective-
http://blog.codeville.net/2009/11/04/selective-unit-testing-costs-and-benefits/
Hat Tip: Elijah Manor
This article provides a much needed balancing perspective-
http://blog.codeville.net/2009/11/04/selective-unit-testing-costs-and-benefits/
Hat Tip: Elijah Manor
Subscribe to:
Posts (Atom)