Posts

Use Cases writing Tips

Use Case Definition: " A Use case us the specification of a set of actions performed by a system, which yields an observable result that is, typically, of value for one or more actors or other stake holders of the system (UML 2) " TIPS: A Use Case is the story of how the business or System and the user interact. Use Cases are formal requirements that clearly define the resultant value. Use Cases transform "shall" statements into groups that provide observable value and context, organized from a user prospective.  Use Cases describe both functionality and results. A common mistake is to consider requirements with design specifications. Diagrams provide a visual reference for the use case. People are the most important use case element. Establishing a use case style makes writing and reading them faster and easier. Use Cases should have a single main flow and multiple alternative flows. Alternative flows explain deviation from the main flow. Use Cases are not ...

Rewriting the DotNetNuke Url Rewriter Module - Again

Ref: http://www.ifinity.com.au/Blog/Technical_Blog/EntryID/24/ Redoing the DotNetNuke Friendly Url Provider for Human Reading and Search Engines Indexing NOTE : Due to popular demand, there is now a Support Forum for support requests on this module, or if you just want the thing to work ASAP, I can provide one-on-one support or install it for you. What I did previously was improve upon Scott McCulloch's work by working out a way to handle parameters. All well and good, and it worked OK. But it just still didn't look quite right. What's more, I wanted to use the rel="tag" microformat on my tagging module, and I was stuck with the .aspx extension on everything, which the microformat doesn't recognise. So after some back and forwards on the Ventrian forum where I posted my update, I went away and had a good think about it. There were two things nagging at me: 1. The performance would drop off drastically with the number of pages in a site, due to the...

Rewriting the DotNetNuke Url Rewriter Module

Ref: http://www.ifinity.com.au/Blog/Technical_Blog/EntryID/19/ As part of my ongoing interest in making DotNetNuke websites more person and search engine friendly, I started hunting around in the space again to see what was available. While the latest DotNetNuke releases have good ability to enter site rewrite rules (such as an automatic home.aspx redirection), the crucial problem for me is that the site doesn't generate simple Url's (instead it still outputs pagename/tabid/nn/default.aspx) I had previously looked at the Inventua Http module, and while it is a good product, it didn't quite suit my needs. I guess it came down to not being able to get the source code either. It also didn't work with the Catalook module, which I have done some work with and still support on some sites. Further searching brought me across Scott McCulloch's 'Friendly Urls' work on his site at http://www.ventrian.com/Resources/Projects/FriendlyUrls.aspx . (it's even a...

Locking in Microsoft SQL Server

Introduction In this article, I want to tell you about SQL Server 7.0/2000 Transaction Isolation Levels, what kinds of Transaction Isolation Levels exist, and how you can set the appropriate Transaction Isolation Level, about Lock types and Locking optimizer hints, about deadlocks, and about how you can view locks by using the sp_lock stored procedure. Transaction Isolation Levels There are four isolation levels: READ UNCOMMITTED READ COMMITTED REPEATABLE READ SERIALIZABLE Microsoft SQL Server supports all of these Transaction Isolation Levels and can separate REPEATABLE READ and SERIALIZABLE . Let me to describe each isolation level. READ UNCOMMITTED When it's used, SQL Server not issue shared locks while reading data. So, you can read an uncommitted transaction that might get rolled back later. This isolation level is also called dirty read. This is the lowest isolation level. It ensures only that a physically corrupt data will not be read. READ COMMITTED This is the d...

DIV Rounded Corners

CSS <style type="text/css"> .spiffy{display:block} .spiffy *{ display:block; height:1px; overflow:hidden; font-size:.01em; background:#B3A400} .spiffy1{ margin-left:3px; margin-right:3px; padding-left:1px; padding-right:1px; border-left:1px solid #ded791; border-right:1px solid #ded791; background:#c6ba3f} .spiffy2{ margin-left:1px; margin-right:1px; padding-right:1px; padding-left:1px; border-left:1px solid #f7f5e5; border-right:1px solid #f7f5e5; background:#c1b530} .spiffy3{ margin-left:1px; margin-right:1px; border-left:1px solid #c1b530; border-right:1px solid #c1b530;} .spiffy4{ border-left:1px solid #ded791; border-right:1px solid #ded791} .spiffy5{ border-left:1px solid #c6ba3f; border-right:1px solid #c6ba3f} .spiffyfg{ background:#B3A400} </style> HTML <div> <b class="spiffy"> <b class="spiffy1"><b></b></b> <b class="spi...

Convert DOC to PDF Files (Convert Word To PDF Files) using Command in ASP.Net

I used http://www.softinterface.com/Convert-Doc/Features/Convert-DOC-to-PDF.htm and then Executed the command from Asp.Net to conver the MS Word files to PDF. Code         // write the command         string exec = TextBox1.Text;         // Create the ProcessInfo object         System.Diagnostics.ProcessStartInfo psi = new System.Diagnostics.ProcessStartInfo("cmd.exe");         psi.UseShellExecute = false;         psi.RedirectStandardOutput = true;         psi.RedirectStandardInput = true;         psi.RedirectStandardError = true;                 // The path where Application is installed       ...