Mark Richman provides expert advice, strategy, and software solutions to businesses worldwide. His clients range from the Fortune 500 to small businesses to startups seeking dramatic results. Mark creates and improves business-critical web applications, increasing productivity and maximizing profits.

Archive for the ‘ASP.NET’ Category

Visual Studio 2008 Bug Upgrading web site from Visual Studio 2005: compiler error CS1519

I recently upgraded a website to Visual Studio 2008 from Visual Studio 2005 so I could make use of LINQ to SQL. Upon adding my table to a new .dbml file and rebuilding, I was met with this nasty compiler error:
LINQ to SQL compiler error CS1519: Invalid token ‘void’ in class, struct, or interface member [...]

Adding ASP.NET AJAX to Existing Websites

If you want to add Microsoft ASP.NET 2.0 AJAX Extensions 1.0 to an existing website…

Click here for the video! 

First, install the ASP.NET AJAX 1.0 Extensions: ASP.NET 2.0 AJAX Extensions 1.0
Next, add some stuff to the web.config file:
In the system.web section add the following line:
    <pages>
      <controls>
        <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
      </controls>
    </pages>
This [...]

Now using BlogEngine.NET!

BlogEngine.NET is an open source .NET
blogging project that was born out of desire for a better blog
platform. A blog platform with less complexity, easy customization, and
one that takes advantage of the latest .NET features.

BlogEngine.NET was designed using the current .NET framework and focused on simplicity, ease of extendibility, and innovative features. With BlogEngine.NET, we [...]