Search - Articles
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Tuesday, March 03, 2009
Dev Articles
Search Directory
ASP.NET
VB.Net
C-Sharp
SQL Server
 

FREE 12 month online training for ASP.NET & MS Expression Studio and a Free copy of MS Expression Web with Windows Server Purchase

Home >Search > .NET Namespaces
Search:
What's New - What's Hot
More Categories for EnvDTE EnvDTE (89)
More Categories for Microsoft Microsoft (155)
More Categories for System System (1700)
 


Collections Best Practices     
Total Hits: 97  |  Today: 0Author: Inbar Gazit      Rating:  
Read Reviews | Write Review |  Your Rating: 

Most introductory textbooks on computer science and programming include a chapter about collections. They may be called arrays or data structures, but the concept remains the same. The ability to tie a set of elements to one another in a formal data object is essential to modern programming techniques.
In the Microsoft® .NET Framework, a lot of effort went into creating collection classes that are powerful and that address a variety of needs and styles....

Exploring Claims-Based Identity     
Total Hits: 119  |  Today: 0Author: Keith Brown      Rating:  
Read Reviews | Write Review |  Your Rating: 

Most enterprise applications need some basic user security features. At a minimum, they need to authenticate their users, and many also need to authorize access to certain features so that only privileged users can get to them. Some apps must go further and audit what the user does. On Windows®, these features are built into the operating system and are usually quite easy to integrate into an application. By taking advantage of Windows integrated authentication, you don't have to invent your own...

Common Table Expressions     
Total Hits: 52  |  Today: 0Author: John Papa      Rating:  
Read Reviews | Write Review |  Your Rating: 

Many projects that developers work on involve writing complex SQL statements that deviate from basic SELECT/FROM/WHERE types of statements. One such scenario involves writing Transact-SQL (T-SQL) queries that use derived tables (also known as inline views) inside a FROM clause. This common practice allows a developer to grab a rowset and immediately join that rowset to other tables, views, and user-defined functions in a SELECT statement. Another option is to use a view instead of a derived tabl...

Improve Scalability With New Thread Pool APIs     
Total Hits: 113  |  Today: 0Author: Robert Saccone      Rating:  
Read Reviews | Write Review |  Your Rating: 

With the release of Windows Vista® and the upcoming release of Windows Server® 2008, Microsoft has enriched the Windows® platform with so much new technology for developers of managed applications that it's easy to overlook advancements that the native Windows developer can benefit from. The thread pool component that has been part of the platform since the release of Windows 2000, for example, has undergone a complete rearchitecture. The new implementation brings with it a new thread pool API t...

Find and Fix Vulnerabilities Before Your Application Ships     
Total Hits: 60  |  Today: 0Author: Michal Chmielewski and Neill Clift      Rating:  
Read Reviews | Write Review |  Your Rating: 

In software development, a small coding error can result in a critical vulnerability that ends up compromising the security of an entire system or network. Many times, a security vulnerability is not caused by a single error, however, but rather by a sequence of errors that occur during the course of the development cycle: a coding error is introduced, it goes undetected during the testing phases, and available defense mechanisms do not stop a successful attack. Security must be a priority in al...

IFileOperation in Windows Vista     
Total Hits: 101  |  Today: 0Author: Stephen Toub      Rating:  
Read Reviews | Write Review |  Your Rating: 

I have a bunch of file operations I'd like to execute as a batch, and I'd like to get the standard Windows® progress UI for my operations. I know I could use classes from the System.IO namespace to do all of the file operations one after the other, but then I would need to create my own progress UI, which is way more work than I wish to undertake. I noticed that Windows Vista® includes a new IFileOperations interface, but none of the samples I've seen demonstrate how to use this from managed cod...

Extending WCF with Custom Behaviors     
Total Hits: 96  |  Today: 0Author: Aaron Skonnard      Rating:  
Read Reviews | Write Review |  Your Rating: 

Windows® Communication Foundation (WCF) provides numerous extensibility points that allow developers to customize the runtime behavior for service dispatching and client proxy invocation. You can tap into these extensibility points by writing custom behaviors that can be applied declaratively to your services. This month I'll show you how this process works....

Connect To Mainframe Apps With BizTalk Adapters and .NET     
Total Hits: 44  |  Today: 0Author: Bashar "Bash" Badawi      Rating:  
Read Reviews | Write Review |  Your Rating: 

Imagine you were a bank CEO back in the 1970s. Your customer base was growing rapidly, and keeping paper records was proving to be an expensive and a risky business. Where could you go to automate record-keeping? What were your options for more efficient storage? As it turned out, most such organizations invested in mainframes or minicomputers, such as the AS/400 and VAX systems—and it was on these systems that many programmers learned their trade. Common Business Oriented Language (COBOL), whic...

Extend Windows PowerShell With Custom Commands     
Total Hits: 59  |  Today: 0Author: Jim Truher      Rating:  
Read Reviews | Write Review |  Your Rating: 

As you've probably already discovered, Windows PowerShellTM is a powerful and flexible tool. You may not know, however, that you can extend Windows PowerShell by writing your own cmdlets. In this article, I will show you how to create your own cmdlets by writing three custom cmdlets that allow you to interact with IsolatedStorage. I chose IsolatedStorage for these samples because I have not seen any other cmdlets related to IsolatedStorage and I thought its functionality would be useful, offerin...

