I have SQL Express running on some of my websites and don't have a good way to back them up automatically. When I have the full blown SQL Server I set up some maintenance tasks. In this case I had been using a stored procedure based backup program which requires compromising security a little since you have to allow access to XP_cmdshell to do what I needed.
I decided it was time to lock things down a little and develop a PowerShell script to do the following:
Backup all of the SQL Server databases on the specified instance into the specified folder
Zip up the backup files
Delete the uncompressed backup files after they have been compressed
Send an email to specified email address using authenticated smtp
I hired a contractor and this script ended up being more work than he bargained for. Since the compression routine is started asynchronously and does not provide a callback, there is no way of knowing when it is done. As a consequence, a file might still be ge ...
Read the rest of entry »
With Windows 7, solid state drives can make a big difference in performance. The article "Windows 7 and SSDs: just how fast are they?" by Ed Bott on ZDNet explains just how much of a difference they make. I like this article because he has measurements to back up what he says. Too bad he doesn't have stats on compiling large applications. I guess I'm going to have to get one so I can do those metrics.
Microsoft has made available a 22 page paper on cross site scripting. This is an excellent article for anyone writing .NET based software for the web. It covers the common approaches used for creating an XSS attack and then discusses the things you need to do to prevent...
Read the rest of entry »
By SuperUser Account on 1/7/2011 10:10 PM | Filed Under [DotNetnuke]
DotNetNuke currently has functionality to create XML sitemaps that you can then make available to the search engines to help them find pages on your site. While the built in provider is easy and lists any pages you have defined, it doesn't work well if you have a blog. Read more about a better solution and process you can use to get your pages crawled by Google.
Read the rest of entry »
Adding YouTube videos to your DotNetNuke site is an easy 3 step process. In general, you do the following:
- Find video and get the YouTube embed code
- Add a new HTML text control module or add an entry to an existing blog
- Paste the embed code into the html view of the editor
Read the rest of entry »
There used to be a module for adding Adsense ads to DotNetNuke sites, but it doesn't appear to exist in the latest version of DNN that I loaded (5.6.2). After some research I saw that some people were having good luck using the banners module. I made a few misteps along the way, so I thought I would write this to save others from having the same problems.
Read the rest of entry »
If you are looking for some short video tutorials to familiarize yourself with DNN, check out my YouTube playlist which has several good videos for someone just starting out. It will take you less than 30 minutes to go through all of them.
Read the rest of entry »
By SuperUser Account on 12/30/2010 10:42 PM | Filed Under [DotNetnuke]
In this entry Baldwin Sun shows how to add a FaceBook Like button to your site.
In Integrating Twitter into Your DNN Blog Baldwin Sun shows how you can tie twitter into your site.
This is part 2 of Tom Kraak's blog on DNN SEO. It took a little longer than he expected, but you can find it at http://www.iowacomputergurus.com/blog/3/dnn-seo-case-study-part-2.aspx