archive-be.com » BE » B » BENNYMICHIELSEN.BE

Total: 348

Choose link from "Titles, links and description words view":

Or switch to "Titles and links view".
  • Fluent Spring.NET configuration with Recoil – Benny Michielsen
    are marked Comment Name Email Website Post navigation Previous Previous post Using SQLite in 64 bit NET environments Next Next post Reading PDF files on the iPhone Search Search for Search Follow me Recent Comments Rick on Partitioning and wildcards in an Azure Data Factory pipeline BennyM on WCF HTTPS And Request Entity Too Large Justin on WCF HTTPS And Request Entity Too Large The Morning Brew Chris Alcock The

    Original URL path: http://blog.bennymichielsen.be/2009/10/14/fluent-spring-net-configuration-with-recoil/ (2016-04-29)
    Open archived version from archive


  • Using SQLite in 64-bit .NET environments – Benny Michielsen
    use a tool that ships with Visual Studio the SDK CoreFlags exe To change your compile settings in Visual Studio Go to the startup project of your program Open the properties window Click the compile tab Click advanced compile options Change the target CPU options to x86 Your program will now always run in 32 bit mode even when run on a 64 bit machine You could also provide two distributions one for each environment While this will become the standard in the future for my current project this was the best and easiest option More info can be found here Running NET Apps in 32 bit mode on 64 bit Windows MSDN 64 bit Applications Visual Studio Development Environment 64 Bit Support forum post at the SQLite site Author BennyM Posted on 12 10 2009 Categories Software Development Tags sqlite 6 thoughts on Using SQLite in 64 bit NET environments amazis says 13 06 2010 at 00 38 This solution doesn t work Reply admin says 30 06 2010 at 22 28 Pretty sure it does can you give more information Reply Mauro says 15 07 2010 at 20 04 I just tried it and it worked for me Reply netdev says 02 09 2010 at 17 20 It is necessary to change the target platform for both the Debug and Release configuration settings for consistency Reply rui says 07 09 2010 at 21 36 yeps perfect changed to x86 and its working Reply Leandro says 17 05 2012 at 22 53 Thank you worked fine here Reply Leave a Reply Cancel reply Your email address will not be published Required fields are marked Comment Name Email Website Post navigation Previous Previous post October 2009 bookshelf Next Next post Fluent Spring NET configuration with Recoil Search Search for Search

    Original URL path: http://blog.bennymichielsen.be/2009/10/12/using-sqlite-in-64-bit-net-environments/ (2016-04-29)
    Open archived version from archive

  • sqlite – Benny Michielsen
    one post I ll have a mini series where SSO will actually be a side track Getting the database set up was one of the first things I wanted to do I didn t want to add a MS SQL database to the project since that would require anyone who downloaded this project to have the database engine running On various other blogs and Net sites I ve read there was talk about a lightweight alternative in the form of Sqlite The net provider can be downloaded here and boy was I lucky the day I wanted to try it out they released a new version Their latest version includes designer support in Visual Studio Halfway august the Spring Net team had also released a new version 1 2 M1 so I grabbed that version and NHibernate went 2 0 GA as well Since the Spring Net assemblies are strongly signed they expected SQLite 1 0 56 and not 1 0 58 which was the one I downloaded To make use of the new dll s I added this to my configuration db provider id DbProvider provider SQLite 1 0 56 connectionString db datasource Spring Net has several DbProviders already configured one of them being for version 1 0 56 Normally you don t want to configure the entire provider for a new version so I just reused the existing configuration and added an assembly redirect assemblyBinding xmlns urn schemas microsoft com asm v1 dependentAssembly assemblyIdentity name System Data SQLite culture neutral publicKeyToken db937bc2d44ff139 bindingRedirect oldVersion 1 0 56 0 newVersion 1 0 58 0 dependentAssembly assemblyBinding This is all defined in the spring manual but it actually took me quite some time to get it running Only when adding the xml namespace the redirect was picked up when running the application The NHibernate version I had was also newer so a redirect was necessary for those dll s as well With this out of my way I still had to tell NHibernate to use SQLite The official site gives this sample configuration xml version 1 0 encoding utf 8 hibernate configuration xmlns urn nhibernate configuration 2 2 session factory name NHibernate Test property name connection provider NHibernate Connection DriverConnectionProvider property property name connection driver class NHibernate Driver SQLiteDriver property property name connection connection string Data Source nhibernate db Version 3 property property name dialect NHibernate Dialect SQLiteDialect property property name query substitutions true 1 false 0 property session factory hibernate configuration Which is almost correct but not quite Below you find the complete correct springified configuration so extract the pieces you need when using plain NHibernate The difference is in the driver class object id NHibernateSessionFactory type Spring Data NHibernate LocalSessionFactoryObject Spring Data NHibernate20 property name DbProvider ref DbProvider property name MappingAssemblies list value TodoCore value list property property name HibernateProperties dictionary entry key connection provider value NHibernate Connection DriverConnectionProvider entry key connection driver class value NHibernate Driver SQLite20Driver entry key dialect value NHibernate Dialect SQLiteDialect entry key query

    Original URL path: http://blog.bennymichielsen.be/tag/sqlite/ (2016-04-29)
    Open archived version from archive

  • October 2009 bookshelf – Benny Michielsen
    It already helped me getting the layout right for the application I m writing Also the code snippets in the book are in colour which certainly improves the readability of especially the XAML The Art of Unit Testing with Examples in NET Though I m convinced of TDD and unit testing in general I find it hard to apply when doing projects at work I m hoping this book will help me to structure my programming work around TDD and how to write good maintainable tests The text is written in an easy to read manner and currently feels like a step by step guide on how to become a better test writer You don t need any prior knowledge to get started with this book I ve only read the first 100 pages but in my eyes it s already a classic go get it Dependecy Injection in NET Earlier this week you could get this one for a mere 10 via a twitter promo code Though I m fairly confident I know what DI is when to use it and what the advantages are you always need to keep an eye out for any new insights or information Have only read the first couple of pages where the problem of coupling between your components is sketched The book is still a work in progress but you can already get it via the Early Access Program Author BennyM Posted on 11 10 2009 Categories Computer Software Development Tags book dependency di unittest wpf Leave a Reply Cancel reply Your email address will not be published Required fields are marked Comment Name Email Website Post navigation Previous Previous post WCF ChannelManagement bug fix Next Next post Using SQLite in 64 bit NET environments Search Search for Search Follow me Recent

    Original URL path: http://blog.bennymichielsen.be/2009/10/11/october-2009-bookshelf/ (2016-04-29)
    Open archived version from archive

  • dependency – Benny Michielsen
    to write good maintainable tests The text is written in an easy to read manner and currently feels like a step by step guide on how to become a better test writer You don t need any prior knowledge to get started with this book I ve only read the first 100 pages but in my eyes it s already a classic go get it Dependecy Injection in NET Earlier this week you could get this one for a mere 10 via a twitter promo code Though I m fairly confident I know what DI is when to use it and what the advantages are you always need to keep an eye out for any new insights or information Have only read the first couple of pages where the problem of coupling between your components is sketched The book is still a work in progress but you can already get it via the Early Access Program Author BennyM Posted on 11 10 2009 Categories Computer Software Development Tags book dependency di unittest wpf Leave a comment on October 2009 bookshelf Presentation Introduction to Spring Net Last Thursday my boss and I gave a presentation on Spring Net and dependency management in general The audience mainly if not only consisted of students in their 2nd or 3rd year so they probably wondered what all the fuzz was about I just hope that they will remember the concepts we introduced to them and understand that there s more to software development than the typical three tier applications you develop in school If you were in the audience and have questions on the topic or presentation feel free to contact me at me at bennymichielsen dot be The first few slides are based on and contain images from a presentation by Bob Martin

    Original URL path: http://blog.bennymichielsen.be/tag/dependency/ (2016-04-29)
    Open archived version from archive

  • di – Benny Michielsen
    first part of the book which introduces the layout containers grid stackpanel wrappanel and the basic containers It already helped me getting the layout right for the application I m writing Also the code snippets in the book are in colour which certainly improves the readability of especially the XAML The Art of Unit Testing with Examples in NET Though I m convinced of TDD and unit testing in general I find it hard to apply when doing projects at work I m hoping this book will help me to structure my programming work around TDD and how to write good maintainable tests The text is written in an easy to read manner and currently feels like a step by step guide on how to become a better test writer You don t need any prior knowledge to get started with this book I ve only read the first 100 pages but in my eyes it s already a classic go get it Dependecy Injection in NET Earlier this week you could get this one for a mere 10 via a twitter promo code Though I m fairly confident I know what DI is when to use it and what the advantages are you always need to keep an eye out for any new insights or information Have only read the first couple of pages where the problem of coupling between your components is sketched The book is still a work in progress but you can already get it via the Early Access Program Author BennyM Posted on 11 10 2009 Categories Computer Software Development Tags book dependency di unittest wpf Leave a comment on October 2009 bookshelf Search Search for Search Follow me Recent Comments Rick on Partitioning and wildcards in an Azure Data Factory pipeline BennyM on WCF

    Original URL path: http://blog.bennymichielsen.be/tag/di/ (2016-04-29)
    Open archived version from archive

  • wpf – Benny Michielsen
    it hard to apply when doing projects at work I m hoping this book will help me to structure my programming work around TDD and how to write good maintainable tests The text is written in an easy to read manner and currently feels like a step by step guide on how to become a better test writer You don t need any prior knowledge to get started with this book I ve only read the first 100 pages but in my eyes it s already a classic go get it Dependecy Injection in NET Earlier this week you could get this one for a mere 10 via a twitter promo code Though I m fairly confident I know what DI is when to use it and what the advantages are you always need to keep an eye out for any new insights or information Have only read the first couple of pages where the problem of coupling between your components is sketched The book is still a work in progress but you can already get it via the Early Access Program Author BennyM Posted on 11 10 2009 Categories Computer Software Development Tags book dependency di unittest wpf Leave a comment on October 2009 bookshelf WPF Application by Billy Hollis I had seen presentations by Billy Hollis before via InfoQ and ran into this one today If you aren t convinced what WPF can do for you as WinForm developer go check it out If you re not into WPF the site has much more interesting Net material Author BennyM Posted on 20 01 2009 Categories Software Development Tags example wpf Leave a comment on WPF Application by Billy Hollis Using Spring NET as IoC container for Composite WPF I ran across this post which shows how you can

    Original URL path: http://blog.bennymichielsen.be/tag/wpf/ (2016-04-29)
    Open archived version from archive

  • WCF ChannelManagement bug fix – Benny Michielsen
    be published Required fields are marked Comment Name Email Website Post navigation Previous Previous post Memory profiling from the trenches Next Next post October 2009 bookshelf Search Search for Search Follow me Recent Comments Rick on Partitioning and wildcards in an Azure Data Factory pipeline BennyM on WCF HTTPS And Request Entity Too Large Justin on WCF HTTPS And Request Entity Too Large The Morning Brew Chris Alcock The Morning

    Original URL path: http://blog.bennymichielsen.be/2009/07/24/wcf-channelmanagement-bug-fix/ (2016-04-29)
    Open archived version from archive



  •