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


Top 5 Contributors of the Month
david stephan

Home >> Interview Question >> SharePoint >> Post New Question Subscribe to Interview Questions

How Do you deploy Files in 12 hive when using wspbuilder or vsewss?

Posted By :Gowthammanju     Posted Date :October 31, 2011    Points :40   Category :SharePoint 
Ans. Typically, you can add these files in the 12 hive folder structure in your project. In Vsewss however, you will have to create this structure manually.

You can also find related Interview Question to How Do you deploy Files in 12 hive when using wspbuilder or vsewss?  below: 

if dll and exe files are same it means you can deploy both the files in GAC?

  
No, deploying a exe file does not mean anything because classes and method are exposed in dll only and exe file is pure executable, any application can not call the function of exe file.
(More...)

Where do you deploy the additional files used in your webpart, like css or javascript files, and how do you use them in your WebPart?

  
Ans. You can deploy the css or javascript files in _layouts folder in SharePoint's 12 hive. To use them in your webpart, you need to first register them to your webpart page and then specify a virtual path for the file for e.g. _layouts\MyCSS.css See Code examples at Using External Javascript, CSS or Image File in a WebPart. (More...)



Q. Where do you deploy the additional files used in your webpart, like css or javascript files, and how do you use them in your WebPart?

  

Ans. You can deploy the css or javascript files in _layouts folder in SharePoint's 12 hive. To use them in your webpart, you need to first register them to your webpart page and then specify a virtual path for the file for e.g. _layouts\MyCSS.css See Code examples at Using External Javascript, CSS or Image File in a WebPart.
(More...)

How would you re-deploy the old custom solutions in SharePoint 2010.What Changes are needed to the old Solution files.

  
SharePoint 2010 object model contains many changes and enhancements, but our custom code will still compile and, will run as expected. You should however, rewrite and recompile any code that refers to files and resources in "12 hive".
For Details See :
SharePoint Object Model - Backward Compatibility (More...)

Where do you deploy the additional files used in your webpart, like css or javascript files, and how do you use them in your WebPart?

  
You can deploy the css or javascript files in _layouts folder in SharePoint's 12 hive (SharePoint2007)/14 hive (SharePoint2010)/ 15 hive(SharePoint2013). To use them in your webpart, you need to first register them to your webpart page and then specify a virtual path for the file for e.g. _layouts\MyCSS.css . (More...)

What options are available to deploy my .NET applications?

  
The .NET Framework simplifies deployment by making zero-impact install and XCOPY deployment of applications feasible. Because all requests are resolved first to the private application directory, simply copying an application's directory files to disk is all that is needed to run the application. No registration is required.
This scenario is particularly compelling for Web applications, Web Services, and self-contained desktop applications. However, there are scenarios where XCOPY is not sufficient as a distribution mechanism. An example is when the application has little private code and relies on the availability of shared assemblies, or when the application is not locally installed (but rather downloaded on demand). For these cases, the .NET Framework provides extensive code download services and integration with the Windows Installer. The code download support provided by the .NET Framework offers several advantages over current platforms, including incremental download, code access security (no more Authenticode dialogs), and application isolation (code downloaded on behalf of one application doesn't affect other applications). The Windows Installer is another powerful deployment mechanism available to .NET applications. All of the features of Windows Installer, including publishing, advertisement, and application repair will be available to .NET applications in Windows Installer 1.5. (More...)

I have written an assembly that I want to use in more than one application. Where do I deploy it?

  
Assemblies that are to be used by multiple applications (for example, shared assemblies) are deployed to the global assembly cache. In the prerelease and Beta builds, use the /i option to the Alink SDK tool to install an assembly into the cache:
al /i:myDll.dll
A future version of the Windows Installer will be able to install assemblies into the global assembly cache. (More...)

Where are the ASP.NET configuration files stored?

  
System-wide configuration settings and some ASP.NET schema settings are stored in a file named Machine.config, which is located in the

%SystemRoot%\Microsoft .NET\Framework\versionNumber\CONFIG directory.

This directory also contains other default settings for ASP.NET Web applications in a file that is referred to as the root Web.config file. ASP.NET configuration files for individual Web sites and applications, which are also named Web.config files, can be stored in any Web site root directory, application root directory, application subdirectory, or all of these. For more information, see ASP.NET Configuration File Hierarchy. (More...)

Which are the two XML files needed for notification services?

  
SQLNS Configuration Files need a pair of XML-based configuration files: the Instance Configuration file and the Application Definition file.

Instance Configuration file
To host a SQLNS application you need an instance of SQLNS. This instance also stores subscriber information, which can be shared among all SQLNS applications hosted on an instance.

Application Definition File
This file to configure the whole SQLNS application structure along with all necessary metadata. (More...)

Can you place two .dll files with the same name in GAC (Global Assembly Cache)?

  
Yes, provided both have different versions.
GAC is a Folder that contains .dll that have strong name. So we can keep myproject.dll and myproject.dll two files into GAC with different version like 1.0.0.0 and 1.0.0.1 (More...)

What types of files can I upload / post to the SharePoint site?

  
The only files restricted in Sharepoint are those ending with the following extensions: .asa, .asp, .ida, .idc, .idq.Microsoft reserves the right to add additional file types to this listing at any time. Also, no content that violates the terms of service may be uploaded or posted to the site. (More...)

What are the files contained in the .xap file in Silverlight?

  
A basic xap file in silverlight will have an assembly related to specific code for the application, an application manifest file and any additional assemblies need to run the application. At a minimum, two files are needed, the application manifest file and the application assembly.

For example:

AppManifest.xaml

MyPianoV2.dll (More...)

How many Files per database will accept?

  
32,767 files are the maximum number in SQL Server 2005 (More...)

In how many ways you can deploy Application in asp.net?

  
1)XCopy deployment
2)PreCompiled deployment
3)SetUp Program deployment (More...)

Quick Links For Interview Questions Categories:
ASP.Net Windows Application   .NET Framework   C#   VB.Net   ADO.Net  
Sql Server   SharePoint   Silverlight   OOPs   JQuery   JavaScript/VBScript
Biztalk Patten/Practices .IIS WCF WPF WWF
Networking Aptitude Others   All      

Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.

 
Now you can find lots of .NET, C#, Vb.Net, SQL Server,Windows, ASP.Net related Questions and their Answers here at www.dotnetspark.com. Our aim is to help you pass your certification Exams (MCP, MCSD, MCAD etc.,) with flying scores and get good name in your company.

So, Start looking our Interview Question section daily and improve your .NET Skills. You can also help others by posting Interview Questions and their Answers in this section.


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