|
|
|
|
|
Total Hits: 218 | Today: 0
|
Author: Gideon Engelberth
|
Rating:
|
|

Powershell is a useful tool for developers and system administrators alike. Much of its usefulness comes from being able to craft a complicated, multi-part command to get some useful piece of information. The problem is that once I close the window, the command is gone. If I really want to save that command, I could make a script, but that involves taking several steps to open a text editor, type in the command, and save the script file. Furthermore, I then have to either type in the full path o...
|
|
|
|
Total Hits: 107 | Today: 0
|
Author: Bipin Joshi
|
Rating:
|
|

Developing a nice custom control is just one part of the story. As a control author you should also pay attention about the experience of other developers who will be using your control. In most of the real world cases developers use Visual Studio as the IDE for developing .NET applications. You can enhance the experience of other developers using your control by providing proper designer support. For example, you can control how your control properties and events are displayed in property windo...
|
|
|
|
Total Hits: 82 | Today: 0
|
Author: Ken Spencer
|
Rating:
|
|

I have lots of experience developing ASP applications that use Visual J++® components wrapped in COM running in Microsoft® Transaction Services (MTS). I am currently developing an application with the Microsoft .NET Framework and have written several classes that perform the bulk of my data access. I then use these classes in my ASPX pages. This application will have as many as 10,000 concurrent users....
|
|
|
|
Total Hits: 102 | Today: 0
|
Author: John Papa
|
Rating:
|
|

A solid data access later (DAL) can benefit an application by hiding redundant tasks, helping handle exceptions more gracefully, helping clean up resources more efficiently, and providing a layer of abstraction from the database. When you want to install a DAL in your architecture, you need to either find or build a data access component. Building one takes precious time away from a project's design, development, and testing timeline. What if you could find one that was already tested, follows b...
|
|
|
|
Total Hits: 87 | Today: 0
|
Author: Keith Brown
|
Rating:
|
|

Windows Communication Foundation performs a lot of the heavy lifting to make it easier for your service to provide the basic security features that most distributed systems need. The big three protections— confidentiality, integrity, and authentication (or CIA as I like to think of them) are provided by most standard Windows® Communication Foundation bindings. If you don't want these protections, you'll have to turn them off, because they are on by default....
|
|
|
|
Total Hits: 88 | Today: 0
|
Author: Aaron Skonnard
|
Rating:
|
|

It's been a while since I've written on a core XML topic, and I miss it. Now that the Microsoft® .NET Framework 2.0 has shipped and is in the hands of countless developers worldwide, it seems like a good time to discuss the improvements found in System.Xml, which sits at the heart of all .NET-based Web service apps. From early in the design process, the System.Xml team had some ambitious goals for version 2.0, but for better or worse, not everything made it into the final release. In fact, many ...
|
|
|
|
Total Hits: 77 | Today: 0
|
Author: Mark Novak and Andrew Roths
|
Rating:
|
|

If you are faced with creating a new communications protocol, what are you going to do to ensure that it is safe and secure? While a complete answer might take an entire volume, here we will highlight some of the most common scenarios and concerns. Many of the topics considered here are not unique to networking. They apply to any software that has security features, be it encrypting files or making access control decisions. Software security principles transcend technologies and tend to be pr...
|
|
|
|
Total Hits: 60 | Today: 0
|
Author: John Papa
|
Rating:
|
|

The System.Transactions namespace of the Microsoft .NET Framework makes handling transactions much simpler than previous techniques. Some time ago I wrote a Data Points column about how System.Transactions worked with Beta 1 of the Microsoft® .NET Framework 2.0 and SQL Server™ 2005. Of course, during the release process some features were added and some were dropped; several of the TransactionScopeOptions changed. Since then, I've received many questions about System.Transactions and have dec...
|
|
|
|
Total Hits: 52 | Today: 0
|
Author: Dr. James McCaffrey
|
Rating:
|
|

If you are writing test automation, there are four complementary approaches you can take: buy and use a commercial test framework (including Visual Studio® 2005 Team System, which has some neat new features), use an open source test framework, write custom heavyweight automation (generally more than four pages of code), or write lightweight automation (generally under four pages of code). Most of my Test Run columns focus on techniques for lightweight automation. When writing lightweight test au...
|
|
|
|
Total Hits: 48 | Today: 0
|
Author: Shawn Hernan and Scott Lambert and Tomasz Ostwald
|
Rating:
|
|

Whether you're building a new system or updating an existing one, you'll want to consider how an intruder might go about attacking it and then build in appropriate defenses at the design and implementation stages of the system. At Microsoft, we approach the design of secure systems through a technique called threat modeling—the methodical review of a system design or architecture to discover and correct design-level security problems. Threat modeling is an integral part of the Security Developme...
|
|
|
|
Total Hits: 55 | Today: 0
|
Author: Dr. James McCaffrey
|
Rating:
|
|

A typical use of permutations in software testing is generating test case data for unit, API, and module tests. Suppose you have a method that accepts three strings, and one of your test case inputs is "apple", "banana", "cherry". In most situations you want to create five additional test cases using the other input permutations. There are many other uses of permutations in software testing. In fact, permutations are so important and prevalent in software engineering that questions about permuta...
|
|
|
|
Total Hits: 22 | Today: 0
|
Author: Keith Brown
|
Rating:
|
|

I covered protocol transition and constrained delegation in detail in a previous Security Briefs column, where I dove in deep and looked at the underlying S4U Kerberos extensions that actually make it work. For more of a layman's introduction to protocol transition, check out Item 63 from my book, The .NET Developer's Guide to Windows Security. Now that Windows Server® 2003 is more widely deployed, I've been getting mail from readers who are trying to use protocol transition to build secure gate...
|
|
|
|
|
|