iT Synergy Blogs

Growing Innovation - Soluciones a problemas reales

  • Facebook
  • Instagram
  • LinkedIn
  • Phone
  • Twitter
  • YouTube

Copyright © 2026 · iT Synergy·

Incluir plantilla .cst en NetTiers-CodeSmith

March 24, 2011 By Jaime Alonso Páez torres Leave a Comment

En mi caso, lo que requeria era incluir una clase en el  proyecto de Services que es una de las capas que construye NetTiers.

Los siguientes son los pasos que se deben seguir:

  1. Se debe crear la nueva plantilla .cst y colocarla donde se requiere que quede ubicada la clase a generar. Para mi caso deseaba que la clase quede generada en el proyecto de Services y la ruta es “…\NetTiers\Components”.
  2. Adicionar la referencia de la nueva plantilla .cst a los siguientes archivos:
  • …\NetTiers\TemplateLib\FrameworkTemplates.cst
  • …\NetTiers\TemplateLib\CreateTemplates.cst

De la siguiente forma:

En FrameworkTemplates.cst

<%@ Register Name=”NuevaPlantilla” Template=”../Components/NuevaPlantilla.cst” MergeProperties=”False” ExcludeProperties=”” %>

En CreateTemplates.cst

CodeTemplates.Add(“NuevaPlantilla.cst“, base.CreateTemplate<NuevaPlantilla>()); this.PerformStep();

3. Modificar …\Nettiers\NetTiers.cst, para adicionar la referencia de la nueva plantilla, en el sitio donde se definen las plantilla para el proyecto donde se desea generar la clase:

XmlElement iSecurityContextViewsNode = AddFileNode(commonNode, “NuevaPlantilla.cs“);
//Se establece los valores de las propiedades que maneje la nueva plantilla
this.GetTemplate(“NuevaPlantilla.cst“).SetProperty(“NameSpace”, ComponentsNameSpace);
this.GetTemplate(“NuevaPlantilla.cst“).SetProperty(“BLLNameSpace”, BLLNameSpace);
this.GetTemplate(“NuevaPlantilla.cst“).SetProperty(“DALNameSpace”, DALNameSpace);
this.RenderToFile(“NuevaPlantilla.cst“, rootPathComponents + \\NuevaPlantilla.cs, true);

4.  Adicionar referencia de la nueva plantilla en …\NetTiers\VisualStudio\vsnet2005.project.cst.

Se debe ubicar las lineas donde se estan incluyendo las clases del proyecto o capa donde se va a incluir la nueva clase y luego incluir:

<Compile Include=”<%=ComponentsSubFolder%>NuevaPlantilla.cs“>
<SubType>Code</SubType>
</Compile>

5. Compilar NetTiers.cst en CodeSmith Studio y listo !!!!

Filed Under: CodeSmith - NetTiers

Grupo de usuarios autenticados

March 22, 2011 By Luis Carlos Bernal Ávila Leave a Comment

 

 

Escribo este corto post porque siempre olvido exactamente como se escribe el grupo de usuarios autenticados.

NT AUTHORITY\authenticated users ;

Espero a ustedes también les pueda ser de utilidad.

Filed Under: SharePoint 2010

ESB Toolkit Dynamic Responses in Chained Operations Using Itineraries.

March 22, 2011 By Marco Antonio Hernández Prado Leave a Comment

To manage dynamic responses within the ESB when in its services throw either a valid response or a faulted one, we implemented the following scenario that may help you with similar cases.

First you have to take into account serveral important points:

  • An itinerary can define dynamically its response paths. Within an itinerary you can define if a service will respond or not. This isn’t quite a visible property, but it can be used to define if the itinerary service will respond to the client or to the following  service.

This will be the scenario used in our use case.

  • An orchestration can handle one-way or two-way processes, seen as a process that can be design from the itineraries. You don’t have to explicitly place the two-way ports to handle this type of processes. In some cases, handling orchestrations with two-way ports doesn’t allow a simple management of the process since the process is always going to demand for a response when the Decision shapes are used. This means that the process will be required to return a response  in all branches of the Decide Shape (“If”,“Else”, etc). Sometimes this becomes too complex to deal with.

Filed Under: BizTalk, BizTalk 2010 configurations, BizTalk Application, BizTalk Services, ESB, SOA

  • « Previous Page
  • 1
  • …
  • 82
  • 83
  • 84
  • 85
  • 86
  • …
  • 112
  • Next Page »

Blog Authors

