Archivo de la categoría: Longhorn-Training

TRansaction NTFS

(Apuntes sin editar)
 
* Se trata de transacciones acidas en el uso de NTFS.
* Se implementó un controlador transaccional en el core.
* NTFS: se mantiene sin cambios
* La razón de hacer esto es:
 + Evitar problemas al trabajar con archivos.
* tener control transaccional en memoria viene en el futuro :O 🙂
  por ejemplo: en multi hilos, no hay que preocuparse por bloqueos porque, los otros hilos
  no acceden al mismo objeto hasta que se hace commit.
* Un ejemplo: Windows update si se para en la mitad, cuando se inicia el pc nuevamente puede dar blue screen porque el update quedo en estado inconsistente. Eso es lo que está tecnología busca solucionar.
* Componentes:
 + Transactional NTFS (TXF)
 + Kernel Transaction Manager (KTM)
 + Common Log File System (CLFS)

Events 6.0, CardSpace y Windows PowerShell

(Apuntes sin editar)
Events 6.0
———–
* Existen dos tipos de eventos, NT y Event 6.0 (Vista / Longhorn)
* Se distinguen 3 tipos de eventos: administrativos, Operacionales y  Tracing/Debug
* La metada de los eventos es la misma, 6.0 tiene extra XML DATA. (Source, ID, Category, Type)
* NT event, pueden ser escritos de manera simple (hardcore) o como recursos.
a segunda opción es mejor porque se pueden ca,biar los mensajes sin recompilar.
* Event 6.0
 + Mejor perfomance
 + Estructura declarativa XML
 + Los mensajes pueden ser enviados a través de firewall y dominios
 + La configuración consiste en>
  + Manifiesto: aquí esta toda la información (Metadata, Esquema, canal y provider)
 +Canal>
* Hya que usar la parte del log que corresponde
 + Applications = Application Log
 + Security = Security Log
 + System = Infrastructure Events
 + Custom = Debug y traking
 
CardSpace
—————
* La identidad tiene 3 factores> El sujeto, claims , token
* La identidad es un set de cliams en un token.
* Revisar http://sandbox.netfx3.com 
Windows PowerShell
——————-
* Get-help
* snapin>  🙂
 +Se pueden comandos para powershell en .NET, se llama pssnapin
 + Se hace la referencia a System.Managment.Automation. (assembly en dir de powershell)
 + Para escribir en la consola de powershell no se usa console sino Base.writeOject("");
 + Después de instalar de debe agregar usando add-PSSnapin
* Viene en el framework 3.0
* test this Stop-Process *  🙂
* Test this
 >Add-PSSnapin powergadgets
 >Get-Process| Out-chart  🙂
* test this
 >Get-PSDrive
 >cd HKCU:

WCF y WF overview

(Apuntes sin editar)
 
WCF
——
* Cuando se tiene un método que retorna void, y además es oneway=true quiere decir que no
recibirá tampoco excepciones SOAP.
* Para publicar un com+ hay que usar comsvcconfig.exe, que construye un wrapper
WF
—–
* Los workflow se identifican con un guid de instancia.
* Existen tres tipos: Flow Actividades, maquinas de estado y controlados por reglas.
* Maquinas de estados>  + son compuestos por Estados, Eventos, Acciones y transiciones.
   + Los estados pueden ser anidados.
   + Existen dos eventos inicialización y finalización de un estado,
muy útiles.
   + Se pueden hacer query a las maquinas de estados.
   + Las maquinas de estado tienen un estado inicial y uno final.
   + La maquina de estados guarda los estados "historia" de los estados
por los que pasó. 🙂
   + Existen dos tipos de actividades "básicas" y "compuestas"
   +
* La idea con las actividades es extender las actividades hasta llegar a Framework de
actividades para cada dominio.
* Las actividades en paralelo abren un hilo por cada secuencia de actividades. Pueden ser
coordinados.
* Hay un sitio llamado http://www.dotnetfx3.com
* Los workflow pueden ser modificados por código.
* Las actividades del tipo propias, pueden tener "dependency properties" (DependencyPropery)
para seater valores. Estos valores pueden ser leídos desde cualquier parte del workflow y el
contexto de ejecución.
* Ojo con la forma de hacer binding, hay que revisar en detalle las opciones.
* Local communication Architecture
 + Se usan interfaces para trasmitir datos.
 + Workflow Runtime tiene ExternalIDataExchangeService como canal de comunicación con
las instancias
 + ExternalIDataExchangeService tiene métodos para
