Click here to Skip to main content
15,891,864 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello friends,

I'm working on asp.net project which uses sql server and c# programming, naturally i'm deploying project by publishing and copying it to inetpub folder and before this i'm installing sql server and visual studio.

this is a silly question but i need suggestion that is there a way to deploying project without installing sql server and visual studio, because when installing sql getting problem on some systems.

so kindly somebody suggest me that is there any other way to simplify the installation.

Thanks,
Abdul Rahman
Posted
Comments
Homero Rivera 25-Dec-13 11:05am    
Is this for the purposes of installing the application for the end-users?
Are you installing a web application in every single client computer?
M.Abdul Rahman 26-Dec-13 8:36am    
yes i'm installing on client machines

You never ever need Visual Studio for anything except development, not even for building .NET projects. Visual Studio is only the IDE.

There are different approaches to SQL deployment, but I would advise just to require it as a prerequisite for your product. Don't forget that you need SQL server separately from client; they can be on different tiers.

—SA
 
Share this answer
 
Comments
M.Abdul Rahman 26-Dec-13 8:35am    
Thanks for suggestion, but installing 4gb sql server on client system takes time and sometimes client system gets slow, is there any way to install only usage process like data services, this might be faster comparing to full installation.
Sergey Alexandrovich Kryukov 26-Dec-13 12:08pm    
You never explained what you are installing, on what tier. Of course you don't need to install a database server on the the system which only consume the service...
—SA
According to your reply to my message, I'd like to offer you an overview on how to setup a web application in a server computer so that all client computers in your company/organization can access the web application without a need to install in every computer.
This has a lot of advantages, the most important being data centralization.

Please keep in mind this is just an overview, and for every step mentioned you may need to read additional materials.



Assuming all your computers are in the same network...

1. Disregard your current approach of installing an ASP.Net application on every client computer. This is because installing that on every computer for every new version is gonna take you time -as you already know.

2. Get a server computer (it can be just any computer with Windows Professional or later if there are not going to be over 5 PCs connecting simultaneously, otherwise use Windows Server). Good RAM (4GB sounds right) and a big hard drive like 70+GB may be good enough for most web applications.
Most people believe server computers should be special somehow, but this is not true, any computer can act as a server; the decission to get more and more powerful computers to act as servers should depend on the amount of traffic you are expecting. What makes a server is the software that makes it stay "open" to requests from clients. In this case IIS is the software that will be expecting to catch client requests of your web application.

3. Install SQL Server and your application in the server computer.
At this point, it may be possible for the rest of the computers (the clients) to access the website/webapp via the IP address of the server computer, example, http://123.1.2.3 (the lack of a "www" means this is in an intranet, not in the actual WWW).
This way you'll only need 1 deployment anytime there is a change in your application.

4. Aftwerwards, if you need your clients to access the web application by a domain name (ex. "http://MyCompanyIntranet.us") you'll need to setup a DNS service, which is where all computers will go and be directed to the IP Address that belongs to the domain name so they can access by domain name instead of IP.


To set up a DNS, you do need Windows Server or any other operating system that has support for DNS service, an article on how to set up DNS with Windows Server:
http://technet.microsoft.com/en-us/library/cc725925.aspx[^]

However seting up a DNS Server is not enough to have all computers referring to it. It is at the router level where you'll tell what IP Address should be accessed as a DNS Server. An example from Cisco: http://www.cisco.com/en/US/tech/tk648/tk362/technologies_tech_note09186a00801da572.shtml[^]


Best of luck!
 
Share this answer
 
v2
You never need to deploy visual studio with application.
Please visit this link.
http://msdn.microsoft.com/en-us/library/dd394698(VS.100).aspx#deploying_a_sql_server_database[^]

--
Thanks.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900