avatar for Marco Antonio Hernández PradoMarco Antonio Hernández Prado
avatar for Jaime Alonso Páez torresJaime Alonso Páez torres
avatar for Luis Carlos Bernal ÁvilaLuis Carlos Bernal Ávila
avatar for Ana María Orozco ZuluagaAna María Orozco Zuluaga
avatar for Juan Camilo Zapata MontúfarJuan Camilo Zapata Montúfar
avatar for Sonia Elizabeth Soriano ContrerasSonia Elizabeth Soriano Contreras
avatar for Diana Díaz GrijalbaDiana Díaz Grijalba
avatar for Carlos Alberto Rueda ValenzuelaCarlos Alberto Rueda Valenzuela
avatar for Bernardo Enrique Cardales AcuñaBernardo Enrique Cardales Acuña
avatar for Alexandra Bravo RestrepoAlexandra Bravo Restrepo
avatar for Juan Alberto Vélez CasadiegoJuan Alberto Vélez Casadiego
avatar for Jhon Jairo RodriguezJhon Jairo Rodriguez
avatar for Diana Paola Padilla BeltránDiana Paola Padilla Beltrán
avatar for Alejandro Garcia ForeroAlejandro Garcia Forero
avatar for Gustavo Adolfo Echeverry LópezGustavo Adolfo Echeverry López
avatar for Jesús Javier Hernández LópezJesús Javier Hernández López
avatar for Yully Arias CastilloYully Arias Castillo
avatar for Brayan RuizBrayan Ruiz
avatar for Carlos Andrés Vélez CasadiegoCarlos Andrés Vélez Casadiego
avatar for Odahir Rolando Salcedo TangarifeOdahir Rolando Salcedo Tangarife
avatar for Josué Leonardo Bohórquez MorenoJosué Leonardo Bohórquez Moreno
avatar for Natalia Zartha SuárezNatalia Zartha Suárez
avatar for Oscar Alberto Urrea MartinezOscar Alberto Urrea Martinez
avatar for Jimmy Quejada MenesesJimmy Quejada Meneses
avatar for Carolina Torres RodríguezCarolina Torres Rodríguez
avatar for Mario Andrés CortésMario Andrés Cortés
avatar for Juan Mauricio García TorresJuan Mauricio García Torres
avatar for Eric Yovanny Martinez GonzalezEric Yovanny Martinez Gonzalez

Categories

  • .NET (41)
  • Analysis Services (1)
  • ASP.NET MVC (3)
  • Azure (30)
  • BAM (10)
  • BAM PrimaryImport (3)
  • BigData (1)
  • BizTalk (97)
  • BizTalk 2010 configurations (57)
  • BizTalk Application (60)
  • BizTalk Services (15)
  • Business Intelligence (6)
  • Cloud (3)
  • CMD (1)
  • CodeSmith – NetTiers (2)
  • CommandPrompt (1)
  • CRM OptionSet mapping component (1)
  • Desarrollo de software (7)
  • develop (6)
  • developers (3)
  • DropBox (1)
  • Dynamics (2)
  • Enterprise Architect (1)
  • Entity Framework (1)
  • Errores BizTalk (2)
  • ESB (31)
  • ETL (1)
  • Event Viewer (1)
  • Excel Services (1)
  • Foreach loop container (1)
  • General (6)
  • Gerencia de Proyectos (2)
  • Google (1)
  • Grouped Slices (1)
  • Human Talent (1)
  • IIS (4)
  • Integración (8)
  • Integration Services (3)
  • KingswaySoft (1)
  • Lync (4)
  • MSE (13)
  • Office 365 (9)
  • Oracle Data Adapter (4)
  • Performance Point (4)
  • Picklist (1)
  • Pivot Table (1)
  • Procesos (1)
  • Pruebas (1)
  • Public Website (2)
  • Reports (1)
  • SCRUM (1)
  • SDK (2)
  • SEO (1)
  • Servicios (2)
  • Sharepoint (9)
  • SharePoint 2010 (10)
  • SharePoint 2013 (4)
  • SharePoint Online (2)
  • SharpBox (1)
  • Shortcuts (1)
  • Sin categoría (1)
  • SOA (50)
  • SQL (10)
  • SQL Server (3)
  • SQL Server Management Studio (1)
  • SSIS (3)
  • SSL (3)
  • SSO (2)
  • Tracking Profile Editor (2)
  • Twitter (1)
  • Uncategorized (1)
  • Virtual Network (10)
  • Visual Studio 11 (1)
  • Visual Studio 2010 (3)
  • Visual Studio Online (7)
  • VMware (4)
  • WCF (28)
  • Web (2)
  • Web Api (3)
  • Windows (8)
  • Windows 8 (11)
  • Windows Azure (3)
  • Windows Live Write (1)
  • Windows Phone (10)
  • Windows Phone 8 (1)
  • Windows Scheduler (1)
  • windows8 (2)
  • WindowsRT (3)
  • WP7 SDK (1)

Manage

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org