LLBLGen Pro v2 with ASP.NET article posted.

Posts   
 
    
Otis avatar
Otis
LLBLGen Pro Team
Posts: 39612
Joined: 17-Aug-2003
# Posted on: 09-Jun-2006 16:20:54   

I've posted my article about ASP.NET 2.0 and LLBLGen Pro v2.0:

http://weblogs.asp.net/fbouma/archive/2006/06/09/LLBLGen-Pro-v2.0-with-ASP.NET-2.0.aspx

Unfortunately, due to the code blocks I had to change the blog skin to this skin till I've changed it to a more appropriate one... Updated the layout, it now looks more pleasant for the eye wink

Frans Bouma | Lead developer LLBLGen Pro
swallace
User
Posts: 648
Joined: 18-Aug-2003
# Posted on: 10-Jun-2006 01:17:25   

That's one of the best write-ups of the product I've seen. Demonstrates quite clearly the power of version 2.0, and provides a rebuttal to the always forthcoming DLinq.

I'll take a moment here though to say I was disappointed in the videos... I thought we would finally hear your voice!

stuck_out_tongue_winking_eye

sparmar2000 avatar
Posts: 341
Joined: 30-Nov-2003
# Posted on: 10-Jun-2006 04:56:14   

Frans

This seems like an ideal 'Quick start to LLBLGen Pro' material sunglasses .

It also seems ideal as part of the documentation on the main site, I feel.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39612
Joined: 17-Aug-2003
# Posted on: 12-Jun-2006 10:29:17   

swallace wrote:

That's one of the best write-ups of the product I've seen. Demonstrates quite clearly the power of version 2.0, and provides a rebuttal to the always forthcoming DLinq.

Thanks! smile

I'll take a moment here though to say I was disappointed in the videos... I thought we would finally hear your voice! stuck_out_tongue_winking_eye

If you have a sleeping disorder, I could add some background commentary next time wink stuck_out_tongue_winking_eye

Serious: I didn't think of narrating the video, as that would take way more time to get it right. The video now took me an hour or so. simple_smile

