dotnet sendmail

code :: sending email with c#

sending email is a snap with asp.net 2.0, this simple function sends an email to the specified name and email you pass to the function. with a little database integration this can be recalled in almost infinite recursion, and will not be tagged as spam because it sends individual emails, not a bulk message to many users. for fastest delivery times specify the direct path to your mail server (see line #18), and setup your mail server to not scan outgoing  webserver mail for spam. *edit* i now recant that statement. true, pure execution times will be faster but at the sake of ignorance. i would rather have the slightly increased send time and the knowledge that my code has not be hijacked and sending spam. 

example usage:

sendmsg("xero", "x@xero.owns.us");

Read: dotnet sendmail »

asp.net pure code database connection

code :: three different ways

visual studio 2005 has a tool for connecting to a database called a "sqlDataSource". while this tool works, i find myself wanting to create the connection and build or execute stored procedures within my own C# code. this tutorial will show you how to connect to a sql database 3 different ways in asp.net

the first thing is creating a connection with your database. if you understand how connection strings are built, write your own other wise will can use the visual studio database tool to do that for us.

configure database

Read: asp.net pure code database connection »

3D sound visualizer

code :: papervision3D spikey ball

papervision3D sound visualizer

a fellow papervision3D enthusiast zeh (creator of the popular mctween) has created a new way of animating full 3D objects in the flash/flex environment with 100% code! introducing the caurina tweener, which is now hosted on googlecode. tweener is still in development, but is completely stable and functional.

check out the sound visualization demo i created using pv3d and tweener
http://lab.x-e.ro/spineSound/ (source)

Read: 3D sound visualizer »

papervision3D video material

code :: the lupin cube

papervision3D video material - the lupin cube

 

my latest papervision3d project was a revamp of the video cube. this time around the rotation of the cube is static, not mouse driven, also i added some new filtering, and a different method of using a video texture that doesn’t throw an error message. the flv is from the best cartoon ever lupin the 3rd. this episode is called "buns, guns, and fun in the sun" 

check it out here.

and here's the as3 code:

Read: papervision3D video material »

papervision3d component for adobe flash cs3

code :: flash cs3 plugin

papervision3D component for flash CS3


today john grden of rockonflash.com has release his new papervision3D component.
this plugin for the flash cs3 ide allows you to...

  • render and edit your 3d objects in Flash IDE at design time!
  • it supports multiple material types
  • you can create scenes and cameras
  • management of resizing / centering of a papervision3D scene
  • dynamic masking to constrain the viewable area to set bounds
  • full api and access to scene, camera, and objects to code around
  • automatically loads materials via collada file
  • modification of rotation, camera zoom, camera focus, cameraZ

Read: papervision3d component for adobe flash cs3 »

tie the knot

lab :: papervision3D torus knot demo

tie the knot - papervision3D demo

so i had the chance this weekend to create a few 3D models and export their geometry into papervision3D primitives. so i decided to create a demo, using both my as3 torusKnot primitives and the new flex accordion component. about the time i finished my demo i decided to re-sync my pv3d folder with the svn. at that exact same moment their was a slip-up. somehow one of the new dev materials got leaked into the public svn. the new material features dynamic lighting! so i decided to hack it into my new demo. so enjoy my custom primitive shadedColorMaterial demo created in flex3.

Read: tie the knot »