.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

How can I deploy a .net application?

Posted By:      Posted Date: April 10, 2011    Points: 0   Category :Windows Application

Could anyone please help me?

I've just finished a .net Application. I used Visual Studio 2008 (c#), and SQL Server 2008. My environment is comprised by this:

1. Network Server: Windows 2003 Server R2, here there is the domain controller. In this server there are two NICS, one that is connected to the ISP which have assigned a public IP to it. The other nic is used for the internal network (the LAN in the company)

2. Application Server: Windows 2008 Server R2. Here I have my .NET application and the Sql Server 2008 with Reporting Services 2008.

Now the problem: What process I must follow to make my application seen on the Internet (currently I am able to run the application from any computer in my LAN, but I do not know what to do to make it run from anywhere)

Would you please help me with this issue or point me to any article or site that explains me this in detail?

P.S. The application server is not inside the company domain. Is it necessary to be in the domain to fix the problem?

Thank you very much in advance,


View Complete Post

More Related Resource Links

Deploy a .NET application on the ttarget machine

Hi all, I have a project, is written in C#, using .Net framework 3.5. When I build a setup installer, capacity of the setup is about 10MB. Suppose,  I put the setup files in a web , and users download it to install in their PC. But i think, Users must be download .NET framework to run my project. In this case, users ought to download a .rar file , which have more 200MB over the internet. It is very heavy :( So, I want to find out the best solution to deploy .NEt application to the client 's PC. Anybody help me,please ? Thanks so much!  

Deploy XBAP application with WCF Service Reference into multiple environments

Hi, we have a multiple environment setup (local, Development servers, QA servers, prod servers, etc.) and we are building an XBAP application that uses WCF Services to connect to databases.  We code and unit test everything locally and then deploy to our Development servers for more thorough unit testing.  The issue that we are having is that we don't see how to update the deployed XBAP application to use the Development server deployed WCF Service.  The only way we've been able to do this is by having to change the reference on my local machine, complie, and redeploy the XBAP.Question:  How do we configure a deployed XBAP's Service Reference to point to the same service on a different server than what it was originally compiled/deployed with?  (Like in some configuration file...NOTE: but we also don't see a config file after deploying the XBAP.)  We don't want to have to update the Service Reference for QA, Prod, Training, Stage, etc. on our local machines, compile and redeploy every time we need to migrate the application to a new environment.Thanks!

Deploy application withou .NET



I have to deploy an application  to my client, I used VS 2010 and the 3.5 .NET

well I think it's stupid to give my client a 2 Mo or 3 Mo application with a 150 Mo for .NET framework

I mean I think I dont need to oblige him to install the .NET framework, mybe juste some few Dll and evrything is ok, mybe with adding some referance and includ them in the manifes file?

