SlideShare ist ein Scribd-Unternehmen logo
1 von 33
ASP.NET JUMP START SESSION - 3
Abu Md. Khademul Basher
Speaker TechForum,
Microsoft Technical Community
MY PUBLISHED ARTICLE IN CODE PROJECT
 Implementation of MVC Patterns in ASP.NET Web forms
Application.
 MVC Patterns (Active and Passive Model) and its
implementation using ASP.NET Web forms
 Easy way to learn the Asp.Net Built in Membership and Role
using custom controls with example
 Single Page Application performing database CRUD operations
using Backbone and ASP.NET Web API
 Apply Here Map in Windows Phone HTML5 Apps
WINDOWS PHONE APPS
CONTENTS
 Introduction of VS2012 IDE (Integrated
Development Environment).
 ASP.NET Controls
 HTML Server Controls
 Web Server Controls
START PAGE
When you first run Visual Studio 2012, you will see the Start Page or you
can open the start page by navigation menu item : View-> Start Page
START PAGE……
Get Started Tab
This tab contains the link to MSDN for new features, how to start and some other
links.
How- To Videos
Provide some short streaming videos debugging, code refactoring, testing and
some other.
The Latest News Tab
This tab shows some latest news about windows platform. If you provide a RSS
feed link and click on refresh button then it will provide some link about the
latest updated news.
Sample RSS feed link is:
http://sxp.microsoft.com/feeds/3.0/msdntn/VB_featured_resources
COLOR THEME
VS 2012 provide a color theme for visual experience. Visual Studio provide
three themes
 Blue
 Dark
 Light
To get this option browse to: Tools-> Options->Environment->General
DARK THEME
LIGHT THEME
NEW PROJECT (INSTALLED TEMPLATES)
New project window shows the list of all the Installed and Online templates
according to language and platform.
NEW PROJECT (ONLINE TEMPLATES)
Online templates according to language and platform.
SOLUTION EXPLORER
Solution explorer contains all the project and files and resources.
TOOLBOX
Toolbox contains all the HTML and ASP.NET Server tools.
TEXT EDITOR OPTIONS
You can setup some important option for your editor. You can set Horizontal
and Vertical Scroll, Line Highlight, display line number etc.
To open this option go to: Tools-> Options->Text Editor->General , C#
INTELLISENSE TECHNOLOGY
IntelliSense is one of the most important technologies in the coding experience
with Visual Studio. IntelliSense is represented by a pop-up window that
appears in the code editor each time you begin typing a keyword or an
identifier and shows options for auto-completing words.
To auto-complete your code typing, you have the following alternatives:
 Tab—Pressing this auto-completes your words and enables you to write
other code.
 Space—Pressing this auto-completes your words, adding a blank space
at the end of the added identifier and enabling you to write other code.
 Enter—Pressing this auto-completes your words, adding a couple of
parentheses at the end of the completed identifier and positioning the
cursor on a new line. Use this technique when you need to invoke a
method that does not require arguments.
 Left parenthesis—Pressing this auto-completes your words, adding a
left parenthesis at the end of the completed identifier and waiting for you
to supply arguments.
 Ctrl + Space—Pressing this brings up the full IntelliSense listing.
THE PROPERTIES WINDOW
Property window is used to setup the object properties in the design view.
PROJECT PROPERTY SETUP
You can set the properties of the project by Right Click on Project->
Properties
COMPILING PROJECTS
Compiling a project is the process that produces a .NET assembly. To compile
your project into an assembly you can right click on Solution Explorer -> Build
Solution.
Or from menu Build-> Build Solution or Press F6.
RUN THE PROJECT
To run the project you have to go to menu command Debug -> Start Debugging
or Press F5 from Tool bar click on Debut button.
BREAKPOINTS
Breakpoints enable you to control the execution flow of your application.
To place a breakpoint on a specific line of code, just place the cursor on the line
of code you want to debug and then press F9 or click on the gray bar at left of
the line.
QUICK LAUNCH
Quick Launch - Ctrl+Q located in the top right corner in the Visual Studio 2012
IDE . It is used to find out the command quickly.
PIN TABS
You can pin a file to the left of the editor by double click on the file from solution
explorer. If you make a file pin it will always open at the left of the editor.
PREVIEW TAB
When you click a file in the solution explorer then editor preview the file at the
right of it.
PAGE INSPECTOR
Page inspector is another new feature in Visual Studio 2012, it allows you to
examine the html/css of a web page similar to IE Developer Tool Bar or
Firefox’s Firebug add-on.
SOME IMPORTANT TOOLS
The following image shows some important tools
 Browser dropdown
 Debug tools
 Text Editor tools