* La persistencia de las instancias de los workflow puede ser hecha en SQL. PAra ello hay
que correr algunos script en SQL
y hacer código de configuración de la persistencia en el workflow  🙂
* Traking, se habilita para que mantenga la "historia" 🙂
 + Esto se habilita con solo una línea de código, y usa SQLserver.
 + Tiene una clase para hacer consultas desde los mismos workflow sobre la historia
de una instancia.
 + Se puede obtener información de eventos del workflow, actividades y eventos de
usuarios  🙂
 

Adminstración en Longhorn

Management Technologies (notas sin editar)
————————–
1.- DFO: Diseñado para operar, que pueden ser instaladas y operadas de manera sencilla.
* Las aplicaciones son hechas en un silo y después son mandadas a operaciones donde no saben que hacer con ellas.
* Modelo de "Health": la idea es obtener información del problema que tiene una app. Para ello se usa instrumentación.
* La instrumentación tiene 3 actores> WMI, LOG, contadores
 
2.- Windows Eventing 6.0
* Nuevo modelo de eventos. Soporta el uso de canales, donde mandar la información.
* Se pueden definir los esquemas de la información que se va a grabar en el LOG
* El esquema se define un "manifiesto". El manifiesto se interpreta y valida antes de crear un nuevo tipo de log.
* Es posible crear task si es que un tipo de evento ocurre, SUSCRIPCION   🙂
Estas task pueden ser un mail, mensaje en la pantalla o ejecutar una aplicación.
 
3.- GRoup Policy
* Las políticas son reglas que se definen en el dominio y bajan a los PC.
* Para los developer, sirve para forzar la configuración de las aplicaciones en los clientes de manera centralizada.\
* Esta información no esta en los archivos de configuración sino en la registry, es ahí donde la información de las políticas
se almacena.
 
4.- WMI
* Es una clase que expone información de diagnostico de las aplicaciones.
* Esta interfaz es solo lectura hasta ahora, en ORCAS es posible que cambien
* Para ahcer esto en .net solo se necesita agregar el atributo InstrmentationClass(InstrmentationType.Instance)
* Hay una herramienta nueva llamada "winrm", línea de comando  🙂
* hay una buena demo en http://channel9.msdn.com/Shows/The_DFO_Show
5.- MMC 3.0
* Desde puntoNet se usa el namespace Microsoft.Management para crear extensiones programaticamente.
* Es mucho más simple hacer consolas de administración ahora.

Internet Information Server 7

II7 (notas sin editar)
—-
1.- modular design
* Se puede sacar o reempezar los módulos 🙂
* Se pueden agregar módulos en código nativo o administrado
* Mejora de la UI de administración.
* Se construyó una pipeline único:
autentificación
autorización
Resolvecache
etc……
* Para cada módulo se puede elegir que piezas instalar,
por ejemplo Autentificacion (NTLM/BASIC/Anom)
* IIS 7 pone la configuración en un archivo de configuración  y no en metadata como antes.
La configuración de una aplicación se guarda en System.webserver en el web.config.
Existe una funcionalidad para delegar la configuración de estos archivos.
* IIS7 Módulos> si se cambia el orden de los módulos, todo queda en el web.config
 
2.- Extensibilidad
* iis7 modulos de código nativo o administrado
* Instrumentación de aplicaciones integrada, para hacer traza 🙂
* host servidor Web usando protocolos no HTTP :O
* El esquema de configuración de ii7 puede ser extendido 🙂
* Handler vs Modules:
 + Handler, se hace cargo de un tipo de archivo específico en IIS
 + Un módulo se ejecuta en el pipe siempre, cross cutting counsirng.  Estos tienen un
orden de ejecución.
* IIS7 tiene 40 módulos out of the box.
* Para crear un módulo se debe hacer una clase que implemente IhttpModule
 + EL objeto HttApplication contiene la información del contexto de ejecución.
* Existen 12 eeventos de Request
* applicationhost.config
 + Aquí se configura el host completo.
 + En la sección Módulo, se configura el orden de ejecución de los módulos.
* Si se usa el pipeline clásico no se usan los módulos del pipeline integrado, son
excluyentes.
* La interfaz de administración puede extenderse ( Esto es para las niñas )
 
3.- Integración con .net
* Es posible correr el pipe clásico
* En pipiline integrado, es el por defecto. Esto avita por ejemplo que se ejecute doble
autentificación.
* Los contenidos estáticos pasan por el mismo piplene, por lo que pueden ser administrados
por los módulos 🙂
 
4.- Administración
* Consola nueva de administración.
* Administración por línea de comandos: appcmd  🙂
* Script de administración
* Código manejado Microsoft.Web.Asminitration 🙂 Por ejemplo se pueden crear aplicaciones o
bajar el appdomain por código
* Manejo de errores y depuración mejorada> trae un motor de reglas que permite configurar
como y cuando hacer log.
Por ejemplo: tipo de contenido, código de respuesta, tiempo de respuesta. 🙂

