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
What is the .NET Framework? Developer Clients Tools ASP.NET Web Databases Applications XML Web User .NET Services Experiences 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 Visual Basic C++ C# Perl Python … XML Web Services User Interface ASP.NET ADO.NET and XML .NET Framework Class Library Common Language Runtime OS
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 Javas 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 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 default.aspx Which language? C# Visual Basic .NET C# Visual Basic .NET compiler compiler JIT MSIL compiler Common Language Native code Runtime
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.
How to Implement Code 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 Page Code-behind pages are the Visual Studio .NET default Single file Separate files code <tags> code <tags> Form1.aspx Form1.aspx Form1.aspx.vb or Form1.aspx.cs
Selecting the Appropriate Control Use HTML Server Controls if: Use Web Server Controls if: You prefer an HTML-like object You prefer a Visual Basic-like model programming model You are working with existing You are writing a page that HTML pages and want to quickly might be used by a variety of add ASP.NET Web page browsers functionality The control will interact with You need specific functionality client and server script such as a calendar or ad rotator Bandwidth is limited Bandwidth is not a problem
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
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 spoofing or the addition of malicious code
Client-Side and Server-Side Validation ASP.NET can create both client-side and server-side User Enters validation Data Error Client-side validation Message Dependent on browser Valid? version No Instant feedback Client Yes Server Reduces postback cycles Valid? Server-side validation No Yes Repeats all client-side validation Web Form Can validate against Processed stored data
ASP.NET Validation Controls Control Name Purpose RequiredFieldValidator Require user input CompareValidator Compare to another control, a value, or a data type RangeValidator Compare to a range CustomValidator Compare to a custom formula RegularExpressionValidator Compare to a regular expression pattern ValidationSummary Summarize the state of the validation controls on a page
Summary ASP .NET simplifies Web Application development Scalable, better performing applications Makes developers more productive Makes systems more reliable Makes systems easier to deploy