Create an ASP.NET application
In Microsoft Visual Studio .NET, follow these steps to create a new application to upload files to the Web server:
Start Microsoft Visual Studio .NET.
On the File menu, point to New, and then click Project.
In the New Project dialog box, click Visual C# Projects under Project Types, and then click ASP.NET Web Application under Templates.
In the Location box, type the URL to create the project. For this example, type
http://localhost/CSharpUpload, which creates the default project name of CSharpUpload. Notice that the WebForm1.aspx file loads in the Designer view of Visual Studio .NET.