To resolve this issue I found this excellent blog post by Ross Nelson which explains how to modify things. Essentially Global.asax is altered to contain just this one line:
<%@ Application Language="C#" Inherits="Global" %>
I've been blogging for several years now but mostly as an outlet to express my views on current events and as a place to publish my photography. This particular blog will be entirely devoted to my work as a software developer and anything else related to technology that I find fascinating.
<%@ Application Language="C#" Inherits="Global" %>
You can define a code behind file to Global.asax such as CodeBehind="App_Code/Global.cs" and put all your code in there which can have using statement..!
ReplyDeleteI know. That's precisely what Ross Nelson's article explains. Though I chose to just put the "Global.cs" file in the root directory.
ReplyDelete