derek hatchard

aggregating from ardentdev.com and derekhat.com

March 2004 - Posts

Trouble with Visual Studio 2005 Web Security Wizard?

Is anyone else having trouble running the Web Security Wizard in the latest build of Visual Studio 2005 on subscriber downloads?  (Create a new Web site in VS2005 and then select the Website | ASP.NET Configuration menu).

I've installed the new build (40301.9) in a Virtual PC and on physical PC.  I'm getting a compiler error from \code\WebAdminPage.cs because of a missing NavigationBar class.  There are also a slew of Resources referenced using <%$ Resources: %> syntax that are not found.

My webadmin folder (C:\WINDOWS\Microsoft.NET\Framework\v2.0.40301\ASP.NETWebAdminFiles) does not have a \bin folder.  My \code folder has only these two files:

PersonalizationUtil.cs
WebAdminPage.cs

Anyone having the same problem?

Let's just say VB7 and be done with .NET :)

With every passing day I get more and more exasperated having to type Visual Basic .NET or VB.NET.  Maybe I should just use VB7 for the current language that vbc.exe v7 supports.  For Whidbey it's VB8.  I still have to refer to VB6 more than I like to, so just typing VB is unfortunately not an option.

I'm sure I'm not the only one out there with this frustration...

MSDE Rel A = 42MB, SP3a = 69MB!

Wow, I guess I was not paying attention when these came out...  MSDE Release A is a 42MB download.  It contains all the fixes up to and including SP3a.  Service pack 3a for MSDE is a 69MB download.  How strange.  I suppose the difference is because Release A does not include merge modules.

Which reminds me of the Bob/Scott/Sean comment on WinXP SP2 RC1.  The ISO for WinXP Pro from subscriber downloads is 489MB.  The SP2 download is 475MB.

ASP.NET 2.0: asp:substitution (post-cache substitution)

The new <asp:substitution> control gives you a placeholder into which you can write dynamic content when using output caching.  That is GREAT stuff!  It always bothered me when I could not use output caching because of something simple like a personalized logout link (e.g., You are logged in as derekhatchard, click here to logoff).  It's reasonable to expect that the throughput gain will be less than “pure” output caching, but every bit helps.

Apparently the AdRotator has been rewritten to take advantage of post-cache substitution so you can use output caching on a page but the AdRotator will still rotate ads appropriately.

I haven't tested this out yet, but I'm glad to see it.

Job Posting: Senior ASP.NET Developer/Architects

I'm helping a client find a couple of ASP.NET developer/architects.  Here's a copy of the job posting:

http://weblogs.asp.net/derekh/articles/95410.aspx

Openings are in Raleigh, North Carolina and Moncton, NB, Canada (my turf).  You can send your resume to me at careers@ardentdev.com with [WebDevJob] in the subject line and I will forward them to the client.  Indicate if you are interested in NC, Canada, or both.

Running as non-admin

If you do not know how to work day-to-day as a non-admin, visit this link and learn:

http://www.dotnetdevs.com/articles/RunningAsNonAdmin.aspx

Please!

When deploying apps, please think about security context

When you are deploying an application, please please please think about the "power users" out there who are running Domain User accounts day-to-day instead of always logging in as Administrator or even as a Power User.

Today I was trying out a few new aggregators and several things disturbed me:

  1. Downloading only a .msi file is a pain because the context menu in Windows Explorer does not provide a Run As command for .msi files like it does for .exe files. And when launching the .msi, the Windows Installer does not ask for credentials. So I used Remote Desktop to login to localhost as Administrator in order to install. A better distribution package is a self-extracting archive that launches setup.exe, which prompts for credentials if appropriate, and then launches the Windows Installer.


  2. New software, written long after WinXP and WS2003 were released, still expects to write to Program Files. One aggregator I tried would list posts from a subscription but when I clicked on an entry the program died very ungracefully. The problem magically disappears when my domain account is given Modify permission for the application's folder under Program Files.


  3. Mozilla FireFox 0.8 would not let me install an add-on package as a Domain User and failed to inform me of that until after it had downloaded and tried to install the add-on.

I require my team to code from Domain User accounts, including myself. It was a bit of an adjustment but I feel much better knowing that it is now difficult to royally hose our development machines. We do a lot of Web development on Windows Server 2003 and we are able to do almost everything we need as Domain Users, including debugging. IIS Manager is one of the few things I run as Administrator on a regular basis.

Re: Real coders, real code

Wow, this rings true, much to mrs. ardent coder's dismay!

 

What does every VB.NET developer need to know?

Some recent conversations have got me thinking about what the most important things are for every professional VB.NET developer to know.  I'm not thinking about things like “every developer should know HTML.”  I'm thinking more about what .NET Framework and Visual Basic .NET features that every developer should know.  For example, I would suggest that every VB.NET programmer should know how to use the StringBuilder class.

What else?  I welcome your comments.  (If you don't want to post a public comment, use my blog Contact page).

 

10% Off VSLive! Toronto

You can save10% on VSLive! / Mobile DevCon in Toronto (May 4-7, 2004) if you use priority code 'DEREK' when registering.

https://www.ftponline.com/conferences/register/vslive/2004/to/

 

More Posts Next page »