Reputation: 323
I have an ASP.Net website that I built in a computer science class. I built it in Visual Studio and the solution is on my local drive. How would I deploy this to a real website?
Upvotes: 1
Views: 319
Reputation: 29061
Assuming that already you have an IIS application and web folder set up on a web server somewhere, the simplest method goes like this:
Publish
.File System
as the publish method.c:\pub
or something similar.Publish
c:\pub
(or whatever target folder you used in step 3) to your web folder on the web server. Depending on your server accessibility, you may need to do this via FTP. You might also investigate ClickOnce Deployment if your server supports it.
If you don't already have server space, you'll need to find a good hosting provider that supports ASP.NET. Google has many suggestions.
Upvotes: 0
Reputation: 63136
You will need to do a few things.
When publishing you should publish in release mode.
Upvotes: 2
Reputation: 499262
Get hosting that supports the version of .NET and ASP.NET you have used and copy the files over.
Upvotes: 0