i
Web Application Fundamentals
Using Internet Information Services
Web Forms
ASP.NET MVC
Web Services
ASP.NET Features
Request/Response Programming
HttpRequest Class
HTTP Collections
HttpResponse Class
Redirection
HttpUtility Class
Using Visual Web Developer
Visual Studio Forms Designer
Using Components
Shadow Copying
Using the Global.asax File
Data Binding
Different Types Of Caching
How to use Object cache
Optimizing Your ASP.NET Application
What Is Caching [Storage]
Forms Authentication
Windows Authentication
ASP.NET Security Fundamentals
Data Source Controls
SqlDataSource
SiteMapDataSource
The AccessDataSource Control
ObjectDataSource
Connection String Storage
GridView
DetailsView
FormView
ListView
DataPager
Entity Data Model
EntityDataSource
Remote Method Calls
Ajax Control Toolkit
Ajax Client Library
Rich Client Applications
Ajax [Asynchronous JavaScript and XML]
ScriptManager
UpdatePanel
Model-View-Controller Pattern
ASP.NET MVC versus Web Forms
ASP.NET MVC Projects in Visual Studio
Action Methods in MVC
Routing in MVC
Strongly-Typed Views [Add images here from the visual studio]
Model Binding
Validation
ADO.NET [ActiveX Data Object]
ASP.NET Data Providers
Connections
Commands
DataReaders and Connected Access
DataSets and Disconnected Access
In C# below are three types of control statements:
Selection Statements
Iteration Statements
Jump Statements
Selection Statements:
Selection statements consist of if, else, switch, and case branching.
If statement: Decides which conditions require to be executed. It has a Boolean condition followed by one or more statements.
It executes only when the given condition is true.
Syntax:
if (condition)
{
Statement;
}
if …else statement: Else is the variation of if statement, it executes the false condition. Else can be used followed by if statement.
If (condition)
{
Statement;
}
Else
{
Statement;
}
Nested if/ if... else statements:
We can use one if or else if statement inside another if or else if statement(s).
If (condition)
{
Statement;
}
Else if (condition)
{
If (condition)
{
Statement
}
}
Switch statement:
The select statement has multiple cases/Condition-based upon the matching condition it select the matching case for execution.
Switch (Condition)
{
Case s:
Statement;
Break;
Case t:
Statement;
Break;
Default:
Statement;
Break;
}
Iteration Statements
Do Statement: The do repeats the execution of a statement(s) until a given condition is false.
It always executes once before checking the condition.
Do
{
Statement;
}
While (statement); for statement: The 'for' statement repeats the execution of a statement until a specified condition is false.
for (initializer; condition; iterator)
{
Statement;
}
foreach statement: The "foreach" statement repeats statements for each element of an object collection or array.
foreach (int element in objectCollection)
{
Statement;
}
while statement: This statement executes a statement(s) while a condition evaluates to true.
while (statement)
{
Statement;
}
Jump Statements:
break; Stops the executions from the location where we wrote 'break', and passes control to the next statement, if it exists.
continue; continue statement passes control to the next iteration from the current location.
return; It returns control from the current location regardless of the number of statement present below the statement or not.
goto; It is used to transfer the control to the particular location.
Don't miss out!