|
|
|
|
Creating a Scheduled Task in DotNetNuke |
CubicZone
DotNetNuke
|
By cubiczone on
10/27/2008 3:18 PM
|
|
|
|
DotNetNuke allows you to create a simple scheduled task relying on the DNN framework only. This is useful if you want to keep everything self-contained within a module or you run within a hosting environment that don't allow you access to Remote Desktop. (IIS, ASP.NET, DNN)
|
 |
|
Comments (0)
|
More...
|
|
|
|
|
|
|
|
|
|
Microsoft Fiddler Web Debugging Proxy |
CubicZone
ASP.NET
|
By cubiczone on
10/17/2007 8:33 PM
|
|
|
|
Here's a great Microsoft tool that deserves more attention than it gets. Fiddler is a free debugger software that hooks onto your Internet Explorer or Firefox browser. It allows a programmer to see the HTTP packets passing through the machine in a nicely arranged way. (asp.net, programming, perl, php)
|
 |
|
Comments (0)
|
More...
|
|
|
Never Leave Source Code on the Server |
CubicZone
ASP.NET
|
By cubiczone on
9/9/2007 1:07 PM
|
|
|
|
I'm not a big fan when it comes to deploying source code on the Web server especially with the new Web Site projects that comes with VS.NET 2005. If your server got hacked before, you'll understand why source code on the server is a very bad idea. (c#, asp.net, php, perl, security, dotnetnuke)
|
 |
|
Comments (0)
|
More...
|
|
|
Who Owns What On The Web |
CubicZone
Business Tech
|
By cubiczone on
8/23/2007 12:38 PM
|
|
|
|
See the list of high tech companies owned by Amazon, AOL, Ebay, Google, Microsoft and Yahoo! It's impressive to see the list of the companies and products owned by a handful of media giants. The amount of money poured on to high tech businesses is simply astonishing. (business)
|
 |
|
Comments (3)
|
More...
|
|
|
PowerShell PS1 - I Feel the Power But You're Ugly! |
CubicZone
PowerShell
|
By cubiczone on
8/14/2007 3:33 PM
|
|
|
|
PowerShell was previously known as Microsoft Shell (code-named Monad). When the marketing people at Microsoft finally decided to rename Microsoft Shell to PowerShell, they also renamed the file extension to ".ps1". I was perplexed by the odd extension used, so I posted a message in protest to Microsoft. (windows, command line)
|
 |
|
Comments (2)
|
More...
|
|
|
Global Catch All Exception in .NET Winform and Console Application |
CubicZone
.NET
|
By cubiczone on
8/6/2007 2:49 PM
|
|
|
|
You normally want to catch all exceptions at the highest tier in code so that your program has the chance to display the error message to the user or log it to the appropriate location. Under ASP.NET, you can do so easily by overriding the Application_Error event in Global.asax file. In a windows form or console application, the equivalent global catch all is available by listening to the ThreadException and AppDomain UnhandledException events. (winform, .NET, C#, VB.NET)
|
 |
|
Comments (4)
|
More...
|
|
|
|
|
Nested Form in ASP.NET Page |
CubicZone
ASP.NET
|
By cubiczone on
7/24/2007 4:09 PM
|
|
|
|
It's common practice on the web to copy and paste a third party HTML code to add functionality to a page. To embed this kind of code is normally a breeze for even non-programmers. What appears to be easy is actually quite complicated to do on ASP.NET pages. The reason is because every ASP.NET page is wrapped in one big HTML Form.
|
 |
|
Comments (1)
|
More...
|
|
|
A Very Real Virus Threat |
CubicZone
Security
|
By cubiczone on
7/24/2007 2:30 AM
|
|
|
|
One of my Windows desktop machines got infected with a Trojan virus. Since all my machines are connected in a network, the virus was able to spread and infect other hosts. I have already put together a backup system years ago so it was now time to review my recovery skills. (security, windows)
|
 |
|
Comments (0)
|
More...
|
|
|
The Brain Really Reads Between the Lines |
CubicZone
Common Sense
|
By cubiczone on
7/18/2007 2:45 AM
|
|
|
|
If you're a content writer or an SEO, here's a thing you need to understand about how the human brain works. Research shows that the brain does not read every letter in a word. Similarly, most readers will likely understand what a sentence means even if a couple of non-essential words are missing. (Common Sense)
|
 |
|
Comments (0)
|
More...
|
|
|
|
Enabling Execution of PowerShell PS1 Scripts |
CubicZone
PowerShell
|
By cubiczone on
7/15/2007 4:30 PM
|
|
|
|
Microsoft finally put together a powerful command line tool for Windows that makes Bash on Linux looks like small potato. The new powershell runs .NET and understands objects when you pipe from one process to another. Given the power and the things you can do with powershell, Microsoft is rightfully cautious about hackers and script abuse. PowerShell, by default, is very secure and disallows any powershell scripts from running. (security)
|
 |
|
Comments (2)
|
More...
|
|
|
Running Subversion as Windows Service |
CubicZone
Windows
|
By cubiczone on
7/15/2007 4:28 PM
|
|
|
|
Subversion needs the svnserve.exe executable running at all times to be able to perform source control operations. It's impractical on a Windows machine to have a command running at all times because as soon as you log out, the command gets killed. As of the new Subversion 1.4, the svnserve.exe can now run natively as Windows service...
|
 |
|
Comments (5)
|
More...
|
|
|
How to Convert Text Encoding |
CubicZone
Windows
|
By cubiczone on
7/14/2007 8:30 PM
|
|
|
|
Text encoding tells the system how a character is represented in bits and bytes. There are several hundred different known encodings. Sometimes you need to convert from one encoding to another because your application can only read certain data encoded in a certain way. Here's how to do it using iconv for Windows and Linux.
|
 |
|
Comments (1)
|
More...
|
|
|
New Snapshot Isolation Level in SQL Server 2005 |
CubicZone
SQL
|
By cubiczone on
7/14/2007 9:05 AM
|
|
|
|
Starting with SQL Server 2005, you can now use Snapshot Isolation to eliminate blocking READ operations and get rid of those pesky SQL locks. Snapshot Isolation is a better choice for OLTP operations where you expect a large number of reads and moderate writes. Your system will be able to scale much higher. Here's how to set your SQL Server database to use the new isolation level...
|
 |
|
Comments (0)
|
More...
|
|
|
|
Having Fun Transforming XML Feed with XSLT |
CubicZone
XML
|
By cubiczone on
7/13/2007 12:51 PM
|
|
|
|
I use RSS Feeds quite a bit. It's neat to pull interesting blogs or news feed into my site. Sometimes the RSS feed provided is too long or the default format is not as nice. So I decided to write my own XSLT template to transform the XML from the RSS feed.
|
 |
|
Comments (0)
|
More...
|
|
|
How to Create a Self-Signed SSL Certificate |
CubicZone
ASP.NET
|
By cubiczone on
7/10/2007 9:44 PM
|
|
|
|
When you're testing a web site on IIS either on your own development PC or on staging, you need a way to generate a self-signing certificate if you don't want to put out a few hundred dollars. In the past, Microsoft made available a tool called SelfSSL inside the IIS 6.0 Resource Kit. The tool works but there is a bug when you try to create more than one certificate on the same machine. You keep losing the first certificate you created. The better way is to use the new Microsoft SSL Diagnostics tool ... (ASP.NET, IIS)
|
 |
|
Comments (3)
|
More...
|
|
|
|
|
How to Find and Delete Duplicate Entries in a Table |
CubicZone
SQL
|
By cubiczone on
7/5/2007 6:24 AM
|
|
|
|
Someone asked me today how to find a duplicate entry in a table using SQL. One of his tables became corrupted after SQL Server accidentally dropped his Unique Index on a field. As a result, the same data got inserted multiple times and he needed a way to find out which and how to delete them...
|
 |
|
Comments (2)
|
More...
|
|
|
The Infamous JavaScript void() Function |
CubicZone
JavaScript
|
By cubiczone on
7/5/2007 12:06 AM
|
|
|
|
Once in a while, I have a need to use a HTML hyperlink to perform client-side behavior like open a new window, modify a field or any imaginable DHTML task. There's actually a few ways to accomplish that and prevent the hyperlink from firing a web navigation to another page. One way is to use the void() function...
|
 |
|
Comments (6)
|
More...
|
|
|
|
Flex your site! |
CubicZone
Flash
|
By cubiczone on
7/4/2007 9:35 PM
|
|
|
|
I think I stopped developing Flash at around version 7 or 8, right around OOP programming languages like Java and .NET became mainstream. I saw Flash as a difficult to maintain application. I was lately re-introduced to Adobe Flash once again, this time with the new Flex framework. I was astonished to see how closely it resembled to ASP.NET and C#/Java syntax...
|
 |
|
Comments (0)
|
More...
|
|
|
|
|
What ever happened to Perl 6? |
CubicZone
Perl
|
By cubiczone on
6/27/2007 12:40 AM
|
|
|
|
I spent some quality time over the weekend with a friend discussing Perl. The long awaited Perl 6 was touted to replace the misfeatures in Perl 5 several years ago but never saw light. Not every Perl programmer thinks it's worthwhile to move to the new Perl 6...
|
 |
|
Comments (0)
|
More...
|
|