Geeks With Blogs
Path Notes of a Kodefu Master blog October 2008 Entries
Announcing Windows Azure
I just learned that Windows Azure has been announced, presumably at PDC 2008. It's brand new, so visit the site to learn more and download the ctp. Windows Azure is a cloud services operating system that serves as the development, service hosting, and service management environment for the Azure Services Platform. Windows Azure provides developers with on-demand compute and storage to host and manage web applications on the internet through Microsoft data centers. Between this and Live Mesh, I feel ......

Posted On Monday, October 27, 2008 4:55 PM

ContinueOnError for Project Builds
I've seen a few questions in the forums where the poster wants the build to fail for certain projects but not others. This can be accomplished through metadata and item batching. Here is the item group that defines the projects. <ItemGroup> <Projects Include="$(MSBuildProjectDi... <Group>Build</Grou... <Title>Data Access</Title> <Description>Data Access Layer</Description> <ContinueOnError>Fals... ......

Posted On Thursday, October 9, 2008 2:50 PM

MSBuild Extension Pack First Impression
Mike Fourie has begun a project to combine two of the larger MSBuild task libraries. FreeToDev and SDC tasks have a lot of overlap, so I believe the MSBuild Extension Pack is a great endeavor to simplify the life of many of us build architects. However, I do have a gripe after reading the description on the project page. It implements a TaskAction based design which improves usability and maintenance whilst reducing the code base, e.g. to start or stop a website, typically two task files would be ......

Posted On Wednesday, October 8, 2008 1:51 PM

Tonight's CEDG Meeting

Lou Vega will be presenting at the Columbia Enterprise Developers Guild tonight. The topic is "A Closer Look at Windows Mobile – Using SMS and State & Notifications Broker." Systemtec is sponsoring the event and will be providing food from Moe's.

Visit the website for more information.

Posted On Wednesday, October 8, 2008 12:55 PM

Prop Snippet Fail
This is one that belongs on failblog. I happen to be using Visual Studio 2005 at work, so the prop snippet generates a private member variable to encapsulate in a property. In this case, I needed the property "Value". Guess what happens? private string value; public string Value { get { return value; } set { value = value; } } Fail. The only thing that needs to be done to correct this is to qualify value in the setter. set { this.value = value; } There's no reason to make a better prop snippet now ......

Posted On Tuesday, October 7, 2008 2:45 PM

Parsing Properties and Items
MSBuild files are loaded and parsed in order. This means that properties and items are in scope if they have been previously defined anywhere within the load chain. Here's an example. Test.proj <Project DefaultTargets="Build" xmlns="http://schemas.micro... <PropertyGroup> <HelloWorld>Hello World!</HelloWorld> </PropertyGroup> <ItemGroup> <Files Include="*.*"/> </ItemGroup> <Import Project="Test.properties" /> <Target ......

Posted On Monday, October 6, 2008 7:09 PM

Lazy Loading Properties
What do you do when you are loading hundreds of objects and it's taking too long? When you instantiate the object in a vacuum, it runs very fast. However, you run a few tests and determine a collection on the object causes a bottleneck if a call to load the collection occurs many times in succession. public class Customer { private List<Account> accounts = SlowLoadMethod(); public IList<Account> Accounts { get{ return accounts; } } ... } If the property doesn't need to be accessed immediately ......

Posted On Wednesday, October 1, 2008 5:56 PM

Copyright © Chris Eargle | Powered by: GeeksWithBlogs.net