I published my website to a shared hosting site (from ASP.net of listed recommended sites). I used Build-Publish-Web Deployment. The program published successfully and it works successfully. All the pages display data from the MSSQL database as it did on
localhost.
However, when I look at my site using either Filezilla or the Shared Hosting Control Panel File Manager I don't see the folders for Models or Logic. I built the site using one of the VS2012 web forms tutorials (note it is not a MVC site but Web Forms Application.
Is it normal that these the Models and Logic folders are either not visable or get placed somewhere else by the Publish - Web Deployment function?
I asked the shared hosting tech support to take a look for me and that could not see the folders either.
Hopefully, some one can help me solve the mystery.
Could you please kindly check it once again that you have uploaded your app properly? You should see that folder. Odd if you dont see the file/application that you have uploaded
jfeeney
Member
163 Points
551 Posts
Visual Studio deployment using VS2012 on shared hosting -- No Logic or Model folders
Nov 27, 2012 10:14 PM|LINK
I published my website to a shared hosting site (from ASP.net of listed recommended sites). I used Build-Publish-Web Deployment. The program published successfully and it works successfully. All the pages display data from the MSSQL database as it did on localhost.
However, when I look at my site using either Filezilla or the Shared Hosting Control Panel File Manager I don't see the folders for Models or Logic. I built the site using one of the VS2012 web forms tutorials (note it is not a MVC site but Web Forms Application.
Is it normal that these the Models and Logic folders are either not visable or get placed somewhere else by the Publish - Web Deployment function?
I asked the shared hosting tech support to take a look for me and that could not see the folders either.
Hopefully, some one can help me solve the mystery.
John
jfeeney
Member
163 Points
551 Posts
Re: Visual Studio deployment using VS2012 on shared hosting -- No Logic or Model folders
Nov 27, 2012 10:28 PM|LINK
My Web Application was called HuronWood. The site was built following a VS2012 CodeFirst Web Forms example.
I see that in my bin folder there are two files: HuronWood.dll and HuronWood.pdb
Are the Logic and Model folders being compiled down to dll files and being placed into the bin folder?
thanks, John
dotnetnerd
Contributor
2604 Points
587 Posts
Re: Visual Studio deployment using VS2012 on shared hosting -- No Logic or Model folders
Nov 28, 2012 02:52 AM|LINK
Hi jfeeney,
Could you please kindly check it once again that you have uploaded your app properly? You should see that folder. Odd if you dont see the file/application that you have uploaded
Windows ASP.NET Hosting | Reseller Hosting | Cloud Hosting
jfeeney
Member
163 Points
551 Posts
Re: Visual Studio deployment using VS2012 on shared hosting -- No Logic or Model folders
Nov 28, 2012 04:46 PM|LINK
My project was called HuronWood. I as I said above I found a dll in the bin folder called HuronWood.dll
When I open the HuronWood.dll in class view I see that it contains all the programs or classes from my Logic and Model file.
I am assuming this is built when I use the Build function prior to Publishing.
John