DEPENDENCY GRAPH
Go Architecture-> Generate Dependency Graph -> For Solution
Using this tools you can easily find out the dependency between projects. Event
find out the dependency between functions.
MANAGE NUGET TOOLS
Go Project-> Manage NuGet Packages
It will show all the installed packages, online available packages and any
updated packages. And click on Install button one can install this packages
for this project.
ASP.NET Controls
ASP.NET CONTROLS
There are two types of controls in asp.net
1. HTML Server Controls
2. Web Server Controls
HTML server controls basically the HTML elements with the property
runat=”server”.
The syntax for creating a HTML server control is:
<input runat="server" id="txtName" type="text" />
And we can create in code behind using the syntax
HtmlInputButton btnSubmit = new HtmlInputButton();
Server controls are specially made for server site use and required the
attribute runat=”server”.
The syntax for creating a Web server control is:
<asp:TextBox ID="txtName" runat="server"></asp:TextBox>
And we can create in code behind using the syntax
TextBox txtName = new TextBox();
WEB SERVER CONTROLS
Details properties of a TextBox control
<asp:TextBox
ID="txtName"
AutoPostBack="True"
CausesValidation="True"
CssClass="string"
Enabled="True"
Height="100px"
MaxLength="100"
OnInit="Init event handler"
OnLoad="Load event handler"
ReadOnly="True|False"
runat="server"
SkinID="string"
TabIndex="1"
Text="Khademul Basher"
TextMode="SingleLine"
ValidationGroup="string"
Visible="True"
Width="200px"
/>
VALIDATION SERVER CONTROLS
Control Description
RequiredFieldValidator Makes an input control a required field
RangeValidator Checks that the user enters a value
that falls between two values
RegularExpressionValidator Ensures that the value of an input
control matches a specified pattern
CompareValidator Compares the value of one input
control to the value of another input
control or to a fixed value
CustomValidator Allows you to write a method to handle
the validation of the value entered
ValidationSummary Displays a report of all validation errors
occurred in a Web page
DEMO
THANK YOU

Weitere ähnliche Inhalte

Was ist angesagt?

CIS 170 Inspiring Innovation -- cis170.com
CIS 170 Inspiring Innovation -- cis170.comCIS 170 Inspiring Innovation -- cis170.com
CIS 170 Inspiring Innovation -- cis170.comkopiko104
 
Plug-in Architectures
Plug-in ArchitecturesPlug-in Architectures
Plug-in Architectureselliando dias
 
Test automation using selenium
Test automation using seleniumTest automation using selenium
Test automation using seleniummindqqa
 
Universal Application
Universal ApplicationUniversal Application
Universal ApplicationPuja Pramudya
 
Selenium
SeleniumSelenium
Seleniumnil65
 
Test automation using selenium presented by Quontra Solutions
Test automation using selenium presented by Quontra SolutionsTest automation using selenium presented by Quontra Solutions
Test automation using selenium presented by Quontra SolutionsQUONTRASOLUTIONS
 
Tutorial of web application load testing in selinium in English
Tutorial of web application load testing in selinium in EnglishTutorial of web application load testing in selinium in English
Tutorial of web application load testing in selinium in EnglishKeval Shah
 
Automating with selenium2
Automating with selenium2Automating with selenium2
Automating with selenium2mindqqa
 
Visual basics Express Project
Visual basics Express ProjectVisual basics Express Project
Visual basics Express ProjectIftikhar Ahmed
 
Part 4 Introduction to Gui with tkinter
Part 4 Introduction to Gui with tkinterPart 4 Introduction to Gui with tkinter
Part 4 Introduction to Gui with tkinterMohamed Essam
 
Steps to write Selenium
Steps to write Selenium  Steps to write Selenium
Steps to write Selenium Rohit Thakur
 
