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".
  • April 2009 – Benny Michielsen
    on 19 04 2009 Categories Computer Tags display macbook uv 16 Leave a comment on MacBook powering two external displays This week on my screen 7 NHibernate Criteria Builder haven t looked at it in detail the goal is query the database as close as possible to the business needs Retrieve a nested component with the criteria API Optmizing a software services application what you run into in when making a responsive smart client Writing smart clients with WCF UI s and threading the horror service life cycle NHibernate Query Cache how to make some changes have an effect on the cache and others not Ayende comments on the repository pattern I ve run into these issues as well Ayende also made a lot of posts on NHibernate mappings while some stuff you ll already know there s bound to be something you didn t know Author BennyM Posted on 18 04 2009 Categories Software Development Tags nhibernate smart client wcf Leave a comment on This week on my screen 7 Updated to BE 1 5 Just a small post to see if everything is still up and running only the lightbox extenstion is having a small design issue Apart from that everything went smooth For those using MS SQL 2000 as backend you can just use the upgrade script that comes with the 1 5 release Author BennyM Posted on 14 04 2009 Categories Computer Software Development Tags blogengine Leave a comment on Updated to BE 1 5 Mono 2 4 and MonoDevelop 2 0 on OSX I installed Mono and MonoDevelop again this week but found out rather quickly that not much has changed in MonoDevelop since the last time I used it MD went 2 0 recently while Mono is now 2 4 I probably should have guessed that all the problems I ran into using MD were still not resolved because of the red letters on their site discouraging using MonoDevelop on the Mac On the forums however I found out that in the next version a lot of improvements should make it into the Mac distribution Mono is closing in on Net it was good to see that a lot of the c language enhancements as well as new NET features have made it into the platform Including automatic properties lambdas etc Linq is said to be supported as well but I was unable to write even a simple query I never got the select statement to work Could be me though What I did find interesting was how you can create native looking applications for almost every platform while using the same Mono core of your application I really want to try that out On the Mono site you get linked to Cocoa for OSX but that project seems to be rather silent though a user made a recent contribution I did like the way on how you could use the existing development tools available xCode and Interface builder so you would not need

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


  • March 2009 – Benny Michielsen
    e passing credentials object id MyService type WCFChannelManager ChannelManagerFactoryObject Perponcher WCFChannelManager property name ChannelType expression T Server IService1 Common property name EndpointConfigurationName value MyEndpoint property name ChannelManagementMode value VariablePool property name ProductTemplate object property name ChannelManager ChannelFactory Credentials UserName UserName value username property name ChannelManager ChannelFactory Credentials UserName Password value password object property object That s it for now Future additions will include setting the pool size of a fixed sized pool via the FactoryObject for now the default of 5 is used extend or add a new pool based on the SimplePool At the moment closed or faulted channels are not removed from that implementation meaning that when your 5 channels are closed the pool will raise an exception WCFChannelManager drop3 zip 1 16 mb Series Migrating from asmx webservices to WCF with Spring Net Configuring the ChannelManager First Drop Second Drop Third Drop Author BennyM Posted on 22 03 2009 Categories Software Development Spring NET Tags channel pool wcf Leave a comment on WCF ChannelManagement drop 3 This week on my screen 5 NHibernate 2 1 0 alpha 1 released note that the dynamic proxy stuff has been changed so read the release notes War stories from Joe Stump lead architect at Digg very interesting Roy Osherove reviews the tests from NerdDinner interesting and funny He also has a book out which I promptly ordered The Art of Unit Testing with Examples in NET MIX get a view on where Microsoft is going with Silverlight NET Author BennyM Posted on 21 03 2009 Categories Computer Software Development Tags digg mix nhibernate tests Leave a comment on This week on my screen 5 WCF ChannelManagement drop 2 Updated version is now available no channel pooling yet but I changed the way default values and the ProductTemplate were being handled I ve already used the library successfully at work in a very heavy WCF application I found some issues with it like when you wanted to configure the ChannelFactory in your configuration file but these are now fixed Next up pooling WCFChannelManager drop2 zip 1 14 mb Series Migrating from asmx webservices to WCF with Spring Net Configuring the ChannelManager First Drop Second Drop Third Drop Author BennyM Posted on 14 03 2009 Categories Software Development Spring NET Tags channel wcf Leave a comment on WCF ChannelManagement drop 2 This week on my screen 4 SOLID pictures if you don t know what it stands for visit this site Manifesto for Software Craftsmanship Windows 7 HTPC on Tom s Hardware Fluent NUnit In depth article on BeginInvoke Invoke If you multithread your Winforms a must read WCFMock mocking for WCF what s in a name SAML token with Geneva Free eBook on ASP NET MVC Author BennyM Posted on 14 03 2009 Categories Computer Software Development Tags geneva htpc wcf Leave a comment on This week on my screen 4 First drop of ChannelManagement available First drop available of the ChannelManagement library Currently only support single action channels meaning that

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

  • February 2009 – Benny Michielsen
    a good book on it if anyone has suggestions please let me know Oh yeah I started tweeting How fashionable Author BennyM Posted on 18 02 2009 Categories Software Development Tags twitter wcf Leave a comment on This week on my screen 2 This week on my screen 1 Fluent NHibernate launches an official site and wiki AutoMapper an object to object mapper maybe I can finally stop writing assemblers in my projects Microsoft Geneva enabling claim based applications SSO for desktop apps perhaps Mark Pollack talks about the Spring Net roadmap on InfoQ including a code based approach to configure your application Custom authentication with Microsoft Geneva shameless plug Author BennyM Posted on 05 02 2009 Categories Software Development Spring NET Tags automapper fluent nhibernate geneva 2 Comments on This week on my screen 1 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 Brew 2052 on Getting up and running with Mono and Raspberry Pi 3 bhldev on Exposing iCal data in WebAPI

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

  • January 2009 – Benny Michielsen
    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 Mapping a list of components with Fluent NHibernate This took me some time to figure out since documentation for Fluent NHibernate is still a little scarce Let s say we have an entity ActivityType which has an icon and a name but the name is stored for each language so we have a one to many relationship This relationship is not only modelled in the entity ActivityType but also in several others The translation is modelled in the LocalizedEntity class As illustrated in the class diagram below The DB is illustrated in the next diagram to make it easy the tables have a different name compared to the entity diagram p The mapping for the Language entity is pretty straightforward The mapping for the ActivityType and its localizations was a bigger challenge since I got lost in all the delegates after the Component method public class LanuageMapping ClassMap Language public LanuageMapping Id x x Id Map x x Name WithTable 7de Languages public class ActivityTypeMapping ClassMap ActivityType public ActivityTypeMapping WithTable 7de EventTypes Id activityType activityType Id Map activityType activityType IconName HasMany LocalizedEntity activityType activityType Descriptions WithTableName 7de LocalizedEventTypes Component description description References Language desc desc Language CanNotBeNull description Map desc desc Localization CanNotBeNull Author BennyM Posted on 05 01 2009 Categories Software Development Tags fluent nhibernate nhibernate 3 Comments on Mapping a list of components with Fluent NHibernate Apple developing home media server Last week just when I thought I had looked into every option available for a home media server the rumor is posted that Apple might be creating one Better just wait for the keynote which will be held Tuesday at 9 am PST or 18 CET Image from MacRumors forums Author BennyM Posted on 04 01 2009 Categories Computer Tags apple mediaserver Leave a comment on Apple developing home media server Virtualisation with VirtualBox Whenever you look around for virtualisation solutions on the Mac platform you get two answers VMware Fusion and Parallels One you don t hear so much about however is VirtualBox from Sun I haven t used the first two since VirtualBox is open source and free of charge I first installed it two months ago and although it worked it was extremely slow This was not so much due to the software rather my machine only had 1 GB of RAM available and running two operating systems is rather intensive A few weeks ago I upgraded to 4 GB and tried out VirtualBox again I ve been using it almost daily since then It works great Most of the time I m a Net developer so I need Visual Studio and Windows to get my work

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

  • December 2008 – Benny Michielsen
    as a shared iTunes library so you can choose what you want to hear in the same way you do when the mp3 s would be stored locally The downside of this is that I can t run this in my media center and that I need iTunes on my other windows machines Also if I d want to play music on a stereo I d need to keep a PC running since the server can t stream directly to AirTunes The third one I tried was TwonkyMedia installation was no problem but I couldn t connect with any player and the posts on their forum didn t seem that promissing customers who don t get support is no good advertisement The server however is based on the UPnP protocol which is kind of the standard in the industry WMP 11 can connect to such a server as can the Playstation 3 and a lot of other players Searching for UPnP servers led me to TVersity which blew me away I can connect with my iPhone my Vista Media Center WMP any browser It s much more than just an audio server I suggest you look at their website and try it out The only downside iTunes doesn t support UPnP So far my search for a media server I haven t decided which way to go Author BennyM Posted on 17 12 2008 Categories Computer Music Tags firefly mediaserver mp3 squeezecenter tversity Leave a comment on In search of a mediaserver Replace MacBook memory Today I upgraded my MacBook early 2008 from 2 512 MB RAM to 2 2 GB RAM The entire process took me 5 minutes including the time to search for a fitting screw driver It was far easier than expected First turn over your MacBook

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

  • November 2008 – Benny Michielsen
    posted on the website The presentations I saw were iPhone Development Overview iPhone User Interface Design iPhone Development Tools Overview and Programming Concepts Introduction to Objective C and Cocoa Touch Developing iPhone Applications with UIKit Maximizing Your Application s Performance on iPhone Submitting to the App Store using iTunes Connect If you compare this with their original list you see that there were a lot more sessions than originally planned and as a result the speaker had a lot of trouble fitting it all in his schedule Which is disappointing removing two or three topics would have been better especially since there was a lot of overlap between some of them User Interface Design for instance explained all the different controls available and this was repeated again in the UIKit presentation What would have been better was explaining the concepts behind it in the first session and then actually implementing a sample application using the UIKit Model View Controller was also explained three times why not explain it once and show code the second time Knowing the theory behind it is good but actually showing us why some things are in place would have been better Did all this make it a useless event Certainly not if there is one in the future I hope I will be able to attend again and because this was the first time Apple organized something like this they probably still have to learn what content fits and what not And ow yeah catering was excellent Author BennyM Posted on 10 11 2008 Categories Software Development Tags apple iPhone techtalk Leave a comment on iPhone Tech Talk Amsterdam 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

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

  • September 2008 – Benny Michielsen
    that has the tranascation attribute declared on its methods and manage the transaction from in that generated class Everything you ve written will be transactional from that point until the method that is being called is completed For now however let s use the TransactionProxyFactoryObject To use this approach I only need to change my service definition Through the transaction attributes property I can define which methods need to be transactional in this case any method that starts with Save The target property can be any object in your context object id TodoService type Spring Transaction Interceptor TransactionProxyFactoryObject Spring Data property name PlatformTransactionManager ref TransactionManager property name TransactionAttributes name values add key Save value PROPAGATION REQUIRED name values property property name Target object type TodoCore AppService TodoService TodoCore property name TodoRepository ref NhnTodoRepository object property object With this in place we now have a basic application which is workable in a test environment Speaking about tests I really need to add them to the project I m not a very good TDD er myself though I m convinced it is the way to go I should start applying it SampleApplication04092008 rar 2 95 mb Author BennyM Posted on 05 09 2008 Categories Software Development Spring NET Tags transactions Leave a comment on Adding transactions and exploring the BindingList Using Spring Net SQLite and NHibernate I was planning to put a quick spike together on putting single sign on using CardSpace OpenID and Windows Live into an application to test it out for a project at work Maybe it was because of the weekend but I was quite enthusiastic and added several technologies to the sample which I had never used before Six hours later there was still no single sign on or even a fully working sample application to add the behaviour to So instead of posting 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

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

  • August 2008 – Benny Michielsen
    can t be heard now To test the heatsink I started two instances of cpuburn and watched the result with speedfan After 5 10 minutes the temperature reached around 50 degrees which is quite good especially if you keep in mind that the two cores will never be under that amount of load under normal use So overall a great product Author BennyM Posted on 26 08 2008 Categories Computer Tags htpc minja Leave a comment on Installing a Scythe Mini Ninja Using appSettings in your Spring configuration This seems to be an undocumented feature that someone asked about on the user forum of the Spring Net framework I don t know where I picked it up so I m writing it down here When using Net you tend to put configuration values in the appSettings section of your app or web config Entries like filepaths or other constants fit here nicely If you ve written an application powered by Spring Net you ll also have several spring configuration files which define the objects in use by your system Most of their dependencies if not all are quite static but sometimes there s the need for a configurable value These tend to change more than other object relations so instead of searching through all your definitions to change them wouldn t it be better to have a central place where you can manage them Of course it would so let s use the appSettings section In order to reference the appSettings in your Spring configuration file you need to add this object definition to your configuration object name appConfigPropertyHolder type Spring Objects Factory Config PropertyPlaceholderConfigurer Spring Core property name configSections value appSettings value property object Your appSettings typically looks like this appSettings add key LoggerOutputFile value c MyOutputFile txt appSettings Now you can reference this value using LoggerOutputFile as illustrated below object name MyLogger type SpringAppSettingsConsole Infrastructure FileLogger SpringAppSettingsConsole constructor arg value LoggerOutputFile object Full sample with source code can be downloaded here SpringAppSettings zip 247 31 kb Author BennyM Posted on 11 08 2008 Categories Spring NET Tags appsettings configuration Leave a comment on Using appSettings in your Spring configuration Updated to BlogEngine 1 4 5 A new BE version means sql scripting time for MS SQL 2000 users For a full upgrade guide you should go to Al Nyveldt s blog If you are creating a new blog or are upgrading from 1 3 x just use the correct script for you MSSQL2000 Setup1 4 5 0 sql 24 91 kb MSSQL2000 UpgradeTo1 4 5 0From1 3 x sql 10 07 kb If you are currently using 1 4 0 there s some more work you ll need to do In this new version the column Settings in the table DataStoreSettings has changed from binary datatype to varchar the corresponding change on MS SQL 2000 means moving from the image datatype to ntext This is not possible allowed by the server The easiest thing you can do is

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



  •