.NETte Dinge und noch einiges mehr ;-) RSS 2.0
 Thursday, June 14, 2007

Eine sehr gute Zusammenstellung von Richtlinien für eine erfolgreiche und vor allem effiziente Entwicklung hat Patrick zusammengestellt.

Thursday, June 14, 2007 8:59:52 AM (W. Europe Standard Time, UTC+01:00)  #    Comments [0] -
Entwicklung
 Wednesday, June 13, 2007

Wie die Listen der hübschesten Frauen zusammengestellt werden... :-)

Via Steffen

Wednesday, June 13, 2007 12:03:29 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [0] -
Fun
 Monday, June 11, 2007

Der Name Castle Project flog mir schon einige Male ins Gesicht, blieb aber nicht hängen. Ist das nicht schön umschrieben? ;-) Jetzt bin ich wieder darauf gestoßen und habe ich mal ein wenig umgesehen auf der Seite. Insbesondere das ActiveRecord Tool scheint mir sehr interessant. Unter der Haube arbeitet es mit NHibernate zusammen. Nach außen hin werden aber keine Kenntnisse von NHibernate benötigt. Es kommt sogar noch besser. Als störend empfand ich immer die zusätzlichen hbm.xml Templates. Ähnlich wie bei Gentle.NET gibt es bei ActiveRecord die Möglichkeit diese Attribute direkt in der Businessklasse zu definieren. Hier ein Beispiel:

[ActiveRecord] public class Category : ActiveRecordBase { private int id; private string name; private Category parent; private IList subcategories; [PrimaryKey] public int Id { get { return id; } set { id = value; } } [Property] public string Name { get { return name; } set { name = value; } } [BelongsTo("parent_id")] public Category Parent { get { return parent; } set { parent = value; } } [HasMany(typeof(Category))] public IList SubCategories { get { return subcategories; } set { subcategories = value; } } public static Category[] FindAll() { return (Category[]) ActiveRecordBase.FindAll(typeof(Category)); } }

Mal sehen wann ich die Tage etwas Zeit finde, mich damit ein wenig mehr zu beschäftigen.

Monday, June 11, 2007 1:24:29 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [0] -
Entwicklung |  .NET | Software
 Wednesday, June 06, 2007

Wer auf der Suche nach einer netten Unterhaltung für zwischendurch ist, findet hier http://www.doolwind.com/index.php?page=11 einen Test zur Persönlichkeit eines Entwicklers. Mein Ergebnis möchte ich natürlich nicht vorenthalten ;-)

Your programmer personality type is:
PHSB
You're a Planner.
You may be slow, but you'll usually find the best solution. If something's worth doing, it's worth doing right.
You like coding at a High level.
The world is made up of objects and components, you should create your programs in the same way.
You work best in a Solo situation.
The best way to program is by yourself. There's no communication problems, you know every part of the code allowing you to write the best programs possible.
You are a liBeral programmer.
Programming is a complex task and you should use white space and comments as freely as possible to help simplify the task. We're not writing on paper anymore so we can take up as much room as we need.

Via The Ado Guy

Wednesday, June 06, 2007 10:35:24 AM (W. Europe Standard Time, UTC+01:00)  #    Comments [0] -
Entwicklung | Fun
 Monday, June 04, 2007

In letzter Zeit häufen sich bei mir ungewollte Trackbacks. Da ich nicht jeden Tag 30 solcher Pornolinks entfernen möchte, deaktiviere ich die Trackbackfunktion vorübergehend. Leider :-(

Monday, June 04, 2007 6:29:18 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [2] -
Blog
 Thursday, May 31, 2007

(This is an extended comment to Omar's Post)

 

I have reduced the working example only for drag and drop functions. There is no db access or other stuff. I test it with different versions of ajaxtoolkit (1.0.10123.0, 1.0.10301.0, 1.0.61214.0). It works with all versions. I paste the default theme from dashboard, although it works without it (so you've to delete Theme="Default" from default.aspx line 1).
The AnimationExtender has to be in there ("activate" the ajaxtoolkit, see omar's comment).

So i have zipped my project file. You can download it here or i show the important information below.

 

default.aspx
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default"
    Theme="Default" EnableSessionState="False" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<%@ Register Assembly="CustomDragDrop" Namespace="CustomDragDrop" TagPrefix="cdd" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>

    <script type="text/javascript">
    function onDrop( sender, e )
    {
        var container = e.get_container();
        var item = e.get_droppedItem();
        var position = e.get_position();
       
        //alert( String.format( "Container: {0}, Item: {1}, Position: {2}", container.id, item.id, position ) );
       
        var instanceId = parseInt(item.getAttribute("InstanceId"));
        var columnNo = parseInt(container.getAttribute("columnNo"));
        var row = position;
       
        //i doesn't want any db access
        //WidgetService.MoveWidgetInstance( instanceId, columnNo, row );
    }
    </script>

    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server" EnablePartialRendering="true"
            LoadScriptsBeforeUI="false" ScriptMode="Release" />
        <div>
            <asp:Panel ID="AddContentPanel" runat="Server" CssClass="widget_showcase" Visible="false">
                <div style="float: left">
                    <b>Click on any of the item to add it to your page.</b></div>
                <div style="float: right">
                    <asp:LinkButton ID="WidgetListPreviousLinkButton" runat="server" Visible="false"
                        Text="&lt; Previous" />
                    |
                    <asp:LinkButton ID="WidgetListNextButton" runat="server" Visible="false" Text="Next &gt;" /></div>
                <br />
                <br />
            </asp:Panel>
            <ajaxToolkit:AnimationExtender ID="AddContentPanelAnimation" runat="server" TargetControlID="AddContentPanel">
                <animations>
                    <OnLoad>
                        <FadeIn minimumOpacity=".2" />
                    </OnLoad>
                </animations>
            </ajaxToolkit:AnimationExtender>
            <asp:UpdatePanel ID="LeftUpdatePanel" runat="server" UpdateMode="Conditional">
                <ContentTemplate>
                    <asp:Panel ID="LeftPanel" runat="server" class="widget_holder" columnNo="0">
                        <asp:Panel ID="Widget" CssClass="widget" runat="server">
                            <asp:Panel ID="WidgetHeader" CssClass="widget_header" runat="server">
                                <asp:UpdatePanel ID="WidgetHeaderUpdatePanel" runat="server" UpdateMode="Conditional">
                                    <ContentTemplate>
                                        <table class="widget_header_table" cellspacing="0" cellpadding="0">
                                            <tbody>
                                                <tr>
                                                    <td class="widget_title">
                                                        <asp:LinkButton ID="WidgetTitle" runat="Server" Text="Widget Title" /><asp:TextBox
                                                            ID="WidgetTitleTextBox" runat="Server" Visible="False" /><asp:Button ID="SaveWidgetTitle"
                                                                runat="Server" Visible="False" Text="OK" /></td>
                                                </tr>
                                            </tbody>
                                        </table>
                                    </ContentTemplate>
                                </asp:UpdatePanel>
                            </asp:Panel>
                        </asp:Panel>
                        <div id="DropCue1" class="widget_dropcue">
                        </div>
                    </asp:Panel>
                    <cdd:CustomDragDropExtender ID="CustomDragDropExtender1" runat="server" TargetControlID="LeftPanel"
                        DragItemClass="widget" DragItemHandleClass="widget_header" DropCueID="DropCue1"
                        OnClientDrop="onDrop" />
                </ContentTemplate>
            </asp:UpdatePanel>
        </div>
    </form>
</body>
</html>

Thursday, May 31, 2007 11:15:36 AM (W. Europe Standard Time, UTC+01:00)  #    Comments [3] -
.NET |  ASP.NET

livewriterDie zweite Beta vom Windows Live Writer  ist erschienen. Insgesamt sieht die Oberfläche recht aufgeräumt und "schicker" aus. Vorher hatte ich immer wieder Darstellungsprobleme, weil ich Skins für Windows XP verwende.

Die Einstellungen von der ersten Beta werden auch ohne Probleme übernommen. Die Plugins müssten noch getestet werden. Einige, wie z.B. das Table Plugin ist überflüssig geworden, da der Live Writer jetzt die Funktion bereits mitbringt.

Via Live Writer Blog

Thursday, May 31, 2007 9:28:22 AM (W. Europe Standard Time, UTC+01:00)  #    Comments [0] -
Blog
 Wednesday, May 30, 2007

Gojko hat zwei Tests für Webapplikationen vorgestellt. FitNesse (FIT) und Selenium (Javascript).

Via Roy

Wednesday, May 30, 2007 4:12:26 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [0] -
Entwicklung |  ASP.NET

Bei der Installation von der LINQ CTP (May 2006) gibt es Schwierigkeiten, wenn sich ein nichtenglisches Visual Studio auf dem Rechner befindet. Lange Zeit habe ich deshalb einen Bogen um LINQ gemacht, weil die workarounds einfach zu umständlich erschienen. Doch irgendwann konnte ich mich dem doch nicht verwehren...

In der msdn ist ein workaround dazu. Nicht Abschrecken von der zusätzlichen Installation von Visual Studio Express und dem Anlegen von englischen Benutzergruppen....

Wednesday, May 30, 2007 10:20:51 AM (W. Europe Standard Time, UTC+01:00)  #    Comments [0] -
Entwicklung |  Visual Studio
 Tuesday, May 29, 2007

Auf www.codeplex.com ist ein neues Release der Software Factory erschienen. Das werde ich bei Gelegenheit doch gerne testen :-)

Via msdn Austria

Tuesday, May 29, 2007 8:53:48 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [0] -
Entwicklung |  .NET |  Visual Studio
 Tuesday, May 22, 2007

Ein ImageButton der als Control in ein GridView Control eingefügt wurde, wirft beim Klick einen Fehler mit dem Hinweis die EventValidation auf false zu setzen.

Nach längerem Suchen habe ich folgenden Hinweis mit folgenden Möglichkeiten gefunden.

Fehlerbeschreibung: https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=248819

Lösungen und Workarounds: http://zifiglio.blogspot.com/2006/12/imagebutton-control-nested-in-gridview.html

Tuesday, May 22, 2007 3:09:26 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [0] -
ASP.NET | Entwicklung |  ASP.NET
 Monday, May 21, 2007

Unter http://www.weblogmatrix.org/ können dir verschiedensten Blogsysteme miteinander verglichen werden. Sehr schöne Übersicht für weitere Recherchen.

Monday, May 21, 2007 1:21:02 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [0] -
Blog | Software
Archive
<June 2007>
SunMonTueWedThuFriSat
272829303112
3456789
10111213141516
17181920212223
24252627282930
1234567
About the author/Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2009
Christian Stein
Sign In
Statistics
Total Posts: 238
This Year: 0
This Month: 0
This Week: 0
Comments: 20
All Content © 2009, Christian Stein
DasBlog theme 'Business' created by Christoph De Baene (delarou)