pipe0481 Posted October 27, 2017 Share Posted October 27, 2017 I've started to learn ASP.Net, and I've figured out what ASP.Net MVC is, and it looks awesome! But, from what I can tell, it's not the same as the .aspx script pages, so can I use MVC here? Thanks. Quote Link to comment Share on other sites More sharing options...
Krydos Posted October 29, 2017 Share Posted October 29, 2017 We partially support MVC5 and MVC4 on .NET 4.5, fully support MVC3, MVC2, and MVC1 on .NET 4.0, and fully support .NET 3.5 MVC. I'm not sure anyone has done this before so you might want to let us know how it goes. Quote Link to comment Share on other sites More sharing options...
pipe0481 Posted October 29, 2017 Author Share Posted October 29, 2017 (edited) Should I upload the site via FTP? I already tried doing so and it didn't upload the site, it finished with no errors but there were no files on the remote folder. I think it's a problem with my Visual Studio, because other people have the same problem, but I can't update it because I have no disk space. Or maybe it's because I think I used .NET Core. Edited October 29, 2017 by pipe0481 Quote Link to comment Share on other sites More sharing options...
Krydos Posted October 29, 2017 Share Posted October 29, 2017 I've used the ftp on visual studio before and it worked. Maybe your settings aren't right. Quote Link to comment Share on other sites More sharing options...
pipe0481 Posted November 2, 2017 Author Share Posted November 2, 2017 I created an empty ASP.NET MVC project in VS 2017 and uploaded it right away to the folder /mvctest, and this is what I'm getting: https://imgur.com/a/MoEw0Do I have to upload it to the html root? Quote Link to comment Share on other sites More sharing options...
wolstech Posted November 2, 2017 Share Posted November 2, 2017 Global.asax is not a file you're supposed to be able to access in a browser. The server intentionally refuses to serve it for security reasons. I don't see an aspx file, probably because you didn't create a page and put code in it. You said you uploaded an empty project, so there's no pages to even view. Quote Link to comment Share on other sites More sharing options...
pipe0481 Posted November 4, 2017 Author Share Posted November 4, 2017 (edited) It isn't an actually empty project, it has code and some views in it. Also, AFAIK aspx isn't used in MVC. EDIT: I tried uploading it to the WWW root, doesn't work either. Also, here's the contents: https://www.dropbox.com/s/oh2yux2sry3ctlc/PublishOutput.zip?dl=0 Edited November 4, 2017 by pipe0481 Quote Link to comment Share on other sites More sharing options...
Krydos Posted November 4, 2017 Share Posted November 4, 2017 Does this help http://www.integratedwebsystems.com/walkthrough-porting-asp-net-mvc-website-to-mono-2-6-1-and-mysql-on-linux-apache-porting-to-mono-part-3-of-3/ ? Quote Link to comment Share on other sites More sharing options...
pipe0481 Posted November 4, 2017 Author Share Posted November 4, 2017 Does it have to be Mono? Quote Link to comment Share on other sites More sharing options...
Krydos Posted November 4, 2017 Share Posted November 4, 2017 If you want to donate $470+ USD per year I'll set up a windows iis server for you. Linux is free. Mono is free. Source: https://news.microsoft.com/2007/11/12/microsoft-outlines-pricing-packaging-and-licensing-for-windows-server-2008-including-the-new-microsoft-hyper-v-server-product/ Quote Link to comment Share on other sites More sharing options...
pipe0481 Posted November 4, 2017 Author Share Posted November 4, 2017 (edited) Don't get me wrong, I'm totally fine with using Mono, I was just asking to see if that was the problem. I just created a project in MonoDevelop and uploaded it and it still doesn't work, so I guess it isn't. Sorry if I'm being a bit annoying, I just really want to try this out. Edited November 4, 2017 by pipe0481 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.