.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 >> .NET Framework >> Post New Question Subscribe to Interview Questions

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

Posted By :Syed Shakeer Hussain     Posted Date :September 19, 2010    Points :10   Category :.NET Framework 
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.


You can also find related Interview Question to if dll and exe files are same it means you can deploy both the files in GAC?  below: 

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 Do you deploy Files in 12 hive when using wspbuilder or vsewss?

  
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. (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...)

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...)

Which datatype is used t store files in SQL?

  
We can use 'image' datatype to store images as well as files in SQL server. (More...)

What are Database Files?

  
The database files hold the actual data and are typically the largest in size.

That provides easy accessable, portable features. In sqlserver there will be a actual database file and a lock file. (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