LLBLGen Pro V3 is out and the new features are impressive

2. June 2010
List of new features is below and you should have a look to the complete one here : http://www.llblgen.com/pages/features.aspx   Linq-based project search Model views Grouping of project elements Allows both Model first and Database first development, or a mixture of both Value Type (DDD) support Support for multiple database types in one project Powerful text-DSL based Quick Model functionality Generated code supports multiple .NET versions: .NET 2.0/3.0/3.5/4.0 Generated Visual Studio.NET project files are compatible with Visual Studio.NET 2005/2008/2010 Multiple target frameworks supported Entity Framework 1.0 / 4.0 NHibernate (hbm mappings & Fluent NHibernate mappings) Linq to SQL Per target framework extensible settings framework Flexible attribute declaration for code generation, no more buddy classes needed Relational Model Data management Update / Create DDL SQL script generation Integrated template editor Fine-grained project validat... [More]

NHibernate Performances : batch insert or update

31. May 2010
An ADO.NET DbCommand's property named : ArrayBindCount is useful to operate "bulk" insert or updates. It means you can add or update several rows with only one query. You can imagine that the target query will looks like this : CommandText (for Oracle) = “INSERT INTO CONTACT (ref, name) VALUES (:RefsParam, :NamesParam)” With 2 parameters passed to the .NET DB Provider Array of Int : [1, 2, 3, 4, …] for the references (RefsParam) Array of String : ['Robert', 'Daniel', 'Stephan', 'Pierre-Antoine'...]  for the names (NamesParam) The goal is to insert the following rows : 1, 'Robert' 2, 'Daniel' 3, 'Stephan' 4, 'Pierre-Antoine' ... As you are using NHibernate, the question is : How do I set NH to u... [More]

ORM Mapper for .NET

1. November 2009
As I'am working on NHibernate and discovering some specific behaviour that increase the complexity of the tool...I just wanted to have a look on the different tools that can cover the same type of features in the .NET world.First, I just want to creat a first list and then take the time to compare the most important features to report a benchmark.So the most known and powerful tool is basically supposed to be NHIBERNATE if we are considering that is it an OPEN SOURCE tool !A well appreciated tool from the commercial world is LLBLGEN PRO. Very interesting and working well but harder to use in a big project context due to the configuration file hard to share and merge (binary format).I will have a look on these 2 tools but want to extend it to : MINDSCAPE LIGHTSPEED, SUBSONIC... and some other I suppose, if it makes sense !The last word for now is : if your working on a medium project and you are able to manage a way of sharing the LLBLGEN configuration... this tool is a very go... [More]

.NET Projects, DAL ,

Interesting method to display a progress bar on first page loading

11. September 2008
http://encosia.com/2008/02/05/boost-aspnet-performance-with-deferred-content-loading/

Asp.net, C# sample code ,

A shortcut to build a web proxy

31. July 2008
For reusing :  public static WebProxy BuildProxy(string proxyServer, int proxyPort, string login, string password, string commaSeparatedProxyExclusions) {     WebProxy proxy = new WebProxy(proxyServer, proxyPort);     if (!String.IsNullOrEmpty(login))     {         NetworkCredential proxyCredential = new NetworkCredential(login, password);         CredentialCache proxyCredentials = new CredentialCache();         proxyCredentials.Add(proxy.Address, "Basic", proxyCredential);         proxyCredentials.Add(proxy.Address, "Digest", proxyCredential);         proxy.Credentials = proxyCredentials;     }     foreach (string exclude in commaSeparatedProxyExclusions.Split(new char[] { ',' })... [More]

C# sample code

.NET StockTrader Sample Application

29. July 2008
Part of the Microsoft resume : This application is an end-to-end sample application for .NET Enterprise Application Server technologies. .NET StockTrader 2.0 composite Web application and middle tier services. New modes for Advanced Web Service (WS-*) message-level security and interoperability with a variety of non-Microsoft platforms via the SOA architecture. Configuration Service 2.0 with technical guides and samples. Capacity planning tool for running multi-agent benchmarks against the .NET StockTrader services. WSTest 1.5 Web services benchmark. Download here : http://www.microsoft.com/downloads/details.aspx?FamilyID=9A60F0C0-007E-4D49-B061-FBE26C28302E&displaylang=en

.NET Projects, Architecture, C# sample code, Web Services , , ,

My "Show desktop" icon does not appear in the quick launch bar

16. July 2008
1- From the explorer, open the following folder : C:\Documents and Settings\[Your Account Name]\Application Data\Microsoft\Internet Explorer\Quick Launch 2- Create a new text file and insert the following content : [Shell] Command=2 IconFile=explorer.exe,3 [Taskbar] Command=ToggleDesktop 3- Save and rename the file : ShowDesktop.scf The icon will appear in the quick launch bar !

Miscellaneous, Windows ,

TechDays 2008

8. July 2008
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 ... [More]

.NET Projects, Architecture, Asp.net , ,

SQL Server 2008 Installation, second episode !

7. July 2008
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 d... [More]

Developer Tools, Sql ,

SQL Server 2008 Installation

7. July 2008
Previously installed : - .NET Framework 3.5 - Windows Installer 4.5 Tested prerequisites : Installation dashboards : Planning       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   Installing setup support files   Defining features et settings Installation summary and starting...   Database installation succeeded but service starting failed ! Error 1814... Let's see the second episode on the next post !

Developer Tools, Sql ,