blog.devbroker.org author="Patrick Rabian" about="c#, sharepoint, biztalk, team system resources" more="news, samples, tips for .NET world's developers !"

TechDays 2008

Monday, 7 July 2008 23:03 by prabian

image

Voici une synthèse « Draft » des éléments présentés lors des sessions des TechDays 2008 que j'ai suivi (que je n'ai jamais pris le temps de formaliser avant aujourd'hui !).
A mon sens, le principale intéret de ce post est d'associer les technos entre elles et d'en retenir les mots clés ou outils associés. C'est une sorte de mémo. Pour les explications plus détaillées, vous pouvez consulter les webcasts correspondants et disponibles sur le site de Microsoft.

Résumé des sessions du Lundi 11 février 2008

Plénière

  • Silverlight : Quicksilver
  • Ado.net Entity model Beta
  • Ado.net Data service Beta
  • Démo Astoria REST - Requetage via HTTP (Exemple avec Curl/Php)
  • Démo Silverlight Javascript et demo Xaml
  • Démo Silverlight 2.0 avec runtime .net embarqué + Linq to HTTP + Editeur Xaml dans VS 2008
  • Ouverture du projet VS dans Blend
  • Parallelisation de code : Parallel.For
  • SQL server 2008 : Filestream, blob associe à un répertoire NTFS

Session : Team system 2008

(Présenté par Eric le Loc‘h)

  • Outiller le cycle vie des projets logiciels
  • Transparence des projets via les rapports
  • Collaboration : outils dédiés
  • Qualité logicielle
  • Project management, Work item tracking, Version control, Reporting, Team build
  • Intégration du processus via process template
  • Pas forcément pour les grandes équipes
  • Plugin MSCCI pour Eclipse par exemple
  • Utilisation de client VB6 possible
  • Rosario vers mi 2009 environ
  • Powertools
  • Gestion du changement
  • Intégration continue : compilation auto
  • Démo de Web Access :
    • -- avec exemple de création de tache et vue du workflow
    • -- référentiel : possibilité de comparer des versions, de voir la séquence de construction d un fichier (annotations). 
       
  • Tests de performance
  • Support natif de Ajax pour l enregistrement de tests + adaptation simplifie des tests aux environnements
  • Import des tests unitaires via des fichiers CSV, XML
  • Complexité cyclomatique met en avant la facilite de maintenance de code
  • Analyse dynamique : trouver les chemins CPU les plus consommateurs : hot path (profiling).
  • Support du mode déconnecté
  • Toolkit de migration (depuis VSS par exemple)
  • Utilisation de proxy pour les caches en local
  • Démo TeamPrize pour Eclipse
  • Démo petit client tray icon : Fissum
  • Démo ActiveX IE pour déclaration anomalie
  • Outil complémentaires comme NDepend

Session : Industrialisation des développements

(Présenté par Nicolas Mangin / Messaoud Oubechou)

  • Exemple Toyota
  • Principe des patterns : référentiel unique, ...
  • Test first, développement itératif, intégration lissée, qualité incrémental, déploiement automatise, build étendu

Test

  • TDD Test Driven Development : test, code, refactor
  • Test Driven Design : des design patterns dédiés aux tests : pattern core domain, test crud, ioc, mocks, mvc, service locator
  • Pattern Core Domain : noyau métier léger et testable
  • Test de recette : valider les règles fonctionnelles du métier (combler au plus tôt le manque des tests unitaire). Team test ne couvre pas ce besoin. Solution: wiki+DSL : Framework for integrated testing (FitNesse d octo)

Développement itératif : itérations de 2 semaines a 1 mois.

Création de workitems : tache, bug

  • Team build : build, test, covering, doc, ctrl qualité, ...
    • Lisser l'effort d’intégration via des builds en continu. Pas très utile pour nous sauf si toujours problématique de versions parallèles.
  • Contrôle qualité :
    • Vérification automatique des standards de Microsoft.
    • Harnais de qualité incrémental : on défini des règles que l on active petit à petit. Pour les règles bloquantes, on passe par une ou 2 itérations en warning et ensuite on bloque en erreur.
    • Gros avantage : rapproche les équipes via des règles qui facilitent la communication
  • Constat TS : pas d’usine type, ticket d’entrée peu élevé, les mises en œuvre des patterns sont incrémentales
  • Slide Pattern centraux en 3 axes : incrémentale, tests, normes et standards

 

