|
|
|
|
|
Total Hits: 71 | Today: 0
|
Author: Muneer Safi
|
Rating:
|
|

This program serves mainly as a text editor, but with extended capabilities such as inserting an image and speaking the text you write. The most important part is how to make speech out of the written text. I did this using the Microsoft Text-to-Speech SDK....
|
|
|
|
Total Hits: 115 | 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: 1152 | 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: 189 | Today: 0
|
Author: Chris Rogers
|
Rating:
|
|

One of the great challenges in development, irrespective of the language and style, is reduction of duplicate code. Some of the most duplicative code I tend to see is in property setters and getters. If you think of all the various things that could be happening in your gets and sets; data validation, change history, data security; it’s not really a surprise. In this document, I will explain how to use proxy classes and attributes to intercept method calls to set and get statements, and perform ...
|
|
|
|
Total Hits: 423 | Today: 0
|
Author: Kavitha Pradeep
|
Rating:
|
|

Every software developer at one time or the other would have felt "How I wish I was a hardware engineer?" . If we had the luxury of having a "software circuit" like the hardware circuit, where a small part can be replaced very easily it would have been a path to software success in totality today. To achieve a level of success in "software circuitry" we have been programming using varied programming techniques and have come a long way from structured approach to object oriented approach. Attribu...
|
|
|
|
Total Hits: 405 | Today: 0
|
Author: Robbe D. Morris
|
Rating:
|
|

There is nothing quite like laziness to drive a self starter. I've been looking for a way to speed up the development of the data access layers I've been writing. Particularly in the area of populating class properties with the results returned from a DataTable and I really didn't want to mess with strongly typed DataSets. Plus, you really can't encapsulate business logic. In many cases, you wouldn't want to do this anyway but in some instances (and I have a few) it makes good sense. Our UI...
|
|
|
|
Total Hits: 219 | Today: 0
|
Author: CoderSource.net
|
Rating:
|
|

This article deals with the new C# .net features named attributes. This can be used as a Self paced C# .net training or C# tutorial material. C# .net Attributes provide a powerful method of associating declarative information with C# code. It can work with types, methods, properties and other language components. As a thumb-rule, a class is said to be an attribute class, if it directly or indirectly derives from the System.Attribute class....
|
|
|
|
Total Hits: 1492 | Today: 0
|
|
Rating:
|
|

A simple class (DALQueryBuilder, see source code in the last article) that would make me type less code to update an object....
|
|
|
|
Total Hits: 969 | Today: 0
|
Author: Gaurav Mantro
|
Rating:
|
|

Custom Attribute is a very powerful feature of C#, this article explains working of Custom Attribute and follows by code sample on how to write a custom attribute and use it in your code...
|
|
|
|
Total Hits: 370 | Today: 0
|
Author: Scott Guthrie
|
Rating:
|
|

In this article, Scott demonstrates how to add authorization rules to business and data layers using PrincipalPermissionAttributes. Earlier this summer I posted two tutorials on using Windows Authentication with ASP.NET: Enabling Window Authentication within an Intranet ASP.NET Web Application and Implementing Role Based Security within ASP.NET using Windows Authentication and SQL Server. I also linked to Scott Mitchell's great ASP.NET 2.0 Security, Membership and Roles Tutorials that cover ...
|
|
|
|
Total Hits: 556 | Today: 0
|
Author: Ali Sufyan
|
Rating:
|
|

Usinng an attribute is a way to add special meaning to our method and cause it to act in a certain way. Before this was available, developers didn't have a way to define their own attributes. DotNet paved the way for developers and opened new horizons to conquer. Attributes are like adding behaviours to methods, classes, properties structures, events, modules, and so forth. It means we can enforce certain constraints on those methods, classes, properties and vice-versa to behave in the way speci...
|
|
|
|
Total Hits: 405 | Today: 0
|
Author: Ashish Banerjee
|
Rating:
|
|

As an extension to the J++ design practice, C# has a syntactic construct, called Attributes, which let you drop hooks to Windows API or modify the runtime semantics, like threading synchronization behavior. The C# has legalized the hooking practice by calling them Attributes, and including them in ECMA C# specification....
|
|
|
|
Total Hits: 412 | Today: 0
|
Author: Rajadurai .P
|
Rating:
|
|

This article shows how to create custom attribute classes, use them in code, and query them. Attributes provide a powerful method of associating declarative information with C# code (types, methods, properties, and so forth). Once associated with a program entity, the attribute can be queried at run time and used in any number of ways....
|
|
|
|
Total Hits: 461 | Today: 0
|
Author: Deepak Dutta
|
Rating:
|
|

An attribute is a new code level language construct in all major .NET languages. It provides integration of declarative information to assemblies, classes, interfaces, members, etc. at the code level. The information can then be used to change the runtime behavior or collect organizational information. In this article, I illustrate the power of attributed programming by examples that show a modular approach to issues that can crosscut many classes....
|
|
|
|
Total Hits: 206 | Today: 0
|
Author: travis30
|
Rating:
|
|

The DynamicPropWrapper class wraps an existing class and filters the property information that the .NET PropertyGrid displays. The purpose for this is mainly to control the ReadOnly and DefaultValues for each property dynamically in the code. Other features include dynamic modification of the Categories, Descriptions, DisplayNames, Property sorting order and more....
|
|
|
|
Total Hits: 217 | Today: 0
|
Author: Dan Bunea.
|
Rating:
|
|

Being a J2EE developer in the past and a very big fan of OOD , I started a few months ago to work in .NET. Now I have seen the .NET data persistence approach, the DataSets, the DataReaders and DataAdapters in ADO.NET, which I consider very powerful when working with more that one record in a table, but I still like using Business Objects in my design, so I wrote a small persistence framework for .NET....
|
|
|
|
Total Hits: 484 | Today: 0
|
Author: Deepak Dutta
|
Rating:
|
|

An attribute is a powerful .NET language feature that is attached to a target programming element (e.g., a class, method, assembly, interface, etc.) to customize behaviors or extract organizational information of the target at design, compile, or runtime. The paradigm of attributed programming first appeared in the Interface Definition Language (IDL) of COM interfaces. Microsoft extended the concept to Transaction Server (MTS) and used it heavily in COM+....
|
|
|
|
Total Hits: 444 | Today: 0
|
Author: Jesse Liberty
|
Rating:
|
|

Throughout this book, I have emphasized that a .NET application contains code, data, and metadata. Metadata is information about the data -- that is, information about the types, code, assembly, and so forth -- that is stored along with your program. This chapter will explore how some of that metadata is created and used....
|
|
|
|
Total Hits: 48 | 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 * Description * Trademark * Configuration * Version * FileVersion * InformationalVersion...
|
|
|
|
Total Hits: 0 | Today: 0
|
Author: Malcolm Sheridan
|
Rating:
|
|

If you've used MVC you'll know how much time is saved thanks to model binding. That's where a form post is matched to a strongly typed object. This can save you time initially but it can also provide a way for a malicious user to exploit vulnerabilities in your code if you're not careful. You can optionally override what values to bind and what not to bind automatically. In my opinion it's better to code what not to allow in this case....
|
|
|
|
|
|