Sign up

Websites and blogs of people that attended a Homebrew Website Club Düsseldorf.

A public list by dan.

lennybacon.com Valid

Macro to enable Code Analysis and define FxCop rules

I’m currently helping a customer to migrate a really large web application from ASP.NET 1.1 to 2.0 (round about 130 projects in the master solution…). I always liked FxCop but enabling “Code Analysis” manually is way to complicated (or not geekish enough?!?). So I wrote this small macro this morning. Imports System Imports System.Diagnostics Imports System.Text Imports System.Windows.Forms Imports EnvDTE Imports EnvDTE80 Public Module CodeAnalysis Public Sub EnableFxCop() Dim objProj As Object() Dim proj As Project For i As Integer = 1 To DTE.

lennybacon.com Valid

WCF Sample - Attribute driven Constraints

I posted some Bits Michael and I wrote recently in a WCF Project: The Constraints-Extensions let you easily define attribute based limitations for input, output and return parameters. Limitations can be set to service contracts operations as well as to data contract data member implementations. The constraints validation gets called at runtime by the WCF infrastructure and the behavior will throw a ConstraintViolationException with descriptive messages in case of a constraint gets violated/the validation fails.

lennybacon.com Valid

Developer day 3

Developer day[1] (DDD) in Reading (U.K.) was again really a great experience. My talk together with Michael[2] went fine and we really enjoyed the great audience. And the weather was sooooo sunny - unbelievable. It was nice to meet Melita Walton, Craig Murphy[3], Benjamin Mitchel[4], Ian Cooper, Phil Winstanley (Plip)[5], Dave Sussman[6], Guy Smith-Ferrier[7] and so on. Take a look at the pics Plip posted http://www.flickr.com/photos/plip/sets/72157594154434387/ [1] http://www.developerday.co.uk/ddd/ [2] http://staff.newtelligence.net/michaelw/

lennybacon.com Valid

Debugging AJAX - Here is Help

Really useful if you work with AJAX XmlHttpRequest Debugging for IE

lennybacon.com Valid

NRW06 Community Conference

There we go. Doors are open for NRW06! 20 Speakers, max. 250 attendees a lot of community and networking. Signup After you did you can put this onto your blog or website ;-)

lennybacon.com Valid

New blogger on my Team

A while ago I posted that I and my company were searching for ASP.NET guys… Sergey Shishkin joined newtelligence in March this year and started to blog yesterday. He will do a presentation about a project related to Office Open XML and WinFx he is doing on out next user group meeting (18th May) in Düsseldorf, Germany

lennybacon.com Valid

RE: Best Job in ...

I can only agree on what Scott Watermasysk says about his job (beside the facts that I live in Germany and it is newtelligence for me … :-P) [modified]Not only do I work for the best company (newtelligence) in Germany, according to CNNMoney, I also have the best job based on pay, growth, stress, flexibility, creativity, and ease of entry.[…] Why it’s great Software engineers are needed in virtually every part of the economy, making this one of the fastest-growing job titles in the U.

lennybacon.com Valid

Please Wait - Building a WaitScreen control for ASP.NET

Sometimes it happens that a form is processing and you need to make sure that the users don’t panic and run away before it finishes. A splash screen with a “Loading…” indicator can help to calm down frightened users and make life easier for technical support staff. Back in the days of classic ASP (VBScript) which used a linear programming approach we had to start by setting the response buffer to true:

lennybacon.com Valid

Das Sicherheitsmodell der Common Language Runtime

Wer sich mit Sicherheit in .NET auseinandersetzen will sollte hier anfangen… http://www.microsoft.com/germany/msdn/security/…

lennybacon.com Valid

MSDN Germany - Security Editorial

Michael hat das Februar Editorial für das Security Portal von MSDN Germany geschrieben und wirft dabei interessante Vorschläge in den Raum: Wie wäre es, wenn bei den allseits bekannten Programmtests der Fachzeitschriften ein Non-Admin-Test hinzu käme? Wenn ein Programm auch danach beurteilt würde, ob es mit einem ganz normalen Benutzeraccount einwandfrei funktioniert? Meiner Meinung nach: Recht hat er! http://www.microsoft.com/germany/msdn/security/februareditorial.mspx

lennybacon.com Valid

WS-I'm busy

really

lennybacon.com Valid

Lennybacon says #1: Exceptions and ValidatorControls

I often get asked things through my messenger and today I decided to start sharing a few lines of the conversations… Frank: Is there a way to connect a Validator to an Exception so that the validation summary can be used to display the exception message? Me: Build a Custom Validator Frank: Ok Me: Use Page_Error or catch to set a “flag” to the Validator Me: Override the method EvaluateIsValid and return the state of the flag

lennybacon.com Valid

Get SPAM Button

lennybacon.com Valid

Encrypting Files using DPAPI

In one of my current projects (yes, there are more at the moment and yes that is the reason why it’s a bit quiet around here) i neede to write an encrypted file to the hard disc using DPAPI (Data Protection API). After I unsuccessfully searched the web and the msdn (the sample reads all bytes to the buffer at once - not so nice), I wrote the following sample app:

lennybacon.com Valid

UG Meeting Tools List

MDFExec Executing CREATE statements from within Visual Studio 2005 Snippy Editor for creating and modifying Visual Studio 2005 Code Snippets WebServer Here Context Menu Exclude From Sharepoint NDoc Macro Cropper Screenshot tool Ruler Folder Size Browser Convert.NET C# 2 VB.NET Converter ChalkTalk Mistaya LDAP Explorer WinMerge Thomas list…

lennybacon.com Valid

Wouldn't it be cool ...

lennybacon.com Valid

Executing CREATE statements from within Visual Studio 2005

If you try to run a CREATE statement in a query (right click on a database in the Server Explorer) you receive this message. So i wrote a small utility which will do the job for me. using System; using System.IO; using System.Data.SqlClient; using System.Collections.Generic; using System.Text; using System.Windows.Forms; namespace MdfExec { class Program { static void Main(string[] args) { string _cnStr; if (args.Length == 2) { _cnStr = "data source=.

lennybacon.com Valid

Customizing the Prop Snippet

I’m quite busy with a project I’m on with Clemens(the last time before he’ll join the Indigo team at Microsoft) - just to explain why it got bit quiet around me :-) Here is a modified version of the prop snippet that I want to share (and remember :-P). <?xml version="...

lennybacon.com Valid

Complex Databinding

I just finished writing some ASP.NET code where I also typed the following lines: <ItemTemplate> <asp:Image ID="IsOnline" runat="server" ImageUrl='<%# GetImageUrl((MembershipUser)Container.DataItem) %>' /> </ItemTemplate> protected string GetImageUrl(MembershipUser user) { if (user.IsLockedOut) { return "~/images/BadUser.gif"; } else if (!user.IsApproved) { return "~/images/GreyUser.gif"; } else if (user.IsOnline) { return "~/images/OnlineUser.gif"; } else { return "~/images/OfflineUser.gif"; } } Before I shutdown my machine I fetchted Mail and Feeds when i ran accross this posting by ScottGu pointing to Fritz Onions Blog.

lennybacon.com Valid

Catastrophic Failure

No Comment :-P