Este é um post disponível para assinantes MVPVideo: Mini-Curso Aplicação Web com N camadas, DAAB e CodeSmith-Parte IV-Utilizando o gerador de Códigos CodeSmith
Veja como trabalhar como o gerador de códigos CodeSmith. Neste vídeo o autor mostra como gerar as classes do projeto clínica.
Título: Mini-Curso Aplicação Web com N camadas, DAAB e CodeSmith-Parte IV-Utilizando o gerador de Códigos CodeSmith
Tempo: 14:27
Mini resumo: Fabio Galante apresenta no quarto vídeo como trabalhar como o gerador de códigos CodeSmith. Neste vídeo o autor mostra como gerar as classes do projeto clínica.
Tecnologias utilizadas: Visual Studio 2008, Asp.Net 3.5, C#, DAAB e Codesmith.
Palavras chaves: Asp.Net 3.5, C#, Visual Studio 2008, Enterprise Library, gerador de códigos, Ado.Net.

2 COMENTÁRIOS
CodeSmith is a template-based code generator that allows you to generate code for any text language. The code generated can be customized by the use of properties. A property can be any .NET object that has a designer (most built in .NET types have designers already) and can be as simple as a boolean property that allows you to conditionally add or remove code from the result, to an object such as the TableSchema object (included in SchemaExplorer) which provides access to everything you could possibly want to know about a database table. CodeSmith comes with many standard property types and is 100% extensible by allowing the user to create custom property types.
CodeSmith's syntax is almost identical to ASP.NET. So if you are familiar with ASP.NET then you should be able to quickly learn the template syntax. You can use the C#, VB.NET or JScript.NET languages in your templates and your templates can output any ASCII-based language.
CodeSmith enables software developers to efficiently:
- Reduce repetitive coding
- Generate your code in less time with fewer bugs
- Produce consistent code that adheres to your standards
- Create your own custom templates for any language
Curso(s):

download

1
0