Session : Team system pour Biztalk

(Présenté par Exakis)

Contexte : Exane Bnp Paribas - Unification de valeurs de places de marche

23 services WCF, 50 orchestrations, 200000 flux journaliers, 500000 flux en pic

  • Anticiper les dérives, automatiser les taches répétitives, rester concentre sur l’aspect métier, ....
  • Team build : serveur dédié pour Biztalk recommandé
  • Create workspace, GetSource, LabelSource, TestToolsTask, GenCheckinNotes/UpdateWorkItems, CreateNewWorkItem, DeleteWorkspace
  • TFSBuild.proj pilote le build
  • .xml spécifie le mapping
  • les btproj ne sont pas pris en compte par défaut

Objectif :

  • Garantir archi SOA
  • Systématisation du contrôle qualité
  • Préparation des packages de déploiement pour les X environnements cibles, gain de temps
  • Tests unitaires avec BizUnit (codeplex)
  • Build avec SDC Tasks (100taines de taches utiles aussi pour Biztalk..ex : exécuter une ligne commande)
  • Plateforme de Build : installation et config de la cible : Biztalk, WCF...
  • Création du build type avec VS
  • Ajout de taches spécifiques : appel devenv.exe au lieu de csc.exe pour compilation, ...
    • AppExists
    • StopApp
    • Undeploy
    • ...
    • ExeBuild
    • ...

Problèmes à noter :

  • Mise a jour des workitems associes peut poser des pb : désactivable
  • Récupération des sources : attention par défaut création d un workspace a la racine du projet avec main, branches...

Retour sur investissement :

  • Création d’un package : compil, déploiement sur plateforme cible, packaging, test
  • Avec Team build, quelques minutes en auto : gain de temps, stabilité des livraisons via tuning, collaboration MOA/MOE

 

Session : Debogage avec VS 2008

(Présenté par Herve Chapalain, Eric Vernie)

 

Session : ASP.NET, Ajax, CSS

- Démo Sitemap custom pour menus dynamiques avec dropdownextender + Link to SQL + ListView pour grid très souple incluant les commandes du gridview + CalendarExtender + texbox avec masque de saisie MaskedEditExtender + DataPager pour parcours des données + Required field validator avec tooltip

  • Exemples de pb avec update panel
    • Il recharge complètement la partie serveur : onpreinit, oninit,..onload,...
    • Il repost a chaque fois le view state pour conserver le contexte
  • Principe : plutôt utiliser des webservices ou astoria ou WCF via RSS ou autre
  • Json : format d echange de donne javascript : xml light
  • Contraintes de serialisation
  • Fonctions Sys, $get et Linq pour filtrer sur des objets
  • Utilisation de rendercontrol sur une gridview pour montrer un exemple de render dynamique exploite depuis un webservice ajax

 

Session : ESB SOA Stratégies d’interconnexion

(Présenté par Arnaud Cleret Exakis)

  • Point à point : non contrôlé, décentralisé
  • Hub de message : non contrôlé, centralisé
  • Bus de message : contrôlé, non centralisé
  • Architecture SOA : besoin d’un médiateur : connecteurs+transformation

 

  • LOB Adapter SDK
  • Oracle Adapter base sur LOB
  • Workflow service library pour utiliser WCF simplement pour les communications autour des workflow
  • Démo : ex de médiateur avec workflow service library publiant un workflow en REST et appelant un WS java REST. Contrat défini avec property ‘webget‘. Persistance du contexte via un cookie par exemple pour recharger le contexte.
  • VS 2008 : WCF service host
  • Démo : biztalk et connectivite
  • SDC tasks pour la construction des sites IIS lors de la contruction de MSI
  • LOB Adapter : extension WCF + uniformise + outils de design (wizard) + utilisation dans .net et Biztalk R2 et SSIS et BDC Moss 2007 via Asp.net 2 sur Wcf service model !

 

Résumé des sessions du Mardi 12 février 2008

 

Session : SOA et productivité, focus sur les DSL

