Improving Developer Productivity with Visual Studio .NET Macros 23 Mar 2005 00:00 GMT
Most developers I've met and talked to throughout my career have shared one thing in common:
their interest in solving problems and their disdain of the mundane. Boring, repetitive tasks
are the bane of the development world, so much so that oftentimes programmers will spend countless
hours constructing a solution that relieves them from some mundane chore, even if the time
it takes to build a workaround is longer than the time that the boring task would require!
A common "bore chore" in development is hammering out similar code, a task good IDEs will
eliminate. For example, when using Visual Basic in Visual Studio .NET, typing out:
Public Property PropertyName As Type |
Will automatically expand into:
Public Property PropertyName As Type
Get
End Get
Set (ByVal Value as Type)
End Set
End Property |
Unfortunately C# doesn't provide such automatic expansion. Furthermore, there are more specific
scenarios that you may need to implement that Visual Studio .NET does not handle by default.
Fortunately Visual Studio .NET provides a way to create your own expansions, in a round-a-bout way:
through the use of macros. Macros are short pieces of code you can write that interact
with the Visual Studio .NET environment. In this article we'll look at how to create macros
to eliminate repetitive typing for a task common to custom ASP.NET control developers -
creating property statements that use the ViewStateStateBag as
a backing store. Read on to learn more!
Read More >
Source: 4GuysFromRolla Review: Free Components For ASP.NET 1.1 23 Mar 2005 00:00 GMTEver need to find that one component that will wrap up a project, but all you can find are expensive, incomplete apps? Have no fear. Hopefully I've already found a component that can help you.
Source: AspAlliance Using DTS To Copy Database 22 Mar 2005 00:00 GMTOne of the items I like to do from time to time is have a fresh copy of a production database on a local SQL Server. The local copy usually would be used for performance testing, application development etc. Microsoft SQL Server 2000 uses DTS (Data Transformation Services)....
Source: AspAlliance Miguel de Icaza Explains How To "Get" Mono 21 Mar 2005 05:00 GMTIt's perhaps the most controversial project in the open source world, but this mostly stems from misunderstanding: Mono, the open source development platform based upon Microsoft's .NET framework. Immediate reactions from many dubious Linux developers have ranged from confusion over its connection with .NET to wondering what the benefits of developing under it are. Throughout the course of its four years of intense development, sponsored by Novell, Mono founder Miguel de Icaza has had to frequently clarify the .NET issue and sell the community on it. In this new interview, Howard Wen asks Miguel to explain himself one more time.
Source: O'Reilly Using ODP.NET To Insert Multiple Rows Within A Single Round Trip 21 Mar 2005 00:00 GMTHave you ever had the necessity to insert multiple rows into a database? Of course you have. In this article I will explain how to make the most of Oracle’s ODP.NET Data Provider to easily pull off such a task. The class we will specifically be looking at to bring about this action is OracleCommand which is part of the Oracle.DataAccess.Client NameSpace. The property which allows you to achieve a multiple row insert is called ArrayBindCount. In this article I will be using a stored procedure instead of a SQL statement.
Source: AspAlliance MSDN TV: Working with Medium Trust in ASP.NET 17 Mar 2005 08:00 GMTASP.NET 1.1 introduced a new security feature enabling developers and admins to create and configure a security "sandbox" for ASP.NET code. Stefan Schackow discusses security restrictions with trust levels and demos the medium trust policy config file and runtime effect of trust levels on page code.
Source: MSDN