IRC Networks
Irc Logs Stats
Start date: 2007-09-27 02:48:27
Last update: 2008-10-24 20:19:38
Channels: 41
Logged Lines: 6230436
Size: 1822.62 MB
Powered by
Channel Info
Network: freenodeChannel: #csharp |
Search in www.irclog.org
Log from #csharp at freenode 2006-05-25
[00:59]<sdz>I've looked up shadow copying, but what about versioning?
[01:00]<sdz>I mean, if I've got an assembly A1, it gets loaded into the server, then the server executes it; next time I pass to the server A2, will it be reloaded, or will the old assembly run?
[01:00]<wyfaj>ok
[01:01]<wyfaj>ASP.NET uses shadow copying
[01:01]<wyfaj>when you used ASP.NET, did you use any binaries?
[01:01]<sdz>yeah, it got copied to myaspapp/bin
[01:01]<wyfaj>in ASP.NET you can just replace files in the /bin directory while the ASP.NET app is running.... this is possible because ASP.NET uses shadow copying
[01:02]<wyfaj>right
[01:02]<wyfaj>it doesn't actually load those dlls, but actually copies them to a temp asp.net dir in which they run
[01:02]<sdz>so, if I overwrite those files in the /bin dir, how does it got injected into the running app?
[01:03]<wyfaj>when you update a dll in the bin dir, ASP.NET kicks in, stops the app, updates the version in the shadow copy dir and starts the app
[01:03]<wyfaj>something along these lines anyway
[01:03]<faccau>Arild, still does not solve the problem of making sure the object implementing my interface implements the attribute
[01:03]<sdz>hmmm
[01:03]<wyfaj>SDr: I believe adding support for shadow copying is simply a matter of setting some boolean and specifying a path where dlls should be copied to and run from
[01:04]<azyfm>lokkju: You wouldn't even consider a type that didn't implement your interface, would you?
[01:04]<sdz>so, if I enable shadow copy, will the shadow dlls be updated automatically?
[01:04]<wyfaj>so just look at some of the shadow* properties on AppDomain, or wherever that stuff is
[01:04]<wyfaj>yes, they should
[01:04]<sdnffdxdlld>lokkju, wether you use an attribute or an interface your still gonna have to check thats its implimented .. the only difference is the code ... one checks for an itnerface, the other checks for the attribute
[01:04]<sdz>I'll check into that, thx :)
[01:04]<wyfaj>I believe .NET does all the heavy-lifting for you
[01:04]<sdnffdxdlld>stupid typing :/
[01:05]<faccau>my gaol is for the someone who is writing code for my interface not to have to worry about something the compiler does not check for...
[01:05]<wyfaj>smellyhippy: get the VS SDK and implement English
[01:05]<sdz>"believe", that sentence somehow smells religius ;P
[01:05]<azyfm>the compiler does not check for your types implementing the interface either
[01:05]<azyfm>only your code does that
[01:05]<sdnffdxdlld>lol
[01:05]<wyfaj>im always very protective of myself - 9/10 cases what i say is true though :p
[01:06]<faccau>Arild, actually, the compiler/code designer does, when using intellisense - you can have a method that must be passed an object the implements an interface
[01:06]<azyfm>yes, but you are loading types iff they implement that interface, aren't you?
[01:06]<faccau>no
[01:08]<sdnffdxdlld>aye Arild, thats what i do with plugins, search a directory for assemblies then search the assemblies for types inplimenting Ixxx
[01:08]<azyfm>yeah
[01:08]<fzdnzwwnnqnn0q1o>booyah smelly BOOYYAH
[01:08]<fzdnzwwnnqnn0q1o>err
[01:09]<sdnffdxdlld>hehe hey dude
[01:09]<awjzdd>whats up?
[01:09]<sdnffdxdlld>just got back from amsterdam :D
[01:09]<wyfaj>we shouldve met
[01:09]<wyfaj>;)
[01:09]<awjzdd>ahh fun fun
[01:09]<awjzdd>lol
[01:09]<wyfaj>i bet it sucked with this shitty weather
[01:10]<awjzdd>wilco: i bet smellyhippy doesn't take sexual favors over the interweb
[01:10]<sdnffdxdlld>lol
[01:10]<awjzdd>;)
[01:10]<sdnffdxdlld>wilco, I prerfer it when its dry but atleast theres plenty of coffeeshops to duck into
[01:10]<awjzdd>lol
[01:11]<sdnffdxdlld>our hotel was right by the square too so we never had far to walk
[01:11]<awjzdd>ahh i gotta go have a little 'heart to heart, with my nephews baby sitter...'
[01:11]<awjzdd>somebodies gettin an assbeating
[01:12]<awjzdd>(and i hope it ain't me)
[01:12]<awjzdd>anyways see you boys tomorrow if i don't get myself in to much trouble
[01:12]<sdnffdxdlld>theres far too many ways to missinterperate that :P
[01:12]<sdnffdxdlld>cya dude :)
[01:12]<kdzygcjdr>whats the diff between C# and C++'s classes?
[01:13]<sdnffdxdlld>c# ones are written in c#, c++ in c++
[01:13]<sdnffdxdlld>:P
[01:13]<deeree>mental sanity
[01:13]<kdzygcjdr>so no difference
[01:13]<sdnffdxdlld>yeah there is differences but i dont know them
[01:13]<zgzzcydjvgev>if its C++.NET, theres no difference
[01:14]<sdnffdxdlld>theres plenty of c# for c++ programmer tutorials
[01:14]<zgzzcydjvgev>if its plain old C++, then the difference is that the compiled binaries arent compatible
[01:14]<sdnffdxdlld>heya AnarkiDotNET
[01:15]<kdzygcjdr>oh i was thinking of learning C++ while learning C#
[01:15]<vynvyv>why?
[01:15]<kdzygcjdr>iono
[01:15]<vynvyv>is C# viable for professional games?
[01:15]<vynvyv>or C++.net for that matter?
[01:16]<azyfm>Arena Wars
[01:16]<sdnffdxdlld>hehe theres an interesting debate
[01:16]<rnzrnf_->as long as you stick to .net there“s no difference between c# and c++
[01:16]<kdzygcjdr>oh learning C++/CLI and C# .NET
[01:17]<kdzygcjdr>k
[01:17]<sdnffdxdlld>anyone know a good introducing book for c++? none .net
[01:17]<kdzygcjdr>i got two books from my friend Wrox PRofessional C# and Microsoft Visual C# 2005
[01:21]<sdz>wilco, roger?
[01:21]<sdz>[00:04] <wilco> I believe .NET does all the heavy-lifting for you
[01:21]<sdz>[00:06] <wilco> im always very protective of myself - 9/10 cases what i say is true though :p
[01:21]<pzw>Image transformation with C#, is that hard? ie that i want to make an uploaded image smaller, is that easy? And in a Forum, how big do i want the biggest Avatar to be?
[01:21]<sdz>add one to the "not so true" ;->
[01:21]<sdz>[00:04] <SDr> so, if I enable shadow copy, will the shadow dlls be updated automatically?
[01:21]<sdz>[00:04] <wilco> so just look at some of the shadow* properties on AppDomain, or wherever that stuff is
[01:21]<sdz>[00:04] <wilco> yes, they should
[01:22]<sdz>becouse altough it should, it didn't
[01:22]<sdz>but I got around with some ugly hacks, though
[01:22]<sdnffdxdlld>frW, theres a load of classes for image handling so autoresizing is easy
[01:22]<pzw>smellyhippy: Nice nice, but how big do i want the avatars to be? May they vary?
[01:22]<sdnffdxdlld>errr load of classes? I mean a class or 2
[01:23]<sdnffdxdlld>you want the avatar to be as big as you think is appropriate ;)
[01:23]<pzw>:P
[01:23]<pzw>That really didnt help :P
[01:23]<sdnffdxdlld>the advantage of building your own system is that you can compleatly customize it
[01:23]<pzw>yeah but i want it to be functional..
[01:23]<rnzrnf_->the disadvantage: you get a whole lot of work :)
[01:24]<pzw>heh







