Microsoft C#.Net


Everyone who can spell SharePoint

o            What is Sharepoint?

 

Sharepoint is the portal. It is developed by Microsoft. This is used to create Content Management System web sites. We can develop individual sites, team sites and enterprise portals.

 

o            What is the difference between Sharepoint Portal Server and Windows Sharepoint Services?

 

Sharepoint Portal Server features are very high. Search portal and navigations are most important features of the Sharepoint Portal Server.

 

Windows Sharepoint Services are used to create CMS Web sites and blogs, Forums and document sharing Libraries.

 

o            What is a document library?

 

To share a document that referenced in news, articles published site.

 

o            What is a meeting workspace?

 

Meeting workspace is used to store information about particular organization employees work related tasks meetings (related information). And also place the minutes of the meeting and each person task details.

 

o            What is a document workspace?

 

To share a document with others, we create a document workspace site. We can easily share documents and some other files. We can give each and every file permissions.

 

o            What is a web part?

WSS 3.0 has a new infrastructure called Web Part. The WSS Web part classes are derived from ASP.Net Web Part Class. It is supported by Widows Sharepoint Services 3.0. We can also create connectable web parts. The connectable web part is connected to any other related web part. These two connected web parts are has some programs.

Mid-level SharePoint Consultant

o            What is the difference between a document library and a form library?

 

Document Library has documents and content, which gets stored in the Sharepoint content database.

Form Library has an Info path XML forms. When submitting with InfoPath Form Services, the submitted data is generated as XML which refers the original form template .XSN. The XML files are stored in Document Library.

 

o            What is a web part zone?

 

Web Parts are displayed by using Web Part Zone. The WebPartZone class derived from WebZone and WebPartZoneBase classes. A Web Part zone is a WebPart container that can be configured to control the organization and format of the Web Parts contained in it.

 

o            How is security managed in SharePoint?

 

Sharepoint using three types of user authentications. There are Windows, Form and Single Sign On.

Security Socket Layer (SSL) is also used for authentication in Sharepoint. Authorization, Authentication and Impersonation these are configured by config file.

 

o            How are web parts developed?

 

WebParts developed by using Visual Studio .Net 2005. It offers many Sharepoint templates like Site Definition, Web Part etc. And also using Widows Class Library.

 

o            What is a site definition?

 

A Site Definition is a group of files that used to define a unique type of Sharepoint Site. Example, one site definition defines the Team Site, Blank Site, and Document Workspace templates, and another site definition defines the Basic Meeting Workspace, Blank Meeting Workspace, Decision Meeting Workspace, Social Meeting Workspace, and Multipage Meeting Workspace templates.

 

o            What is a template?

 

Templates are built-in solutions for applications, business portals, Design and Look & Feel. Sharepoint has a some pre-build templates. The templates are customizing and deploying in to the server.

 

o            How do you install web parts?

 

  1. Open the Command prompt in Visual studio .Net.
  2. Find the path for you developed web part dll file path.
  3. Type the command gacutil /I  dll name, then press enter.
  4. Reset the IIS using iisreset command.
  5. Open the Folder “C:\Inetpub\wwwroot\” Open the web.config file. Copy the SafeControl for your installed web Part. And Open your web site config file, paste here the SafeControl tag.
  6. Open your web site. Go to Site Actions > Site Settings > Site collection Features. Now find and activate your installed web Part.
  7. Next, go to site settings> Web Parts here click the “New” link. Here find your installed Web Part and select. Then press “Pop up Gallery” button.
  8. Now you can add web part any page in this site.

  

 

o            What is the difference between a site and a web?

 

Site is defined as Website. It has many subsites.

Web is a single subsite of the Site.

 

o            What are the differences between web part page gallery, site gallery, virtual server gallery and online gallery?

 

1. Web Part Gallery has a many WebParts.

2. Site Gallery has a many site galleries. For example. Shared Document, Calendar, Announcement, Lists, Tasks, Team Discussion.

3. Virtual Server Gallery has developer developed web parts are stored in a particular server.

 

o            What is the GAC?

 

GAC is Global Assembly Cache. Each computer where the CLR installed has a machine code is called GAC. It stores assemblies. We can use GAC to install the web parts in Sharepoint application.

 

o            What is a DWP?

 

DWP means Dashboard Web Part. The DWP files are importing to the Sharepoint Site after we used.

 

o            What is CAML?

 