any help please? (I'm uissing winForm dll, LINQ dll, and some other)

what should be changed to web.config file if i deploy my application to actual server ?



I have developed a web site application with vb.net code behind.Debugging mode was on.

I have deployed my web site in actual server machine ,but when i open my home page some error is coming related to web.config file.I directly deployed my application to actual server without any change to web.config file.

So, is there any settings required if i deploy my application ? 

Ready to deploy application on company intranet.. need help


I am just about getting ready to deploy my ASP.NET webapplication (C#) which uses .NET 2.0.  I have full access to a Win2k 2003 server with IIS 6.0.

Here are my questions and situations:

1. Only specific users who are part of a security group can access the web app. 

2. Many users are not on the same domain, so I suppose a security group must be created?  So all users are added to one security group?

3. Should I have anonymous access/authentication enabled in this case?

4. How can I set up a way so that when the web application is first accessed, the browser prompts the user for a username/password that is local to entire company IT web server?  When the authentication has been verified, the user is allowed to proceed and the webapplication will load.

5. Will any type of impersonation need to be set in web.config?  Probably not as each user are utilizing their own username as their login credentials?

Cannot deploy application with SQLce datbase.sdf file. says file path is wrong?!


I am trying to deploy a simple windows desktop app using a SQLce database.sdf file. I have followed the steps in this walkthrough about 10 times and I still am having problems. http://msdn.microsoft.com/en-us/library/bb546200.aspx

In my app config file my connection string is this:


 <add name="VendorTracker_2._0.Properties.Settings.Database1ConnectionString"

          connectionString="Data Source=C:\Users\Eamon\Documents\Visual Studio 2008\Projects\VendorTracker 2.0\VendorTracker 2.0\Database1.sdf"

          providerName="Microsoft.SqlServerCe.Client.3.5" />


According to the walkthrough, the windows installer should recognize that i am using a sqlce .sdf file and create a new connection string: 


<add name="VendorTracker_2._0.Properties.Settings.Database1ConnectionString1"

            connectionString="Data Source=|DataDirectory|\Database1.sdf"

            providerName="Microsoft.SqlServerCe.Client.3.5" />


It does add this connection string to the app config file. Now I

Deploy existing ASP.Net Web Application on to Linux Server


I have an existing ASP.Net web application currently deployed on IIS on Windows. My database is Oracle and is on Linux Server. I want to migrate my existing application from Windows to Linux. I have heard about tools like Mono and Grasshopper but i am not able to use them. I also want to know whether i need to rebuild the project or my existing published code can directly be used as it is. Any sort of help would be appreciated. Thanks in adavnce.

Deploy custom webservice to web application



I'm writing custom webservices for SharePoint 2010. Now generally it involves deploying .svc files to the ISAPI directory, which makes them available in http://server/_layouts/_vti_bin.

Works great, but this deploys the webservice to all web applications at once. In a shared environment this isn't preferable. So how can I deploy the webservice to a single webapp? I guess that means the .svc should be somewhere in the database instead of the filesystem. Is this doable and a good solution? Or are there other ways to acheive the same.

I'd like to have a solution which deploys to the web application scope. Updon deployment, I can select the web application(s) to deploy it to which makes the webservice avaiable in those and only those web apps.

MCTS Web Application Development, SharePoint enthousiast.

Microsoft's Collaborative Application Markup Language (CAML) Loop

discovered an interesting error recently while working with Microsoft's Collaborative Application Markup Language (CAML) that, surprisingly, had received no ink. Partly what surprises me about this is that the error may require you to rewrite large sections of your code if you haven't previously considered this SharePoint limitation. I'll start with some context, but first of all the error is:

Integrating a Legacy Web Application in SharePoint

This month we will continue with the theme of deploying Microsoft's SharePoint as a company intranet by describing a method for integrating a legacy Web application inside a SharePoint site.

In many companies the intranet site is not just a home page with announcements. It houses Web applications used by many different departments. In last month's article, I built a page to search the employee table in Northwind (the sample database included in Microsoft's SQL Server). This month, I will move the Web pages used to add/remove records from the table into the SharePoint intranet.

MVC architecture in ASP.Net using C# and Microsoft Data Access Application block

The Model-View-Controller (MVC) pattern separates the modeling of the domain, the presentation, and the actions based on user input into three separate classes [Burbeck92]:

Model. The model manages the behavior and data of the application domain, responds to requests for information about its state (usually from the view), and responds to instructions to change state (usually from the controller).

View. The view manages the display of information.

Controller. The controller interprets the mouse and keyboard inputs from the user, informing the model and/or the view to change as appropriate.

High-Performance .NET Application Development & Architecture

It has always been a goal of project architects to plan an effective strategy from the ground up in regards to an new application. All relevant factors are taken into consideration with respect to the application, from its design and layout to a functional website infrastructure. Pre-.NET strategies and design guidelines still effective now were developed with Microsoft's DNA (Distributed interNet Application) platform. This model successfully served the purpose of architecting N(any number of)-Tier (levels) applications. In its basic sense, as in most robust, distributed applications, you'll architect 3 main layers or Tiers: presentation, business rules and data access.

Application architecture in asp .net

Application Architecture is the most important process of developing a good application. Some people tends to jump into coding without any architecture laid. Later we see those people changing the architecture and finally the application had to be developed from the scratch with the correct architecture.

In this article I will describe some details about how you can improve the architecture of you application. This article is targeted to the beginner's audience.

Improving Application Performance in .Net

Application performance has always been a concern for Web Application developers. This article contains guidelines and tips for maximizing application performance in ASP.NET.

Logic behind N -Tier Application Development

In the arena of application development, developers all over the world use various programming languages, technical processes, and technical tools. While using number of technical & non technical elements the processes or methods become complex, for simplification of the application development process, developers use various techniques such as dividing the application architecture into layers or parts. In the professional & technical language this separation or division process is called N-Tier Application Development process, where "N" stands for number and "tire" stands for layers or parts.

How to create 3 tier application using LINQ

As you know that in 3 tier architecture there are three layers

User interface layer. (Is our Form in Windows application and .aspx page in Web application)
Data Access layer. (Which provides interface between Business logic layer and Database)
Business Logic layer.(Which stores your application logic)

Using Lightbox in an ASP.NET Application

The article describes Lightbox as, "... a simple, unobtrusive script used to overlay images on the current page." It delivers a nice, professional looking method for displaying images as overlays through the use of hyperlinks.
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend