Sign up

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

A public list by dan.

lennybacon.com Valid

.NET Summit NRW 2005

After quite an amount of time, work and effort, that it had cost to realize my ideas I’m proud to present together with Stephan Oetzel to you an extra large community event: Nach einer ganzen Menge Zeit, Arbeit und Anstrengung die es gekostet hat meine Idee zu realisieren bin ich nun stolz zusammen mit Stephan Oetzel eine Community Event der Superlative zu präsentieren: And here is the lineup: Christian Weyerthinktecture], Michael Willers newtelligence, Jörg M.

lennybacon.com Valid

SQL Sever 2005 (YUKON) Review in short, #2

Ok, here is another one: I add a login to my database server: EXEC sp_addlogin @Username, @Password, @Database; This works fine! I add a user, to a database by using the stored prcedure sp_adduser: Use [MyDB]; EXEC sp_adduser @Username; This also works fine! I want to remove the user from the database. Therefore I use the stored procedure sp_dropuser: EXEC sp_dropuser @Username; This removes the user BUT what you’ll see while digging deeper is that sp_adduser has created an SCHEMA and sp_dropuser don’t cares a s%#t about that - it’s still there after calling sp_dropuser :-(

lennybacon.com Valid

SQL Sever 2005 (YUKON) Review in short, #1

First of all … wow, yeah, the IDE of SQL Server 2005 is pretty nice with all those grafics and animations but It’s more than anoying that i can not paste multiline text into a column of a table opened via right-click | Open Table NOTE: It is possible to add multi-line-texts via an insert/update script - but hey, that takes me 10-30 seconds longer … raise your hands if ya wanna pay me for that.

lennybacon.com Valid

Indicate if the current web is running in debug mode...

public static bool IsWebInDebugMode{ get { bool _isDebug = false; if(HttpContext.Current.Cache["IsDebug"] == null) { XmlDocument _doc = new XmlDocument(); string _cfgfile = HttpContext.Current.Server.MapPath("~/Web.Config"); _doc.Load(_cfgfile); XmlNode _node = _doc.SelectSingleNode("configuration/system.web/compilation"); if(_node==null || _node.Attributes["debug"]==null || _node.Attributes["debug"].Value.ToLower()!="true") { _isDebug = false; } else { _isDebug = true; } HttpContext.Current.Cache.Insert("IsDebug", _isDebug, new System.Web.Caching.CacheDependency(_cfgfile), DateTime.Now.AddDays(1), TimeSpan.Zero); } else { _isDebug = bool.Parse(HttpContext.Current.Cache["IsDebug"].ToString()); } return _isDebug; } }

lennybacon.com Valid

Next to XSS is SSS - Same Site Scripting

Via Willem Odendaal I opend the following web site http://www.squarefree.com/bookmarklets/forms.html#frmget. It holds an interesting collection of bookmarklets (Javascript commands that can be saved as bookmarks so they can be applied to every page that is opend in your browser). For example: “remove MaxLength” … shows how important it is to use ASP.NET Validation Controls in your Web Applications.

lennybacon.com Valid

Back on the road

It’s happening again. Michael and I are back on tour for TornadoCamp Xpress, the .NET 2.0 event of newtelligence. Today we started. We meet Michal K. of Microsoft, he’s a nice and smart guy, our local contact and I’m doing this post right in the middle of our C# 2.0 HOL. I miss my familiy @ home - love ya! cu soon. Cheers to the rest out there.

lennybacon.com Valid

.NET 2.0 Only 99.9% backwards compatible?

While re-writing a few WebServices for .NET 2.0 i ran across following: ... public static void WaitProc(object state, bool timedOut) { MyAsyncResult myAsyncResult = (MyAsyncResult)state; myAsyncResult.OriginalCallback.Invoke(myAsyncResult); } ... This compiles without any problems in Visual Studio .NET 2003 but makes the compiler scream (Invoke cannot be called directly on a delegate) untill you change the lines to the following: ... public static void WaitProc(object state, bool timedOut) { MyAsyncResult myAsyncResult = (MyAsyncResult)state; myAsyncResult.

lennybacon.com Valid

Uninstalling Previous Versions of Visual Studio 2005

If you have installed previous versions of Visual Studio 2005, such as Beta 1 or Community Technical Preview (CTP) builds of Visual Studio Team Suite, Visual Studio Standard or Visual Studio Professional, then you must uninstall the pre-Beta2 components in the exact order below before beginning to install any version of Visual Studio 2005 Beta 2. Go to the Control Panel and launch Add/Remove Programs Remove “Microsoft Visual Studio 2005 Professional” or other related IDE installs such as (Visual Studio Professional/Standard/Enterprise Architect/Team Suite, etc.

lennybacon.com Valid

You shall not click on the "favicons" link

Mozilla Suite and Firefox “favicons” LINK Code Execution Exploit […]a user clicks on a link, this code will create and launch the file c:\trojan.bat (on Windows). On Linux and Mac OS X this code will create the file ~/trojan or /trojan[…]

lennybacon.com Valid

Microsoft Enterprise Library Logging Block compared to Log4net

Loren Halvorson: Microsoft recently released 1.0 of the Enterprise Library. I was curious how the Logging block stacked up to Log4net… Via Peter

lennybacon.com Valid

Using IFused with the FCKEditor

Miroslaw Maslyk has sent this small tutorial on how to use iFused with the FCKEditor. Thank you very much Miro ;-) Rename file FCKeditor\editor\dialog\fck_image.html to fck_image.aspx. On the top this file (fck_image.aspx) add this code: <%@ Page Language="C#" %> <%@ Register TagPrefix="Uploader" namespace="StaticDust.Web.UI.Controls" assembly="StaticDust.Web.UI.Controls.UploadDialog" %> <script runat="server"> protected void Page_Load(Object source, EventArgs e) { StaticDust.Web.UI.Controls.UploadDialogButton _u = new StaticDust.Web.UI.Controls.UploadDialogButton(); _u.UploadDirectory = "~/images"; _u.ReturnFunction = "SetUrl()"; btnBrowse.Attributes["OnClick"] = "javascript:" + _u.JavascriptLink; } </script> Find btnBrowse input html tag , add runat=“server” attribute and close tag (/>)

lennybacon.com Valid

MSDN Connection in Germany

http://www.microsoft.com/germany/msdn/connection/

lennybacon.com Valid

Pedition gegen Klingeltonwerbung

Unter der URL http://www.cell5.com/ kann man an einer Unterschriften-aktion gegen sweety, Jamba und Co. teilnehmen - tolle sache :-D

lennybacon.com Valid

@BASTA! #1

Yesterday I arrived in Frankfurt with a delay of 2 hours (thanks to the Deutsche Bahn). Monday is Workshop day and so I just sat arround and did the same stuff that I would normally do in the office. I’m currently working on an ASP.NET project that uses v. 1.1 but will be converted to 2.0 with it’s “Go-Live”. So I need to make sure that I don’t do things that will stand in the way in the next version.

lennybacon.com Valid

newtelligenced Part two

I joined newtelligence® AG last year for a practical course, Clemens and I mentioned that in our blogs before. I had a wonderful time so far (and I’m sure it’ll continue), nice collegues (I’ll link only the bloggers Clemens, Joerg and Michael), new challenges and interesting task, talks and times. Today it’s official: From today on i’m a “Software Engineer” for newtelligence® AG.

lennybacon.com Valid

What ASP.NET Developers Should Always Do

[Dino Esposito] …Introduced with ASP.NET 1.1, ViewStateUserKey is a string property on the Page class that only few developers admit to be familiar with. Why? Let’s read what the documentation has to say about it. void Page_Init (object sender, EventArgs e) { ViewStateUserKey = Session.SessionID; } There will be a few more that are familiar with that now :-)

lennybacon.com Valid

Thoemmi und die blogs

Thomas Freudenberg, a friend of mine and member of my usergroup, has started a interesting discussion about .Text (a blogengine) and it’s future. He had a lot of feedback on that and posted another entry to clear up things a bit. It came out that he is not the only one asking ‘Where’s .Text going to?’. All I can tell you is: if you are not satisfied - use dasBlog ;-)

lennybacon.com Valid

The UploadDialogControl v. 2.3.1.10088 and beyond

I currently working again on iFused (Internet File Upload Select and image Editing Dialog). Yesterday i released the version 2.3.1.10088: support for “~” as palceholder for the application path code optimization performance optimization I have a lot of things to do on based on the wishlist and loads of mail in my inbox. This is what i plan to catch until 1st. of february: Use physical path outside of the application root as UploadDirectory Database as source for files and directorys

lennybacon.com Valid

Code of the Week

Stephan posted “Tool der Woche” (tool of the week) - T.YogaRamanan has posted some code that allows undelete in NTFS on codeproject.com

lennybacon.com Valid

CSS Attribut selector to style different types of INPUT

I found this: input[type="button"] { color: red; } over here and like other guys (see feedback) i’ve never gooled for it - thx.