DNJ conversion
DNJ is converting to CS soon, it’ll be interesting to see how well the site works after the switch………
DNJ is converting to CS soon, it’ll be interesting to see how well the site works after the switch………
Pretty strange, I wonder if there is a similar function to get the greek text that you see in web designs as filler material.
By now many of you have heard the news that Microsoft has plans to release IE 7. Most of what I’ve read is
that the update will focus on security enhancements that customers have been
asking for, which is great. However, the reason that I use firefox
exclusively is not because of security, most technically savvy users can protect
themselves, its because of the performance.
Firefox just seems faster. It loads xml via javascript faster, it
writes dhtml content faster, it loads plain-jane web pages faster. This is
why I won’t switch back. I never had a problem with security when I used
IE 6, and I don’t have one now that I’ve been using firefox for 6 months. Its a
non-issue to me.
Don’t get me wrong, releasing IE 7 with a bunch of security improvements is
the prudent thing to do, considering that most users need to be protected, but
if Microsoft wants to get developers back to IE, they need to add a few things:
tabbed browsing, performance upgrades, and extensibility come to mind. Of
the 25,000,000 downloads, how many do you think were developers?
My guess is most of them.
I
just need to plug Larry Osterman’s new series on concurrency, it never
ceases to amaze me the amount of in-depth knowledge he has, its crazy
Can anyone explain how consulting works in a nutshell? thanks
We
make custom websites for people, just random stuff, shopping carts, photo
galleries, things of that nature. We have an administration web site that
we attach to each website so that users can manage their own websites without
having to call us for each change or update. The way the administration
website works is that it gets mapped into the customers website as a virtual
directory, so they just browse to a special directory on their own
site.
So, consider this setup:
We map path #2 into path #1, thus making the
virtual URL:
C:\Inetpub\wwwroot\clientSite\myWebAdmin\
This is great because now all of our clients
can share the same admin web site files, because we can just map the site into
theirs. Except for one thing: you cannot access assemblies in a virtual
directory. In order for the runtime to locate the admin web site assemblies, to
run the site, the assemblies have to physically be in the client site.
I’ve tried to circumvent this by adding a <runtime> element to the
web.config file, so that I could probe for the assembly in the virtual
directory, but without luck. What this means is that while we can map the admin site into our client’s
sites, we still have to copy the 4 assemblies into the client’s bin\
directory.
Now, this isn’t the end of the world, all the
clients still share all of the pages, the .aspx, .js, etc. but its just a little
annoying to have to copy the assemblies into each clients site every time we
make a change to them. I would rather just update one set of assemblies
and know that all the sites got updated.
By now most of you have heard about the Google mapping
application. Its pretty sweet, some excellent use of dhtml, and I love that you
can slide the map around, it must be nice to have millions to spend on some good
r & d.
What I think is the coolest thing about the maps, is
that you can append “output=xml” to any query and get the results in xml format.
Check it out, this is a query for hotels near Minneapolis
http://maps.google.com/maps?q=hotels%20near%20minneapolis&output=xml
I’m not sure what the licensing information is for this data, but that xml
feed could be so damn useful, wow!
So
we’re starting to do a rewrite of our music management software, using
whidbey. We wanted to make use of the XmlHttpRequest object to do a lot of asynchronous javascript calls, like you’ve
seen on Google maps, or the
search at www.forgetfoo.com
I have our database tables mapped into c# classes,
so that I can easily get the data from the database, but I needed to convert
those objects into an xml form to send to the browser. I had some sample
xml files that I wanted the resulting xml to look like, but I wans’t sure of the
best way to transform my objects into the appropriate xml
representation.
I’m not
just converting simple database rows into an xml file, which would be really
easy using dataset. I want to convert related data, one to many and one to
one relationships. I knew that there is built in support of using an .xsd
file to convert classes and xml, but I had never used xsd.exe, and furthermore,
I didn’t have an .xsd file, just .xml files.
Just to see what xsd.exe offered, I checked out the
command line options, and low and behold, you can give it an .xml document, and
it will create the corresponding .xsd file! (This is probably obvious to most,
but like I said, I had never used xsd.exe). I already knew that I could use
xsd.exe to create a c# class file from an .xsd file, so I converted one of my
sample xml files into and .xsd file, and then created a corresponding c# class
file.
Now, all I have to do is map my database table
classes into the generated xsd class file, and the I think I can use the
XmlSerializer to transform that class into the xml document that I’m trying to
create! We’ll see how it goes, I’ll keep you
posted.