CAML is Collaborative Application Markup Language. It is the XML based language. That is used to build a customize web site based on Sharepoint services. It is used to get a list values, particular data in a list.

 

o            What are themes?

 

A theme is a collection of CSS and Graphics. That are modifying / customizing how a web site looks you want.

A Basic web site needs a graphical look and feel. Sharepoint has a some built-in themes. We can create new themes is possible for Sharepoint site.

 

o            What is presence?

Groove features include presence information, chat, application sharing, file sharing, contacts, messaging, project management, data sharing, and content synchronization.

  

o            Can web parts be connected? If so, how?

Yes. Two web parts has sharing information in a runtime. We use the Connection Interfaces to create Connectable Web parts.

 

o            What is a personal view and what is a shared view?

 

A Web Part page view has two views. There are Personal view and Shared View.

 

Personal View: This view is set by each user. For example, one user has changed the list in some format. The changes will not see the other users.

 

Shared View: This view web part designs and any thing is not changed by users. Users will not be changed these types of web parts. The site admin can change the web part view and anything

 

o            What is an STP file?

 

STP means Site Template. We can create new site definition. This definition has webparts and list (there are derived from default Sharepoint components). We can save the file for .stp format.

 

o            What is an FWP file?

 

FWP file is nothing a backup file for Sharepoint site. We can restore and backup the Sharepoint site.

 

o            Can you upload MP3’s to SharePoint?

 