(Présenté par Cédric Gouge – Consultant / Régis Ravans – Archi)

  • ACA.net 5.0 (Fw DSL de Avanade)
  • WSSF : web service software factory
  • Etapes de mise en œuvre : modèle de code T4Text Templating engine, modele de projet solution avec GAX GAC, actions automatisees avec GAC GaX, DSL
  • Dsl : language pour un besoin spécifique
  • Dsl : Approche MDD
  • Dsl : Mapping graphique/code
  • Dsl : designer les contrats et services et génère le code du modèle SOA
  • Démo Aca : dsl+ent. Library. Génère les aspects au travers de PIAB. Supporte SODA avec SQL Server ou Oracle
  • Toolbox : DataContract (client) avec DataMembers,…block de services, messages….notion de groupes probablement pour réunir par assembly ou autre élément structurant + block application
  • Exposition des stored proc comme des opérations de service (utilisation de dataaccessblock de ent lib 3.1)
  • Client : Xbap xaml browser based application
  • Injecteur PIAB. Demo avec PolicyInjection.Wrap
  • Wssf avec Gat+dsl
  • Demo : deroulement d une Recipe Gat Asmx sur un projet Gat
  • Exemple fichier dbml pour Dal via Linq to Sql
  • env 80% du code genere
  • Dsl pas rentable au 1er projet !

 

Session : Developpement d'applications Javascript avancées avec Silverlight

(Présenté par Simon Ferquel Consultant Winwise / Guillaume Renaud Architecte Microsoft)

  • Silverlight 1.0 : Javascript est le seul language
  • Full compatible javascript runtime
  • Dans la V2 : on conserve ce principe avec de nouvelles fonctionnalités + on pourra mixer avec du code .Net c# (contrôles en c# et animations en Js). Transtypage pour échange de donnes entre les 2 runtime. Proxys nécessaire entre les 2 runtimes. Un runtime SL sera encapsule dans un appdomain
  • premium.quicksilverlive.com
  • Existe FireBug pour web dev helper sur Firefox
  • Javascript : intellisense dans VS 2008
  • Dev OO possible, debug intégré
  • Demo : recherche de photos sur flicker
  • Le Json est le format de transfert des donnes des WS javascript
  • Sys.Debug.traceDump pour les objects js
  • Ajout de tag xml en entete pour l intellisense .js ou .svc
  • Les evenements en javascript : fw exemple Silverlight Behaviors Tollkit, Expression Encoder
  • AddEventListener, Silverlight.createDeleguate
  • Alternative avec $create
  • Xaml dynamique : createFromXaml
  • Fw d animation : www.tweened.org
  • Organisation : 1 fichier xaml + n js ou n xaml + n fichier js. Scenario 1 simple et efficace. Limite pour projet a plusieurs.
  • Demo : integrer d autres Xaml dans un xaml. Utilisation du composant downloader (build event pour creer un zip post compilation). Cf createObject(‘downloader‘)
  • css #silverLightControlHost
  • on peut rajouter des polices de car via le downloader
  • possibilite de definir des evenements transverse entre le xaml appele et appelant (interactions entre les 2)

Demo :

  • Templates d’animation partages par plusieurs controles grace aux conventions de nommage
  • Le toolkit behavior utilise Script#
  • TooltipProvider
  • Script# light – cf Volta

 

Session : Windows server 2008

(Présenté par Fabrice Meillon / Stanislas Quastana - Architectes infra – Microsoft)

Démo : installation

  • 60 jours pour mettre la clé produit
  • Full ou server core
  • Upgrade depuis Windows server 2003
  • Copie d image sur le disque puis setup apres lors de la mep
  • Console Server Manager pour administration classique
  • Notion de features pour etendre (ex: powershell...)
  • servermanagercmd en ligne de commande (mais pas en servercore car utilise le .net fw)
  • Install server core : install epuree, pas de barre de tache....d outils graphique...(ex: controleur de domaine, cluster, fichiers, ...). Pas de .net framework. Cf oclist pour gerer les fonctionnalités installées.

IIS 7 : console winform (plus mmc)

  • Version ligne commande de l admin appcmd. Existe appcmdui pour mise en bouche
  • La configuration iis est stockee dans le web.config : deploiement de la conf facile + utiliser robocopy pour la securite
  • Shared configuration permet de partager la conf IIS

Virtualisation d’application

  • Application lance via RDP depuis son propre bureau local + on peut filtrer les ressources locales accessibles (drives, printers...)
  • Possibilité de signer les packages de déploiement RDP
  • TS RemoteApp Manager : choix des applis a dispo soit via un panel spécifique soit depuis lien sur le bureau, soit via un msi associable a des extensions par exemple.
  • TS Gateway Manager : CAP + RAP