Introduccion curso Longhorn

(Notras sin editar)
 
1.- Transactional Infraestructure
  • KTM: kernel transaction manager
    Puede manejar transaccionalemente NTFS y REgistry.
    Si se usa una app local no se necesita mas el DTC, este se usa sólo si hay mas de una
  • maquina.
  • KTM actúa como un manejador de recursos, no exactamente como controlador transaccional.
    No puede manejar varios archivos, en este caso hay que moverse al DTC.
  • KTM esta en longhorn y vista
2.- Recovery & Restart
  • Windows Error Reporting, pude ser usado por developers para sus aplicaciones.
  • Application Recovery & Restart, si una app crash puede reiniciarse.
    Recovery es una extensión, recupera los datos de la aplicación en el estado que estaba antes
  • de caer.
  • Restrat Manager, evita tener que reiniciar cada vz que se hace una instalación.
3.- Windows Server Core
  • Instalación mínima, sin interfaz ni código administrado.
    Todo línea de comando lo Linux ;)]
    Este sistema operativo es muy modular, por eso se puede instalar solo las funcionalidades
  • core.
    Esta es la inhalación ideal para una app server.
  • Por ejemplo para instalar una base de datos está de "pelos"
  • Tiene limitaciones: no soporta código administrado, soporte mínimo de roles(DNS, DHCP,
  • FILE,AD), no GUI

4.- NET Framework 3.5 “Orcas”

WF & WCF Integration
WCF partial trust support
Atlas/JSON
Deep integration with ASP.NET “Atlas” AJAX Framework.
JavaScript Object Notation (JSON) wire encoding
RSS/Atom support
Abstraction for RSS 2.0 and Atom 1.0
Richer REST/POX support
Programming Model support for resource-centric applications

Things to Do and See in Netherlands

My next trip 🙂

The Anne Frank House

Prinsengracht 267

Tel.: +31 (0)20-5567105

http://www.annefrank.org

Admission price: € 7,50

Open: 9 a.m. – 7 p.m.

 

The former hiding place, where Anne Frank wrote her diary, is now a well-known museum. The museum tells the history of the eight people in hiding and those who helped them during the war. Anne Frank’s diary is among the original objects on display.

 

A lot of care goes to the preservation of the historic building and to preserving the special characteristics from the period of hiding. The museological collection is unique and diverse.

A visit to the Anne Frank House lasts around one hour. There are no tours or guides. A tour brochure with background information about the different rooms in the museum is available at the entrance.

 

Van Gogh Museum

Paulus Potterstraat 7

Tel: +31 (0)20 570 52 00

http://www.vangoghmuseum.nl/

Admission price: € 10,-

Open: daily 10 a.m. – 6 p.m., Fridays until 10 p.m.

 

A visit to the Van Gogh Museum is a unique experience. The museum contains the largest collection of paintings by Vincent van Gogh in the world. It provides the opportunity to keep track of the artist’s developments, or compare his paintings to works by other artists from the 19th century in the collection. The museum also holds an extensive offer of exhibitions on various subjects from 19th-century art history.

 

During his ten-year artistic career, Van Gogh was highly prolific. A full 864 paintings and almost 1,200 drawings and prints have survived. The largest collection of his work – more than 200 paintings, 437 drawings and 31 prints – can be found in the Van Gogh Museum. Many other drawings and paintings by Van Gogh can be found at the Kröller-Müller Museum in Otterlo (The Netherlands) and the Musée d’Orsay in Paris. The rest of his work is divided among a large number of museums and private collections around the world, including many in the Netherlands, France, Germany, the United States and Japan.

 

Vincent van Gogh was a passionate and fairly good letter writer. He put his thoughts and ideas to paper in over 800 letters, some to fellow artists such as Emile Bernard and Paul Gauguin, but most to his brother Theo, who was Vincent’s greatest source of support. Most of the manuscripts are in the collection of the Van Gogh Museum; they form an indispensable source of information about the artist’s life and work.

Royal Palace, The Old Church, The New Church

De dam

http://www.nieuwekerk.nl/

http://www.oudekerk.nl/

http://www.koninklijkhuis.nl/

Open:

          Both churches are open for visits on a daily bases between 11 a.m. and 5 p.m.

          The Royal Palace is temporarily closed for visitors due to renovation

 

The Royal Palace:

The palace was originally built as a city hall for the mayor and magistrates of Amsterdam, who awarded the project to the celebrated architect Jacob van Campen in 1648.

Van Campen also had a hand in building Huis ten Bosch and Noordeinde Palace in The Hague.

The entire building is made of white stone, though centuries of weathering have left none of the original color visible.

 

