Do i have to install DNX on my server to serve asp.net 5 site? [closed] - c#

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
Thats really frustrating how hard is publish a website with asp.net 5. Very bad documentation, and all things said in internet does not work for me. Someone here already made it work? My server has iis 7.5. Do i have to install asp.net 5 on my server? I heard i do not need to install. Please help.

Can you please be more specific as to the exact steps you are getting and the error it produces?
This documentation walks you through step by step on how to configure your server to serve up ASP Core (ASP.net 5) applications
https://docs.asp.net/en/latest/publishing/iis.html
In Summary
Install the HTTP Platform Handler
Publish the site from visual studio to a folder (Publish -> File System)
Copy the files to your server
Create a new site in IIS and point it to the wwwroot folder of the copied site
Unlock system.webServer/handlers
Set application pool for the site to "No Managed Code"
Once you do this the site will run. I just confirmed by setting up a brand new machine and launching an ASP.net Core application.

Related

Should i Use Docker to Deploy a Web API Project (Microservices) to Azure Web App [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I have several Microservices (not .net core) built using normal Web API.I need to deploy it to Web API on Azure.Docket support was not added by default ? Should i containerize the projects before deploying to Individual Azure Web Apps?
It's not mandatory to containerize your APIs if you really do not want to deploy using containers. You can directly build the code and publish to Azure App Service (WebApp) either directly from Visual Studio/Visual Studio Code or Azure Devops with ARM templates.
If you want to loon into other options of deployment, have a look at Choose an Azure compute service for your application
its not necessary , before you jumped into containerize platform check do you really need this or not. if you are really want to host it in cloud please find something similar like (AWS LAMBDA ) in Azure which is server less . that may help you. #

Best Azure service for app with custom HttpListener [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I have own relative complex app which implement own http server via HttpListener. Currently I looking for best way to deploy to Azure. But I ‘am new in Azure, so I don’t know which service is best for my app.
What I need:
Continued running (long start time)
Support for minimal Http interface via HttpListener (I really doesn’t need MVC WebApi)
I will be happy if it will be easy deployment (automatization with VSO)
Also i don't need to much mantain pure VM :)
From my research I think best will be WebJob but on some article I read it's for "RSS aggregation, File maintenance, such as aggregating or cleaning up log files etc.." And it's not look like best solution for relative complex app.
You can deploy this as a standard web app. Web apps support the full .net 4.6 stack so will run HTTPListener quite happily.
You can enable Always On to ensure that your site is kept active. You can do this from Application Settings within the Portal. (it can also be scripted)
Indicates that your web app needs to be loaded at all times. By default, web apps are unloaded after they have been idle. It is recommended that you enable this option when you have continuous web jobs running on the web app.
There is a good, though old now! article by Scott Guthrie at Microsoft that might be useful.

move asp.net web site from pc to server [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I finished my asp.net website ,I am using vs 2013 and sql data base I designed the web site on my pc and it is work on IIS 7 , now I want to move the web site to our server which include Sql server 2008 .for my database no problem I will move it .but now any thing required to move the web site to the server, I do not know if I need to install vs 2013 on the server??
*note:the web site include report viewer .
you do not need Visual studio for deployment but you need .NET Framework installed in the remote server. You need to have Internet Information Services installed and it is advisable to have web deployment tools. In large scale enterprise applications we do not use manual web deployment but it should be automated with MSBUILD. Have a look at [Deployment automation][1]. You can deploy your code to a remote server and have a look at Remote Deployment.

Host MVC web app without IIS [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I have a Asp.net MVC 3 application which I want to give to a user to use without them having to host it in IIS to run.
What I would like to have is some sort of executable that they click or a service which will host the application and then they can use it from any browser on the network.
What are my options?
Have you looked into IIS Hostable Web Core?
This feature basically allows you to host the entire IIS functionality
within your own process. This gives you the power to implement
scenarios where you can customize entirely the functionality that you
want "your Web Server" to expose, as well as control the lifetime of
it without impacting any other application running on the site.
You can look into IIS Express http://learn.iis.net/page.aspx/868/iis-express-overview/ Although it is still IIS it's much lighter weight and might be what you need:
It doesn't run as a service or require administrator user rights to perform most tasks
IIS Express works well with ASP.NET and PHP applications
Multiple users of IIS Express can work independently on the same computer.
If the application is meant for production use, you need to host it under an IIS environment. IIS Express is intended as a development server and not for production use.
Otherwise, IIS Express is the way to go if you want someone else to work on it in a local development environment.
Take a look at the following example.
http://www.asp.net/signalr/overview/signalr-20/getting-started-with-signalr-20/tutorial-signalr-20-self-host
http://owin.org/
http://www.asp.net/web-api/overview/hosting-aspnet-web-api/use-owin-to-self-host-web-api
http://blog.micic.ch/net/owin-and-razor-enabled-mvc-application-framework
Regards

Server RAID 5 failed...all I have left is my compiled website [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
Yesterday, 2 of the 3 drives in my dev server's RAID 5 decided to die on me (with no warning). I've come to grips with the fact that my data is most likely lost unless I shell out some major bucks for professional data-resortoration. People, don't be an idiot like me and treat your RAID as a data backup!
Luckily I published the site about 4 hours before my files went bye-bye. Is there any way to run some [magical] program to restore my compiled site to their original files?
Also: I develop on one machine with the files stored on the server...is there some visual studio 2010 web cache on my local machine (the one that didn't crash) that I may be able to use?
you can try http://www.red-gate.com/products/reflector/ on the compiled site. May work.
If you have lost 2 of 3 drives you cannot get your data back.
You can use reflector on your compiled files to get your source code back. The standard version or reflector is free.
Log in to your FTP server and see what's there. Maybe the files were copied there.
I restored my RAID 100%.
The RAID configuration and some of Windows' files became corrupted. All I had to do was reconfigure the RAID and replace the boot files for Windows.

Categories