Last post Dec 11, 2007 06:07 AM by DavidKiff
Dec 09, 2007 07:31 PM|deboe|LINK
I need to convert this starter kit website to a web application. Can someone please provide some guidance on how to do this and what possible issues I may run into.
classified starter kit implementation
classified starter kit
convert to web app
website to web app
Dec 09, 2007 08:11 PM|DavidKiff|LINK
I have never done it but i would try this:
Create a new Web Application. Copy and paste all the files from the website and copy them into the web application directory. go into VS where your web app is loaded, show hidden files, right clcik on you web site files and select include :)
Dec 09, 2007 11:48 PM|ashmetry|LINK
I'm not sure i follow, I thought it is a web app, Its got the Application_Start/End and all that..
If you're talking about the project itself, I think if you have Visual Studio SP2 you can do that by right clicking the website and do a convert to web app (or somthing like that)
Sorry for the vague info but i cant exactly remember but im sure its simpler than copying the files and re-creating the whole thing..
Dec 10, 2007 01:52 PM|deboe|LINK
Thanks Ash I will try that and get back with you. I just didn't want to have the source files on the server in "plain" site. I'm so use to VS 2003 and the bin folder, etc.
Dec 10, 2007 02:42 PM|ashmetry|LINK
Oh you weren't clear on what exactly you wanted, If you want to completly get rid of code behind files (So you dont have source code on the webserver) and compile it all into one or more DLLs that gets referenced by the aspx file then you need to check the
Web Deployment Projects
This is basicly a wrapper for MSBuild that you can use to build & deploy your website.
Dec 11, 2007 06:07 AM|DavidKiff|LINK
You dont have to create a web application for that. if you go to the build menu and then publish, you simply specify an output directory and it will compile everything into that! A website will create .dlls for each codebehind with wierd names, an application
will compile into one dll :)..