|
|
|
|
|
| | Total Hits: 15 | Today: 1 | Author: Microsoft Corporation | Rating:  |
| |  Indicates the method or event on an ExternalDataExchange interface that initializes the correlation value. This class cannot be inherited.... |
| | Total Hits: 25 | Today: 0 | Author: Puran Mehra | Rating:  |
| |  Images represented by the Image class and its inherited classes can also store attributes. The ImageAttributes class represents the attributes of an image. DrawImage can take a parameter of type ImageAttributes, which represents how the colors are applied to an image shown it is rendered. The ImageAttributes class has no properties, but it provides many useful methods. Let's take a look at the method provided by the ImageAttributes class.... |
| | Total Hits: 30 | Today: 0 | Author: Alaric Dailey | Rating:  |
| |  In my article on loading any object from any database, I made a rather large list of shortcomings of that code. In this article, I am going to fix a few of those by using custom attributes. By the end of this article we will have fixed, or be able to fix the following.
* Being forced to use the poorly performing SELECT * * Inability to map table and column names that aren't valid variable or class names. * Using slow performing properties * Inability to prote... |
| | Total Hits: 17 | Today: 0 | Author: Microsoft Corporation | Rating:  |
| |  Design-time support extensions are typically implemented in code that exists separately from the code for a component. A variety of attributes are used to associate design-time support providers with a type or an individual member of a type.... |
| | Total Hits: 135 | Today: 0 | Author: Samer Abu Rabie | Rating:  |
| |  Security in web applications is something necessary nowadays; specially the everyday attacks are in increase. But in this article we are not gonna discuss the Authentication of a web application, we are going to discuss the a simple and powerfull way for Authorization instead. In Web Application Security Model there are two essential terms are in use: Authentication and Authorization, its very necessary to differentiate between the two mechanisms. Authorization is the mechanism of which systems ... |
| | Total Hits: 1192 | Today: 0 | Author: Joydip Kanjilal | Rating:  |
| |  Attributes are a mechanism for adding metadata. Reflection is the process by which a program can read its own metadata. This article discusses both these concepts in detail with examples wherever necessary.... |
| | Total Hits: 4 | Today: 0 | Author: Edmund H Smith | Rating:  |
| |  Many developers hate one thing about software development, writing SQL Statements. SQL is a language on its own and it is ubiquitous in today's development environment. When there are changes made to the tables, we have to modify the affected SQL statements, be it in the application codes or in Stored Procedures.... |
| | Total Hits: 1 | Today: 0 | Author: Christian Rodemeyer | Rating:  |
| |  AssemblyAttributes is a cute little helper class that is useful for almost every .NET/Silverlight application that displays some information about itself (think “About Box”). It retrieves the values of the following assembly attributes in an easy and consistent manner:
* Title * Product * Copyright * Company... |
| | Total Hits: 2 | Today: 0 | Author: Patrick Smacchia | Rating:  |
| |  Lets see the mean of attributes in c# world.
/* I got a book named Practical .NET2 and C#2 and i think this book has really nice contents related to .NET with C# 2.o, I am taking one of good content related to attribute and discussing with you all. */... |
| | Total Hits: 1 | Today: 0 | Author: Malcolm Sheridan | Rating:  |
| |  A huge reason why I love ASP.NET MVC is its flexibility and it is extensible. I recently came across a topic on the forums on how to restrict certain HTTP requests when using ASP.NET MVC. This is a perfect scenario to create your own custom action filter attribute! This is easy! All you need to do is create a class that inherits ActionMethodSelectorAttribute. This is different from inheriting from the ActionFilterAttribute class as that's the base class for all action filter attributes. If I was... |
| | Total Hits: 7 | Today: 0 | Author: rtpHarry | Rating:  |
| |  The site map file is a great place to store extra snippets of page-specific information. In this article we will explore how easy it is to add custom attributes to a site map by creating a user control to display a sitemap and adding custom attributes to filter out specific pages.... |
| | Total Hits: 13 | Today: 0 | Author: Microsoft Corporation | Rating:  |
| |  Returns result information for the CodeCondition class. This class cannot be inherited.... |
| | Total Hits: 8 | Today: 0 | Author: Microsoft Corporation | Rating:  |
| |  If you are not familiar with applying attributes to provide metadata to the common language runtime, see Extending Metadata Using Attributes. Because components can be displayed in a designer, such as Visual Studio, they require attributes that provide metadata to design-time tools. This section describes and provides a list of commonly used design-time attributes.... |
| | Total Hits: 28 | Today: 0 | Author: Pedro J. Molina | Rating:  |
| |  If you have developed or maintained business applications, you will probably have found the following typical scenario several times:
* A well structured application with at least two or three layers: UI, Business Layer and Data Access Layer (DAL). * A Relational Database Management System (RDBMS) behind the scenes doing all the hard work of persistence and data integrity.
When many people are involved in a system, with specific responsibilities (analyst, developers, DB... |
| | Total Hits: 13 | Today: 0 | Author: Microsoft Corporation | Rating:  |
| |  This topic demonstrates how to create a Web page and user control that use the CodeBehind attribute of the @ Page directive, compile them, and then convert them to use the CodeFile attribute with a partial class in the code-behind files in the .NET Framework version 2.0. The new Web page code-behind model in ASP.NET version 2.0 is based on partial classes. The markup for the page is stored in one file – the .aspx file – and the code is defined in a partial class – the code-behind file. Convertin... |
| | Total Hits: 31 | Today: 0 | Author: Stephan Depoorter | Rating:  |
| |  This article shows how to handle flat files containing fixed width datafields, using .NET custom attributes. It doesn't explain custom attributes, because I think there has already been enough written on that subject.... |
| | Total Hits: 33 | Today: 0 | Author: Ahmed Yassin | Rating:  |
| |  Reflection allows you to programmatically inspect an assembly, and get information about the assembly, including all object types contained within. This information includes the attributes you have added to those types. The reflection objects reside within the System.Reflection namespace.
This demo program will inspect an assembly and display a list of all attributes defined on the assembly. The entire source code is downloadable and I will explain how it works.... |
| | Total Hits: 30 | Today: 0 | Author: Alex S. Robson | Rating:  |
| |  At the end of this article, you should be comfortable using Custom Attributes. This article focuses on using them in order to create a quick, flexible data binding mechanism.... |
| | Total Hits: 24 | Today: 0 | Author: SeMartens | Rating:  |
| |  Introduction to Aspect Oriented Programming (AOP) is mostly done by exercising an example, adding logging as an aspect to an existing application. But, it is really simple to realise more sophisticated functionality using AOP. This article will demonstrate the use of aspects to build an easy to integrate and extensible permission management. This is done by applying custom attributes to methods, and checking these attributes while invoking annotated methods.... |
| | Total Hits: 28 | Today: 0 | Author: Joseph Finsterwald | Rating:  |
| |  The following step by step example will demonstrate how you can use Aspect Oriented Programming (AOP) to cast a collection of objects into a DataTable. This particular example will leverage the power of attributes, generics, and reflection to explicitly convert a collection of container classes into a DataTable.... |
|
|
|
|
|
|
|
|
|
|
|
|
|