We are creating a website using VS 2010 (c#) and I was wondering, after were done with our online inventory system, how are we going to deploy it? I wanted to know the following:
The things that we need like the web hosting site, web server, anything that we need to pay for, can you give some suggestions.
And the method for deployment. The right address/URL, port what so ever.
Please help me out, it's for our thesis. Thank you very much in advance.
Visual Studio has a deployment tool (Build => Publish). From here you can specify if you're deploying to a server via the Web, FTP, File System or Front Page Server Extensions (FPSE).
This blog contains some info about it.
If I'm deploying to a server on our network I use the File System deployment, though for remote servers you're probably best using the Web or FTP method.
Can't help you with hosting costs / recommendations, this probably isn't the best place to ask about them.
Hope this helps.
Related
Even though there are many variations of my question, none that I found address my exact issue. I have created an asp.net web application in C# using Visual Studio. I done this on my home desktop and this week I have to show my professor my application working on the lab computers at my University.
What is the best way to do this, bearing in mind I need my app along with my SQL database (that I created using Visual Studio also).
Thank you in advance for any help or advice!
The best way you can do this is set-up your website via IIS. With this, you can host your project via LAN set-up. To know more on how you can set-up your site via IIS, you can check: https://msdn.microsoft.com/en-us/library/ms178477.aspx
If you want online, you can host it via AppHarbor which you can host your project for free, and you can now access your website via internet, not just LAN.
I did a windows application project with C#. Now, I wanna to run it as web application.(I mean, i want to install the application on server and the user from other places can connect to the server with a web link and test it).Since all the user do not have the visua studio software, I forced to do that. May you help me to figure this problem out?
Thanks in advance
You can't do that. You can have people be able to Remote Desktop to the server and then run the application. If you wanted it to be accessible via URL, you have to build a webpage.
Short answer: you can't run a Windows application directly in a web environment. And really there is NO WAY you should want that, either.
If you need remote access to the computer running the instance of your application, that can be done with the right software. I can think of TeamViewer, Radmin and Remote Desktop on top of my head.
If support for multiple concurrent users is required then you have two obvious choices:
Deploy your application on every clients, or
Make a Web application.
Now for option 1, there are different ways to do that. Depending of the complexity of your app you may require a Windows Installer setup package. For this there is multiple tools on the net. My personal favorite is WiX. Free, powerful and easy once you get the hang of it. Most installers will also ensure that requirements for the app to run are met, and install the missing components if necessary.
If all you have is a simple EXE file then you could be tempted to just package (ZIP) it and share it any way you want, but be warned: if the correct .NET Framework isn't installed on the client machine, it won't work. IMHO given the tools at your disposition to ensure a proper installation experience for the end user, you have no reason to do that. You can, however, consider using ClickOnce for this scenario.
If that doesn't help you, then please add more details on what your requirements are, maybe you'll get better advice.
PS: About "not every users having the Visual Studio software"... having VS installed should never, EVER be a requirement for the regular user.
You can't just run a Windows application as a Web Application. You need to re-write it as a web application. The users do not need Visual Studio to run your application as you have mentioned in your question. If you give some details of what your application does then maybe you will get some better help.
If you wrote your application using WPF it is possible to deploy it as an XBAP.
There are restrictions associated with deploying an application this way.
The minimum you would need to do is create a Web Application to host said XBAP.
I am about to start making a small e-commerce website using ASP.NET, C# and SQL Server 2012.
However before I start, I would like to learn how to make the transition from a local DB to a web hosting DB. I looked at http://www.hostgator.com/windows-hosting and they have Microsoft SQL listed under their options. I read some reviews and they seem to be one the best web hosting companies around, and their customer service was quite good last time I talked to them(regarding a different issue).
I would go straight to their "live chat" again, but I am pretty sure those Level 1 support wouldn't really be able to help me. I also looked at https://somee.com/default.aspx as a free web hosting alternative for testing and what not.
Anyways, if someone could shed some light on this matter I would really appreciate it. Other web hosting companies are welcomed, I also thought about MS Azure, but I don't have much experience with cloud computing so there is still some research that I have to do on that front.
PS: These are the tools that I will use to get the job done(as of now) and what I would like to accomplish.
Tools:
SQL Server 2012 Developer Edition
Visual Studio 2012 (C# and ASP.NET)
Goals for my website:
Log-in System
Account System
Shopping Cart
PayPal
Some sort of schedule/web calendar tool
first take a look does the hosting company have SQL 2012 in offer.
My first attempt would be :
- Make Database backup on local server and try to use ISP tool for database, I'm sure that they have some DB tools that support 'Restore' option.
Second :
- They would give you SQL login data, You can write some little code for synchronization. Read from one database and send the data to ISP server. This code should be run on Your local machine.
You mentioned Azure, so I thought I would also point out that Azure Websites has a gallery of eCommerce packages that you can install. I believe all of these have the key capabilities you are looking at.
Some of the packages you can quickly install are:
Drupal Commerce Kickstart
Kentico CMS for ASP.NET
mojoPortal
nopCommerce
OpenX
There is a little more information on this here: http://www.windowsazure.com/en-us/services/web-sites/
Sorry I think I am finally asking the right question. First I asked Create a shell namespace extension
Anyways I am synchronizing and sharing files between two peers just like drobox but with larger data. I was wondering how could I create a web share or ftp share server so that I can connect to it from windows.
For example when you click on:
Then
if I select ftp://ftp.microsoft.com
then this is what I get:
From researching on the internet I saw that IIS supports this. I was wondering if there are some libraries that will enable me to create this server on c#.
You could use Apache server to do turn your computer into a hosting server. Apache comes with many software packages such as xampp, wampp which help reduce installing time.
I've started ut a new instance of a windows server 2008 and am trying to move and launch my web service I've created in Visual Studio. How do I move the project from my local computer to the remote desktop? Grateful for all help!
I've tried the really simple approach and just copied the directory to the remote desktop in the same location as on my local computer. Did not work.. When I try to access the same adress that it has on my local computer (http://localhost:80/somesite all I get is this:
HTTP Error 403.14 - Forbidden
The Web server is configured to not list the contents of this directory.
I'm probably going about this the wrong way, but don't know where to start..
Sounds like you need to setup IIS. See the following link http://www.codeproject.com/Articles/28693/Deploying-ASP-NET-Websites-on-IIS-7-0
I would make sure asp.net is enabled in the IIS server. Also try to explicitly hit your page such as:
http://localhost:80/somesite/myhome.aspx
I'm sure there is a quick answer to your particular issue, but if you're going to be doing this sort of thing often, it is best to take some time up front and read up, then click around and get a feel for IIS.
http://msdn.microsoft.com/en-us/library/ms178477.aspx
Visual Studio has abstracted much of the site/virtual directory setup and configuration, chances are you can't just copy the files over and have it work. There are lots of things to think about: websites versus virtual directories and their configurations, application pools and their identities, file permissions, default documents, etc. enjoy.