Skip to main content

Click Once Deployment In IIS and Client PC


Deployment In IIS 

Copy Files

-          Copy Vssport application publish files into desired directory on storage disk [of server]. C:\inetpub\wwwroot\vssport.









1.       Right click on vssport folder, select properties.












2.       Go to Security tab, click Edit.









3.       Select IIS_IUSRS user from list, if IIS_IUSRS user is not listed then add IIS_IUSRS by clicking “Add” button and following subsequent steps.










4.       When IIS_IUSRS user is selected, check “Full Control” checkbox from permission list.
5.       Click “OK” to close permission window and then properties window.


Configure IIS Application

1.       Open IIS Manager, Right click on “Sites” node and select “Add Website”.




2.       Set site name vssport port [90] (you can also change it) and select “C:\inetpub\wwwroot\vssport” as physical path for content directory. Click “OK” to complete the process and close window.









3.       Click “Application Pool” node, Select “vssport” and right click, select “Basic Settings”. Edit Application Pool window will appear.

From Edit Application Pool window, select .NET 4.0 if not already selected. Click OK to close






4.       Select the vssport application -> click feature view -> click Dictionary browsing.









5.       Right click on Directory Browsing and select enable






6.       Right click on server node (top most node) and select “Stop”, then “Start” to restart IIS server.







7.       Test server



9.       Click on vssport.htm



10.   Click on install to deploy.



Deploy in client PC

Open Firefox or Chrome web browser, type http://192.168.10.165:90/vssport.htm  (This IP address will provide during publish the application) and hit enter key.

1. Click on install button
2. Save the installation file


 

3. Run the setup file


 

4. Click Accept to install the .NET framework 4.5.1


 

6.       Wait for a moment to complete the installation


Comments

Popular posts from this blog

mvvm double click event in listview

If you want to get the double click event on a listview item you can try with this code; <ListView Grid.Row="0" Grid.RowSpan="3" Grid.Column="0" Width="250" Height="200" HorizontalAlignment="Stretch" VerticalAlignment="Top" AlternationCount="2" BorderBrush="#FFA8CC7B" ItemContainerStyle="{StaticResource alternatingStyle}" ItemsSource="{Binding FromPayerNameList}" SelectedItem="{Binding SelectedFromPayer, Mode=TwoWay}"> <ListView.ItemTemplate> <DataTemplate> <TextBlock Width="{Binding Path=ActualWidth, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type ListView}}}" Text=...

WPF datagrid cell textbox change event

Entity/Class: public class FeesDetails : INotifyPropertyChanged { public int Id { get; set; } public string FeesName { get; set;} public string FeesDetailsName { get; set; } public int? PaidAmount { get; set; } public event PropertyChangedEventHandler PropertyChanged; private void NotifyPropertyChanged(System.String info) { if (PropertyChanged != null) { PropertyChanged(this, new PropertyChangedEventArgs(info)); } } public int feesAmount { get; set; } public int FeesAmount { get { return this.feesAmount; } set { if (value != this.feesAmount) { this.feesAmount = value; NotifyPropertyChanged("FeesAmount"); } } } } XAML: <DataGrid AutoGenerateColumns="False" Height="21...

The calling thread must be STA, because many UI components require this.

Using Thread: // Create a thread Thread newWindowThread = new Thread(new ThreadStart(() => { // You can use your code // Create and show the Window FaxImageLoad obj = new FaxImageLoad(destination); obj.Show(); // Start the Dispatcher Processing System.Windows.Threading.Dispatcher.Run(); })); // Set the apartment state newWindowThread.SetApartmentState(ApartmentState.STA); // Make the thread a background thread newWindowThread.IsBackground = true; // Start the thread newWindowThread.Start(); Using Task and Thread: // Creating Task Pool, Each task will work asyn and as an indivisual thread component Task[] tasks = new Task[3]; // Control drug data disc UI load optimize tasks[0] = Task.Run(() => { //This will handle the ui thread :The calling thread must be STA, because many U...