Report
Report
NET
It is a new, easy, and extensive programming platform .net is not the operating system but it is a layer between the operating system and the programming language. It is not a programming language. it supports many programming languages, including vb.net, c# etc. .net provides a common set of class libraries, which can be accessed from any .net based programming language. There will not be separate set of classes and libraries for each language If you know anyone .net language, you can write code in any .net language.
developer can drag and drop a control onto a surface or form, manipulate the controls properties, and even work with the code behind these controls to act on certain events that occur during their lifecycles. Much of the focus of ASP.NET 2.0 is on productivity. ASP.NET 2.0 eliminated much of the tedious coding.
Zone controls - areas on a page where the content is consistent Web part controls - content areas for each zone
Identity information, such as the assemblys name and version number A list of all types exposed by the assembly A list of other assemblies required by the assembly A list of code access security instructions, including permissions required by the assembly and permissions to be denied the assembly
1.4 Principal design features 1.4.1 Interoperability: - Because interaction between new and older applications is
commonly required, the .NET Framework provides means to access functionality that is implemented in programs that execute outside the .NET environment. Access to COM components is provided in the System. Runtime. Interpol Services and System. Enterprise Services namespaces of the framework; access to other functionality is provided using the P/Invoke feature.
1.4.2 Common Runtime Engine: - All .NET programs execute under the supervision of
the Common Language Runtime (CLR) which is the virtual machine component of the .NET framework, guaranteeing certain properties and behaviors in the areas of memory management, security, and exception handling.
1.4.5 Security: - The design is meant to address some of the vulnerabilities, such as buffer
overflows. Additionally, .NET provides a common security model for all applications.
1.4.6 Portability: - The design of the .NET Framework allows it to theoretically be platform
agnostic, and thus cross-platform compatible. That is, a program written to use the framework should run without change on any type of system for which the framework is implemented. Microsoft's commercial implementations of the framework cover Windows, Windows CE.
Chapter-2
2.1.3 Themes
Themes allow you to define a standardized set of appearance characteristics for Web controls. Once defined, you can apply these formatting presets across your website for a consistent look.
10
11
2.1.7 Profiles
This feature allows you to store user-specific information in a database without Writing any database code Instead, ASP.NET takes care of the tedious work of retrieving the Profile data when its needed and saving the profile data when it changes.
2.2.1 LINQ
LINQ (Language Integrated Query) is a set of extensions for the C# and Visual Basic languages. It allows us to write C# or Visual Basic code that manipulates in-memory data in much the same way we query a database. Technically LINQ defines about 40 query operators, such as select, from, in, where, and order by (in C#). These operators allow us to code our query. However, there are various types of data on which this query can be performed, and each type of data requires a separate flavor of LINQ. The most fundamental LINQ flavor is LINQ to Objects, which allows us to take a collection of objects and perform a query that extracts some of the details from some of the objects. LINQ to Objects isnt ASP.NET-specific. However, the .NET Framework 3.0 doesnt include a new version of the CLR or ASP.NET. Instead, the next release of ASP.NET was rolled into the .NET Framework Compared to ASP.NET 2.0 ASP.NET 3.5 is a more gradual evolution. Its new features are concentrated in two areas: LINQ and Ajax.
12
2.2.2 AJAX
AJAX (Asynchronous JavaScript and XML) is not a new programming language, but a new technique for creating better, faster, and more interactive web applications With AJAX, a JavaScript can communicate directly with the server, with the XML Http Request object. With this object, a JavaScript can trade data with a web server, without reloading the page.AJAX uses asynchronous data transfer (HTTP requests) between the browser and the web server, allowing web pages to request small bits of information from the server instead of whole pages.The AJAX technique makes Internet applications smaller, faster and more user-friendly. AJAX is based on the following web standards: JavaScript XML HTML CSS
13
Chapter-3
Stage 1
Compilation, when page is requested the first time.The first time a page is requested, the code is compiled. Compiling code in .NET means that a compiler in a first step emits Microsoft intermediate language (MSIL) and produces metadataif you compile your source code to managed code. In a following step MSIL has to be converted to native code.
Stage 2
MSIL is executed by the common language runtime.
14
Fig 3.1 Common Language Runtime (CLR) The Common Language Runtime (CLR) is the virtual machine component of Microsoft's .NET initiative. It is Microsoft's implementation of the Common Language Infrastructure (CLI) standard, which defines an execution environment for program code. The CLR runs a form of byte code called the Microsoft Intermediate Language (MSIL), Microsoft's implementation of the Common Intermediate Language.
15
3.2.2 C# Features
Directly derived from C, C++ and Java. Provides Multilanguage Interoperability Full Integration with Windows platform. Related to .Net Runtime Environment.
Object Oriented
No pointers required! C# programs typically have no need for direct pointer manipulation Automatic memory management through garbage collection. Formal syntactic constructs for classes, interfaces, structures, enumerations, and delegates.
16
Menus and toolbars provide a structured way to expose available commands to the users of your application. Menus are often incorporated to provide access to higher-level commands that might be common to all the forms of an application, such as commands to save data or exit the application. Menus can present options in a logical, consistent manner that enhances the user experience and enables rapid mastery of the application. Menu elements can be enabled or disabled to customize options available to the user at different points in the application. 3.2.3.1 Primary Composition Considerations Include Simplicity Position of controls Consistency Aesthetics
3.2.3.1.1 Simplicity Simplicity is an important aspect of a user interface. A visually busy or overly complex user interface makes it harder and more time-consuming to learn the application. A user interface should allow a user to quickly complete all interactions required by the program, but it should expose only the functionality needed at each stage of the application. 3.2.3.1.2 Position of Controls The location of controls on your user interface should reflect their relative importance and frequency of use. For example, if we have a form that is used to input both required information and optional information, the controls for the required information are more important and should receive greater prominence. In Western cultures, user interfaces are typically designed to be read left-to-right and top-to-bottom. The most important or frequently used controls are most easily accessed at the top of the form Controls that will be used after a user completes an action on a form, such as a Submit button, should follow the logical flow of information and be placed at the bottom of the form.
17
3.2.3.1.3 Consistency Our user interface should exhibit a consistent design across each form in your application. An inconsistent design can make our application seem disorganized or chaotic, hindering adoption by our target audience. Dont ask users to adapt to new visual elements as they navigate from form to form. 3.2.3.1.3 Aesthetics Whenever possible, a user interface should be inviting and pleasant. Although clarity and simplicity should not be sacrificed for the sake of attractiveness, we should endeavor to create an application that will not dissuade users.
18
Chapter-4
CONCLUSION
The technologies discussed and the functionality they provide are taken for granted by the user: users expect a toolbar, they expect copy and paste support, and they expect to be able to open a file theyve dragged from Windows Explorer to our application. Fortunately, adding the necessary implementation is easy with Visual C#, especially compared to drag and drop implementation in the days before the .NET Framework. The .NET Framework includes the Dataset object to work directly with the data. The object gives you the flexibility and control to represent the data in any way needed. The object can easily be bound to controls in either Windows Forms or Web Forms to tie the controls and datasets together. This allows you to build data entry screens quickly. The .NET Framework also includes two data providers that are used to access data sources: the OLE DB .NET Data Provider and the SQL Server .NET Data Provider. Using the Connection, Command, Data Reader, and Data Adapter objects included in each data provider, you can get complete access to your data. The integration of .NET with XML means that the data in ADO.NET can easily be portable and persisted locally. We can retrieve information not just about the data contents, but about the data schema as well. In addition, we can easily read and write XML data documents.
19
BIBLIOGRAPHY Websites
1. msdn.microsoft.com/en-us/library/ms123401.aspx 2. en.wikipedia.org/wiki/.NET_Framework 3. www.microsoft.com/download/en/details.aspx?id=19
20