I'm gettin an error when embedding a second Asp.net application into the website. The application is packaged via web deploy into a zip file and imported onto IIS via web deploy.
Best regards,
Robert
Related
Hi I want to deploy my first ASP.NET MVC 5 application. To do that I published the solution (publish method: file system) and transferred the files to the server by Filezilla. When I visit the site I have a list of my files instead of a working application:
What am I missing?
EDIT:
I wrote a message to hosting support and they replied that ASP.NET applications don't work on their servers. Case closed.
I think
in IIS you have directory listing allowed and you do not have a properly configured default document
I've realized an ASP.NET Core application that currently runs as Console Application. I've been asked to deploy for a customer under IIS and for a next customer as Windows Service. In the past for .NET Full Framework application, I used TopShelf to run it as a console/windows service.
Have I change my code, or it's just a matter of publishing profile? I've seen that for IIS the publish generates a .exe file, should it exist or should it be a DLL file only?
Thanks
I'm trying to publish the sample web application in Visual Studio on smarterasp.net, but I can't complete the publish process beacause smarterasp doesn't allow to load exe files with the free account. However it seems that asp.net core is allowed with every type of account.
Have someone ever had the same problem? Do you know if it's possible to deploy an asp.net core application without exe files?
I have a simple asp.net mvc 4 web application, there is no code problem or any issues with routing.
I deploy it to IIS(any version) as a web application it works fine i can browse my site fine.
If i just deploy it to web site, it throws standard 404 not found exception.
I am trying to understand why this happens with asp.net mvc web applications?
Any clues? Any experience deploying this as a web site?
Web Applications are compiled, Web Sites are as-is, meaning your C# files are served without actually being compiled in to a .dll
This is why it isn't working, MVC sites must be compiled in to a .dll
How can i build my ASP.NET website project so that it will be ready to upload to the hosting server without the .cs files.
I can use the Web Publish protocol as it is not available in my hosting company.
Use Publish/Deploy to a local folder and then ftp/copy that folder upto your hosting provider