Posts

Regular Expressions in .Net

Regular Expressions Regular expressions have been widely popular in languages such as PERL and AWK and have been utilized for pattern matching, text manipulation and text searching. These languages are specifically is known for its advanced pattern matching features. Dot Net regular expressions are based on that of Perl and are compatible with Perl 5 regular expressions. To begin with, they are not as complex as they look, especially if you start experimenting with them. I would recommend that you download a tool such as Expresso (http://www.ultrapico.com/), to become familiar with regular expressions. Regular Expression Elements Some of the commonly used regular expression elements are: ^ Matches start of input $ Matches end of input . Matches any character except new line | OR * Match the preceding expression 0 or more number of times + ...

XML (XMLType) inside PL/SQL Oracle 9/10

The XMLType is an OO XML aware data type. It can be used in columns or in PL/SQL just like VARCHAR2 or DATE. XMLType has member functions that allow access to data using XPath. A quick example extracting a specific value from an XML varchar2 string: DECLARE v VARCHAR2(32000) := ' A B C '; x XMLType; BEGIN x := XMLType(v); DBMS_OUTPUT.put_line( x.extract('/DATA/LINE[1]').getStringVal() ); DBMS_OUTPUT.put_line( x.extract('/DATA/LINE[1]/text()').getStringVal() ); END;

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)

Web Services and other distributed technologies: Developing Distributed Services Today

Web Services and other distributed technologies: Developing Distributed Services Today This paper provides guidance on how to best use Microsoft Web service and distributed systems technologies in order to build distributed, service-oriented systems using today's platform. The impact of future technologies such as 'Indigo' is considered, and how Microsoft products such as BizTalk Server, SQL Server Notification Services, and Host Integration Server are positioned in this space