The Old Church:

The Old Church has a long tradition of having excellent organs and organists. Even during the fifteenth century, an organ was hanging on the west wall (tower wall) of the nave. In 1539, the church acquired a new instrument that was played between 1577 and 1621 by a famous organist by the name of Jan Pieterszoon Sweelinck.

 

The New Church:

This church is famous for its cultural and artistic expositions. After the Old Church, it is the oldest church of Amsterdam with two organs from the 16th and 17th century. The New Church is closely related to the Dutch Royals through weddings and other official ceremonies.

Shopping

For more information on shopping visit: http://www2.holland.com/us/discover/amsterdam/cool/shopping/index.jsp

 

Department Stores and Malls

 

Bijenkorf 

Shoppers will be delighted to find an extensive range of cosmetics, clothing, shoes, accessories, music, books, toys, furniture, accessories and more in this department store. This renowned store is located in a beautiful building at Amsterdam’s well-known Dam Square. 
Dam 1 

 

Hema 

Candles, cutlery, curtains, sausages, socks, suntan lotion – you name it, the Hema probably sells it. It is a true Dutch institution (founded in 1926), loved by everyone in the country. The store is known for its design items, they even have a design contest each year among Dutch designers, the winner of which will see his design in the store. 
Various locations throughout the city 

 

Magna Plaza 

This monument from 1898 has been transformed from the Main Post Office into a modern shopping center. It is a 4-floor mall and offers more than forty shops with an emphasis on fashion and luxury goods, as well as some nice restaurants. The combination of great shopping in a beautiful interior and events as live classical music on the ground floor during weekends make it a unique spot in Amsterdam for hip and trendy shoppers. 
Nieuwezijds Voorburgwal 182 

 

Metz

The department store Metz & Co was founded in 1891 and has been an institution in Amsterdam ever since. It is a great store for all kinds of exclusive gifts, glassware, leather goods, clothing, kitchenware and much more. On the upper floor you will find a restaurant with a magnificent view, overlooking the canals, roofs and gardens of Amsterdam. 
Leidsestraat 34-36 

 

Kalvertoren 

Shortly after its opening, this shopping mall won the 1998 European Shopping Center Award. It is located in one of the most popular shopping streets in Amsterdam’s city center: the Kalverstraat. Inside a beautiful tower of glass and steel, you will find more than thirty exclusive shops and two department stores which will meet the wishes of even the most demanding customer. Furthermore there are various cafes and a nice restaurant on the top floor, offering a nice view of the city. 
Singel 457

Markets

 

The history of the Amsterdam markets goes back more than 100 years. The first market opened in 1783 in the Jewish quarter. The government forced it to move to its current location at the Waterlooplein. World War II caused the market to close and although it was restored after the war, it never regained its original flare. Nowadays, it is still one of the best known flea markets in the city and very popular with both locals and tourists. 

 

However, Amsterdam, has much more to offer when it comes to markets. With over 11 permanent markets, some specializing in antiques, books, coins and flowers, you are sure to find something to bring home. 

 

Flower Market 

The Singel canal in Amsterdam is home to the Flower Market, a must see for every visitor and Amsterdammer. It is open daily from 8am-8pm. 

 

Antiques Market 
De Looier antiques market is one of the most popular markets in Amsterdam for both locals and tourists. It is held every day on the Elandsgracht and worth a visit if you are hunting for that special antique piece, just want to browse a bit, or maybe find a true bargain. Open Monday-Wednesday 11am-5pm, on Thursday from 11am-9pm and Saturday 9am – 5pm. 


Flea Markets 
If you want to see a bit of everything, the market at Looiersgracht (open daily from 11am-5pm) is the place to be. Located in the Jordaan area, you will find almost anything at this general market with its special atmosphere. 


Waterlooplein 
The oldest market in Amsterdam is the Waterlooplein market. Immensely popular with both locals and tourists, this market sells clothing, furniture, collector’s items, accessories, household items, music and much more. Open Monday-Saturday from 9am-5pm.

 

Where to Eat

There are so many restaurants in Amsterdam that mentioning them all would be extremely difficult. We recommend that you take a look at http://www.diningcity.com/amsterdam/ which gives a complete overview of restaurants whatever your tastes may be. We have listed some restaurants that we recommend:

 

Barok

Wolvenstraat 22-24

Amsterdam

Tel: +31 20 330 7470

 

Bloesem

Binnendommerstraat 13

Amsterdam

Tel: +31 20 770 0407

 

De Roode Leeuw

Damrak 93-94

Amsterdam

Tel: +31 20 555 0666

 

Reflet

Dam 9

Amsterdam

Tel: +31 20 554 6026