Posts Tagged ‘ASP.NET’

Using JavaScript Along with ASP.NET 2.0

An article from Microsoft : Using JavaScript Along with ASP.NET 2.0
Related Chinese article is Here.

Comments (1)

Another aritcle: Converting ASP to ASP.NET

Before I put A video of Classic ASP to ASP.NET from Microsoft.  Today I found another aritcle from Microsoft site:
Converting ASP to ASP.NET
I gives some helpful information.
But again: The best solution is that you have to re-write a new project using ASP.NET.

Leave a Comment

Convert HTML to XHTML

Got several articles about Convert HTML to XHTML:
1: Converting a HTML file to an XHTML file
2: Convert HTML to XHTML and Clean Unnecessary Tags and Attributes
3: HTML to XHTML Conversion with SGMLReader
4: SgmlReader
5: HTML Tidy Library project

Leave a Comment

A video of Classic ASP to ASP.NET from Microsoft

Here a video of Classic ASP to ASP.NET from Microsoft:
Click Here
Also:
Best Practices and Techniques for Migrating Classic ASP Applications to ASP.NET 2.0
Here is ASP to ASP.NET 1.x Migration Assistant

Comments (1)

How to Create a Custom Membership Provider from Microsoft

Here is a video tutorial from Microsoft about “How Do I: Create a Custome Membership Provider” , but you need to install SilverLight witch is also downloaded from Microsoft. SilverLight is a similar production as Flash, so you only need to download it and quick install for your browser.

Leave a Comment

ASP.NET: Could not find a part of path

We have a asp.net 2.0 / 3.5 project, it worked on our development site, but when we put it to product site, all functions about file read such as used Server.MapPath() method could not work and got the error like the following:
Could not find a part of path “C:\ABC\Path2\Path3\FileTemplates\”
The solution is just set site [...]

Leave a Comment

Find/Replace using Regular Expressions in Visual Studio

Some links for help :
1: Microsoft site;2: Microsoft forum about Regular Expressions in VS Studio;3: An article ;4: Test Your Regular Expression online using .NET Engine;
My Examples:
1: Find: gex.CustomInfo.Add\({["a-zA-Z0-9_]*}{:Po[:Zs]*}{[a-zA-Z0-9_]*}\)    Replace: gex.CustomInfo.Add(\1\2\3.ToString())
   gex.CustomInfo.Add(”MuniName”, MuniName)   -> gex.CustomInfo.Add(”MuniName”, MuniName.ToString())
2: Find: Rows\({["a-zA-Z0-9_]*}\).Item\({["a-zA-Z0-9_]*}\)    Replace : Rows[\1][\2]
    Rows(”aaa”).Item(”jjj”)   -> Rows["aaa"]["jjj"]

Leave a Comment

Send Email in ASP.Net 2.0

There are some changes using ASP.NET 2.0 to handle email stuff.
Here is good sample article which provided by Gowrisankar K : “Send Email in ASP.Net 2.0 - Feed back Form”

The Send mail functionality is similar to Dotnet 1.1 except for few changes
   1. System.Net.Mail.SmtpClient is used instead of System.Web.Mail.SmtpMail (obsolete in Dotnet 2.0).   2. System.Net.MailMessage [...]

Comments (7)