Company Profile Welcome to Satyam Software Solutions Pvt. Ltd. The people of S-CUBE have strong interests in embedded systems development. S-CUBE has provided reliable, cost- effective solutions that enable organization to deter counterfeiting enhance software, security and facilitate the effectiveness of embedded application programs. We are developing generic NANO OS which is flexible, dynamic, and easy manageable for Sensor network application programmer. We are aiming towards developing NANO OS for Robotic development and other solutions.
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Company Profile
Welcome to Satyam Software Solutions Pvt. Ltd.
The people of S-CUBE have strong interests in embedded systems development.
S-CUBE has provided reliable, cost-effective solutions that enable organization to deter counterfeiting enhance software, security and facilitate the effectiveness of embedded application programs.
We are developing generic NANO OS which is flexible, dynamic, and easy manageable for Sensor network application programmer. We are aiming towards developing NANO OS for Robotic development and other solutions.
Company Profile
Hardware Development:
Microprocessor board development Custom board development Power board development
ASP.NET Web Application
Agenda
Overview of .NET
Overview of ASP.NET
Creating an ASP.NET Web Form
Validating User Input
Overview of .NET
What is the .NET Framework?
Developer Tools
Clients
User Experiences
ASP.NET Web Applications
XML Web Services
Databases
.NET Framework
Benefits of .NET
Fully object-oriented languages
Common runtime engine shared by all languages
Base class library usable by all languages
Simplified deployment
Better security
Better performance
Language independent Solves existing problems:
Even with the Internet, most applications and devices have trouble communicating with each other
The .NET Framework Components
OS
Common Language Runtime
.NET Framework Class Library
ADO.NET and XML
XML Web Services User Interface
VisualBasic C++ C#
ASP.NET
Perl Python …
How is language interoperability achieved?
All .NET languages must follow the rules in the Common Language Specification (CLS).
These rules define a subset of common data types and programming constructs that all .NET languages must support.
All .NET languages are compiled into a common format.
All code is compiled into Microsoft Intermediate Language (MSIL), also called Common Intermediate Language (CIL or simply IL), rather than binary.
The Common Language Runtime
The CLR is the execution engine for .NET framework applications.
provides a common runtime environment for the execution of code written in any of the .NET languages
Manages threads and memory Garbage collection
Enforces code security
CLR and Java's JVM are similar in that they are both runtime infrastructures that abstract the underlying platform differences
.NET Framework Base Class Library
The .NET Framework base class library (BCL) is a large set of standard classes and other types.
This library includes classes for:
working with the base types and exceptions, representing common data structures and collections, performing data access, constructing Windows and Web interfaces. It contain Core Set Of Classes: Ms Core.dll System.dll System.core.dll
Multiple Language Support
The .NET Framework is designed to support many languages More than 20 languages currently supported Microsoft provides Visual Basic .NET, C#,
Visual J# .NET, and JScript .NET Benefits of multiple-language support
Code modules are reusable Class Library access is the same for all languages The right language is used for the right task Performance is roughly equal between all languages
Overview of ASP.NET
Overview of ASP.NET
Creation, deployment, and execution of Web Applications and Web Services
ASP.NET is a Microsoft Technology
ASP stands for Active Server Pages
Server Side Scripting
Language Interoperability
Browser Independent
Controls and infrastructure simplify the building of Web Applications
Interactive Web application & DataBase management
ASP.NET is a program that runs inside IIS
How does ASP.NET work?
Requests an HTML file, the server returns the file
Requests an ASP.NET file, IIS passes the request to the ASP.NET
engine on the server
The ASP.NET engine reads the file, line by line, and executes the
scripts in the file
ASP.NET file is returned to the browser as plain HTML
ASP.NET Runtime Compilation and Execution
Nativecode
C# Visual Basic .NET
Which language?
Visual Basic .NETcompiler
C#compiler
MSILJITcompiler
default.aspx
Common Language Runtime
HTML
Master Pages
Master pages allow you to create a consistent look and behavior for all the pages (or group of pages) in your web application.
The content pages contains the content you want to display.
When users request the content page, ASP.NET merges the pages to produce output that combines the layout of the master page with the content of the content page.
This master page was saved with the name "master1.master".
Note: The master page can also contain code, allowing dynamic content.
Three methods for adding code: Put code in the same file as content (mixed) Put code in a separate <SCRIPT> section of the content
file (inline code) Put code in a separate file (code-behind pages)
Code-behind pages are the Visual Studio .NET default
You need specific functionality such as a calendar or ad rotator
The control will interact with client and server script
You are writing a page that might be used by a variety of browsers
You are working with existing HTML pages and want to quickly add ASP.NET Web page functionality
You prefer a Visual Basic-like programming model
You prefer an HTML-like object model
Use Web Server Controls if:Use HTML Server Controls if:
Bandwidth is not a problemBandwidth is limited
Selecting the Appropriate Control
Navigation
Maintaining the menu of a large web site is difficult and time consuming.
In ASP.NET 2.0 the menu can be stored in a file to make it easier to maintain. This file is normally called web.sitemap, and is stored in the root directory of the web.
In addition, ASP.NET 2.0 has three new navigation controls:
Dynamic menus
Tree Views
Site Map Path
Validating User Input
What Is Input Validation?
Verifies that a control value is correctly entered by the user
Blocks the processing of a page until all controls are valid
Avoids spoofingor the addition ofmalicious code
Client-Side and Server-Side Validation
ASP.NET can create both client-side and server-side validation
Client-side validation Dependent on browser
version Instant feedback Reduces postback cycles
Server-side validation Repeats all client-side
validation Can validate against stored
data
Valid?
Valid?
User Enters Data
No
No
Yes
Yes
Error Message
Client
Server
Web FormProcessed
ASP.NET Validation Controls
Control Name PurposeRequiredFieldValidator Require user inputCompareValidator Compare to another control, a
value, or a data typeRangeValidator Compare to a rangeCustomValidator Compare to a custom formulaRegularExpressionValidator Compare to a regular expression
pattern
ValidationSummary Summarize the state of the validation controls on a page