Yes. (http://manish-sharepoint.blogspot.com/2008/06/playing-audiovideo-files-within.html)

 

o            how does SharePoint support MS Outlook integration?

 

We can use some features from OutLook in Sharepoint, ex. Calendar and contacts

 

o            How can you extend lists in SharePoint?

 

We expand the size of the lists. Click Start, point to All Programs, point to Administrative Tools, and then click SharePoint Central Administration.

 

  

  

o            Explain the document versioning in SharePoint document libraries

 

We can maintain version in all Sharepoint libraries and lists.  When we upload or update any document, while Sharepoint creates version.

 

Senior SharePoint Consultant

o            Where is web part resources contained?

 

The WebPart resources can not part of the DLL, because there are used in url based. Like images, jscript files. The WebPart is installed in GAC and Bin directory.

 

o            What are the different installation methods for deploying web parts? And what are the pros/cons?

 

  • We use GAC
  • We develop web part in Windows Class Library. While the web part once runs, it will install automatically in GAC.

 

o            What is a ghosted/unghosted page?

 

A Ghosted Page is modified by Sharepoint Designer. Example, Master page.

An Unghosted Page is not modified by Sharepoint Designer. Example, forum pages, calendar lists etc

 

It has another one page there is “Reghosted” it means by Reset to Site Definition

 

o            How is site data stored?

 

In Database.

 

o            Where is metadata for a web stored?

 

Meta Data is stored inside XML files on the server or SQL Server database.

 

o            What is an audience and describe the use?

 

 

The primary audience for this clinic is the IT Professional who generally works with both Windows and Office technologies. The types of duties that are typical of this IT Professional are administrative and support duties such as planning and deployment of Office server products in a Microsoft Windows environment, configuration and security administration, and updates of Office upgrades and patches. The target audience for this clinic is IT Professionals that want an overview of what Microsoft Office SharePoint Server 2007 is, and how to deploy it.

 

o            What are the trust levels and what is the default trust associated with Sharepoint?

 

The Sharepoint Trust Levels has Security and user interaction with the site. 3 types. There are WSS_FULL, WSS_MEDIUM, WSS_MINIMUM.

 

 

o            What are the two logging mechanisms for usage statistics?

  • All default log files are stored in \%windir%\system32\LogFiles\STS this path.
  • Virtual server Folder. It’s like a cache.

 

o            What functionality does owssup.dll provide for client side activities?

 

The owssup.dll is used to create Single Sign On in Sharepoint Portal Server.

 

o            What is the difference between a site owner and a site administrator?

 

Site Owner has only individual site and sub sites access only.

Site Administrator access all site and Central Administration

 

o            What is STSAdm and what can it be used for?

 

It is used to create/manage sites, lists, web parts etc..

 

o            Can WSS search subsites?

 

The Subsite has a unique permission of the parent site, we can search subsite content. Until we can’t search Subsite Content.

 

o            Can you register alerts for users?

 

No, the admin can give some permission.

 

o            Are PDFs searchable?

 

Yes, but default is now. We can use IFILTER type functionality do this moment.

 

SharePoint Architect

o            What is a SharePoint farm?

 

It is a deployment scenario, we have two are more server to host Sharepoint. It is 3 types.

1. Small Server, 2. Medium Server, 3. Large Farm.

 

o            Describe a large deployment

 

2 Sharepoint servers 2 SQL Server 1 Search Server 1 Clustering Server. It is called large deployment.

 

o            How can you synchronize custom Active Directory attributes to SharePoint?

 

Profile Importer from Shared Services Provider.

 

o            If it is anticipated that our organization would need to store 1 terabyte of documents, what is the recommended configuration and storage requirement?

 

It is based on your users count.

 

o            Describe the implementation of SharePoint and Project Server

 

We can use Project server web parts inside Sharepoint portal server and also create dashboards on Sharepoint pages and can also create custom WebParts using PDC and .Net.

 

o            What are the BKMs for workflow and SharePoint?

                                                   

o            Explain how you would deploy SharePoint on an extranet

 

Usually servers that are accessible from external sources are housed in DMZ’s. Depending on the requirements and the workflow for publishing content you could go with Multiple Servers hosting the same information. One server would reside inside with the SQL Cluster while the external server resides in the DMZ simply calling data. Security would be handled by the same or different active directory domain clusters as well increasing security.

 

o            What is the BKM for maximum number of virtual servers configured for SharePoint on a single box?

 

15 Virtual servers.

 

o            What are the migration strategies for moving sites around?

 

You could use the Sharepoint Portal Server backup and restore tool as well as the STSADMIN and GUI STSAMIN tools. We have migrated database from the SQL Level and have simply reconnected the front end.

 

o     What are the archiving strategies?

 

o     Describe the search strategies?          Enterprise search tools help organizations (including small and mid-size businesses—not just enterprises) find information in text documents and other unstructured data stored in a variety of sources. In general, enterprise search tools can be used to search internal data sources (such as intranets, messaging systems, file shares, databases, and local hard drives) and Web sites (public or controlled-access), but many solutions are focused on only one of the two scenarios.

Enterprise search is similar to Internet search, which is supported by the public Google Web site, MSN Search, and other providers. In both types of search, material must be aggregated from a wide variety of locations, users must have an interface to create queries and review results, and results should be arranged in some kind of order (e.g., hits that are most relevant to the query appear at the top of the list).

One critical difference between enterprise and Internet search tools is the scope of material aggregated. Internet search tools attempt to catalog as many public sources as possible but make little effort to catalog material stored behind firewalls, in databases, or on controlled-access Web sites. Enterprise search tools don’t need to catalog as many sources of data but must aggregate more types of data and provide access control, so that sensitive information is unavailable to unauthorized viewers.

In addition, algorithms that work well on Internet search may not work as well for enterprise search—for instance, Google’s PageRank system, which rates relevance partly based on how many other Web pages link to a particular page, is not as effective in a corporate environment where hyperlinking among resources is less common. As a consequence, enterprise search tools use algorithms different from Internet search tools.

In addition, enterprise search tools generally let the data owner exercise some programmable control over the results, such as the following:

  • Creating multiple data catalogs and letting the user specify which to search
  • Manually selecting or influencing search results (e.g., selecting particular sources to appear at the top of the list for particular queries; tweaking the algorithms used to determine relevance)
  • Enabling attributes (e.g., date, author) to be assigned to content sources in a systematic way so that searches can consider these attributes and arrange results accordingly.

Today, dozens of enterprise search tools are available, from free open-source tools that perform a single function (usually public Web site search) to costly installations from companies such as Autonomy and Verity. IBM and Oracle offer intranet search as part of larger solutions incorporating data storage, and a growing number of companies are offering software (Fast Search and Transfer, MondoSoft) or hosted services (Atomz) specifically for Web site search. Finally, although Google is best known for Internet search, it also offers search appliances ranging in price from US$5,000 to US$250,000 or more that can be used for both intranet and Web site search.

 

o     Can you implement forms-based authentication with SharePoint?

 

Yes. We can implement forms-based authentication with SharePoint.

 

o    Describe how single sign-on works

   Easily maintain Role and group users’ information in one place.

 

 

 

If you enjoyed this post, or this blog, please make a secure tax-deductable donation to the American Diabetes Association. Please read my personal story about life as a diabetic and donate today.

A while back, I posted a list of ASP.NET Interview Questions. Conventional wisdom was split, with about half the folks saying I was nuts and that it was a list of trivia. The others said basically “Ya, those are good. I’d probably have to look a few up.” To me, that’s the right response.

Certainly I wasn’t trying to boil all of .NET Software Development down to a few simple “trivia” questions. However, I WAS trying to get folks thinking. I believe that really good ASP.NET (and for that matter, WinForms) is a little [read: lot] more than just draging a control onto a designer and hoping for the best. A good race driver knows his car – what it can do and what it can’t.

So, here’s another list…a greatly expanded list, for your consumption (with attribution). I wrote this on a plane last week on the way from Boise to Portland. I tried to take into consideration the concerns that my lists contain unreasonable trivia. I tried to make a list that was organized by section. If you’ve never down ASP.NET, you obviously won’t know all the ASP.NET section. If you’re an indenpendant consultant, you may never come upon some of these concepts. However, ever question here has come up more than once in the last 4 years of my time at Corillian. So, knowing groking these questions may not make you a good or bad developer, but it WILL save you time when problems arise. 

What Great .NET Developers Ought To Know

Everyone who writes code

*       Describe the difference between a Thread and a Process?

*       What is a Windows Service and how does its lifecycle differ from a “standard” EXE?

*       What is the maximum amount of memory any single process on Windows can address? Is this different than the maximum virtual memory for the system? How would this affect a system design?

*       What is the difference between an EXE and a DLL?

*       What is strong-typing versus weak-typing? Which is preferred? Why?

*       Corillian’s product is a “Component Container.” Name at least 3 component containers that ship now with the Windows Server Family.

*       What is a PID? How is it useful when troubleshooting a system?

*       How many processes can listen on a single TCP/IP port?

*       What is the GAC? What problem does it solve?

Mid-Level .NET Developer

*       Describe the difference between Interface-oriented, Object-oriented and Aspect-oriented programming.

*       Describe what an Interface is and how it’s different from a Class.

*       What is Reflection?

*       What is the difference between XML Web Services using ASMX and .NET Remoting using SOAP?

*       Are the type system represented by XmlSchema and the CLS isomorphic?

*       Conceptually, what is the difference between early-binding and late-binding?

*       Is using Assembly.Load a static reference or dynamic reference?

*       When would using Assembly.LoadFrom or Assembly.LoadFile be appropriate?

*       What is an Asssembly Qualified Name? Is it a filename? How is it different?

*       Is this valid? Assembly.Load(“foo.dll”);

*       How is a strongly-named assembly different from one that isn’t strongly-named?

*       Can DateTimes be null?

*       What is the JIT? What is NGEN? What are limitations and benefits of each?

*       How does the generational garbage collector in the .NET CLR manage object lifetime? What is non-deterministic finalization?

*       What is the difference between Finalize() and Dispose()?

*       How is the using() pattern useful? What is IDisposable? How does it support deterministic finalization?

*       What does this useful command line do? tasklist /m “mscor*”

*       What is the difference between in-proc and out-of-proc?

*       What technology enables out-of-proc communication in .NET?

*       When you’re running a component within ASP.NET, what process is it running within on Windows XP? Windows 2000? Windows 2003?

Senior Developers/Architects

*       What’s wrong with a line like this? DateTime.Parse(myString);

*       What are PDBs? Where must they be located for debugging to work?

*       What is cyclomatic complexity and why is it important?

*       Write a standard lock() plus “double check” to create a critical section around a variable access.

*       What is FullTrust? Do GAC’ed assemblies have FullTrust?

*       What benefit does your code receive if you decorate it with attributes demanding specific Security permissions?

*       What does this do? gacutil /l | find /i “Corillian”

*       What does this do? sn -t foo.dll

*       What ports must be open for DCOM over a firewall? What is the purpose of Port 135?

*       Contrast OOP and SOA. What are tenets of each?

*       How does the XmlSerializer work? What ACL permissions does a process using it require?

*       Why is catch(Exception) almost always a bad idea?

*       What is the difference between Debug.Write and Trace.Write? When should each be used?

*       What is the difference between a Debug and Release build? Is there a significant speed difference? Why or why not?

*       Does JITting occur per-assembly or per-method? How does this affect the working set?

*       Contrast the use of an abstract base class against an interface?

*       What is the difference between a.Equals(b) and a == b?

*       In the context of a comparison, what is object identity versus object equivalence?

*       How would one do a deep copy in .NET?

*       Explain current thinking around IClonable.

*       What is boxing?

*       Is string a value type or a reference type?

*       What is the significance of the “PropertySpecified” pattern used by the XmlSerializer? What problem does it attempt to solve?

*       Why are out parameters a bad idea in .NET? Are they?

*       Can attributes be placed on specific parameters to a method? Why is this useful?

C# Component Developers

*       Juxtapose the use of override with new. What is shadowing?

*       Explain the use of virtual, sealed, override, and abstract.

*       Explain the importance and use of each component of this string: Foo.Bar, Version=2.0.205.0, Culture=neutral, PublicKeyToken=593777ae2d274679d

*       Explain the differences between public, protected, private and internal.

*       What benefit do you get from using a Primary Interop Assembly (PIA)?

*       By what mechanism does NUnit know what methods to test?

*       What is the difference between: catch(Exception e){throw e;} and catch(Exception e){throw;}

*       What is the difference between typeof(foo) and myFoo.GetType()?

*       Explain what’s happening in the first constructor: public class c{ public c(string a) : this() {;}; public c() {;} } How is this construct useful?

*       What is this? Can this be used within a static method?

ASP.NET (UI) Developers

*       Describe how a browser-based Form POST becomes a Server-Side event like Button1_OnClick.

*       What is a PostBack?

*       What is ViewState? How is it encoded? Is it encrypted? Who uses ViewState?

*       What is the <machinekey> element and what two ASP.NET technologies is it used for?

*       What three Session State providers are available in ASP.NET 1.1? What are the pros and cons of each?

*       What is Web Gardening? How would using it affect a design?

*       Given one ASP.NET application, how many application objects does it have on a single proc box? A dual? A dual with Web Gardening enabled? How would this affect a design?

*       Are threads reused in ASP.NET between reqeusts? Does every HttpRequest get its own thread? Should you use Thread Local storage with ASP.NET?

*       Is the [ThreadStatic] attribute useful in ASP.NET? Are there side effects? Good or bad?

*       Give an example of how using an HttpHandler could simplify an existing design that serves Check Images from an .aspx page.

*       What kinds of events can an HttpModule subscribe to? What influence can they have on an implementation? What can be done without recompiling the ASP.NET Application?

*       Describe ways to present an arbitrary endpoint (URL) and route requests to that endpoint to ASP.NET.

*       Explain how cookies work. Give an example of Cookie abuse.

*       Explain the importance of HttpRequest.ValidateInput()?

*       What kind of data is passed via HTTP Headers?

*       Juxtapose the HTTP verbs GET and POST. What is HEAD?

*       Name and describe at least a half dozen HTTP Status Codes and what they express to the requesting client.

*       How does if-not-modified-since work? How can it be programmatically implemented with ASP.NET?
Explain <@OutputCache%> and the usage of VaryByParam, VaryByHeader.

*       How does VaryByCustom work?

*       How would one implement ASP.NET HTML output caching, caching outgoing versions of pages generated via all values of q= except where q=5 (as in http://localhost/page.aspx?q=5)?

Developers using XML

*       What is the purpose of XML Namespaces?

*       When is the DOM appropriate for use? When is it not? Are there size limitations?

*       What is the WS-I Basic Profile and why is it important?

*       Write a small XML document that uses a default namespace and a qualified (prefixed) namespace. Include elements from both namespace.

*       What is the one fundamental difference between Elements and Attributes?

*       What is the difference between Well-Formed XML and Valid XML?

*       How would you validate XML using .NET?

*       Why is this almost always a bad idea? When is it a good idea? myXmlDocument.SelectNodes(“//mynode”);

*       Describe the difference between pull-style parsers (XmlReader) and eventing-readers (Sax)

*       What is the difference between XPathDocument and XmlDocument? Describe situations where one should be used over the other.

*       What is the difference between an XML “Fragment” and an XML “Document.”

*       What does it meant to say “the canonical” form of XML?

*       Why is the XML InfoSet specification different from the Xml DOM? What does the InfoSet attempt to solve?

*       Contrast DTDs versus XSDs. What are their similarities and differences? Which is preferred and why?

*       Does System.Xml support DTDs? How?

*       Can any XML Schema be represented as an object graph? Vice versa?