Posts

Showing posts from September, 2005

WinFX Developer Center: InfoCard: The Laws of Identity

WinFX Developer Center: InfoCard: The Laws of Identity : "The Laws of Identity"

Fields to Properties (Visual Studio.Net)

Yes, we miss Automatic property generation from the Fields of the classes in the Visual Studio.net IDE. Following is the sample code of the Macro, I am telling here which I used for myself. This member variable to Property generation is not generic and is very difficult to be. The idea is that I demonstrate to do it my way and you can customize it for your needs. Code is in the Visual Basic.Net -------------------------------------------------- NEED: Public Class AClass #Region "Members" Private strStaffId As String Private strStaffName As String #End Region End Class --> Public Class AClass #Region "Members" Private strStaffId As String Public Property StaffId() As String Get Return strStaffId End Get Set(ByVal Value As String) strStaffId = Value End Set End Property Private strStaffName As String Public Property StaffId() As String Get Return strStaffId End Get Set(ByVal Value As String)...

XML documentation in Visual Basic.NET applications

By default VB.Net in VS.net is missing support for automated generation of the documentation from with in the source, Like Recommended Tags for Documentation Comments . Here 'VBCommenter' PowerToy from the Got Dot Net Web site can help us. With VBCommenter plug-in, they can create XML documentation as they are writing code. To use this facility, it's first necessary to install VBCommenter. The download is a ZIP file that includes a standard Setup.exe file with an accompanying .msi file; it's trivial to unpack and install and should take no more than two minutes. Configure VBCommenter settings from the Tools VBCommenter Options menu. Here, make sure the checkboxes for both "Create .xml files when projects are built" and "Insert XML comments in source" are checked. Once the plug-in is running and configured, simply key three apostrophes into the Start Page for any class definition, property, member variable, or method. Because documenting as you...

MSDN TV Episode talks about "Data Access in ASP.NET 2.0"

MSDN TV: Data Access in ASP.NET 2.0 : Data Access in ASP.NET 2.0 Bradley Millington shows how to build a data-driven Web site in ASP.NET 2.0 and Visual Studio 2005. Learn how to build a database from scratch using Visual Studio built-in support for SQL Server 2005 Express, then retrieve and render the database contents using the new data controls in ASP.NET. -------------------------------------------------------------------------------- Hammad Rajjoub, MVP (Windows Server System - XML Web Services), User Group Leader - Dot Net Wizards (http://dotnetwizards.blogspot.com), Chariman UG Relations Committee (http://www.inetapakistan.org), Member Speakers Bureau (http://mea.ineta.org)