Virtualisation de serveurs : rôle Hyper-V

  • Uniquement 64bits pour l infra matériel
  • 32/64 pour les VM
  • Consommation direct des périphériques physiques : plus performant

Sécurité

  • Firewall configure par défaut selon les rôles installes
  • Evolutions sur les certificats (PKI)
  • NAP : network access protection. Minimum requis pour accéder a mon réseau. Nécessite un network policy server w2k8 (NPS)

Evolution des clusters

 

Session : Introduction a Biztalk Services

(Présenté par Steve Sfartz Microsoft)

Biztalk services : concept hypothétique !

  • C'est l'internet service bus de Microsoft, rien a voir avec Biztalk
  • Problèmes : réseau, sécurité, adressage, ...
  • Solutions de base : VPN, exposition web avec sécurité
  • Internet service bus : une fabrique qui interconnecte les applications distribuees
  • Biztalk services : infrastructure heberge pr Microsoft (cf labs.biztalk.net)
  • Cf card space et openid
  • Cf Biztalk Services SDK
  • Demo d un envoi de message apres creation d un compte
  • Security service token : serveur dedie a la distribution de jeton d authentification via connection tcp au service de relay
  • STS dedie sur identity.biztalk.net/moncompte
  • Notion de transformation des claims entre STS globale et dedie.
  • Utiliser un binding de type relayBinding
  • Page de recuperation de token : issuetoken.aspx?u=username&p=password
  • API = Sdk + web services
  • Possibilite de faire une communication directe
  • Pattern publish/subscribe
  • Exemple de demo multicast
  • Prefixe url sb://
  • Demo simple share : liste de repertoires locaux diffusable via le service. Le service publie sous forme rss le contenu d un repertoire. Sample dans sdk
  • ConnectionMode dans le relayBinding permet de parametrer le type connection (simulation http, direct, multicast)
  • Release tous les 2 a 3 mois
  • Asynchrone possible
  • Utilisation de la spec WS-Addressing
  • Futur : workflow, logguable, persistence
  • Initiative Oslo : deploiement unifie de services (V1 apres PDC de novembre 2008 ?)
  • cf site mpowerable.com (voir si composant intéressant)

 

Session : Nouvelles architectures web

(Présenté par Pierre Couzy Architecte DPE Microsoft / Stephane Goudeau Architecte MTC Microsoft)

Nouveaux scenarios pour l entreprise

Web 2 déborde de son cadre initial

Les blogs sont deja integres

Les web services ont apportes une 1ere couche de standardisation

  • But : exploration des enjeux techniques
  • Démo : recherche immobiliere + virtualearth sdk
  • Community Kit for SharePoint : scenarios d’utilisation de SharePoint (cf codeplex)
  • Popfly : création d’applications à partir de grandes briques (aucune technique). Mise en avant de l ergonomie.
  • Le monde grand public n’utilise que HTTP ! Les protocoles en surcouche de HTTP : XmlHttpRequest, RSS (non std), Atom (Std), JSON, REST/POX
  • Web avec 3.5 : SOAP, WS-*, REST, ...ne sont pas mutuellement exclusif. La version WCF incluse dans le 3.5 est parfaitement adapte au web

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

SQL Server 2008 Installation, second episode !

Sunday, 6 July 2008 22:33 by prabian

In the first episode, I tried to install SQL Server 2008 RC0 Advanced Express (with only the database engine and Management Studio)...but the result was "Error 1814" during service starting.

First action : "Repair"...but not possible because the program can only repair a well performed installation.

In this second episode, I tried to uninstall the database engine service that previously failed and then try to reinstall it !!!

 

Uninstalling...

Reinstalling...

 

 

This time, the installation succeeded !

To resume the differences between the first and the second installation (before --> after) :

  • Selected features : Database only --> Database + Full text search
  • Account for database service : NETWORK SERVICE --> SYSTEM
  • Collation : French_CI_AS --> Latin1_CI_AI

I have operated this change for the following reasons :

  • Full text search : the error's description was talking about "dependency problem"...I tried to add the classical service associated with SQL Server
  • System Account instead of Network Service : the error's description was talking about "file write or access problem"
  • Collation : this is a Release Candidate and recurrent problem with beta versions are associated with language problem (being full English is always better !). For information, I have installed SQL Server on a French Windows Vista system.

I will try to find the real root cause...

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Tags:   ,
Categories:   Developer Tools | Sql
Actions:   E-mail | del.icio.us | Permalink | Comments (0) | Comment RSSRSS comment feed

SQL Server 2008 Installation

Sunday, 6 July 2008 19:00 by prabian

Previously installed :
- .NET Framework 3.5
- Windows Installer 4.5

Tested prerequisites :

Prerequisites

Installation dashboards :

Planning
Planning

Installation Maintenance Tools

Resources Advanced Options

Requirements details on Microsoft site : http://msdn.microsoft.com/en-us/library/ms143506(SQL.100).aspx

Stand alone installation steps of the SQL Server 2008 Advanced Express

Licensing

Install step 1 : product key  Install step 2 : accept licence terms

Installing setup support files

Install step 3 : setup support files Install step 4 : setup support files progress Install step 5 : setup support files result

Defining features et settings

Install step 6 Install step 7 Install step 8

Install step 9 Install step 10 Install step 11

Install step 12 Install step 13 Install step 14

Install step 15

Installation summary and starting...

 Install step 16 Install step 17

Database installation succeeded but service starting failed ! Error 1814...

Install step 18

Let's see the second episode on the next post !

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Tags:   ,
Categories:   Developer Tools | Sql
Actions:   E-mail | del.icio.us | Permalink | Comments (0) | Comment RSSRSS comment feed

Using "Dynamic Data" with Entity Data model instead of Linq To Sql model

Sunday, 6 July 2008 01:48 by prabian

Previous versions of "Dynamic Data" were designed to use "LinqToSql".
With this service pack beta, you can use it with "Entity Data".

The "Context" type that must be declared is now "ObjectContext" instead of "Datacontext".

After having installed...
- .NET Framework 3.5 SP1 Beta
- Visual Studio 2008 SP1 Beta
(can be download here for .NET and here for VS)



...you can create a new project "Dynamic Data Entities Web Application".



Then you just have to :
- Create an "ADO.NET Entity Data Model" (for instance with the context class named "MyModelEntities") and insert one or more tables.



- Uncomment and change the specific line in "Global.asax.cs" :

model.RegisterContext(typeof(MyModelEntities), new ContextConfiguration() { ScaffoldAllTables = true });

- Launch the project

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

SQL Server Management Studio Express

Tuesday, 1 July 2008 10:31 by prabian

SQL Server Management Studio Express is a limited version that authorize access to SQL Server Databases (Express or not).

Analysis, Reporting, Integration Services or SQL Server Agent are not available from this Express version.

Most important features from  "Databases" and "Security" trees are available to create and modify databases and security accounts (but not roles).

The following features are also available:

- Generate scripts

- Attach/Detach

- Backup/Restore 

- Activity monitor

...whereas "Maintenance plans" and "Logs" can't be opened.

 

The prerequisites are at least : 

Microsoft Data Access Components (MDAC)                3.70.1146
Microsoft MSXML                                        3.0 5.0 6.0
Microsoft Internet Explorer                            6.0.2800.1106
Microsoft .NET Framework                               2.0.50727.42


Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Tags:   , ,
Categories:   .NET Projects | Developer Tools | Sql
Actions:   E-mail | del.icio.us | Permalink | Comments (1) | Comment RSSRSS comment feed

Installing ADO Entity Framework Beta3 on Visual Studio 2008

Sunday, 17 February 2008 15:19 by prabian

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Installing Web Services Software Factory on Visual Studio2008

Sunday, 17 February 2008 15:06 by prabian

  • Install "GuidanceAutomationExtensions -  July 2007 CTP". Download it here (this version can be attached to VS 2005 or 2008 Orcas)
  • Install "Software Factory - Modeling Edition Feb 2008 CTP". Download it here (this version is attached to VS 2008)
  • Apply this fix to avoid the following error "Project Creation Failed" from Visual Studio 2008 while creating a new project. This is due to some assembly redirects that are added to the devenv.exe.config file by installing the GAX (Guidance Automation Extensions).
  • Open "C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe.config" from notepad
  • Comment the line containing this string: "Microsoft.VisualStudio.TemplateWizardInterface"

      <dependentAssembly>
       
<!– <assemblyIdentity name="Microsoft.VisualStudio.TemplateWizardInterface" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> –>
        <bindingRedirect oldVersion="0.0.0.0-8.9.9.9" newVersion="9.0.0.0" />
      </dependentAssembly>

  • Close and re-open Visual Studio 2008, and try to create a new project

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Tags:   ,
Categories:   .NET Projects | DAL | Developer Tools | doc | Learning | Sql
Actions:   E-mail | del.icio.us | Permalink | Comments (0) | Comment RSSRSS comment feed

