Sending Emails Via A Windows Service

| 0 comments

Should you require a mechanism to process email notifications either as a service on its own or to compliment a web site you may find this tutorial just to be exactly what you are seeking. There are a number of approaches you could take such as HTTP Modules, but here I am going to focus on a Windows based service. Assume you have some type of data store that maintains your user details and you wish to notify these users of a given action they they need to take or possibly sending out newsletter, product alerts, or more. A Windows service fits the need perfectly as well as allowing installation on a Windows box that may be outside the infrastructure of the web host itself. I will not go into details concerning creating a service installer nor how to deploy a Window service, should you need assistance in this area take the time to read Creating a Windows Service Application in the Component Designer on MSDN. To start first create a new C# Windows Service project and name it EmailService. Rename Service1.cs to EmailService.cs and then add two new classes named Email.cs, User.cs, and a configuration file named app.config. The …

Continue reading

Create A Polaroid Style Photo Gallery With CSS

| 0 comments

Creating a simple Polaroid style gallery is much easier than you many think just using CSS and HTML. For the purpose of this example, I must say that the gallery works best with a small number of pictures. Basically you could add a high volume of pictures, but you will need to modify the CSS to account for the volume you want to work with. In my example I have six photos in order to best demonstrate the concept. If you’re just starting with CSS then be sure to check out the WC3 Cascading Style Sheets reference and you may want to consider purchasing Beginning CSS for Web Design. The first step is to create a div wrapper that will contain the photos which is named photo-gallery and will hold the photos. <h1><span>Microsoft PDC 2009</span></h1> <a href=”#” class=”large polaroid img1″><img src=”pdc-2009-01.jpg” alt=””>PDC #1</a> <a href=”#” class=”medium polaroid img2″><img src=”pdc-2009-02.jpg” alt=””>PDC #2</a> <a href=”#” class=”large polaroid img3″><img src=”pdc-2009-03.jpg” alt=””>PDC #3</a> <a href=”#” class=”medium polaroid img4″><img src=”pdc-2009-04.jpg” alt=””>PDC #4</a> <a href=”#” class=”large polaroid img5″><img src=”pdc-2009-05.jpg” alt=””>PDC #5</a> <a href=”#” class=”medium polaroid img6″><img src=”pdc-2009-06.jpg” alt=””>PDC #6</a> </div> Notice that there is a few styles applied to the various child elements of the div. …

Continue reading

Easily Capture Streaming Media

| 0 comments

Are you looking to add your favorite television show or movie to your collection? If so, then I have a solution that you may be interested in. Now it is important to say that I do not advocate violating copyright laws, so be sure what content you are interested in capturing is legal to do so. During my search for a product that would capture media content that I was interested in many came at a cost and did not allow a trial run. I for one typically do not pay up front for something that I am not entirely sure will work as expected. I ran across StreamTransport and best of all it is free, however the author does accept donations. this application is able to browse and download video clips from video hosting websites of HTTP, RTMP, RTMPT, RTMPE, RTMPTE protocol, and these cover overwhelming majority of websites such as Hulu, Veoh, Boxee, Joost, YouTube, Yahoo Video, CBS, etc. Setup is very simple and in no time at all I was capturing media.For example, the following video is that I captured of my daughter playing the piano as a Flash video. The user interface is simple in nature …

Continue reading

VMware Player Makes It Possible To Stand Up Sandboxes

| 0 comments

As a software engineer I find that I want the capability to run several operating systems such as Windows XP , Windows 7 , Windows Server 2008, Ubuntu and others. The problems from my point of view is I do not want to dual boot into any operating system and I want to keep my primary host operating system as clean as possible. Typically I use my host operating system for task such as email, document generation, and web browsing. By doing so, I am able to prevent many issues that could arise from installing the latest and greatest software that I am interested in. The is nothing worse than installing a beta product and having it crash the system. Of course what else should on expect from beta software? Virtualization is the obvious answer and it is so simple that if your familiar with installing operating systems you can be up and running in no time. In fact there are two products that provide virtual capability and best of all they are free! My personal favorite is VMware Player, but to be fair I have not dug into Virtual PC first hand. VMware Player VMware Player is the easiest …

Continue reading

Free Windows Active Directory Tools

| 0 comments

An Active Directory structure is a hierarchical framework of objects. The objects fall into two broad categories: resources and security principals (user or computer accounts and groups). Security principals are Active Directory objects that are assigned unique security identifiers (SIDs) used to control access and set security. Each object represents a single entity — whether a user, a computer, a printer, or a group — and its attributes. Certain objects can also be containers of other objects. An object is uniquely identified by its name and has a set of attributes — the characteristics and information that the object can contain — defined by a schema, which also determines the kinds of objects that can be stored in Active Directory. Managing Active Directory is a task best left up to the professionals and the following is a list of tools that can help make short work when it comes to administration of Active Directory. Tools Blackbird auditor express brings a new level of centralized control and ease to AD auditing and compliance. Advanced change monitoring capabilities ensure your organizations is complying with external regulations or internal security initiatives, as well as prove to auditors that corporate policies for compliance have …

Continue reading