Introduction to Selenium IDE
Introduction to Selenium IDEIntroduction to Selenium IDE
Introduction to Selenium IDEdrnikki
 
I pad uicatalog_lesson02
I pad uicatalog_lesson02I pad uicatalog_lesson02
I pad uicatalog_lesson02Rich Helton
 

Was ist angesagt? (20)

CIS 170 Inspiring Innovation -- cis170.com
CIS 170 Inspiring Innovation -- cis170.comCIS 170 Inspiring Innovation -- cis170.com
CIS 170 Inspiring Innovation -- cis170.com
 
Plug-in Architectures
Plug-in ArchitecturesPlug-in Architectures
Plug-in Architectures
 
Google closure compiler
Google closure compilerGoogle closure compiler
Google closure compiler
 
Installation of Silk Test Framework
Installation of Silk Test FrameworkInstallation of Silk Test Framework
Installation of Silk Test Framework
 
Test automation using selenium
Test automation using seleniumTest automation using selenium
Test automation using selenium
 
Test automation using selenium
Test automation using seleniumTest automation using selenium
Test automation using selenium
 
Universal Application
Universal ApplicationUniversal Application
Universal Application
 
Selenium
SeleniumSelenium
Selenium
 
Test automation using selenium presented by Quontra Solutions
Test automation using selenium presented by Quontra SolutionsTest automation using selenium presented by Quontra Solutions
Test automation using selenium presented by Quontra Solutions
 
Tutorial of web application load testing in selinium in English
Tutorial of web application load testing in selinium in EnglishTutorial of web application load testing in selinium in English
Tutorial of web application load testing in selinium in English
 
Automating with selenium2
Automating with selenium2Automating with selenium2
Automating with selenium2
 
Visual basics Express Project
Visual basics Express ProjectVisual basics Express Project
Visual basics Express Project
 
C Sharp Cornerarticle
C Sharp CornerarticleC Sharp Cornerarticle
C Sharp Cornerarticle
 
Part 4 Introduction to Gui with tkinter
Part 4 Introduction to Gui with tkinterPart 4 Introduction to Gui with tkinter
Part 4 Introduction to Gui with tkinter
 
Steps to write Selenium
Steps to write Selenium  Steps to write Selenium
Steps to write Selenium
 
Introduction to Selenium IDE
Introduction to Selenium IDEIntroduction to Selenium IDE
Introduction to Selenium IDE
 
Visual Studio 2012 introduction
Visual Studio  2012 introductionVisual Studio  2012 introduction
Visual Studio 2012 introduction
 
Getting started with android studio
Getting started with android studioGetting started with android studio
Getting started with android studio
 
I pad uicatalog_lesson02
I pad uicatalog_lesson02I pad uicatalog_lesson02
I pad uicatalog_lesson02
 
Selenium WebDriver
Selenium WebDriverSelenium WebDriver
Selenium WebDriver
 

Ähnlich wie ASP.NET Jump Start Session - 3 Covers ASP.NET Controls

Membangun Desktop App
Membangun Desktop AppMembangun Desktop App
Membangun Desktop AppFajar Baskoro
 
235042632 super-shop-ee
235042632 super-shop-ee235042632 super-shop-ee
235042632 super-shop-eehomeworkping3
 
Unit -II Introduction to visual programming.pdf
Unit -II Introduction to visual programming.pdfUnit -II Introduction to visual programming.pdf
Unit -II Introduction to visual programming.pdfUjwala Junghare
 
Plug yourself in and your app will never be the same (1 hr edition)
Plug yourself in and your app will never be the same (1 hr edition)Plug yourself in and your app will never be the same (1 hr edition)
Plug yourself in and your app will never be the same (1 hr edition)Mikkel Flindt Heisterberg
 
Visual studio ide componects dot net framwork
Visual studio ide componects dot net framworkVisual studio ide componects dot net framwork
Visual studio ide componects dot net framworkDipen Parmar
 
Programming basics
Programming basicsProgramming basics
Programming basicsSenri DLN
 
