move asp.net web site from pc to server [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 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.

Related

Installer for .NET Framework WPF application [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 a .NET Framework 4.8 WPF application. (Maybe .NET 5 in the future) This is a business application to manage persons.
The application must connect to a web service to authenticate with a user and manage data.
The web service is deployed on the customer server.
Each customer has its own installation with its own server and database.
Before, it was a Silverlight application, so an installer was not necessary.
What I need :
Create an installer that will install the WPF client application
Deploy the installer when hosting the web service on the customer server (Ex. "intranet.mycustomer/myApp/ClientAppSetup.exe" )
If possible, keep the URL of the server during installation, so that the application can call the web service, without having to ask the user to enter the URL again.
The application must update automatically
Installation should be as simple as possible
If possible, do not be limited to windows 10
Bonus : Since not all clients may have the latest version of the application, it would be usefull to be able to install the application several times on the same machine, with different versions and connecting to different servers (to do remote support or connect to different test systems)
What technology should I use to best manage my needs?
ClickOnce
MSIX (compatible with .NET Framework ?)
Squirrel ?
Other ?
I find the information difficult to find and there is little official and up-to-date documentation.
I have worked with ClickOnce before and it is a very easy tool. You have an option to generate a page where users can easily install the application. every time users open the application, Clickones compares the server version and the client version, and if it is necessary ClickOnes will update the client application (you can customize this part if you want it), the application will be installed as a normal program on the user's computer.
take a look at this article: https://www.c-sharpcorner.com/uploadfile/37db1d/deploying-wpf-application-with-clickonce-deployment-techniques/

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. #

Do i have to install DNX on my server to serve asp.net 5 site? [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 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.

.net application slow down but after restart iis and sql server service it works fine for some hours [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 8 years ago.
Improve this question
we are facing application slow down and user unable to use it. for simple transaction it takes 5 to 10 minutes or not responding. but if we restart IIS & Sql Service then it work fine but only for next 4/5 hours. following is the details of application.
Application is 3 tire architecture. WCF web service project is hosted in IIS6 on server having OS Advance Server 2003 and SQL Server 2005 is on the same server and client application is separately install on every client machine (approx. 50 users) by click once deployment.
For data access we have used Microsoft Enterprise Library. application developed on framework 3.0.
any help will be really appreciated. Thanks in advance.
Well there are so many possible reasons of this starting from poor written queries, lacking of useful indexes etc. It's hard to tell anything really useful without any details. However I recommend getting familiar with sys.dm_os_wait_stats dynamic view in SQL Server. It is a very good starting point. Check out this great article: http://www.mssqltips.com/sqlservertip/1949/sql-server-sysdmoswaitstats-dmv-queries/
And be aware that all the information stored in DMVs is lost whenever you restart SQL Server. It's complicates the troubleshooting and considered as a bad practice, try to avoid it.

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

Categories