| By Derek Ferguson | Article Rating: |
|
| August 11, 2003 02:22 PM EDT | Reads: |
10,347 |
Sometimes I like to pretend that I'm someone else particularly when I'm writing an ASP.NET application. No, I'm not confessing any sort of deep psychological disturbance (although that is where extensive ASP.NET coding may eventually lead). Instead, I'm musing over the difficulty of achieving simple, reliable impersonation using .NET.
Those who have read the documentation but never actually tried it might
believe this to be a relatively straightforward operation. Take, for
example, Microsoft Knowledge Base Article 306158
(http://support.microsoft.com/default.aspx?scid=kb;[LN];306158), which offers the following options.
Of course, even this assumes that under Windows 2000 you are running ASP.NET under an account that has the "Act as a part of the operating system" privilege.
Should such a basic operation really be this difficult? Wasn't part of the promise of .NET that all of the arcane native APIs of the past would finally be properly wrapped and accessible from a properly managed execution environment? Before I began my impersonation odyssey, I really thought that day was close at hand. Now, I'm not so sure.
Reliability
So, the topic for this month's journal is Reliability. And who would
dare debate the importance of this? Whether you're designing a minor tape
library system for a "mom-and-pop" video store or a critical guidance system
for a mission to Mars, your employer expects your code to work and work
well!
So, toward this end, we have assembled our usual stellar assortment of experts and gurus to guide you along your way. At the server, Doug Holland shows us how to increase the reliability of ASP.NET using reflection. Meanwhile, on the client, Amit Klien teaches us the most important principles of coding reliable, secure applications for .NET. And finally, you will find a product review of a tool from Parasoft called .TEST, which can help you make sure you are correctly applying the tips and techniques described elsewhere in this issue.
As always, feel free to contact me with all of your questions, concerns, and praise at derek@sys-con.com. I look forward to hearing from you!
Published August 11, 2003 Reads 10,347
Copyright © 2003 Ulitzer, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
More Stories By Derek Ferguson
Derek Ferguson, founding editor and editor-in-chief of .Net Developer's Journal, is a noted technology expert and former Microsoft MVP.
![]() |
Steve Skalski 08/13/03 04:37:33 PM EDT | |||
Derek, I can fully appreciate your comments having had to implement .net web code !!! |
||||
- .NET Archives: Getting Reacquainted with the Father of C#
- i-Technology Viewpoint: "SOA Sucks"
- Exclusive .NET Developer's Journal "Indigo" Interview with Microsoft's Don Box
- An Exclusive Interview With Rocky Lhotka, the Creator of CSLA
- Windows Mobile Version 5.0 Revealed
- Linux - Mono - .NET: An Exclusive SYS-CON.TV Interview With Miguel de Icaza
- Outsourcing Viewpoint: The Future of Our Profession
- Corporate Dalliance
- Exclusive .NETDJ Interview with Brad Abrams: Talking Frameworks, Namespaces, and Programming
- Product Review: RadView's WebLOAD
- How Well Does Work-At-Home Work?
- Parasoft's SOAtest 3.0






























Ulitzer content is offered under Creative Commons "Attribution Non-Commercial No Derivatives" License.
For any reuse or distribution, you must make clear to others the license terms of this work.
The best way to do this is with a link to this web page.
Any of the above conditions can be waived if you get written permission from Ulitzer, Inc., the copyright holder.
Nothing in this license impairs or restricts the author's moral rights.