13 items found in the Classic ASP Category

Migrating Classic ASP To ASP.NET Razor Web Pages Part Three- Include Files And Reusable Code

10 March 2014 13:23

Classic ASP VB.Net ASP.NET Web Pages WebMatrix Razor

This is the third in a series of articles that explore how to migrate classic ASP web sites to the ASP.NET Web Pages framework. I covered Razor syntax and data access in the previous articles. This article shows how to deal with reusable code that typically inhabits include files in classic ASP.

Click to read more about Migrating Classic ASP To ASP.NET Razor Web Pages Part Three- Include Files And Reusable Code ...

Viewed 21328 times

6 Comments for this item

Migrating Classic ASP To ASP.NET Razor Web Pages Part Two- Data Access

03 March 2014 13:26

Classic ASP VB.Net ASP.NET Web Pages WebMatrix

The first article in this series explored the differences (and similarities) between classic ASP inline syntax and Razor syntax, the templating technology behind ASP.NET Razor Web Pages. The work required so far to port intermixed HTML and simple conditional and selection statements across from classic ASP to Razor didn't require a lot of effort. That is about to change in this article as I look at data access.

Click to read more about Migrating Classic ASP To ASP.NET Razor Web Pages Part Two- Data Access ...

Viewed 25597 times

6 Comments for this item

Migrating Classic ASP To ASP.NET Razor Web Pages Part One- Razor Syntax And Visual Basic

24 February 2014 13:25

Classic ASP ASP.NET Web Pages WebMatrix Razor

You have a classic ASP application that needs migrating to ASP.NET. You are comfortable working with classic ASP. but ASP.NET is fairly new to you. So what do you do? This article is the first in a series that looks at your options and proposes an approach to the migration that follows the path of least resistance.

Click to read more about Migrating Classic ASP To ASP.NET Razor Web Pages Part One- Razor Syntax And Visual Basic ...

Viewed 67057 times

7 Comments for this item

Classic ASP Include Files in ASP.NET

23 June 2010 07:43

Classic ASP ASP.NET Web Forms

Include files within classic ASP are about the only way to achieve some measure of code-reuse within frameworks that offer little or nothing by way of composition or inheritance. Judging by the number of questions in forums, there are still a lot of people moving across from classic ASP who are puzzled as to how to approach replacing include files within ASP.NET. A number of articles illustrate individually how to do so for site-wide layout reasons, including widgets, reusing global functions, or actually including the content of a file. However, I haven't been able to find one resource that brings all these together, hence the purpose of this article.

Click to read more about Classic ASP Include Files in ASP.NET ...

Viewed 137083 times

4 Comments for this item

Ajax with Classic ASP using jQuery

17 January 2009 23:13

Classic ASP VBScript AJAX Javascript jQuery

My simple article on Ajax with Classic ASP is one of the most popular on this site. So I thought it's about time I updated it to show how to use jQuery to Ajaxify a Classic ASP page. Since I did that, the jQuery version became even more popular but needed to be brought up to date. This latest version uses a couple of suggestions that have been provided by commentors to improve the code. I have also added a download which contains all the code needed to run the samples.

Click to read more about Ajax with Classic ASP using jQuery ...

Viewed 193555 times

15 Comments for this item

Debugging Classic ASP pages in Visual Studio 2005 on Windows XP Pro

17 August 2007 10:28

Classic ASP Visual Studio

As an ardent Dreamweaver user for classic ASP, I used to debug my scripts with a plethora of Response.Write and Response.End statements, outputting the values of various values to the browser to check that logic was working as intended. However, I recently discovered how to use the VS 2005 debugger to make debugging classic ASP (almost) a joy.

Click to read more about Debugging Classic ASP pages in Visual Studio 2005 on Windows XP Pro ...

Viewed 20494 times

2 Comments for this item

AJAX and Classic ASP

06 May 2007 23:29

Classic ASP VBScript AJAX Javascript

Using the xmlhttpserver object in javascript to request an asp page containing script to output text.

Click to read more about AJAX and Classic ASP ...

Viewed 79557 times

