Stanza Corporation is an independent software consulting company
located in Dayton, Tennessee. Our Consulting
Services bring together twenty-five years of practical, real-world
application development experience. We can provide to your business:
We understand the technical details and complexity of potential
solutions, but we have the practical experience to correctly judge
the best solutions for your needs. We can explain the potential
risks and potential gains of technology choices you face. We can
work alongside you as a partner to deliver high-quality, long-term
solutions for your business.
We would be pleased for you to consider a partnership with Stanza
Corporation's Consulting Services.
-
MissingMethodException and WaitOne
I ran into the same problem as Mike Plate describes here. Fortunately, there is a now separate download for the .NET 2.0 Service Pack 2 here. Installing this service pack fixed the problem for me.
Thanks Mike!
Posted in .NET Development <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=secondstanza.com&blog=2494489&post=196&subd=secondstanza&ref=&feed=1" />
-
Security Exception on Silverlight Client when Calling WCF Service
I kept getting a SecurityException when calling from my Silverlight client to a WCF service. I had double-checked WCF settings (I used basicHttpBinding, which is what Silverlight supports). I had created clientaccesspolicy.xml and crossdomain.xml files on the root of my web site. The meta data came up correctly for my service. Via Fiddler, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=secondstanza.com&blog=2494489&post=190&subd=secondstanza&ref=&feed=1" />
-
“Resource not found for the segment …” Azure Exception
Using table storage within the Azure platform, a simple query was throwing an exception if the table entry was not found.
MyDataContext dataCtx = new MyDataContext( acctInfo );
var q = from entity in dataCtx.EmailAddresses
where entity.PartitionKey == organizationID && entity.RowKey == address
[...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=secondstanza.com&blog=2494489&post=183&subd=secondstanza&ref=&feed=1" />
-
Silverlight Color Picker Control
I’m not sure why a color picker was not included in Silverlight since it seems like such a common control. However, I needed one so I took a look at my options. Plenty of examples exist so I decided to take the work started by Page Brooks (here, here, and here) and incorporate [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=secondstanza.com&blog=2494489&post=171&subd=secondstanza&ref=&feed=1" />
-
Silverlight Modal Popup
The Popup control in Silverlight is not, as you might think, like a modal dialog box where other portions of the application are disabled while the dialog is displayed. It is more like an overlay where the contents of the Popup control are displayed on top of everything else in the control. However, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=secondstanza.com&blog=2494489&post=165&subd=secondstanza&ref=&feed=1" />
-
Resizing a Silverlight Control within the Browser
A common user interface technique in a web page is to expand the contents of the page to the size of the browser window. There are solutions for doing this in both CSS or Javascript. A Silverlight control may also be resized in this way and since a Silverlight control can access the Browser’s [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=secondstanza.com&blog=2494489&post=160&subd=secondstanza&ref=&feed=1" />
-
Second Stanza Source Code Repository
I’ve created a project on CodePlex to store the source code I’ve publish within this blog. The project is located at secondstanza.codeplex.com. The first set of source code is a set of useful Silverlight controls. Enjoy!
Posted in .NET Development, Silverlight <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=secondstanza.com&blog=2494489&post=157&subd=secondstanza&ref=&feed=1" />
-
Detecting Design Mode in Silverlight Controls
Here are a couple of links about the issues with detecting when a control is design mode (within Expression Blend or Visual Studio):
http://blogs.sqlxml.org/bryantlikes/archive/2009/02/25/detecting-design-mode-in-silverlight.aspx
http://blogs.msdn.com/delay/archive/2009/02/26/designerproperties-getisindesignmode-forrealz-how-to-reliably-detect-silverlight-design-mode-in-blend-and-visual-studio.aspx
Posted in Silverlight Tagged: Silverlight Custom Controls <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=secondstanza.com&blog=2494489&post=153&subd=secondstanza&ref=&feed=1" />
-
SetPrincipalPolicy in Unit Tests
A while back, I noticed that this test always fails in Visual Studio 2008 w/SP1:
[TestClass]
public static class TestInfo
{
[AssemblyInitialize]
public static void InitializeTesting( TestContext testContext )
{
AppDomain.CurrentDomain.SetPrincipalPolicy(
[...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=secondstanza.com&blog=2494489&post=144&subd=secondstanza&ref=&feed=1" />
-
Conflict Between TypeMock and Reporting
When using a LocalReport object within a unit test where TypeMock Isolator was running, I got the error:
Microsoft.Reporting.WinForms.LocalProcessingException : An error occurred during local report processing.
----> Microsoft.ReportingServices.ReportProcessing.ReportProcessingException :
Failed to load expression host assembly.
Details: Operation could destabilize the runtime.
If TypeMock Isolator was disabled, the test ran correctly. This particular test was not using [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=secondstanza.com&blog=2494489&post=137&subd=secondstanza&ref=&feed=1" />