Which two code segments should you add?
You are developing an ASP.NET Web page that uses jQuery validation. The user should enter a valid
email address in a text box that has ID txtEmail. The page must display “E-Mail address required”
when the user does not enter an address and “Invalid e-mail address” when the user enters an
address that is not formatted properly. You need to ensure that the appropriate error message is
displayed when the text box does not contain a valid e-mail address. Which two code segments
should you add? (Choose 2)
You need to ensre that the JavaScript file is included in the assembly
You create an ASP.NET server control in the SampleControl namespace. The control uses a JavaScript
file names Refresh.js to implement AJAX functionality. You need to ensre that the JavaScript file is
included in the assembly. Which two actions should you perform (Choose 2)
You need to ensure that GetProduct will accept a POST request and will indicate that the returned data is XML
You are developing a WCF service. The service includes an operation names GetProduct. You need to
ensure that GetProduct will accept a POST request and will indicate that the returned data is XML.
Which two actions should you perform (Choose 2)
ASP.net MVC dotn display a column Using LINQ to SQL class…
ASP.net MVC dotn display a column Using LINQ to SQL class
[MetadataType(typeof(ProductMetadata))]
public pertial class Product
{
…
}
public class ProductMetadata
{
…
}
Which configuration should you add to the web.config file?
You are developing an ASP.NET Web application.The application is configured to use the
membership and role providers. You need to allow all users to perform an HTTP GET for application
resources, but you must allow only the user named Moderator to perform a POST operation.Which
configuration should you add to the web.config file?
You need to minimize the amount of data is sent to the user.What should you do?
You are developing an ASP.NET Web application. The application must pass an object that contains
user-specific data between multiple pages. The object ismore than 100 KB in size when
serialized.You need to minimize the amount of data is sent to the user.What should you do?
the application hat to render same as in .net 3.5.
Migration .net 3.5 to 4.0 You have migrated a web application from .net 3.5 to 4.0. the application
hat to render same as in .net 3.5.
all options had the <%assembly tag but the att differed
A library called contosobuisness.dll has been created and u need to accept it in a page.. all options
had the <%assembly tag but the att differed
A text box should enter valid date options all were compare validators but the operator differed…
A text box should enter valid date options all were compare validators but the operator differed
(equal and datatyp)..controltovalidate in two options and controltocompare in the remainin..
to get a string prop from custom.master into a label in content page the code u wud use…
You have a master page custom.master … u create a nested.master page using it … and then u have
content page that uses the nested.master as its master page … to get a string prop from
custom.master into a label in content page the code u wud use…