Meta tags:
Headings (most frequently used words):
2007, net, sitecore, torsdag, 29, fredag, november, søndag, on, and, runi, thomsen, code, thoughts, september, 15, 2011, december, 17, 2009, august, 2008, 30, april, januar, 14, om, mig, things, im, involved, in, blog, arkiv, abonner, på, faste, læsere, quick, tip, accessing, mappath, method, when, httpcontext, current, is, null, developer, macbook, pro, running, windows, sp1, mailmonitor, edition, remoting, removed, from, using, the, objectdatasource, with, singleton, or, interface, instances,
Text of the page (most frequently used words):
the (90), and (36), that (31), #sitecore (27), del (21), this (21), net (20), you (18), #objectdatasource (16), not (15), use (14), blog (12), from (12), but (12), for (12), runi (11), thomsen (11), mail (10), have (10), instance (10), using (10), been (10), item (10), class (9), was (9), kommentarer (8), way (8), only (8), when (7), pinterest (7), via (7), facebook (7), dette (7), send (7), med (7), indsendt (7), now (7), itransactionlocator (7), has (7), are (6), how (6), make (6), would (6), windows (6), child (6), november (5), 2007 (5), method (5), also (5), code (5), will (5), new (5), data (5), can (5), web (5), some (5), made (5), remoting (5), microsoft (5), childrenrepeater (5), opslag (4), 2008 (4), mappath (4), delegate (4), developer (4), singleton (4), create (4), more (4), about (4), developers (4), classes (4), system (4), visual (4), studio (4), running (4), datasource (4), children (4), templatename (4), displaybox (4), context (4), what (4), one (4), model (4), sp1 (4), macbook (4), pro (4), httpcontext (4), current (4), alle (3), atom (3), december (3), april (3), august (3), 2009 (3), control (3), dealer (3), case (3), find (3), your (3), own (3), interface (3), client (3), pattern (3), asp (3), server (3), retrieval (3), want (3), them (3), implement (3), with (3), time (3), same (3), very (3), all (3), just (3), used (3), change (3), years (3), torsdag (3), foreach (3), list (3), there (3), well (3), good (3), life (3), perform (3), abonner (2), oktober (2), 2005 (2), januar (2), quick (2), tip (2), accessing (2), september (2), 2011 (2), mailtalk (2), things (2), which (2), little (2), idea (2), flexible (2), sent (2), add (2), account (2), idealer (2), objectdatasource_selecting (2), sender (2), object (2), void (2), protected (2), parameter (2), standard (2), hook (2), into (2), event (2), onselecting (2), here (2), locator (2), uses (2), objectinstance (2), objectdatasource_objectcreating (2), type (2), objects (2), onobjectcreating (2), therefore (2), reflection (2), its (2), itransaction (2), dataobjecttypename (2), fact (2), cannot (2), instances (2), later (2), typename (2), notice (2), better (2), configure (2), gof (2), thus (2), consultant (2), see (2), their (2), they (2), webcontrols (2), bind (2), søndag (2), introducing (2), creating (2), hosted (2), could (2), any (2), supporting (2), different (2), marshallbyrefobject (2), great (2), during (2), beta (2), still (2), why (2), include (2), removed (2), monitor (2), project (2), last (2), tool (2), written (2), released (2), within (2), mailmonitor (2), ingen (2), yield (2), arraylist (2), ever (2), clr (2), had (2), update (2), compiler (2), remains (2), library (2), happy (2), who (2), tried (2), transition (2), seamless (2), strange (2), fredag (2), however (2), work (2), over (2), funny (2), actually (2), under (2), unibody (2), reading (2), know (2), path (2), null (2), thoughts (2), simple, tema, leveret, blogger, faste, læsere, marts, maj, 2006, httpconte, arkiv, involved, vis, hele, min, profil, name, currently, live, copenhagen, denmark, cto, based, email, marketing, platform, founder, partner, mig, start, ældre, hope, give, implantation, really, manner, complete, parameters, inputparameters, session, objectdatasourceselectingeventargs, needs, special, covered, selectparameter, tags, customize, assign, arguments, property, transactionlocator, instancehelper, objectdatasourceeventargs, defines, returned, order, instruct, exactly, attribute, application, getting, through, shows, locate, transactions, thing, false, enablecaching, selectmethod, linktrackerserver, mailmonitorserver, runat, _transactiondata, approach, tag, already, present, tell, exact, necessary, decided, expose, interfaces, access, implemented, factory, design, letting, often, having, wrapped, another, implementing, satisfy, leads, twice, complexity, replication, technique, cowered, post, might, trivial, believe, point, clear, enough, presented, option, against, default, retrieve, bounded, example, gridview, ago, feature, scalable, support, fundament, integration, applications, process, cms, scenario, likely, enterprise, open, possibility, custom, tools, run, machine, even, creation, power, shell, essence, big, kernel, ultimately, something, does, impact, performance, rest, configuration, means, nearly, effortless, free, whereas, benefits, powerful, realized, surprise, none, period, simply, understand, love, hear, input, blogged, kommentar, working, product, called, pet, sms, campaign, cool, stuff, except, silverlight, super, nerd, highly, extendable, providers, services, patterns, version, check, out, these, screenshots, edition, databind, select, where, query, syntax, return, iterator, statement, anonomouse, loop, database, selectitems, content, home, production, environment, couple, weeks, since, gold, partners, got, vs2008, problems, far, runtime, coming, generics, parametric, polymorphism, changed, target, changes, purely, additive, meaning, remain, features, added, dlls, changing, old, ones, coding, finnish, lets, reflect, repeater, wich, like, most, especially, news, upgrade, back, day, supposed, surely, always, containing, braking, difficult, experience, upgrading, report, truly, victim, bug, meant, framwork, read, discovered, patch, addressing, problem, tested, seems, download, rev, 080820, sdn5, alexey, rusakov, next, few, days, write, did, describe, issue, solved, enable, ahci, sata2, speeds, besides, being, quite, customers, faces, sit, down, around, conference, table, myself, specialist, pulling, briefcase, told, promise, explain, doing, than, writing, series, posts, second, first, sold, bought, instead, proved, decision, marvelous, battery, fantastic, screen, compared, lot, silent, hot, intensive, hassle, year, struggling, baby, easy, must, 100, hours, blogs, discussion, forums, pages, subject, programmer, mid, ghz, cpu, ram, intel, 25m, 160gb, ssd, hard, drive, top, primary, spending, outlook, 2010, google, chrome, yes, true, hosting, located, namespace, app_config, mailtalkservices, config, hostingenvironment, get, absolute, file, relative, alternative, thread, eventhandler, programming, issues, systems,
Text of the page (random words):
runi thomsen code thoughts runi thomsen code thoughts this is my blog on programming issues and my life as an systems developer torsdag september 15 2011 quick tip accessing mappath method when httpcontext current is null if you ever tried to use the httpcontext current server mappath method from a thread or within a sitecore eventhandler you will notice that the httpcontext current is null how do you get the absolute path of a file when you only know the relative path well you can t use httpcontext current server but you can use the alternative hostingenvironment mappath app_config mailtalkservices config located in the namespace system web hosting indsendt af runi thomsen kl 4 36 pm ingen kommentarer send med mail blog om dette del på x del via facebook del på pinterest torsdag december 17 2009 net developer on a macbook pro running windows 7 yes i know it is strange but very true i am a microsoft net programmer and i use a 17 unibody macbook pro mid 2009 model with a 2 66 ghz cpu 8 gb ram and a intel x 25m 160gb ssd hard drive on top of that i m running windows 7 as my primary os spending 99 of my time on it and using 90 of my time in visual studio 2008 outlook 2010 beta or google chrome and i am happy well now i am but it has been a hassle for a little over a year i have been struggling to make this baby perform under windows 7 and i has not been easy i must have used 100 hours reading blogs discussion forums and reading web pages on the subject this is actually my second unibody macbook pro my first was a 15 but i sold that one and bought the 17 model instead this proved to be a good decision the 17 has a marvelous battery life and a fantastic screen compared to the 15 model it is also a lot more silent and not as hot during intensive use i am besides being a net developer also a consultant it has been quite funny to see how my customers make funny faces when i sit down around the conference table introducing myself as a microsoft specialist pulling a macbook pro from my briefcase however some of them have told me that they actually had the same idea and i made a promise to one of them to explain how i made it perform under windows 7 what better way of doing that than writing a series of blog posts i will over the next few days write about what i did to make it perform and describe the one issue that remains to be solved how to enable ahci and thus sata2 speeds in windows 7 but more on that later indsendt af runi thomsen kl 11 12 pm 5 kommentarer send med mail blog om dette del på x del via facebook del på pinterest fredag august 29 2008 sitecore and net 3 5 sp1 sitecore 6 was the victim of a bug in microsoft net 3 5 sp1 which meant that sitecore 6 developers could not use visual studio 2008 sp1 or net framwork 3 5 sp1 you can read alle about it at alexey rusakov s blog however i just discovered that sitecore just now released a patch addressing this very problem i tested it and it seems to work what you want to do is download update rev 080820 from sdn5 sitecore net good work sitecore indsendt af runi thomsen kl 1 03 pm 3 kommentarer send med mail blog om dette del på x del via facebook del på pinterest fredag november 30 2007 sitecore on net 3 5 i can report that using sitecore with net 3 5 and c 3 0 truly is a seamless transition this is especially good news for us developers who tried to upgrade from net 1 1 to net 2 0 back in the day the transition supposed to be seamless but surely was not there was always some strange library containing some braking change or a project model who was removed only to make life difficult for us developers this is by my experience not the case when upgrading from net 2 0 to 3 5 i have been running a production environment of sitecore in net 3 5 for a couple of weeks now since we microsoft gold partners got vs2008 and there have been no problems so far but why is that well there has been no change what so ever in the clr runtime it s still 2 0 this was not the case coming from 1 1 to 2 0 ms had to update the clr to include generics parametric polymorphism the c compiler has changed but the target of the compiler remains the library changes are purely additive meaning that things you used in net 2 0 remain the same and all the new features have been added in new dlls not changing the old ones so happy coding using c 3 0 for sitecore to finnish of lets reflect on the different way to bind children of an item to a repeater control in sitecore wich one do you like the most the sitecore way childrenrepeater datasource context database selectitems sitecore content home templatename displaybox c 1 0 way using a standard foreach loop arraylist list new arraylist foreach item item in sitecore context item children if item templatename displaybox list add item childrenrepeater datasource list c 2 0 way using the iterator pattern yield statement and anonomouse delegate childrenrepeater datasource delegate foreach item child in sitecore context item children if child templatename displaybox yield return child c 3 0 way using the query syntax childrenrepeater datasource from item child in sitecore context item children where child templatename displaybox select child childrenrepeater databind indsendt af runi thomsen kl 12 57 pm ingen kommentarer send med mail blog om dette del på x del via facebook del på pinterest torsdag november 29 2007 mailmonitor sitecore edition i have been working on a product called mail monitor for years now it is my pet project and has been for the last 3 4 years or so mail monitor is an e mail sms campaign tool written in c hosted on asp net and uses all the cool stuff released from microsoft within the last years except silverlight for now it is a tool written by a super nerd me and is therefore highly extendable using providers web services remoting and gof patterns but mailmonitor is not new but the fact that i made a version for sitecore is for now check out these screenshots indsendt af runi thomsen kl 12 19 pm 1 kommentar send med mail blog om dette del på x del via facebook del på pinterest søndag april 29 2007 net remoting removed from sitecore some time ago i blogged about how sitecore would include net remoting a feature that would make sitecore more scalable and flexible introducing remoting support was a fundament for creating integration to sitecore from applications that would not be hosted on the same process as the cms a scenario that is very likely in the enterprise it would also open up the possibility of creating custom tools that could be run from any machine not running sitecore even supporting the creation of a windows power shell client in essence the only big different was the all classes in sitecore kernel ultimately would implement marshallbyrefobject something that does not have any impact on the performance of the system the rest was configuration it means that supporting net remoting is nearly effortless and free whereas the benefits are great and powerful i just realized to my great surprise that none of the classes that used to implement marshallbyrefobject during the beta period of sitecore 5 3 still do i simply do not understand why sitecore made this change and would love to hear their input on this indsendt af runi thomsen kl 4 02 pm 2 kommentarer send med mail blog om dette del på x del via facebook del på pinterest søndag januar 14 2007 using the objectdatasource with singleton and or interface instances when using visual studio 2005 to configure the objectdatasource you will only be presented the option to bind against classes that implement the class system web ui webcontrols objectdatasource the objectdatasource will pr default create its own instance of your objectdatasource class using reflection and use this that instance to retrieve objects that are to be bounded to you data control for example the gridview as a consultant i often see developers having their own data retrieval classes but when they want to use them in an objectdatasource the class is wrapped in another class implementing the system web ui webcontrols objectdatasource only to satisfy visual studio this leads to twice the complexity and replication of code the technique cowered in this blog post might be trivial to some but i believe that the point cannot be made clear enough a better approach is to configure the objectdatasource tag to make use of the already present data retrieval class and tell the objectdatasource to use exact the instance of you class that you want it to use this can be necessary if you have decided to only expose interfaces to you client or if you data access class is implemented as a gof singleton or factory design pattern thus not letting the objectdatasource create an instance of your data retrieval class asp objectdatasource id _transactiondata runat server typename mailmonitorserver locator itransactionlocator dataobjecttypename linktrackerserver itransaction selectmethod find onobjectcreating objectdatasource_objectcreating onselecting objectdatasource_selecting enablecaching false asp objectdatasource this code shows how i use the itransactionlocator to locate transactions the thing to notice here is that the itransactionlocator typename attribute of the objectdatasource is in fact an interface we cannot create instances of it from the client application and the only way of getting an instance of this interface is through a singleton pattern more about that later the dataobjecttypename defines that the type of the objects that are returned by the itransactionlocator are of type itransaction in order to instruct the objectdatasource to use exactly your instance of the itransactionlocator and therefore not use reflection to create its own instance i hook into the onobjectcreating event protected void objectdatasource_objectcreating object sender objectdatasourceeventargs e e objectinstance instancehelper instance transactionlocator here i assign the singleton instance of my locator class to the arguments objectinstance property this way the objectdatasource uses only this instance in this case the itransactionlocator s find method needs a special parameter not covered by the standard selectparameter tags to customize the parameter sent to the find method i hook into the onselecting event protected void objectdatasource_selecting object sender objectdatasourceselectingeventargs e idealer dealer idealer session dealer e inputparameters add account dealer account in this manner i also have complete control of the parameters that are sent to my itransactionlocator i hope this little code will give you a new idea of now flexible the objectdatasource implantation really is indsendt af runi thomsen kl 12 55 pm 5 kommentarer send med mail blog om dette del på x del via facebook del på pinterest ældre opslag start abonner på opslag atom om mig runi thomsen my name is runi thomsen and i currently live in copenhagen denmark im a net developer and cto of mailtalk which is a net based email marketing platform im am also the founder and partner at delegate vis hele min profil things im involved in delegate mailtalk blog arkiv 2011 1 september 1 quick tip accessing mappath method when httpconte 2009 1 december 1 2008 1 august 1 2007 4 november 2 april 1 januar 1 2006 11 november 2 oktober 3 august 2 maj 1 april 2 marts 1 2005 7 december 2 november 2 oktober 3 abonner på opslag atom opslag alle kommentarer atom alle kommentarer faste læsere simple tema leveret af blogger
|