Monday, February 25, 2008
CoDe Magazine Party at TechEd 2008 Orlando
Yup, we are planning on doing it again: TechEd 2008 will see another of the legendary CoDe Magazine parties.
Currently, we are still looking for a good venue. If you have been to one of our parties before (like the one at the Dallas Aquarium), you know we do not like to just go to a restaurants and have a few drinks. Instead, we are looking for a place that one normally wouldn't party at (well, like the Dallas Aquarium).
We currently have a few interesting places in mind, but we'd like to get the community involved too! What do you think would be a cool place to have a party there? And why do you think it would be cool?
If you have any ideas, send me an email at email@example.com. Or you can also post a comment on this blog, but the email will be more reliable :-).
PS: We will likely also invite a handful of partners to partake in the organization of the event. If you would like to have a TechEd party for your organization, but don't want the hassle or expense of doing your own, just send me an email...
Posted @ 12:42 PM by Egger, Markus (firstname.lastname@example.org) -
Tuesday, February 19, 2008
ASP.NET, GDI+ and PNG Images
I have written quite a few articles on using GDI+ to create images dynamically in an ASP.NET environment. I think it is a very cool thing to do. Here are some links to such articles:
One of the questions I get all the time nowadays is how use this approach to create PNG images rather than one of the older formats. The approach of simply saving to the output stream does not work for PNG images, because PNG images require a searchable stream. Therefore, a small adjustment to the image save mechanism is needed. Here is an example:
Bitmap bmp = new Bitmap():
// ...Render the bitmap here...
MemoryStream stream = new MemoryStream();
this.Response.ContentType = "image/png";
Voila! This saves a PNG file to the output stream and displays it in the browser. I now use PNG files whenever I can. They tend to be supported by just about any browser I care about, and the image quality is generally very good. Also, as a nice side effect, the PNG created this way supports transparency, which GIFs and JPEGs generated in the same way do not (and it has always been a pain to create transparent images in ASP.NET with GDI+). This includes alpha-level transparency, which allows for things like alpha blended anti aliasing or gradients of transparency. Very nice and useful!
Posted @ 6:40 AM by Egger, Markus (email@example.com) -
Sunday, February 17, 2008
Changing Wireless Network Settings
Here is something with wireless networks that can drive you nuts if you do not know what's going on: I just installed a new wireless access point in my home. So I started out setting it up unsecured, then I connected to it to make sure it all worked, and then I added security. The result was that the computers that had connected before could not connect to the network again, no reason given. The wireless network is visible, and an attempt to connect is made, but without much further information, the connection fails. You can choose to diagnose the problem, but Vista (this is all about Vista, btw) says that the problem cannot be found.
Here's what really happens: When you connect to a wireless network, the connection settings can be saved away. This way, the next time you connect to the same network, you don't have to enter information such as the pass key again. However, if the network setup changes, the saved information is not correct anymore, and Vista apparently is not smart enough to consider that possibility when diagnosing a problem.
What makes matters worse is that there is no real obvious way for the average user to fix this. Here's how it works though: Open the "Network and Sharing Center", then, in the list of tasks, choose "Manage wireless networks". This shows a list of all saved wireless networks. You can pick one and change individual properties. Or, alternatively, remove the saved network from the list entirely and then reconnect to it from scratch. This can at times be the easiest option, especially if you are not comfortable with the detailed connection properties dialog.
Posted @ 10:40 AM by Egger, Markus (firstname.lastname@example.org) -
Thursday, February 14, 2008
VSOne Session Materials
Here are my slide decks from the VSOne conference in Munich. (And yes, they are in German :-)). This includes the slides for my WPF/Blend keynote, the SOA for managers talk, and the Silverlight talk.
BTW: This is the conference where the keynote is in the Imax movie theater. That is always a pretty cool environment to present in. Here's a photo from the keynote:
Check out the size of that screen! :-) And we even had to scale it down and not use the entire screen, or else people got nauseous watching the WPF animations... :-)
Posted @ 12:17 PM by Egger, Markus (email@example.com) -