SharePoint Latin Rotating Header Image

June, 2005:

DataTierGenerator still alive

This may 10 my self and Geraldo Medrano a C# developer of Monterrey, NL Mexico release a GPL data access layer code generator called DataTierGenerator – Enterprise Library Edition



Justamente el 10 de Mayo del presente ano Geraldo Medrano y yo Haaron Gonzalez liberamos a travez de mi weblog laboral una herramienta GPL llamad DataTierGenerator – Enterprise Library Edition la cual es un generador de capas logicas de acceso a datos que hace uso del Data Access Application Block del Enterprise Library en aquel tiempo le enviamos a Ron Jacobs Product Manager del Pattern & Practices Group el generador para que lo diera un vistazo y bueno pues le gusto incluso lo llego a presentar en un webcast (ask p&p). Pero hoy al escuchar su podcast que constantemente produce hace referencia al DataTierGenerator y bueno me da gusto compartir la sorpresa y saber que DataTierGenerator sigue dando de que hablar

Feel the ASP.NET 2.0 power

Check this web site, it’s running .NET Framework 2.0 and ASP.NET 2.0. It’s really fast. Im impress.


Do you want to know how, when, where, for and why is so exiting the new PDC??? The last show of .NET Rocks the internet audio talk show for .NET developers has all the answer we might have about he new PDC.

Pattern & Practices Community

Hi to all, well here i am waiting and waiting. Im on site, working with our client but right know the time is: 7:29 AM and here i am, outside the client instalations and it looks that the wireless is Excellent. This week Microsoft release a new website deboted to communities, the name is Pattern & Practices Community. It’s look like is a great oportunity to share Pattern & Practices content, code and tools.

I am a big fan of p&p.

Great .NET Mexico DF User Group Talk

The pass Wednesday June 15, I give an ASP.NET 2.0 talk for the .NET Mexico City User Group and the presentation was about the data access objects we can use in this new version of ASP.NET.

Do you know what DataSource Controls in ASP.NET 2.0 are?

DataSource Controls are and intermediate object between your database calls and your data-binding controls, you know, in ASP.NET 1.1 we need to write ADO.NET code using connections/command objects and DataSet or DataReader. Know in ASP.NET 2.0 we only need a knew set controls called xxxDataSource (xxx = Sql, Object, Access, Xml, SiteMap) witch control the interactions whit a physical data source, the nice thing is that you don’t write any line of code, only with declarative tags you can configure this object and used to bind you data with you controls.

<asp:SqlDataSource ID=”Employees” RunAt=”server”  ConnectionString=”server=localhost;database=mydatabase;integrated security=true” SelectCommand=”select FirstName, LastName from Employees” />

<asp:DataGrid DataSourceID=” Employees” RunAt=”server” />

As you can see in this basic example we use the SqlDataSource object to declare who is our data source (connectionstring) and what data I need (SelectCommand).  Then in the DataGrid control we only specify (DataSourceID) what DataSource is going to be our intermediate database object.

The result is cero code to bind our datagrid to our employees table.

This control is very rich because we can specify insert, update, delete command and also parameters that maybe come from QueryString, Forms, Controls, etc. If you need to connect with other data sources like Oracle, with the ProviderName property you can specify a Manage Provider like “System.Data.OracleClient” and boooommmm, that’s all. By the way, the connection string it’s different.

What if you want to use code?

Putting the connectionsstring and SQL Sintax in our aspx code it’s not a great practice, so, you maybe asking, and where the code is?, what if I want to use ADO.NET code. Well one answer is the ObjectDataSource Control.

ObjectDataSource control has the same behavior describe in SqlDataSource but the data source we can use is a middle-tier component. So in this component you maybe have the Insert, Update, Delete, Select methods and you only use the SelectMethod, UpdateMethod, DeleteMethos, UpdateMethod properties to declaratively associate you class members with this datasource control.

Another great big usefully features this controls have, you can enable caching. Well I have to go, but latter im going to write more about this great data access technology.

Nothing to blog about

Right know i am very bussy working on site, so, i don’t have much time to blog about the talk a did yesturday for Mexico DF .NET User Gruop hope maybe saturday or sunday im going to blog about it.

Building Data-Driven ASP.NET 2.0 Applications Talk

This Wednesday June 15 I’m going to give a ASP.NET 2.0 talk for the Mexico City .NET User Group we will focus on Building Data-Driven ASP.NET 2.0 applications, if for any reason you are here in Mexico, please let me know.

The agenda:

  • 4:30 – 5:00 Registration
  • 5:00 – 5:50 Introduction to SOA (Services Oriented Architecture) by Misael Monterroca
  • 5:50 – 6:00 Book drawing
  • 6:00 – 6:50 Localized .NET applications by Octavio Telis
  • 6:50 – 7:00 Break
  • 7:00 – 7:50 Building Data-Driven ASP.NET 2.0 applications by Haaron González
  • 7:50 – Book drawing and close

Register at:

Event ID  1032275921


Note: This talks are going to be in Spanish.

Yes, yes, yes I pass now I’m MCAD

Hi people, yesterday I present my 70-320 Exam and guess what, I passed with a score of 870. Know I am a MCAD and I’m so happy that it’s late known, to celebrate all night, so see you.

Enterprise Template for Application Architecture

Projects are often big, complex and critical, good help sometimes is hard to find, we need to reuse best practices and follow some rules to establish a good architecture.  Enterprise Templates are Visual Studio .NET Templates Projects that help capture and share best practices as application construction toolkits.

With Enterprise Templates you can define:

  • Application Structure (things to include)
  • Development Policy (things to exclude)
  • Guidance

Ok, know let me tell you that the Microsoft Pattern & Practices Group develops a guide called Application Architecture for .NET: Design Application and Services this document contains the official recommendation for designing distributed applications with .NET; here you can find how to architect a .NET solution, the concept of physical tiers (presentation, business layer, data layer) and the logical partitioning of each tier in to components also the deployment patterns you can use.

Enterprise Templates + Application Architecture for .NET = Enterprise Template for Application Architecture: Workspace Home

Enterprise Template for Application Architecture it’s the combination of the official recommendations for architecting .NET application and the incredible integration with Visual Studio .NET 2003 to really enforce development policies based on this application architecture and also you can directly access to the Pattern & Practices Guides and Blocks from the Dynamic Help Window.

As simple as download and install the Setup for VSNET2003  MSI file, make shure you dont have running Visual Studio .NET 2003, when you lauch VS.NET 2003 know you can select File – New – Projects and you will see Application Architecture for .NET Project Type and in the Template Box select a template, my recomendation is to use the second template and boom, know you have a reusable application structure with policies and help.

Dim whatsHappend As My.Professional.Career

I feel that I don’t have a perfect, great and fluent English, but I do my best, I know I need more practice so for this reason from know on I will be writing more often. Fist I want to say that I have a strange feeling because I didn’t attend Teched 2005 this year, but I know maybe next year I will be there.

Right know I feel happy because I am MCP and soon I will be a MCAD. This Friday Jun 10 I’m going to present the 70-310 certification exams.

  • COM+ and Serviced Components not a problem

  • Web Services not a problem

  • Data and manipulate XML not a problem

  • Deploying not a problem

  • .NET Remoting, mmm mmmm something to worry about

Wish me look.