I have begun a YouTube channel called Homespun Effects. I will show my process of creating guitar effect pedals from schematic to finished product. Check out the site and visit the YouTube channel.
Category: Programming
Back to happy
I’ve always wanted to make a career in computers. It’s been 32 years since I got my first computer, a TI-99/4A, and taught myself BASIC and Extended BASIC. I’ve done a number of other jobs between then and my web programming gig. This marks the end of my sixth season of going back to nature.… Continue reading Back to happy
The possibility of leaving .NET behind
I’ve been rather happy with ASP.NET and especially with ASP.NET MVC. I’ve got to say that C# and especially Linq is just a plain pleasure to use. I have no issues with the programming side. Ever since I’ve gone from running my own Windows Server to using shared hosting it’s been one headache after another.… Continue reading The possibility of leaving .NET behind
Shoutcast Radio server
I helped a friend set up his Shoutcast server for his web site. It was a fun project and I really enjoyed it. I may have to install one for myself one of these days. 🙂 Check out Polish New Castle for polka goodness 24 hours per day. 🙂
Dynamic Javascript using ASP.NET MVC
Create a new MVC applictaion Open /Views/Shared/Site.Master <script src=”/Scripts/script.js” type=”text/javascript”></script> This doesn’t point to anything yet Open Global.asax Add a MapRoute routes.MapRoute(“Javascript”, “Scripts/{scriptFile}.js”, new { controller = “Scripts”, action = “Index”, scriptFile = “script” }); Now /Scripts/script.js points to Script/Index Add a view for CssController/Index <%= Url.Content(“~/Content/test.jpg”) %> Change contenttype in page directive of Views/Scripts/Index.aspx… Continue reading Dynamic Javascript using ASP.NET MVC
Dynamic CSS using ASP.NET MVC
I’ve been considering the usefulness of adding a CSS management system to my CMS that I’ve been working on. Here are the steps I’ve taken to implement it. Create a new MVC applictaion Open /Views/Shared/Site.Master <link href=”/Css/Site.css” rel=”stylesheet” type=”text/css” /> This doesn’t point to anything yet Open Global.asax Add a MapRoute routes.MapRoute(“Css”, “Css/{cssFile}.css”, new {… Continue reading Dynamic CSS using ASP.NET MVC
Adding links to all pages on a site using CSS
OK, I named this post that so that perhaps google will pick it up and those new to CSS will find this post. There is a really good reason that there are no tutorials on the internet concerning how to add content (a site menu is the most common request) to all the pages on… Continue reading Adding links to all pages on a site using CSS
Finding the current season using C#
Recently someone challenged me to write a server-side method for finding the current season and changing a style sheet accordingly. The first step is deciding how to differentiate the seasons. I figured to use the day of the year so that astronomically Spring begins on March 21st, the 80th day of the year. Summer begins… Continue reading Finding the current season using C#
SCOPE_IDENTITY() with LINQ
While reading about a recent question concerning @@Identity and the reasons to use SCOPE_IDENTITY() instead I experimented with LINQ to get the SCOPE_IDENTITY() results. using (var dbc = new siteDataContext()) { dbc.Log = Console.Out; repertoire newSkill = new repertoire { skill = “a new item” }; dbc.repertoires.InsertOnSubmit(newSkill); dbc.SubmitChanges(); Console.Write(newSkill.id.ToString()); } It seems that calling the… Continue reading SCOPE_IDENTITY() with LINQ
71.5% of screen reader users find Flash difficult to use
WebAIM‘s Screen Reader Survey, conducted December 2008 to January 2009, is a very interesting read. Yet another nail in the Flash coffin but surprisingly Frames are deemed easy to use by nearly 60% of screen-reader users. Give it a quick look. Comments open.
Adding AJAX to an existing project that includes Routing
I was working on a project and just on a whim decided to try out some of .NET’s AJAX controls. I chose a random page, added a ScriptManager, tossed in a TextBox and a CalendarExtender. F5. Page shows up. Javascript error: Line: 121 Char: 1 Error: ‘Sys’ is undefined Code: 0 Url: http://localhost:49329/admin.aspx Hmm. Try… Continue reading Adding AJAX to an existing project that includes Routing
Working on Bible Verse Tags for ASP.NET (C#)
To do: build Regex to detect bible verses in tags put in named back-references find a way to choose different tables with LINQ make it work for an entire chapter add error messages move it to a class file instead of in the page run it from the filterText method if IndexOf(“[bible]”) !=-1 fix toVerse… Continue reading Working on Bible Verse Tags for ASP.NET (C#)