copyblogger has a nice story on “IKEA content”… After a discussion with my colleague Michael Willers (his famous security blog is down moving and will be up again soon…) I’d like to push it further/see it from a different point of view: (Especially in the web) Applications are content or at least provide content (That is the was HTTP, REST, etc. work). I think also Jacob Nielson would agree that forcing the user to use a path instead of allowing the user to decide is wrong.
Recent content on lennybacon.com
- Generator
- Hugo -- gohugo.io
- Public lists
-
HWC DUS
IE Active Content Update
I’m back on ASP.NET (at least more than last year :-)) - And it feels great (again) digging deep into some interesting areas around user interfaces (also WPF!!!), processes and tasks, state management, async stuff (multi threading/AJAX & JSON) and so on… Personal Ref.: Activating ActiveX Controls Adobe’s comments on the topic… IE Persistence Behaviour Tabbed Browsing for Developers Search Provider Extensibility in Internet Explorer
Sergey and the cards
My colleague Sergey is working on a really nice package around CardSpaces. Watch his blog for updates…
WCF Metadata, Proxies and real Proxies
I was just about to generate a client (proxy) for a WCF service on a computer (in a domain) on customer site when svcutil.exe returned the following: Microsoft (R) Service Model Metadata Tool [Microsoft (R) Windows (R) Communication Foundation, Version 3.0.4506.30] Copyright (c) Microsoft Corporation. All rights reserved. Error: Cannot obtain Metadata from http://127.0.0.1/CallahanWeb/service.svc?wsdl If this is a Windows (R) Communication Foundation service to which you have access, please check that you have enabled metadata publishing at the specified address.
LogOff 2006
Looking back on 2006 … that was a lot … and the reason I was a bit quiet Together with Clemens I wrote a message based waterfall-caching-framework which can be hooked into a web service architecture for a customer. For Uwe Baumann of Microsoft Germany I wrote a localizable ASP.NET starter kit (with a discussion forum and a really nice membership administration API) for coding4fun.de. I distinguished technical and architectural fires (mostly ASP.
Five
I just got “tagged” together with Steve, Don, Udi and Nicholas by Clemens. So here are my five: The nickname “Lennybacon” was given to me by my girlfriend and is (probably) based on my middle name “Leonard” and the fact that I like bacon for breakfast. My surname is written without a “c” which is quite strange for most Germans (beside my certificate of birth about 80% of the official documents spell me the wrong way).
Nine Things Developers Want
Rob really did a nice job here: http://www.softwarebyrob.com/articles/Nine_Things_Developers_Want_More_Than_Money.aspx
DDD4
DDD (developer developer developer) is back and will be held on Saturday 2nd December at the Microsoft Offices in Reading. It is a pleasure for that I’ve been voted again to speak. This time I’ll present “DataAccess Layers - Convenience vs. Control and Performance?” on my own and “Decoupling Service Oriented Backend Systems [with Windows Communication Foundation (WCF)]” together with my colleague Michael. I’m looking forward to meet Craig, Barry, Oliver, Phil, Ian and all the U.
"live"ing web services
I really like the idea Doug came up with in his latest post… http://www.douglasp.com/blog/2006/10/31/InventingTheFuture.aspx
Playing with the Windows RSS Platform
Microsoft introduces with Vista/IE7/Office2007 the Microsoft RSS Platform - For some reasons my IE is not able to export the feeds that I read in IE7 and Outlook 2007 to OPML. I had a look at the API and wrote this small console applictaion to export my feed list to the OPML format. using System; using System.IO; using System.Runtime.InteropServices; using System.Xml; using Microsoft.Feeds.Interop; using System.Collections.Generic; namespace RssWindowsPlatformOpmlExporter { class Program { static void Main(string[] args) { string pathToExport = "D:\temp\feeds.
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.
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.
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/
Debugging AJAX - Here is Help
Really useful if you work with AJAX XmlHttpRequest Debugging for IE
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 ;-)
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
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.
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:
Das Sicherheitsmodell der Common Language Runtime
Wer sich mit Sicherheit in .NET auseinandersetzen will sollte hier anfangen… http://www.microsoft.com/germany/msdn/security/…
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
WS-I'm busy
really
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
Get SPAM Button
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:
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…
Wouldn't it be cool ...
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=.
Customizing the Prop Snippet
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.
Catastrophic Failure
No Comment :-P