Change the GridView row color on click without postback     
Total Hits: 236  |  Today: 0Author: farazsk11      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article is about changing the color of a GridView row on mouse click without having a postback on the page. In order to achieve this we will be using some javascript and off course the GridView Control itself. GridView is a server side control that contains Rows and Columns. In some cases we want to do something more than the straight forward functionality of the GridView control depending on the functional/UI requirements of the application....

BindingList Example     
Total Hits: 313  |  Today: 0Author: Sean Rhone      Rating:  
Read Reviews | Write Review |  Your Rating: 

This is a very basic example of how to use the System.ComponentModel.BindingList. This is the first in a series of articles that will walk the newbie developer from simple data binding to creating a Parent/Child base business object. The reason I'm writing these articles is to hopefully help other developers to understand how to create business objects. If you have ever looked at some of the free frameworks out there that you can download and use, such as CSLA (http://www.lhotka.net/cslanet/), I...

Show the error icon when the user is editing the Datagridview cell     
Total Hits: 262  |  Today: 0Author: Mohan Kumar      Rating:  
Read Reviews | Write Review |  Your Rating: 

when using the error text and icon feature you want an immediate feedback to the user that something that they typed into a cell is incorrect. By default when setting the ErrorText property the error icon will not appear if the cell is in edit mode such as a text box or combo box cell. The below sample demonstrates how you can set a cell’s padding in the CellValidating event to provide spacing for the error icon. Since padding by default affects the location of the error icon the sample uses the...

Type Wrapper Classes and a PropertyGrid     
Total Hits: 160  |  Today: 0Author: Edmundas Kevisas      Rating:  
Read Reviews | Write Review |  Your Rating: 

PropertyGrid is a very nice control that allows you displaying and changing object information through its properties. Various attributes can be applied to properties of the implemented class in order to define how they would appear in the PropertyGrid. However you might find some tasks being difficult to accomplish at runtime, i.e.:
* Filtering properties in the property grid.
* Arranging properties under new categories.
* Changing display name and description information f...

Extending the PropertyGrid with a new PropertyTab     
Total Hits: 125  |  Today: 0Author: Carsten Zeumer      Rating:  
Read Reviews | Write Review |  Your Rating: 

The PropertyGridEx control shows how to add a new tab to the standard System.Winows.Forms.PropertyGrid. In this sample, a custom page shows all instance fields of the selected object. Additionally it shows how to implement and use the IPropertyValueUIService to show additional icons in the grid rows behind the property name....

Beware of Fully Trusted Code     
Total Hits: 77  |  Today: 0Author: Keith Brown      Rating:  
Read Reviews | Write Review |  Your Rating: 

The vast majority of managed applications run with full trust, but based on my experience teaching .NET security to developers with a broad range of experience, most really don't understand the implications of fully trusted code. So I've pulled together a number of examples where fully trusted code can skirt around common language runtime (CLR) security features, starting each with a question that seems to have an obvious answer....

Hashing Passwords, The AllowPartiallyTrustedCallers Attribute     
Total Hits: 80  |  Today: 0Author: Keith Brown      Rating:  
Read Reviews | Write Review |  Your Rating: 

There are several options. The simplest might leave you with cleartext passwords. After implementing something like this, you'll likely feel rather uncomfortable that all those passwords are sitting there in one file, in the clear. If you don't feel uncomfortable, you should! This makes it way too easy for an attacker who compromises your system to walk away with user passwords without even breaking a sweat. And, if this happens, it's not just your site that could feel the repercussions—most peo...

Exploring S4U Kerberos Extensions in Windows Server 2003     
Total Hits: 71  |  Today: 0Author: Keith Brown      Rating:  
Read Reviews | Write Review |  Your Rating: 

Building Web sites that provide services external to the corporate firewall is tricky. Usually it's not desirable to grant corporate domain accounts to external clients, and from a purely practical standpoint Kerberos does not work well over the Internet due to the typical configuration of client-side firewalls. This means that the site has to provide some form of authentication and authorization that is different from the methods built into Windows®....

.NET Framework 1.1 Provides Expanded Namespace, Security, and Language Support for Your Projects     
Total Hits: 64  |  Today: 0Author: Chris Sells      Rating:  
Read Reviews | Write Review |  Your Rating: 

With the much-anticipated release of the .NET Framework 1.1, developers are eager to know what's been added to their programming bag of tricks. In this article, the author focuses on new developments in Windows Forms, such as namespace additions, support for hosting managed controls in unmanaged clients, and designer support for C++ and J#. Integrated access to the Compact Framework and new mobile code security settings also make this release noteworthy. Along with these features, the author rev...

Understand Common Virus Attacks Before They Strike to Better Protect Your Apps     
Total Hits: 66  |  Today: 0Author: Jason Fisher      Rating:  
Read Reviews | Write Review |  Your Rating: 

Developer's machines can often be more vulnerable to viruses than the average corporate user because of their more frequent access to remote machines and shares, and the differing administrative privileges they maintain across mutiple machines. Reliance on antivirus software is fine as a first line of defense, but you need a basic arsenal of skills for securing the executables on your system and coping with viruses on your own....

The .NET File System Object Model     
Total Hits: 289  |  Today: 0Author: Leonardo Esposito      Rating:  
Read Reviews | Write Review |  Your Rating: 

The .NET Framework doesn't change the structure of the file system, nor does it build a new layer on top of it.More simply, but also more effectively for developers, it supplies a new object model for file system-related operations. A managed application can work with files and directories using high-level methods rather than low level understanding of the file system. This article provides an overview of methods and classes contained in the System.IO namespace....



Disclaimer - Privacy
© 2002-2014 DevASP.net