Get IT certification! Choose your exams and we process them for you. Hassles free!

December 29th, 2010

Download 70-620 Exam Questions&Answers for FREE!

04

IT certifications have never been easier before.You will be IT expert in 7days. Working with several Prometric and VUE testing centers, certtopper.com can pass the exams for you discreetly and help you get certified like all regular candidates do. The only difference is that you save all your time and effort.

Don't be hesitate any more. We are professional test taker, just seize chance to sigu up with us and sit back to enjoy our service.

MCTS Windows 7 Configuration: Adding Site Content

January 18th, 2012
Comments Off

Adding Site Content

There are three main ways you can add content to your WSS sites:
Allow users to add content.
Use web designers to create content.
Migrate content from another site.
There are some things to consider when choosing what option you will use for adding site content:
Will the public see this content?
Is the site for a large organization?
Are you redesigning or reorganizing another site?
Will the site be a collaboration site, which might include wikis, blogs, or other user- created content?
Here are two of the more popular choices for adding content to a WSS site:
User-added content You can immediately allow users and site owners to add content to
the WSS sites by following the steps in the section “nabling Access For End Usersin this chapter.
The benefit of allowing user-added content is it involves users immediately, and they tend to want to add and update the content on a regular basis.
Migrate content You have a couple of options to migrate content from a different site.
One option is to use the Export and Import operations of the Stsadm tool. The other option is to use the Central Administration page to perform a migration.

Read more about the Stsadm tool and the Central Administration options for migrating content by visiting the Windows SharePoint Services 3.0 Techni-

cal Library at

http://technet.microsoft.com/en-us/library/cc288664.aspx.

Configuring Authentication for WSS

Authentication is the process of validating a userverifying the level of access they should have. WSS uses IIS to manage user authentication. After IIS has determined that the user is authentic, WSS will perform the authorization. WSS will then allow the user to access the resources on the WSS site to which they have been given access.

296 Chapter 7

WSS has provided support for federated authorization, also known as Web Single Sign On (Web SSO). This means that the authentication system is not local to the computer that hosts Windows SharePoint Services 3.0.
WSS provides for several other authentication scenarios:
Standard Windows authentication.
Simple database containing usernames and passwords.
Integrating directly into your company
Using several systems together. This would allow for a company identity system to
authenticate partner employees but another system to authenticate internal employees. Table 7.1 shows the supported authentication methods.

TABLE 7.1 Supported Authentication Methods
Authentication Methods Description Examples
Windows
These are standard IIS windows
authentication methods. Basic
Anonymous
Digest
Certificates
Kerberos (Integrated
Windows)
NTLM (Integrated
Windows)

ASP.NET formsWSS 3.0 adds support for identity management systems

by adding ASP.NET-based forms authentication.

Web Single Sign-On (SSO)Enables SSO in environments that are on disparate platforms.

LDAP (Lightweight Directory Access Protocol)

SQL Database or other databases

Other ASP.NET-based forms

ADFS (Active Directory Federation Services) Additional identity man- agement systems

The following sections will cover a couple of the con Digest authentication
Web Single Sign-On (Web SSO) using Active Directory Federation Services (ADFS)

MCTS Windows 7 Configuration Authentication for WSS

MCTS Windows 7 Configuration, Microsoft 70-680 Training

January 17th, 2012
Comments Off

QUESTION NO: 1

You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Microsoft ASP.NET application. You want to connect the application to a Microsoft SQL Server Express 2008 database named MyDatabase. The primary database file is named MyDatabase.mdf and it is stored in the App_Data folder. MCTS Windows 7 Configuration

You need to define the connection string.

Which connection string should you add to the Web.config file?

A. Data Source=localhost; Initial Catalog=MyDataBase; Integrated Security=SSPI; User Instance=True

B. Data Source=.\SQLEXPRESS; Initial Catalog=MyDataBase; Integrated Security=True; User Instance=True

C. Data Source=.\SQLEXPRESS; AttachDbFilename=|DataDirectory|\MyDatabase.mdf; Integrated Security=True; User Instance=True

D. Data Source=SQLEXPRESS; AttachDbFilename=|DataDirectory|\App_Data\MyDatabase.mdf; Integrated Security=SSPI; User Instance=True

Answer: C
Explanation:

QUESTION NO: 2

You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create an application. The application connects to a Microsoft SQL Server database. The application uses the ADO.NET Entity Framework to model entities.

The database includes objects based on the exhibit. (Click the Exhibit button.)
image001

The application includes the following code segment. (Line numbers are included for reference
only.)

01 Using advWorksContext As New AdventureWorksEntities()

02

03 End Using

You need to retrieve a list of all Products from todays sales orders for a specified customer.

You also need to ensure that the application uses the minimum amount of memory when retrieving the list.

Which code segment should you insert at line 02?

A. Dim customer As Contact = context.Contact.Where("it.ContactID =
@customerId", New ObjectParameter("customerId", customerId)).First() customer.SalesOrderHeader.Load()
For Each order As SalesOrderHeader In customer.SalesOrderHeader
order.SalesOrderDetail.Load()
If order.OrderDate.[Date] = DateTime.Today.[Date] Then

94

For Each item As SalesOrderDetail In order.SalesOrderDetail
Console.WriteLine([String].Format("Product: 0 ", item.ProductID))
Next
End If
Next

B. Dim customer As Contact = context.Contact.Where("it.ContactID =
@customerId", New ObjectParameter("customerId", customerId)).First() customer.SalesOrderHeader.Load()
For Each order As SalesOrderHeader In customer.SalesOrderHeader
If order.OrderDate = DateTime.Today Then
order.SalesOrderDetail.Load()
For Each item As SalesOrderDetail In order.SalesOrderDetail
Console.WriteLine([String].Format("Product: 0 ", item.ProductID))
Next
End If
Next

C. Dim customer As Contact = (From contact In context.Contact.Include("SalesOrderHeader") _ Select contact).FirstOrDefault()
For Each order As SalesOrderHeader In customer.SalesOrderHeader
order.SalesOrderDetail.Load()
If order.OrderDate = DateTime.Today Then
For Each item As SalesOrderDetail In order.SalesOrderDetail
Console.WriteLine([String].Format("Product: 0 ", item.ProductID))
Next
End If
Next

D. Dim customer As Contact = (From contact In
context.Contact.Include("SalesOrderHeader.SalesOrderDetail") _
Select contact).FirstOrDefault()
For Each order As SalesOrderHeader In customer.SalesOrderHeader
If order.OrderDate.[Date] = DateTime.Today.[Date] Then
For Each item As SalesOrderDetail In order.SalesOrderDetail
Console.WriteLine([String].Format("Product: 0 ", item.ProductID))
Next
End If
Next

Answer: B
Explanation: