ASP.NET on charge!

  • Thread starter Thread starter Bar?? ?zmir
  • Start date Start date
B

Bar?? ?zmir

Hello,

I have developed many web applications by using ASP.NET but I'am
trying to publish a web site on the web first time. I meet some
problems and I have some questions about publishing:

1) Which files of an ASP.NET project should I copy to the host server?
(i.e aspx, resx...??)

2) When I try to copy whole project into another folder and try to
open aspx page, the browser gives "windows authentication" error. Why?

3) Can you suggest me any free host that support ASP.NET.

Thanks for consideration...
 
If you are using codebehind, then deploy your aspx, asmx, web.config, html,
images, etc. no vb or cs or resx files should be published. Then you must
create a bin folder and place your .dll file generated by VS.NET in that
folder. Thats it for CodeBehind.

Non-Codebehind. You could publish all files you created. This is only if
you are not using a VS.NET ASP.NET Web Solution.
 
Hi,

If you are using VS.Net then click on the solution in the "Solution
Explorer". Above it will be the "Copy Project" button. When you select
that button you put in the URL you want to copy your project to. There are
options in that box, if you select the "Only files needed to run this
application" option then just your DLLs and ASPX files will be copied along
with any graphics or other files you have in your project. When you click
OK you'll be prompted for your credentials.

As for the error part you might have Windows authentication specified in
your web.config file. You'll want to change that to None I think...or to
Forms if you institute authentication. Brinkster.Com used to have free
accounts, I'm not sure if they still do. Good luck! Ken.
 
Thanks for the responses. I will try them.


Tampa .NET Koder said:
If you are using codebehind, then deploy your aspx, asmx, web.config, html,
images, etc. no vb or cs or resx files should be published. Then you must
create a bin folder and place your .dll file generated by VS.NET in that
folder. Thats it for CodeBehind.

Non-Codebehind. You could publish all files you created. This is only if
you are not using a VS.NET ASP.NET Web Solution.
 
Back
Top