Posts

Seattle Code Camp: Kick Your Hash

Image
This was Wayne Berry 's presentation about real-world crypto coding for web sites. The presentation was identical to his asp.net user group presentation. He stayed calm with 15 minutes of Digipen equipment not working and two room switches. But it was a great presentation and the level of detail and code was just right. He said he will post the presentation here at some point.

Seattle Code Camp: Advanced Query and Modeling Capabilities with Entity Framework

Image
This presentation was given by Zlatko Michailov & Asad Khan, PMs, Microsoft ADO.NET. The best thing said in the entire presentation was that if your model is well built you shouldn't have to do any group bys or joins. Drink the kool-aid, swallow the pill, enjoy that illusion in a real-world situation. Especially some piece of $%^@ database that is mission critical and the data is 10 years old, not normalized, and some one else's baby. But if you are going to dream, dream big, right? Their blogs can be found at: http://blogs.msdn.com/esql/ . E for entity. Why be normal? right?    

Seattle Code Camp: Top Open Source .NET Tools

Image
Rod Paddack gave this session wearing a great geek shirt. His enthusiasm for open source was reciprocated by many in the audience. Here is the list: SharpZibLib Compression Library PDFSharp.com creates PDF files CruiseControl continuous build system - never upset a build master Nant another build tool NUnit a developer's unit test framework NHibernate - persisting plain .NET objects to and from an underlying relational database DotNetNuke - mega portal system in VB.net AJAX Asp.Net ToolKit - very cool AJAX controls Ghengis - don't know what it really does but the website has other interesting tools MySQL - not sure how open source this really is ConnectionStrings.com - this one I need CodePlex.com - open source code repository Thoughtworks.com - lots of stuff Microsoft Patterns and Practices - cool stuff Code.MSDN.COM - for small bits of code snippets instead of the big stuff at codeplex Mentions during session included http://code.google.com/ ...

Did Someone Forget A WHERE Clause?

Image
Charter Communications officials believe a software error during routine maintenance caused the company to delete the contents of 14,000 customer e-mail accounts. http://www.foxnews.com/story/0,2933,325338,00.html I am glad today that I didn't do this and force my company to give a $50 credit to each customer.  Ouch. {6230289B-5BEE-409e-932A-2F01FA407A92}

Seattle Code Camp: Entity Framework Essentials

Image
From https://seattle.codecamp.us/   Jonathan Carter, Microsoft Developer Evangelist, gave an introductory talk about the Entity Framework which has just had a Community Preview release. It is basically a middle layer framework driven by Domain Driven Design for creating and extending objects on top of a data source. The data source presented was SQL Server but you could imagine all sorts of layers. There are two parts, the Entity Model and the framework for asp.net. A simple but nowhere complete comparison could be drawn to CodeSmith. Open Visual Studio, create a "file". You are asked for a data source and data objects to include. The framework displays an Entity Relationship diagram which you can dink with to create the objects the way they will work for the upstream code and not the downstream DB. While the presentation was a tad buggy, the framework looks like it is going someplace cool. The best part was the intellisense to your objects you just created via the fra...

Seattle Code Camp 2008 at Digipen

Image
Wayne, Rusty, Andy, and I went to code camp yesterday. The speakers were good, and there was a lot of code. I focused on the asp.net and core .net sessions. I attended two talks on Entity Framework, one on top 10 open source .net tools, one on crypography given by Wayne, and one on xUnit. By far the most interesting one was the xUnit discussion with it's dev team. I'll give sessions reviews and related links in the following days.  

The Beauty of LINQ

Image
I was recently working with an RDP settings file and its myriad of settings and corresponding lines. I couldn’t find what I needed so I thought it would be nice to sort the lines. I am sure there are utilities out there that can quickly sort a bunch of text lines but like most programmers, I thought it best that I develop my own solution. So I fired up VS and created a new Windows Forms project, added a standard TextBox and Button control to my form and wired up the following OnClick event: private void ButtonSort_Click( object sender, EventArgs e) {     TextBoxMain.Lines = TextBoxMain.Lines         .OrderBy(s => s)         .ToArray(); } Just too simple. Man I love LINQ!