Installing Team Foundation Server 2008

Sunday, 3 February 2008 13:19 by prabian

Minimum prerequisites :

- Windows Server 2003 SP1 or R2 or Windows Server 2008
- IIS 6 or IIS 7
- .NET Framework 2.0
- SQL Server 2005 SP1or SP2 or  SQL Server 2008 with collation constraints (these options are NOT supported : Accent Insensitive, Case sensitive, Binary, Binary2)
- SQL Server Analysis Services
- SQL Server Reporting Services (not need to configure it, TFS installation will do it for you)
- MSXML 6.0 Parser SP1 (download here)

Possible prerequisites :

- .NET Framework 3.5
- Windows Sharepoint Services 3.0

What will be installed by TFS 2008 setup program :

- .NET Framework 3.5
- Windows Sharepoint Services 3.0 (setup ask for installing WSS 3.0 or using a existing instance)
- Microsoft Visual Studio 2008 Team Foundation Server

Sample screenshots :

The others modules that could be installed are :

Delivered on the same DVD

  • Team foundation server proxy
  • Team foundation build
  • Team explorer (on a development server, you can install "Visual Studio 2008 Team Suite (or Development, architect…)" before installing Team explorer and then, in a second time, install Team Explorer that will update you Visual Studio 2008 environment. I only tried this scenario and it works fine)
  • Windows Sharepoint services extensions

Downloadable on Microsoft site

  • Visual Studio Team System Web Access 2008 Power Tool (download here)


Sample screenshots :

Windows Sharepoint services extensions Team System Web Access 2008

 

Complete installation scenario of a development platform for Team system 2008

     
     
  • Install Windows Server 2003 R2
  • Add application server role (without FrontPage extensions and with ASP.NET)
  • Install SQL Server 2005 SP1 with collation by default (accent sensitive, case insensitive) and by selecting : Analysis Services, Reporting Services
  • Install MSXML 6.0 Parser SP1
  • Install Team Foundation Server 2008 (it includes .NET 3.5 and WSS 3.0)
  • Install Windows Sharepoint services extensions
  • Install Visual Studio 2008 Team Development
  • Install Team Explorer 2008
  • Install Team System Web Access 2008
     

 

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Create a interop DLL from a COM DLL

Tuesday, 29 May 2007 10:05 by prabian

As Visual Studio 2005 can do while referencing a registered COM library, you can use the following scripts to automate the creation of an interop :

"C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin\tlbimp.exe"
MyLibrary.dll
/out:Interop.MyLibrary.dll
/namespace:NewRootNameSpace
/keyfile:MyLibrary.snk
/reference:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.dll
/reference:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.data.dll
/reference:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.xml.dll
/verbose
/asmversion:1.0.0.0

(If necessary, add reference options)

For a recall, the strong named key is created with :

"C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin\sn.exe" -k MyLibrary.snk

Don’t forget to register the library with regsvr32.exe before executing the first script

WARNING ! For COM library created from VB and using instructions like ReDim, it is useful to add the option :  /sysarray to have System.Array declared (for intance : instead of string[] for String() VB parameters).

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Notepad++, the ultimate notepad !

Friday, 27 April 2007 22:45 by prabian

Since a long time, I was searching for a free and complete text editor to install on all my machines. I think this one will become my new friend !

The famous one that would resolve my problems is probably Notepad++. 

The interesting features are (for me) the following ones :

  • XML editing (to collapse nodes and include syntax coloration…)
  • "All" programming language coloration
  • Having a hexacidemal view of the content (hex edition)
  • Evaluate or change text encoding
  • Advanced search and replace features (a lot of options…with "light" regular expression possibilities)
  • Extensible through plugins
  • Multi document management
  • And ultimate pleasure : creating macros for critical situations 

 Thanks notepad++ to exists and to be really FREE !!

Maybe the "compare two documents" feature is currently missing ? I will search…

Browse on the official site : http://notepad-plus.sourceforge.net

Obviously, my second friend is Paint.NET for image editing…also thanks to him.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Tags:  
Categories:   Developer Tools | Miscellaneous
Actions:   E-mail | del.icio.us | Permalink | Comments (0) | Comment RSSRSS comment feed