11: Packaging and Deployment in VS .NET

Make QR in VS .NET 11: Packaging and Deployment
11: Packaging and Deployment
Denso QR Bar Code Printer In .NET
Using Barcode maker for Visual Studio .NET Control to generate, create QR Code image in Visual Studio .NET applications.
Figure 11-45: Silverlight Debugging check box
QR Code 2d Barcode Decoder In VS .NET
Using Barcode recognizer for Visual Studio .NET Control to read, scan read, scan image in .NET applications.
the Silverlight page we would like the breakpoint in the event handler method to be hit Follow the steps below to create the Silverlight project 1 Open Visual Studio 2 Click File > New Project 3 Expand the Visual C# node and select Silverlight 4 Select the Silverlight Application template and name it MySilverlightApp 5 Click OK The New Silverlight application dialog shown in Figure 11-46 is displayed
Barcode Printer In Visual Studio .NET
Using Barcode generator for .NET framework Control to generate, create barcode image in .NET framework applications.
Configurable Deployment
Reading Barcode In .NET Framework
Using Barcode reader for .NET framework Control to read, scan read, scan image in Visual Studio .NET applications.
Figure 11-46: New Silverlight Application dialog
Generate QR Code JIS X 0510 In Visual C#.NET
Using Barcode encoder for VS .NET Control to generate, create QR Code ISO/IEC18004 image in .NET framework applications.
6 Uncheck the Host the Silverlight application in a new Web site check box and click OK to create the project 7 Add the XAML in Listing 11-18 inside the UserControl tag in the MainPagexaml
Quick Response Code Generator In VS .NET
Using Barcode creation for ASP.NET Control to generate, create Denso QR Bar Code image in ASP.NET applications.
Listing 11-18: MainPagexaml
Quick Response Code Generator In VB.NET
Using Barcode generator for Visual Studio .NET Control to generate, create Denso QR Bar Code image in Visual Studio .NET applications.
      
Encode Code 128 Code Set B In .NET Framework
Using Barcode drawer for .NET framework Control to generate, create Code128 image in .NET applications.
8 Double click the button on the designer to create the click event handler 9 Insert a breakpoint in the btnMyButton_Click method This is a very simple Silverlight page yet it s enough to show how debugging Silverlight applications from SharePoint projects works Next, we have to create an Empty SharePoint project Right click the solution name and select Add > New Project Choose the Empty SharePoint Project
Paint UPC A In VS .NET
Using Barcode generator for .NET framework Control to generate, create UPC-A Supplement 5 image in Visual Studio .NET applications.
11: Packaging and Deployment
Bar Code Generator In Visual Studio .NET
Using Barcode generator for .NET Control to generate, create barcode image in .NET applications.
template, name the project SPSilverlight, and click OK Make sure you select the farm solution in the wizard and click Finish to create the project Now we have to figure out how to deploy the Silverlight XAP file The recommended place on the SharePoint server for storing all XAP files is in a document library We are also going to make the document library hidden so SharePoint users won t be able to see it Follow the steps below to create a new document library: 1 Open the Internet browser and navigate to the SharePoint home page 2 Open the Site Actions menu and click the New Document Library item 3 Type the name XAPs in the Name textbox 4 Select No in the Navigation section because we don t want to display the library on the Quick Launch 5 Select None in the Document Template drop-down The Create dialog should look like the one shown in Figure 11-47 6 Click the Create button to create the document library
Generating EAN13 In .NET
Using Barcode creator for Visual Studio .NET Control to generate, create GTIN - 13 image in Visual Studio .NET applications.
Figure 11-47: New document library for XAP files
MSI Plessey Generator In .NET Framework
Using Barcode drawer for .NET framework Control to generate, create MSI Plessey image in .NET applications.
Configurable Deployment
Painting GTIN - 13 In Visual Studio .NET
Using Barcode creation for ASP.NET Control to generate, create GTIN - 13 image in ASP.NET applications.
Now that we have the place to store the XAP file we need a way to deploy it to the document library We are going to use the Module project item to deploy the XAP file to the document library Switch back to the Visual Studio and follow the steps below to add a new Module project item 1 Right click the SPSilverlight SharePoint project node and select Add > New Item 2 Select the Module project item template and name it XapModule 3 Click Add to create the project item By default Visual Studio creates a Sampletxt file that gets deployed with the module element Because we are deploying the XAP file we don t need that text file so go ahead and delete it We are going to use the Project Output References dialog to deploy the XAP file Select the XapModule folder in Solution Explorer and open the Properties window Find the Project Output References property and click the ( ) button The Project Output References dialog as shown in Figure 11-48 appears
Code-128 Encoder In VS .NET
Using Barcode encoder for ASP.NET Control to generate, create Code 128C image in ASP.NET applications.
Figure 11-48: Project Output References dialog
GS1-128 Drawer In Java
Using Barcode creator for Java Control to generate, create UCC - 12 image in Java applications.
11: Packaging and Deployment
Barcode Creator In VB.NET
Using Barcode encoder for VS .NET Control to generate, create barcode image in .NET applications.
Click the Add button to add a new reference In the Properties window of the Project Output References dialog change the Project name property to MySilverlightApp Change the Deployment Type to ElementFile and click OK to close the dialog In order to deploy the XAP file to the document library we will add the Url attribute to the Module element in the Elementsxml file and modify the Url attribute of the File element With the Url attribute value changed to XAPs we are telling SharePoint that we want to deploy this module to the XAPs document library we created earlier We also removed the project item name (XapModule) from the Url attribute in the File element, because just having the file name is enough The last change to the Elementsxml file is adding the Type attribute with value GhostableInLibrary to the File element This attribute is telling SharePoint to create a new list item in the library for the XAP file The final Elementsxml file for the XapModule is shown in Listing 11-19
Painting Bar Code In Java
Using Barcode printer for Java Control to generate, create barcode image in Java applications.
Data Matrix ECC200 Reader In VS .NET
Using Barcode reader for .NET framework Control to read, scan read, scan image in .NET applications.
Code 128A Generator In Visual C#
Using Barcode drawer for .NET Control to generate, create Code 128C image in .NET applications.