hjksjdhksjhcksjhckjhskdjhcskjhckjdppt.pptx
hjksjdhksjhcksjhckjhskdjhcskjhckjdppt.pptxhjksjdhksjhcksjhckjhskdjhcskjhckjdppt.pptx
hjksjdhksjhcksjhckjhskdjhcskjhckjdppt.pptxEliasPetros
 
Visual BAsic Softwares intended for ICT students
Visual BAsic Softwares intended for ICT studentsVisual BAsic Softwares intended for ICT students
Visual BAsic Softwares intended for ICT studentsSteins18
 
A Sneak Peek At Visual Studio 2010 And .Net Framework 4.0
A Sneak Peek At Visual Studio 2010 And .Net Framework 4.0A Sneak Peek At Visual Studio 2010 And .Net Framework 4.0
A Sneak Peek At Visual Studio 2010 And .Net Framework 4.0Antonio Chagoury
 
Plug yourself in and your app will never be the same (2 hr editon)
Plug yourself in and your app will never be the same (2 hr editon)Plug yourself in and your app will never be the same (2 hr editon)
Plug yourself in and your app will never be the same (2 hr editon)Mikkel Flindt Heisterberg
 
Plug yourself in and your app will never be the same (2 hour edition)
Plug yourself in and your app will never be the same (2 hour edition)Plug yourself in and your app will never be the same (2 hour edition)
Plug yourself in and your app will never be the same (2 hour edition)Mikkel Flindt Heisterberg
 
How to develop a Flutter app.pdf
How to develop a Flutter app.pdfHow to develop a Flutter app.pdf
How to develop a Flutter app.pdfSmith Daniel
 
Tips and Tricks for Using Visual Studio.Net Effectively
Tips and Tricks for Using Visual Studio.Net EffectivelyTips and Tricks for Using Visual Studio.Net Effectively
Tips and Tricks for Using Visual Studio.Net Effectivelyweili_at_slideshare
 
Csharp Hands On Lab Paul Yao
Csharp Hands On Lab Paul YaoCsharp Hands On Lab Paul Yao
Csharp Hands On Lab Paul YaoMamgmo Magnda
 

Ähnlich wie ASP.NET Jump Start Session - 3 Covers ASP.NET Controls (20)

Membangun Desktop App
Membangun Desktop AppMembangun Desktop App
Membangun Desktop App
 
235042632 super-shop-ee
235042632 super-shop-ee235042632 super-shop-ee
235042632 super-shop-ee
 
Unit -II Introduction to visual programming.pdf
Unit -II Introduction to visual programming.pdfUnit -II Introduction to visual programming.pdf
Unit -II Introduction to visual programming.pdf
 
Plug yourself in and your app will never be the same (1 hr edition)
Plug yourself in and your app will never be the same (1 hr edition)Plug yourself in and your app will never be the same (1 hr edition)
Plug yourself in and your app will never be the same (1 hr edition)
 
Visual studio ide componects dot net framwork
Visual studio ide componects dot net framworkVisual studio ide componects dot net framwork
Visual studio ide componects dot net framwork
 
Programming basics
Programming basicsProgramming basics
Programming basics
 
Vb.net ide
Vb.net ideVb.net ide
Vb.net ide
 
ArduinoWorkshop2.pdf
ArduinoWorkshop2.pdfArduinoWorkshop2.pdf
ArduinoWorkshop2.pdf
 
hjksjdhksjhcksjhckjhskdjhcskjhckjdppt.pptx
hjksjdhksjhcksjhckjhskdjhcskjhckjdppt.pptxhjksjdhksjhcksjhckjhskdjhcskjhckjdppt.pptx
hjksjdhksjhcksjhckjhskdjhcskjhckjdppt.pptx
 
Visual BAsic Softwares intended for ICT students
Visual BAsic Softwares intended for ICT studentsVisual BAsic Softwares intended for ICT students
Visual BAsic Softwares intended for ICT students
 
C# p1
C# p1C# p1
C# p1
 
A Sneak Peek At Visual Studio 2010 And .Net Framework 4.0
A Sneak Peek At Visual Studio 2010 And .Net Framework 4.0A Sneak Peek At Visual Studio 2010 And .Net Framework 4.0
A Sneak Peek At Visual Studio 2010 And .Net Framework 4.0
 
Plug yourself in and your app will never be the same (2 hr editon)
Plug yourself in and your app will never be the same (2 hr editon)Plug yourself in and your app will never be the same (2 hr editon)
Plug yourself in and your app will never be the same (2 hr editon)
 
Plug yourself in and your app will never be the same (2 hour edition)
Plug yourself in and your app will never be the same (2 hour edition)Plug yourself in and your app will never be the same (2 hour edition)
Plug yourself in and your app will never be the same (2 hour edition)
 
Chapter 01
Chapter 01Chapter 01
Chapter 01
 
As pnet
As pnetAs pnet
As pnet
 
How to develop a Flutter app.pdf
How to develop a Flutter app.pdfHow to develop a Flutter app.pdf
How to develop a Flutter app.pdf
 
Tips and Tricks for Using Visual Studio.Net Effectively
Tips and Tricks for Using Visual Studio.Net EffectivelyTips and Tricks for Using Visual Studio.Net Effectively
Tips and Tricks for Using Visual Studio.Net Effectively
 
Vb%20 tutorial
Vb%20 tutorialVb%20 tutorial
Vb%20 tutorial
 
Csharp Hands On Lab Paul Yao
Csharp Hands On Lab Paul YaoCsharp Hands On Lab Paul Yao
Csharp Hands On Lab Paul Yao
 

Kürzlich hochgeladen

SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanyChristoph Pohl
 
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Cizo Technology Services
 
Powering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data StreamsPowering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data StreamsSafe Software
 
Patterns for automating API delivery. API conference
Patterns for automating API delivery. API conferencePatterns for automating API delivery. API conference
Patterns for automating API delivery. API conferencessuser9e7c64
 
What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...Technogeeks
 
Simplifying Microservices & Apps - The art of effortless development - Meetup...
Simplifying Microservices & Apps - The art of effortless development - Meetup...Simplifying Microservices & Apps - The art of effortless development - Meetup...
Simplifying Microservices & Apps - The art of effortless development - Meetup...Rob Geurden
 
A healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdfA healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdfMarharyta Nedzelska
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfAlina Yurenko
 
Sending Calendar Invites on SES and Calendarsnack.pdf
Sending Calendar Invites on SES and Calendarsnack.pdfSending Calendar Invites on SES and Calendarsnack.pdf
Sending Calendar Invites on SES and Calendarsnack.pdf31events.com
 
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...OnePlan Solutions
 
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdf
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdfExploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdf
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdfkalichargn70th171
 
Salesforce Implementation Services PPT By ABSYZ
Salesforce Implementation Services PPT By ABSYZSalesforce Implementation Services PPT By ABSYZ
Salesforce Implementation Services PPT By ABSYZABSYZ Inc
 
SensoDat: Simulation-based Sensor Dataset of Self-driving Cars
SensoDat: Simulation-based Sensor Dataset of Self-driving CarsSensoDat: Simulation-based Sensor Dataset of Self-driving Cars
SensoDat: Simulation-based Sensor Dataset of Self-driving CarsChristian Birchler
 
Precise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive GoalPrecise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive GoalLionel Briand
 
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company OdishaBalasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odishasmiwainfosol
 
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)jennyeacort
 
Unveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesUnveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesŁukasz Chruściel
 
Large Language Models for Test Case Evolution and Repair
Large Language Models for Test Case Evolution and RepairLarge Language Models for Test Case Evolution and Repair
Large Language Models for Test Case Evolution and RepairLionel Briand
 
Machine Learning Software Engineering Patterns and Their Engineering
Machine Learning Software Engineering Patterns and Their EngineeringMachine Learning Software Engineering Patterns and Their Engineering
Machine Learning Software Engineering Patterns and Their EngineeringHironori Washizaki
 

Kürzlich hochgeladen (20)

SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
 
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
 
Powering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data StreamsPowering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data Streams
 
Patterns for automating API delivery. API conference
Patterns for automating API delivery. API conferencePatterns for automating API delivery. API conference
Patterns for automating API delivery. API conference
 
What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...
 
Simplifying Microservices & Apps - The art of effortless development - Meetup...
Simplifying Microservices & Apps - The art of effortless development - Meetup...Simplifying Microservices & Apps - The art of effortless development - Meetup...
Simplifying Microservices & Apps - The art of effortless development - Meetup...
 
A healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdfA healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdf
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
 
Sending Calendar Invites on SES and Calendarsnack.pdf
Sending Calendar Invites on SES and Calendarsnack.pdfSending Calendar Invites on SES and Calendarsnack.pdf
Sending Calendar Invites on SES and Calendarsnack.pdf
 
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
 
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdf
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdfExploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdf
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdf
 
Advantages of Odoo ERP 17 for Your Business
Advantages of Odoo ERP 17 for Your BusinessAdvantages of Odoo ERP 17 for Your Business
Advantages of Odoo ERP 17 for Your Business
 
Salesforce Implementation Services PPT By ABSYZ
Salesforce Implementation Services PPT By ABSYZSalesforce Implementation Services PPT By ABSYZ
Salesforce Implementation Services PPT By ABSYZ
 
SensoDat: Simulation-based Sensor Dataset of Self-driving Cars
SensoDat: Simulation-based Sensor Dataset of Self-driving CarsSensoDat: Simulation-based Sensor Dataset of Self-driving Cars
SensoDat: Simulation-based Sensor Dataset of Self-driving Cars
 
Precise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive GoalPrecise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive Goal
 
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company OdishaBalasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
 
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
 
Unveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesUnveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New Features
 
Large Language Models for Test Case Evolution and Repair
Large Language Models for Test Case Evolution and RepairLarge Language Models for Test Case Evolution and Repair
Large Language Models for Test Case Evolution and Repair
 
Machine Learning Software Engineering Patterns and Their Engineering
Machine Learning Software Engineering Patterns and Their EngineeringMachine Learning Software Engineering Patterns and Their Engineering
Machine Learning Software Engineering Patterns and Their Engineering
 

ASP.NET Jump Start Session - 3 Covers ASP.NET Controls

  • 1. ASP.NET JUMP START SESSION - 3 Abu Md. Khademul Basher Speaker TechForum, Microsoft Technical Community
  • 2. MY PUBLISHED ARTICLE IN CODE PROJECT  Implementation of MVC Patterns in ASP.NET Web forms Application.  MVC Patterns (Active and Passive Model) and its implementation using ASP.NET Web forms  Easy way to learn the Asp.Net Built in Membership and Role using custom controls with example  Single Page Application performing database CRUD operations using Backbone and ASP.NET Web API  Apply Here Map in Windows Phone HTML5 Apps
  • 4. CONTENTS  Introduction of VS2012 IDE (Integrated Development Environment).  ASP.NET Controls  HTML Server Controls  Web Server Controls
  • 5. START PAGE When you first run Visual Studio 2012, you will see the Start Page or you can open the start page by navigation menu item : View-> Start Page
  • 6. START PAGE…… Get Started Tab This tab contains the link to MSDN for new features, how to start and some other links. How- To Videos Provide some short streaming videos debugging, code refactoring, testing and some other. The Latest News Tab This tab shows some latest news about windows platform. If you provide a RSS feed link and click on refresh button then it will provide some link about the latest updated news. Sample RSS feed link is: http://sxp.microsoft.com/feeds/3.0/msdntn/VB_featured_resources
  • 7. COLOR THEME VS 2012 provide a color theme for visual experience. Visual Studio provide three themes  Blue  Dark  Light To get this option browse to: Tools-> Options->Environment->General
  • 10. NEW PROJECT (INSTALLED TEMPLATES) New project window shows the list of all the Installed and Online templates according to language and platform.
  • 11. NEW PROJECT (ONLINE TEMPLATES) Online templates according to language and platform.
  • 12. SOLUTION EXPLORER Solution explorer contains all the project and files and resources.
  • 13. TOOLBOX Toolbox contains all the HTML and ASP.NET Server tools.
  • 14. TEXT EDITOR OPTIONS You can setup some important option for your editor. You can set Horizontal and Vertical Scroll, Line Highlight, display line number etc. To open this option go to: Tools-> Options->Text Editor->General , C#
  • 15. INTELLISENSE TECHNOLOGY IntelliSense is one of the most important technologies in the coding experience with Visual Studio. IntelliSense is represented by a pop-up window that appears in the code editor each time you begin typing a keyword or an identifier and shows options for auto-completing words. To auto-complete your code typing, you have the following alternatives:  Tab—Pressing this auto-completes your words and enables you to write other code.  Space—Pressing this auto-completes your words, adding a blank space at the end of the added identifier and enabling you to write other code.  Enter—Pressing this auto-completes your words, adding a couple of parentheses at the end of the completed identifier and positioning the cursor on a new line. Use this technique when you need to invoke a method that does not require arguments.  Left parenthesis—Pressing this auto-completes your words, adding a left parenthesis at the end of the completed identifier and waiting for you to supply arguments.  Ctrl + Space—Pressing this brings up the full IntelliSense listing.
  • 16. THE PROPERTIES WINDOW Property window is used to setup the object properties in the design view.
  • 17. PROJECT PROPERTY SETUP You can set the properties of the project by Right Click on Project-> Properties
  • 18. COMPILING PROJECTS Compiling a project is the process that produces a .NET assembly. To compile your project into an assembly you can right click on Solution Explorer -> Build Solution. Or from menu Build-> Build Solution or Press F6.
  • 19. RUN THE PROJECT To run the project you have to go to menu command Debug -> Start Debugging or Press F5 from Tool bar click on Debut button.
  • 20. BREAKPOINTS Breakpoints enable you to control the execution flow of your application. To place a breakpoint on a specific line of code, just place the cursor on the line of code you want to debug and then press F9 or click on the gray bar at left of the line.
  • 21. QUICK LAUNCH Quick Launch - Ctrl+Q located in the top right corner in the Visual Studio 2012 IDE . It is used to find out the command quickly.
  • 22. PIN TABS You can pin a file to the left of the editor by double click on the file from solution explorer. If you make a file pin it will always open at the left of the editor.
  • 23. PREVIEW TAB When you click a file in the solution explorer then editor preview the file at the right of it.
  • 24. PAGE INSPECTOR Page inspector is another new feature in Visual Studio 2012, it allows you to examine the html/css of a web page similar to IE Developer Tool Bar or Firefox’s Firebug add-on.
  • 25. SOME IMPORTANT TOOLS The following image shows some important tools  Browser dropdown  Debug tools  Text Editor tools
  • 26. DEPENDENCY GRAPH Go Architecture-> Generate Dependency Graph -> For Solution Using this tools you can easily find out the dependency between projects. Event find out the dependency between functions.
  • 27. MANAGE NUGET TOOLS Go Project-> Manage NuGet Packages It will show all the installed packages, online available packages and any updated packages. And click on Install button one can install this packages for this project.
  • 29. ASP.NET CONTROLS There are two types of controls in asp.net 1. HTML Server Controls 2. Web Server Controls HTML server controls basically the HTML elements with the property runat=”server”. The syntax for creating a HTML server control is: <input runat="server" id="txtName" type="text" /> And we can create in code behind using the syntax HtmlInputButton btnSubmit = new HtmlInputButton(); Server controls are specially made for server site use and required the attribute runat=”server”. The syntax for creating a Web server control is: <asp:TextBox ID="txtName" runat="server"></asp:TextBox> And we can create in code behind using the syntax TextBox txtName = new TextBox();
  • 30. WEB SERVER CONTROLS Details properties of a TextBox control <asp:TextBox ID="txtName" AutoPostBack="True" CausesValidation="True" CssClass="string" Enabled="True" Height="100px" MaxLength="100" OnInit="Init event handler" OnLoad="Load event handler" ReadOnly="True|False" runat="server" SkinID="string" TabIndex="1" Text="Khademul Basher" TextMode="SingleLine" ValidationGroup="string" Visible="True" Width="200px" />
  • 31. VALIDATION SERVER CONTROLS Control Description RequiredFieldValidator Makes an input control a required field RangeValidator Checks that the user enters a value that falls between two values RegularExpressionValidator Ensures that the value of an input control matches a specified pattern CompareValidator Compares the value of one input control to the value of another input control or to a fixed value CustomValidator Allows you to write a method to handle the validation of the value entered ValidationSummary Displays a report of all validation errors occurred in a Web page
  • 32. DEMO