pipe0481 Posted October 27, 2017 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.
Krydos Posted October 29, 2017 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.
pipe0481 Posted October 29, 2017 Author 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
Krydos Posted October 29, 2017 Posted October 29, 2017 I've used the ftp on visual studio before and it worked. Maybe your settings aren't right.
pipe0481 Posted November 2, 2017 Author 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?
wolstech Posted November 2, 2017 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.
pipe0481 Posted November 4, 2017 Author 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
Krydos Posted November 4, 2017 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/ ?
Krydos Posted November 4, 2017 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/
pipe0481 Posted November 4, 2017 Author 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now