7 Comments for this item

Analyse the tables and saved queries in an Access database with ADOX

06 May 2007 22:34

Classic ASP VBScript MS Access

The following code will enumerate the tables and their properties, together with the queries in an Access database. Saved SELECT queries are referenced using the Views collection, and INSERT, UPDATE and DELETE queries are referenced from the Procedures collection.

Click to read more about Analyse the tables and saved queries in an Access database with ADOX ...

Viewed 7277 times

0 Comments for this item

Regular Expressions and VBScript

09 April 2007 12:42

Classic ASP VBScript

Regular Expressions provide a much more powerful and efficient way of manipulating strings of text than the use of a variety of standard string functions. They have a reputation of being cryptic and difficult to learn, but are actually quite easy to learn and use.

Click to read more about Regular Expressions and VBScript ...

Viewed 116051 times

3 Comments for this item

Date formatting in VBScript

08 April 2007 20:22

Classic ASP VBScript

A cheat sheet for people who want to format dates using VBScript

Click to read more about Date formatting in VBScript ...

Viewed 190164 times

8 Comments for this item

Migrating from Classic ASP to ASP.NET - equivalent objects and classes

07 April 2007 10:01

Classic ASP VBScript ASP.NET 2.0

Having spent some time familiarising oneself with the objects available in Classic ASP, it can be tricky sometimes to find the .NET framework equivalent. Here's a guide.

Click to read more about Migrating from Classic ASP to ASP.NET - equivalent objects and classes ...

Viewed 18920 times

1 Comment for this item

Saved Parameter Queries with MS Access and ASP

31 March 2007 21:19

Classic ASP VBScript MS Access

Protecting your application against SQL injection and easier debugging are just two of the benefits of using saved parameter queries in MS Access.

Click to read more about Saved Parameter Queries with MS Access and ASP ...

Viewed 15828 times

0 Comments for this item

ADOX, MS Access and ASP

31 March 2007 19:55

Classic ASP VBScript MS Access

You don't need MS Access installed on your computer to create a database file for your ASP web site. Using ADOX and some data definition language allows you to produce an mdb file programmatically.

Click to read more about ADOX, MS Access and ASP ...

Viewed 9000 times

0 Comments for this item

Recent Comments

Julian 26/09/2016 14:27
In response to Loading ASP.NET Core MVC Views From A Database Or Other Location
Fantastic, many thanks Mike! Had got half way down this road before finding your article - saved...

Abolfazl Roshanzamir 14/09/2016 05:36
In response to Loading ASP.NET Core MVC Views From A Database Or Other Location
Nice article. Thanke you so much ....

cyrus 02/09/2016 15:12
In response to ASP.NET Web Pages vNext or Razor Pages
I've got some news. As Damian stated in this link: https://github.com/aspnet/Mvc/issues/5208 “We...

Simon 01/09/2016 08:00
In response to Loading ASP.NET Core MVC Views From A Database Or Other Location
Thanks Mike, nice post and exactly what I was looking for. Like you said, I think I'll opt to the...

dave 20/08/2016 14:57
In response to ASP.NET Web Pages vNext or Razor Pages
Do SimplemembershipProvider in viewpages is supported?...

Steven 18/08/2016 04:40
In response to Entity Framework Code First and Stored Procedures
Can you provide the directives (using statements) you're using for EF7 example?...

yousaid 17/08/2016 22:08
In response to ASP.NET Web Pages vNext or Razor Pages
Increasingly, learning a Microsoft tool is no longer worth the return on investment. Too many tools...

jared 12/08/2016 05:54
In response to ASP.NET Web Pages vNext or Razor Pages
hi mike, just for clarification, is viewpages something different from webpages? is webpages still...

Jocke 08/08/2016 20:37
In response to Loading ASP.NET Core MVC Views From A Database Or Other Location
Good post! If this was to be implemented in a CMS where users can change the view files, how would I...

cyrus 05/08/2016 19:49
In response to ASP.NET Web Pages vNext or Razor Pages
I think adding these features to webpages make it complicated. msft forget webpages goal so we move...