|
|
|
|
|
|
| | Total Hits: 128 | 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: 70 | 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: 272 | Today: 0 | Author: Ivan Andreyev | Rating:  |
| |  Recently Microsoft introduced Device Simulation Framework as part of Windows Driver Kit. DSF provides programming infrastructure that allows software only simulation of various device types. Although currently it is limited to USB devices only, support for other device types might appear in future versions. Device Simulation Framework includes simulated EHCI controller and set of COM objects that you can use to create generic USB device. These COM object talk directly to low level DSF driver and... |
| | Total Hits: 43 | Today: 0 | Author: Brian A. Randell | Rating:  |
| |  Back in the January 2007 installment of this column, I started a discussion on using the Team Foundation Server (TFS) version control APIs from a Microsoft® Word 2003 add-in. Here I am, more than a year later, with the fifth and final part dedicated to the version control APIs and the Word add-in. (I really didn't think it would take this many installments.) You may recall from earlier columns that the add-in currently supports check-in, check-out, undo pending changes, and the ability to associ... |
| | Total Hits: 276 | Today: 0 | Author: Leonardo Esposito | 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.... |
| | Total Hits: 165 | Today: 0 | Author: Jeffrey Richter | Rating:  |
| |  Garbage collection in the Microsoft .NET common language runtime environment completely absolves the developer from tracking memory usage and knowing when to free memory. However, you'll want to understand how it works. Part 1 of this two-part article on .NET garbage collection explains how resources are allocated and managed, then gives a detailed step-by-step description of how the garbage collection algorithm works. Also discussed are the way resources can clean up properly when the garbage c... |
| | Total Hits: 207 | Today: 0 | Author: aliasgar | Rating:  |
| |  When I use the Math.Round Function it uses the Bankers Method. (ie., Round(5.5) = 5 and Round(5.50001) = 6). But when I use the Format String "{0:F0}" it uses the proper Mathematical Method.(ie. Round(5.5)=6). Why this inconsistency followed in .NET? Is any other way to switch the Math.Round function from Bankers Method to Mathematical Method? or Is any other way to switch the Format String "{0:F0}" from Mathematical Method to Bankers Method?... |
| | Total Hits: 184 | Today: 0 | Author: Ted Pattison | Rating:  |
| |  Visual Basic .NET is the result of a significant rebuild of Visual Basic for the Microsoft .NET Framework. There are a number of changes that make Visual Basic .NET easier to use, more powerful than Visual Basic 6.0, and give it the kind of access to system resources that in the past required the use of languages like C++. One of the most important additions is object inheritance. In Visual Basic .NET, all managed types derive from System.Object. An important new language feature is garbage coll... |
| | Total Hits: 270 | Today: 0 | Author: Tony Patton | Rating:  |
| |  While .NET applications usually reside on a Windows-based machine (Mono provides non-Windows support), the version and other system characters will vary. For instance, you may need to access the current machine's name, folder locations, operating system version, current user name, and so forth. The .NET Framework provides the answers within the Environment class located in the System namespace. The System.Environment class allows you to retrieve information about the host environment.... |
| | Total Hits: 148 | Today: 0 | | Rating:  |
| |  Role-based security allows administrators to assign access permissions to users based on the roles they play rather than on their individual identities. These privileges can be used to control access to objects and methods, and are easier to identify and maintain than user-based security. The .NET Framework provides two role-based security models, which are exposed as two namespaces: System.Enterprise-Services and System.Security.Permissions.... |
| | Total Hits: 184 | Today: 0 | Author: Vijay Kumar Patil | Rating:  |
| |  When we are running an application and we need to run a feature for which, the application does not have the relevant module, the application connects to the Internet and downloads the module into the Global Assembly Cache (GAC) and begins executing. This is done without being prompted to us. This kind of behind-the-scene upgrade functionality is the most common feature in today’s business environment. However, there are security concerns related to this ‘mobile code’.... |
| | Total Hits: 319 | Today: 0 | Author: Heath Stewart | Rating:  |
| |  If you've ever created a search page using Microsoft Index Server and ASP, you will probably agree that it's not the easiest task to accomplish. There much you have to plan for and all sorts of paging issues to handle.... |
| | Total Hits: 286 | Today: 0 | Author: Jay Nathan | Rating:  |
| |  We now know how to access data and put it into a simple, readable form in our ASP .Net web pages, but there's so much more! This article Will explain several more key objects that allow us to efficiently access our data in .Net.... |
| | Total Hits: 134 | Today: 0 | | Rating:  |
| |  Think about the possibilities of a component in the data access layer (DAL) of your application that didn't care what .NET Data Provider you were using. It could work just as easily with the SQL Server Data Provider or the OleDb Data Provider, or any other potential .NET Data Providers that could surface in the future. A DAL component that you could use against an Access 2000 database in development, and against a SQL Server database in production. In this tutorial I will show you how to build a... |
| | Total Hits: 100 | Today: 0 | Author: MSDN | Rating:  |
| |  In the past few years, a lot of companies have invested a lot of money in the OLE DB technology. OLE DB has been the technology that turned into the concrete programming calls that the vision of a universal data access strategy theorized in the UDA specification. OLE DB is built around the idea of using a suite of COM interfaces to read and write the contents of data sources irrespective of their relational, hierarchical, or flat architecture.... |
| | Total Hits: 191 | Today: 0 | Author: MSDN | Rating:  |
| |  When compared to full-fledged OLE DB providers, Microsoft .NET managed providers have a lot to offer. First off, they deliver a simplified data access architecture that often results in improved performance without the loss of functional capabilities. Furthermore, .NET managed providers directly expose provider-specific behavior to consumers through methods and properties. They also involve a much smaller set of interfaces than OLE DB providers. Last but not least, .NET managed providers work wi... |
| | Total Hits: 175 | Today: 0 | Author: MSDN | Rating:  |
| |  The System.Data.dll assembly in the .NET Framework contains namespaces whose base classes can be used to create custom data providers. These namespaces also define a number of data access interfaces and base classes that let developers create data providers that will interoperate with other custom providers.... |
| | Total Hits: 110 | Today: 0 | | Rating:  |
| |  Windows Forms contains all the methods and events needed to provide rich custom layout. What it lacks, however, is an extensible framework for writing custom reusable layout engines, as well as a set of stock layout components that provide the most common types of layout.... |
| | Total Hits: 72 | Today: 0 | | Rating:  |
| |  The somewhat surprising answer is not much. The only real difference is that a Console application sends output to a Console Window, and a Windows Form application doesn't. However, this is only the default behavior. There's no reason a Windows Forms application can't have a console window.... |
| | Total Hits: 83 | Today: 0 | | Rating:  |
| |  In this article well be going over how to use the Random class found in the System Namespace. The Random class can be used to generate random numbers a number of different ways and in this article we will go though most of them. In the first part of the article well be discussing how to initialize a new instance of the Random class. Then in the second half of the article we will be going over 3 of its most useful methods: Next, NextBytes, and NextDouble.... |
|
|
|
|
|
|