Geeks With Blogs

News


Stefan Barrett blog April 2006 Entries
Things I like about VS2005 - Part 1
Apart from the usual stuff that everybody mentions (Snippets, auto-completion of keywords, generics), there's a number of things I've come across. 1) In the property window for a file, there's a option to copy to Output directory. The number of times I've had to put in a post build step to copy a xml file.. 2) Auto-completion of xml. If you start filling in a xml document for which there's a schema, you get all the normal VS2005 auto-completion logic. In fact it will also generate stubs for all your ......

Posted On Friday, April 28, 2006 4:31 AM

Having fun with VS2005, XML and partial classes.
Currently working on a data transformation engine (yes I know you can buy things like this, but it takes less time to write it than to get the company to buy it), which involves a lot of xml. First step is to create the schema descriping the transformation which I do in VS2005. Got VS2005 to crash once (just closed down) while editing a complicated bit of schema, but unable to replicate for now. When I restarted it, it did give me a choice of recovering the schema file, but it was a 5 hour old one, ......

Posted On Friday, April 28, 2006 4:24 AM

Serialization
Still working on my query generator, and thought I would do the load/save logic so that I don't have to rebuild the same queries again and again during testing. Ok, so I have a class like this: public class FieldContainer{ private List<BasicField> fields; public void Load() {} public void Save() { ........... }} So I figured the fastest way would be to serialize it out to a xml file.Obvious problem; what the list contains is objects which inherit from BasicField, and during serialization they ......

Posted On Sunday, April 9, 2006 9:41 AM

Copyright © Stefan Barrett | Powered by: GeeksWithBlogs.net