Posts Tagged ‘ASP.NET’

Host ASP.NET Web API In WPF Application

(The following content from CodeEase.com) Now WCF Web API changed to ASP.NET Web API. ASP.NET Web API has the feature of self-host. In Microsoft official site, they also provides two simples ASP.NET Web API self-host samples. However, they are so simple and actually they looks like the “same” one because these 2 simples are Console [...]

Leave a Comment

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.

Leave a Comment

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 [...]

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