skip to main |
skip to sidebar
Terminates the program and gives the return value to os as exit code.
www.codecollege.NET
Notifies all message loops to quit, closes windows opened by them and closes program.
www.codecollege.NET
You can exit using the following 2 static methods,
1. Environment.Exit(returnval)
2. Application.Exit()
www.codecollege.NET
it is used to apply range checking to an operation.
www.codecollege.NET
It lets you build a provider that in turn lets you write custom code to determine browser capabilities.
www.codecollege.NET
It makes your site more user-friendly and your site content more discoverable by search engines.
www.codecollege.NET
The PageRouteHandler class .
www.codecollege.NET
The new feature is to have Backward Compatibility in Control Rendering.
www.codecollege.NET
You need make the following change to the web.config ,
<system.web>
<pages controlRenderingCompatibilityVersion="3.0"/>
</system.web>
www.codecollege.NET
Feature to build quick dynamic data websites.
www.codecollege.NET
The compressed file created for your application using MSDeploy tool.
www.codecollege.NET
It transforms web.config from development environment to production environment.
www.codecollege.NET
XML Document Transform (XDT),is the feature that lets you transform a Web.config file.
www.codecollege.NET
xdt:Transform="Replace"
www.codecollege.NET
Output cahcing was made as extensible.
www.codecollege.NET
It allows to cofigure custom output-cache providers.
www.codecollege.NET
It solves the permanently moved related issues.
www.codecollege.NET
It a feature which compresses session states in StateServer and SQL Server modes of session storage.
www.codecollege.NET
Using the compressionEnabled config entry.
www.codecollege.NET
It makes client-side script accessing asp.net server controls rendered as html controls.
www.codecollege.NET
1. AutoID.algorithm
2. Static algorithm
3. Predictable algorithm
www.codecollege.NET
It is a new attribute which makes the selected row in a gridview persistable between navigation between pages in a gridview.
www.codecollege.NET
It makes the CSS styling in the FormView control easier.
www.codecollege.NET
QueryExtender Control.
www.codecollege.NET
1. Better support to Web standards and Accessibility.
2. Better attribute values(boolean) for controls with Disabled attribute.
3. In-line css support for validation controls.
4. CSS for the Hidden Fields Div Element.
5. CSS and UI related to many other controls
www.codecollege.NET
It is browser capabilities providers.
www.codecollege.NET
HttpRequest.Browser property
www.codecollege.NET
using HttpBrowserCapabilities object .
www.codecollege.NET
using Page.MetaDescription
www.codecollege.NET
using Page.MetaKeywords.
www.codecollege.NET
1. Page.MetaKeywords
2. Page.MetaDescription
www.codecollege.NET
To use the auto-start feature, an IIS administrator sets an application pool in IIS 7.5 to be automatically started by using the following configuration in the
applicationHost.config file:
www.codecollege.NET
It is an feature which can be automatically started by using the configuration in the applicationHost.config file.
www.codecollege.NET
The Microsoft Windows HTTP Services (WinHTTP) Certificate Configuration Tool, WinHttpCertCfg.exe, enables administrators to install and configure client certificates in any
certificate store that can be accessed by the Internet Server Web Application Manager (IWAM) account.
www.codecollege.NET
An HTTP handler that combines multiple CSS, Javascript or URL into one response for faster page load. It can combine, compress and cache response which results in faster page
load and better scalability of web application.
www.codecollege.NET
using Perfmon.exe application.
www.codecollege.NET
the space character
www.codecollege.NET
You should call the finalizer after gc like,
//c#
GC.Collect();
GC.WaitForPendingFinalizers();
www.codecollege.NET
Instead of applying it as comma seperated, apply individually in separate lines,
//c#
[Conditional("TRACE")]
[DebuggerStepThrough]
void MyMethod()
{
}
www.codecollege.NET
//c#
[Obsolete("Call NewMethod instead")]
void OldMethod()
{
}
www.codecollege.NET
//c#
[CLSCompliant(false)]
public void MyMethod(0
{
}
www.codecollege.NET
'VB
//C#
[assembly: CLSCompliant(true)>
www.codecollege.NET
Client-Activated Objects.
www.codecollege.NET
ExceptionManager.Publish(ex);
www.codecollege.NET
Application.Run(new Form1());
www.codecollege.NET
Yes. The garbage collector offers no guarantees about the time when an object will be destroyed and its memory reclaimed.
www.codecollege.NET
string mystr;
if (String.IsNullOrEmpty(mystr))
www.codecollege.NET
To view trace details for a specific request
1.Goto to Trace.axd in the root of your application.
For ex: if the URL for your application is http://localhost/myApplication, Goto http://localhost/myApplication/trace.axd to view the trace information for that application.
2.Select the View Details link for the specific request that you want to investigate.
www.codecollege.NET
<configuration>
<system.web>
<trace enabled="true" pageOutput="false" requestLimit="40" localOnly="false"/>
</system.web>
</configuration>
www.codecollege.NET
You can prevent your website from xss using:
1. Validate Input received from your site.
2. Encode Output generated from your site.
www.codecollege.NET
Verbatim(@) strings imporves code readability.
www.codecollege.NET
1. Open the command window in Visual Studio
2. Type “immed” To Execute statements
www.codecollege.NET
You can unsubscribe an event using the RemoveHandler
www.codecollege.NET
using AddHandler and RemoveHandler
www.codecollege.NET
Enclose Methods and Interfaces in #region blocks so that it can be collapsed or expanded.
www.codecollege.NET
CultureInfo.CreateSpecificCulture()
www.codecollege.NET
Thread.CurrentThread.CurrentCulture
www.codecollege.NET
Thread.CurrentThread.CurrentUICulture
www.codecollege.NET
HttpUtility.UrlEncode
www.codecollege.NET
Cross-site scripting .
www.codecollege.NET
In the application_error event in the global.asax.
www.codecollege.NET
use the path attribute on the element to identify the Web application.
www.codecollege.NET
It needs to implement IRequiresSessionState or IReadOnlySessionState in order to use session state.
www.codecollege.NET
you can find the control which did postback using "__EVENTTARGET" with few exceptions.
www.codecollege.NET
<authentication mode="Windows" />
<identity impersonate="true" />
www.codecollege.NET
Your ASP.NET application should use windows authentication when your users have windows accounts that can be authenticated by a server. The accounts can be local windows accounts or domain accounts.
www.codecollege.NET
You can enforce strong passwords using membership by configuring the attributes minRequiredPasswordLength, minRequiredNonAlphanumericCharacters, and passwordStrengthRegularExpression on your membership provider configuration.
www.codecollege.NET
It is a best practice to place all your user-interface strings in a resource file rather burning them in code.
www.codecollege.NET
var jsUsername;
jsUsername = <%=Session["CurrentUser"]%>
www.codecollege.NET
Security Assertion Markup Language.
www.codecollege.NET
AutoCompleteExtender.
www.codecollege.NET
[SoapDocumentMethod(OneWay=true)]
[WebMethod()]
public void AOneWayComm()
{
//
}
www.codecollege.NET
you can download Visual Studio 2010 Beta 2 from the following location,
www.codecollege.NET