(ps: you still haven't sent me a reply on my email, should I re-email you ? simple_smile )

sparmar2000 wrote:

Frans

This seems like an ideal 'Quick start to LLBLGen Pro' material sunglasses . It also seems ideal as part of the documentation on the main site, I feel.

Yes, it's the plan to have more of these video's on the main site together with more tutorials. The video's are too big to include them inside the docs however, so we'll store them in a central place.

Frans Bouma | Lead developer LLBLGen Pro
Jez
User
Posts: 198
Joined: 01-May-2006
# Posted on: 12-Jun-2006 20:52:07   

That was a very interesting read - very well written and clearly shows just how powerful LLBLGen is.

Do you have any plans to leverage the LINQ syntax in future versions of LLBLGen?

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39612
Joined: 17-Aug-2003
# Posted on: 12-Jun-2006 22:25:46   

Jez wrote:

That was a very interesting read - very well written and clearly shows just how powerful LLBLGen is.

Thanks! smile

Do you have any plans to leverage the LINQ syntax in future versions of LLBLGen?

Absolutely! Sometime this year I hope to have some work in progress assembly which makes Linq stuff usable with LLBLGen Pro. It's not planned yet when it has to be done though.

Frans Bouma | Lead developer LLBLGen Pro
Jez
User
Posts: 198
Joined: 01-May-2006
# Posted on: 13-Jun-2006 09:33:53   

Brilliant, I'm looking forward to it already simple_smile

bertcord avatar
bertcord
User
Posts: 206
Joined: 01-Dec-2003
# Posted on: 13-Jun-2006 22:42:52   

what did you use to format your code in your blog posting?

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39612
Joined: 17-Aug-2003
# Posted on: 13-Jun-2006 23:42:02   

bertcord wrote:

what did you use to format your code in your blog posting?

A macro for vs.net I downloaded somewhere. It works much easier than the add-in. I don't know the exact url. It's the macro written by Jeff Atwood from codinghorror.com simple_smile

Frans Bouma | Lead developer LLBLGen Pro
superman
User
Posts: 11
Joined: 06-Jun-2006
# Posted on: 15-Jun-2006 09:46:09   

I noticed in the article you said,

Although I could have setup some combo-boxes to produce a filter at runtime through the datasource control completely declarative

Could you give a short HTML example of how to do this?

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39612
Joined: 17-Aug-2003
# Posted on: 15-Jun-2006 10:18:00   

superman wrote:

I noticed in the article you said,

Although I could have setup some combo-boxes to produce a filter at runtime through the datasource control completely declarative

Could you give a short HTML example of how to do this?


<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2" %>

<%@ Register Assembly="SD.LLBLGen.Pro.ORMSupportClasses" Namespace="SD.LLBLGen.Pro.ORMSupportClasses" TagPrefix="cc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
        Master detail with 2 grids, 2 datasources and 1 combobox filter for the master set.<br />
        <br />
        Select country:&nbsp;
        <asp:DropDownList ID="_countrySelector" runat="server" AutoPostBack="true">
            <asp:ListItem>Germany</asp:ListItem>
            <asp:ListItem>Brazil</asp:ListItem>
            <asp:ListItem>Canada</asp:ListItem>
            <asp:ListItem>UK</asp:ListItem>
        </asp:DropDownList><br />
        <br />
        Customers:<br />
        <asp:GridView ID="_customersGrid" runat="server" AutoGenerateColumns="False" DataKeyNames="CustomerId" DataSourceID="_customersDS" OnSelectedIndexChanged="_customersGrid_SelectedIndexChanged">
            <Columns>
                <asp:CommandField ShowSelectButton="True" />
                <asp:BoundField DataField="CustomerId" HeaderText="CustomerId" ReadOnly="True" SortExpression="CustomerId" />
                <asp:BoundField DataField="CompanyName" HeaderText="CompanyName" SortExpression="CompanyName" />
                <asp:BoundField DataField="ContactName" HeaderText="ContactName" SortExpression="ContactName" />
                <asp:BoundField DataField="ContactTitle" HeaderText="ContactTitle" SortExpression="ContactTitle" />
                <asp:BoundField DataField="Address" HeaderText="Address" SortExpression="Address" />
                <asp:BoundField DataField="City" HeaderText="City" SortExpression="City" />
                <asp:BoundField DataField="Region" HeaderText="Region" SortExpression="Region" />
                <asp:BoundField DataField="PostalCode" HeaderText="PostalCode" SortExpression="PostalCode" />
                <asp:BoundField DataField="Country" HeaderText="Country" SortExpression="Country" />
                <asp:BoundField DataField="Phone" HeaderText="Phone" SortExpression="Phone" />
                <asp:BoundField DataField="Fax" HeaderText="Fax" SortExpression="Fax" />
            </Columns>
        </asp:GridView>
        <cc1:LLBLGenProDataSource2 ID="_customersDS" runat="server" AdapterTypeName="NWTest.DatabaseSpecific.DataAccessAdapter, NWTestDBSpecific" DataContainerType="EntityCollection" EntityFactoryTypeName="NWTest.FactoryClasses.CustomersEntityFactory, NWTest">
            <SelectParameters>
                <asp:ControlParameter ControlID="_countrySelector" Name="Country" PropertyName="SelectedValue" />
            </SelectParameters>
        </cc1:LLBLGenProDataSource2>
        <br />
        Orders:<br />
        <asp:GridView ID="_ordersGrid" runat="server" AutoGenerateColumns="False" DataKeyNames="OrderId" DataSourceID="_ordersDS">
            <Columns>
                <asp:BoundField DataField="OrderId" HeaderText="OrderId" ReadOnly="True" SortExpression="OrderId" />
                <asp:BoundField DataField="CustomerId" HeaderText="CustomerId" SortExpression="CustomerId" />
                <asp:BoundField DataField="ShipName" HeaderText="ShipName" SortExpression="ShipName" />
                <asp:BoundField DataField="ShipAddress" HeaderText="ShipAddress" SortExpression="ShipAddress" />
                <asp:BoundField DataField="ShipCity" HeaderText="ShipCity" SortExpression="ShipCity" />
                <asp:BoundField DataField="ShipRegion" HeaderText="ShipRegion" SortExpression="ShipRegion" />
                <asp:BoundField DataField="ShipPostalCode" HeaderText="ShipPostalCode" SortExpression="ShipPostalCode" />
                <asp:BoundField DataField="ShipCountry" HeaderText="ShipCountry" SortExpression="ShipCountry" />
            </Columns>
        </asp:GridView>
        <cc1:LLBLGenProDataSource2 ID="_ordersDS" runat="server" AdapterTypeName="NWTest.DatabaseSpecific.DataAccessAdapter, NWTestDBSpecific" DataContainerType="EntityCollection" EntityFactoryTypeName="NWTest.FactoryClasses.OrdersEntityFactory, NWTest" LivePersistence="False" OnPerformSelect="_ordersDS_PerformSelect">
            <SelectParameters>
                <asp:ControlParameter ControlID="_customersGrid" Name="CustomerId" PropertyName="SelectedValue" />
            </SelectParameters>
        </cc1:LLBLGenProDataSource2>

    </form>
</body>
</html>

Notice the select parameters simple_smile

Frans Bouma | Lead developer LLBLGen Pro
mafti23
User
Posts: 13
Joined: 12-Jun-2006
# Posted on: 15-Jun-2006 11:34:06   

any chance to dl the demo-project for reference? sunglasses

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39612
Joined: 17-Aug-2003
# Posted on: 15-Jun-2006 11:40:24   

mafti23 wrote:

any chance to dl the demo-project for reference? sunglasses

not yet simple_smile

Frans Bouma | Lead developer LLBLGen Pro