Wednesday, October 22, 2014

MVC 4 with EF 5 in a Visual Studio 2013 World

Was very painful to figure out how to not get an error when I had the gall to add another DBSet to my Context.  Kept getting errors in the Controller when calling the View with the ToList method on the passed object.

Turns out it has to do with adding this to the context:

        public MyAppContext()
            : base("MyAppContext")

Well this created all sorts of problems!
Even though the app functioned locally, when I went to deploy, it couldn't seem to create an mdf, and then inspection of my project showed that even though it seemed to be functioning complete with persisting data, no mdf was being created.

Not sure if this is what did it, but I just went ahead and created a DAL folder within which to move the Context class.  Now everything works.

Monday, October 13, 2014


(both by same guy, who was employed by Adobe)

PBS Kids uses Snap.svg

SVG was championed by Adobe until it bought Macromedia.

To save room, Android 2.x didn't support svg.

Canvas (~HTML5)

Random Notes
As of December 2013, Flash Professional CC includes support of Canvas.....

2011 the worst year for Flash, but also Msft announced discontinued support for Silverlight in Win8's IE (later reversed?).

Adobe "outsourced" all Flash staff?

Canvas - 2D
WebGL - 3D

IE 9+ Canvas
IE11+ WebGL

Canvas originally sprung from OSX's Dashboard in 2004.

Turns out lots of things claiming to be HTML5 Canvas, are really just (or mostly) CSS3 w/ JavaScript...  false advertising.

(failed )
(fee)  (uses processing.js)  (great animation)
(comparison  )
Cut the Rope ported to Canvas (look past all the downloads)

Image Manipulation
(about it:  )
Diagrams (UC...)
Good example (view code)

Liquid Canvas:
Demo, reminds me of Misos

Photoshop-like Layers for ? CSS or Canvas?

HTML5 Game Engine(s)


I'm going to create a new section (tab) above for links to HTML5 resources.

One of the most influential books I've read in years is "The Truth About HTML5" by Luke Stevens , and I highly recommend reading it.  One day 's work will be like Boethius was to the Medieval scholars. That's how I'm enjoying it.

Tuesday, October 7, 2014

Enabling Classic ASP on IIS

February 19, 2009
One of the challanges of running IIS on your own server vs. running it in the cloud is that you need to install the components you need manually, and it can sometimes be tricky figuring out what needs to be installed to get the functionality you need. For example, in IIS, the classic version of ASP is not installed by default. Because of this, you might see HTTP 404 errors when you try to browse to an ASP page on your server, or you might see the source code for your ASP page displayed in your browser window. Both of these error conditions are created when configuration settings that are used to define the environment for classic ASP are not installed.
To support and configure ASP applications on your Web server, you must install the ASP module. To install the ASP module on IIS, use the following steps for your version of Windows.

Installing Classic ASP on Windows Server 2012 or Windows Server 2012 R2

  1. On the taskbar, click Server Manager.
  2. In Server Manager, click the Manage menu, and then click Add Roles and Features.
  3. In the Add Roles and Features wizard, click Next. Select the installation type and click Next. Select the destination server and click Next.
  4. On the Server Roles page, expand Web Server (IIS), expand Web Server, and then expand Application Development.Server role
  5. On the Server Roles page, select ASP.
  6. If the Add features that are required by ASP? dialog box appears, click Add Features. (This page appears only if you have not already installed ISAPI Extensions on your server.)Windows features
  7. On the Server Roles page, ASP and ISAPI Extensions should be selected. Click Next.Server role
  8. On the Features page, click Next.
  9. On the Confirmation page, click Install.
  10. On the Results page, click Close.

Installing Classic ASP on Windows 8 or Windows 8.1

  1. On the Start screen, move the pointer all the way to the lower left corner, right-click the Start button, and then clickControl Panel.
  2. In Control Panel, click Programs and Features, and then click Turn Windows features on or off.
  3. Expand Internet Information Services, expand World Wide Web Services, expand Application Development Features, and then select ASP.Windows featuresNote: The ISAPI Extensions feature will be selected if it has not already been installed.
  4. Click OK.
  5. Click Close.

Installing Classic ASP on Windows Server 2008 or Windows Server 2008 R2

  1. Click Start, point to Administrative Tools, and then click Server Manager.
  2. In the Server Manager hierarchy pane, expand Roles, and then click Web Server (IIS).
  3. In the Web Server (IIS) pane, scroll to the Role Services section, and then click Add Role Services.
  4. On the Select Role Services page of the Add Role Services Wizard, select ASP.
  5. If the Add role services required by ASP dialog box appears, click Add Required Role Services. (This page appears only if you have not already installed the ISAPI Extensions role service on your server.)
  6. On the Select Role Services page, click Next.
  7. On the Confirm Installation Selections page, click Install.
  8. On the Results page, click Close.

Installing Classic ASP on Windows Vista or Windows 7 Client

  1. Click Start, and then click Control Panel.
  2. In Control Panel, click Programs and Features, and then click Turn Windows Features on or off.
  3. Expand Internet Information Services, then World Wide Web Services, then Application Development Features.
  4. Select ASP, and then click OK.

More Information

For more information about how to install classic ASP and how to configure classic ASP options, see the following page in the IIS configuration reference on the Microsoft Web site:

Discuss in IIS Forums
Translate this page