February 2007 - Posts

26 February 2007
Hosting ASP applications in IIS 7
Today I needed to configure IIS 7 to host an old classic ASP application. I was facing a permissions problem when i tried to access an Access DB (which persisted even after I've given full control to the directory where the ASP application was installed). I was able to solve this problem after giving... Read More...
Filed under:
22 February 2007
65 math books available online for free
Here they are [via Signs on the Sand ] Read More...
Filed under:
22 February 2007
AJAX client files should be separated into smaller units
Yep, that's what i expected to happen but it didn't...I think that the main ajax client file (MicrosoftAjax.js) should be separated into several files. even though saying that having only a single file might give you a quicker download time (which might be true if you want to get everything), i don't... Read More...
Filed under:
21 February 2007
Reflector 5.0 follow up
After posting about the new release of reflector , I've just noticed that there's a ppt file that gives you all the details of the new release. Read More...
Filed under:
20 February 2007
Reflector 5.0 is out
Lutz has done it again . The new release has several cool features, some of which are presented in this post by Scott Hanselman . A few years ago, there was a site made by MS called Software Legends (unfortunately, it seems like it's no longer available) where you could see several important people that... Read More...
Filed under:
15 February 2007
Adding controls to an UpdatePanel through code
[Update: Thanks to Cyril , I've update the code to use the new AsyncPostbackSourceElementID] In the final version the UpdatePanel has a new cool property ( ContentTemplateContainer ) which really helps you if you want to add controls to an UpdatePanel through code. Lets illustrate the usage of this property... Read More...
Filed under:
15 February 2007
Detecting admin elevation in PowerShell
Though i really don't like the new UAC much (yes, I agree that it's a necessity, but I still don't like it :)), I'm trying to use it again lately. Another thing I'm trying to do is relearning PowerShell. Ian has posted a great article on how you can use configure your shell so that you know when you... Read More...
Filed under:
13 February 2007
Printing for the TLP2844 Zebra
[You can dowload some demo code at the end of the post] Last week I had to find a way to print to TLP 2844 Zebra printer from a C# Windows Forms app. For those that don't know, I'm speaking about a thermal transfer printer which is normally used for printing bar codes in labels. I had to perform the... Read More...
Filed under:
12 February 2007
PowerShell: getting along with cmdlet
As I've said in the previous post, cmdlets can be seen as the working unit of this new shell. If you're starting with Powershell, you should start by seeing the available cmdlets. This can be easilly done through the get-command cmdlet: PS :> get-command After running this command, you'll get a list... Read More...
Filed under:
12 February 2007
Restarting Power-Shell
After downloading and installing it in Vista, I've finally restarted learning it. A long time ago, I used this shell and really enjoyed it. Those that read the PT blog should remember the Monad series I've written at the time. Since I really don't remember many of the things I used to know, I've thought... Read More...
Filed under:
12 February 2007
Debugging AJAX Extensions server side code
When you install the code, you already have the option to say that you want to debug the server side code. Let's say you didn't choose that option: now what? how do you debug through the AJAX server side code? Well, you just need to change some settings in the Visual Studio IDE. After opening the IDE... Read More...
Filed under:
11 February 2007
Pay attention to the 1st parameter of the Completed event...
that is generated by the WebRequest class. Against all odds, the 1st parameter that a method that handles this event receives is not of type WebRequest as you might expect. I say might expect because the client event system is supposed to mimic the .NET event system, where the 1st parameter passed to... Read More...
Filed under:
10 February 2007
The UpdatePanel control can't make miracles
Most of you already know my opinion about this control: it's good, but if you're really into AJAX, you should use a client based approach. Now back to the main topic of this post. What will happen when the following page runs: <form id="form1" runat="server"> <asp:ScriptManager runat="server... Read More...
Filed under:
10 February 2007
WPF/E: Feb CTP is out
I think i'm late again, but i've just noticed yesterday that the February release is already out! Read More...
Filed under:
09 February 2007
Alessandro (aka Garbin) has finally anounced it!
Alessandro (aka Garbin ) has finaly announced his "secret" project. He's writing a book (with 2 other experts) on ASP.NET AJAX Extensions. So, if you're looking for a good book in english about ASP.NET AJAX Extensions, this is it (btw, don't forget that if you're a portuguese native speaker, then you... Read More...
Filed under:
08 February 2007
MS Research video
My good friend Paulo sent me this cool link with some demos from MS Research. Cool stuff! Read More...
Filed under:
08 February 2007
Inserting scripts from the server side during a partial postback
Today I've noticed that there are some new things in this area. It seems like now there's an overload which takes a parameter of type Page (instead of Control) and when you use it, you can be sure that your javascript code will always be inserted in the page. To me, this is good news! Another thing I... Read More...
Filed under:
05 February 2007
Legacy mode not supported on pages that use UpdatePanels, but...
you can still use it at your own risk. By default, if you set the conformance level to debug, you'll get full postbacks in your pages. why? well, because during the Init event of the page, the PageRequestManager server class initializes the SupportsPartialRendering property of its owner (whic, btw, is... Read More...
Filed under:
05 February 2007
Finally! IDx stands for Internal Developer
Thanks to António Cruz for giving me the answer to my previous question. Btw, he's quoted Jason Olgon on a comment in my PT blog (since it's in english, you can read the justification for the name on the PT blog). Thanks again Antonio (I'll sleep better now that I Know ;) ) Read More...
Filed under:
01 February 2007
Getting a full postback from within an UpdatePanel without using a PostbackTrigger
Remember those old movies where there was someone bragging and saying something like "hey, look! no Hands!" while riding a bike (or something like that)? Well, I'm going to do something similar :) Look at me: only one hand (sorry, but it looks like Vista's voice recognition isn't still working out as... Read More...
Filed under:
More Posts Next page »