Monday, 30 April 2012

ASP.NET Web Pages lesson 3



ASP.NET
ASP.NET is a development framework for building web pages and web sites with HTML, CSS, JavaScript and server scripting.
ASP.NET supports three different development methods:
Web Pages, MVC (Model View Controller), and Web Forms.
This tutorial covers Web Pages.
Web PagesMVCWeb Forms

ASP.NET Framework

Easy Learning with "Run Example"

Our "Run Example" tool makes it easy to learn Web Pages.
It runs examples and displays the ASP.NET code and the HTML output simultaneously.
Click on the "Run Example" button to see how it works:

Web Pages Example

<html>
<body>
     <h1>Hello Web Pages</h1>
     <p>The time is @DateTime.Now</p>
</body>
</html>




What is Web Pages?

Web Pages is the simplest programming model for developing ASP.NET web pages.
Web Pages provides an easy way to combine HTML, CSS, JavaScript and server code:
  • Easy to learn, understand, and use
  • Built around single web pages
  • Similar to PHP and Classic ASP
  • Top-to-bottom server execution
  • Server scripting with Visual Basic or C#
  • Full HTML, CSS, and JavaScript control
Web Pages are easy extendable with programmable Web Helpers, including database, video, graphics, social networking and much more.

Web Pages Tutorial

If you are new to ASP.NET, Web Pages is the perfect place to start.
In our Web Pages tutorial you will learn how to combine HTML, CSS, JavaScript and server code, using the latest Razor server markup syntax with Visual Basic or C# .
You will also learn how to extend your web pages with programmable Web Helpers.

Web Pages Examples

Learn by examples!
Because ASP.NET code is executed on the server, you cannot view the code in your browser. You will only see the output as plain HTML.
At W3Schools every example displays the hidden ASP.NET code. This makes it easier for you to understand how it works.

Web Pages References

At the end of this tutorial you will find a complete set of ASP.NET references with objects, components, properties and methods.

ASP.net Lesson 2


Classic ASP - Active Server Pages

Active Server Pages (ASP), also known as Classic ASP, was introduced in 1998 as Microsoft's first server side scripting engine.
ASP is a technology that enables scripts in web pages to be executed by an Internet server.
ASP pages have the file extension .asp, and are normally written in VBScript.

ASP.NET

ASP.NET is a new ASP generation. It is not compatible with Classic ASP, but ASP.NET may include Classic ASP.
ASP.NET pages are compiled, which makes them faster than Classic ASP.
ASP.NET has better language support, a large set of user controls, XML-based components, and integrated user authentication.
ASP.NET pages have the extension .aspx, and are normally written in VB (Visual Basic) or C# (C sharp).
User controls in ASP.NET can be written in different languages, including C++ and Java.
When a browser requests an ASP.NET file, the ASP.NET engine reads the file, compiles and executes the scripts in the file, and returns the result to the browser as plain HTML.

ASP.NET Razor

Razor is a new and simple markup syntax for embedding server code into ASP.NET web pages, much like Classic ASP.
Razor has the power of traditional ASP.NET, but is easier to use and easier to learn.

ASP.NET Programming Languages

This tutorial covers the following programming languages:
  • Visual Basic (VB.NET)
  • C# (Pronounced C sharp)

ASP.NET Server Technologies

This tutorial covers the following server technologies:
  • Web Pages (with Razor syntax)
  • MVC (Model View Controller)
  • Web Forms (traditional ASP.NET)

ASP.NET Development Tools

ASP.NET supports the following development tools:
  • WebMatrix
  • Visual Web Developer
  • Visual Studio
This tutorial uses WebMatrix for Web Pages, and Visual Web Developer for MVC and Web Forms.

ASP.NET File Extensions

  • Classic ASP files have the file extension .asp
  • ASP.NET files have the file extension .aspx
  • ASP.NET files with Razor C# syntax have the file extension .cshtml
  • ASP.NET files with Razor VB syntax have the file extension .vbhtml

ASP.net


ASP.NET is a development framework for building web pages and web sites with HTML, CSS, JavaScript and server scripting.
ASP.NET supports three different development models:
Web Pages, MVC (Model View Controller), and Web Forms:
Web Pages
Single Pages Model
MVC
Model View Controller
Web Forms
Event Driven Model

Simplest ASP.NET model.

Similar to PHP and classic ASP.

Built-in templates and helpers for database, video, graphics, social media and more.
 
MVC separates web applications into 3 different components:

Models for data
Views for display
Controllers for input
 
The traditional ASP.NET event driven development model:

Web pages with added server controls, server events, and server code.

WebMatrixVisual Web Developer

Web Editor for Web Pages

Development tool tailor made for MVC and Web Forms

ASP.NET Framework

.NET is a framework for developing virtually any type of computer application.

The ASP.NET framework is the part of .NET designed for creating web applications.

Web Pages Tutorial

If you are new to ASP.NET, Web Pages is the perfect place to start.
Web Pages is the easiest development model for developing ASP.NET web sites.
In our Web Pages tutorial you will learn how to combine HTML, CSS, JavaScript and server code, using the latest Razor server markup syntax with Visual Basic or C#.
You will also learn how to extend your web pages with programmable Web Helpers, including database, video, graphics, social networking and much more.


MVC Tutorial

MVC is a model for building web applications using a MVC (Model View Controller) design.
If you want a lighter alternative to traditional ASP.NET, MVC is the place to start.
In our MVC tutorial you will learn how to build web applications using a lightweight development model, integrated with all existing ASP.NET features, such as Master Pages, Security, and Authentication.


Web Forms Tutorial

Web Forms is the traditional ASP.NET model, based on event driven Web Forms and post backs.
Over the years, developers have used ASP.NET Web Forms to create many of the largest websites in the world.
If you want to study the design model used by many web developers over the last 10 years, this is the place to start.


What You Should Already Know

Before you continue you should have a basic understanding of the following:
  • WWW, HTML, CSS, and the basics of building Web pages
  • Scripting languages like JavaScript or VBScript
  • The basics of server side scripting like ASP or PHP
If you want to study these subjects first, find the tutorials on our Home Page

in MS Office 2012: What we're expecting to see



Office 15 will be here next year. And, what's more, it'll be getting the Windows 8 look.
There will also possibly be a Windows 8 authoring tool as well as HTML add-ins too.
So what are we expecting to see in Office 15?

What will Office 15 be called?

Microsoft's PR team refers to "Wave 15" without giving any details (like "Wave 15 is currently under development, but we have nothing further to share at this time"). Several Microsoft job adverts and LinkedIn profiles for Microsoft employees use the name Office 15, and the Access team has referred to Access 15 - but Office 15 is unlikely to be the final name (Office 2010 had the Office 14 codename).
Although a discussion about SharePoint by what appears to be a Microsoft employee refers to Office 2013, the name is almost certainly going to be Office 2012. As usual, we're expecting multiple Office 2012 versions from starter to home and small business versions as well as a full Office 2012 enterprise edition, with different combinations of apps.

When is the Office 2012 release date?

A job advert for Office Mobile testing in October 2010 referred to "Office 15 and Windows Phone 8 planning phase just getting under way", rumours in March suggested the code had already reached Milestone 2 and what looks like a legitimate build leaked in May. The Office division takes two to three years to put out a new version and we saw the beta of Office 2010 in February 2010 followed by RTM in May.
Microsoft names products by the year after the financial year they come out in (so they don't look out of date immediately), but Microsoft's financial year ends in July – so anything that releases to manufacturing after July 2012 would have 2013 in the name. Office 2012 beta will probably show up early in the year again, with final code by the middle of 2012 and the actual Office 2012 release date would be before late summer.

Office 2012 features


"Office 15 is shaping up to be one of the most feature packed and exciting releases," says a Microsoft job advert. There's obviously noting official on the Office 2012 features at this stage but there are some hints, like Office president Kurt delBene saying at the Worldwide Partner Conference "We want to remain the leaders in productivity on the desktop. We need to push forward in new scenarios that we had not delivered before."

CLEAN LOOK:The OneNote 15 interface is sparser and easier to navigate on a tablet
There's going to be more video (both editing and using for meetings), more social network integration and maybe a whole new experience for meetings tying together the invitation you send in Outlook, the presentation you give in PowerPoint, the notes you take in OneNote and the Lync client you use for the online meeting.

Office 2012 interface


The Office 2012 interface is going to change from what we've seen in the leaked builds so far, but we'd bet anything you like that it's not going to lose the Office ribbon. OneNote 15 already has a new look in the leaked build with a much cleaner interface that will work well on tablet PCs, and a quick thumbnail navigation to get to recent pages that also looks tablet friendly.
PowerPoint 15 doesn't have any new themes, which reports from WPC mentioned, but it does preview themes straight from Office.com; it also has a new random transition option. A new M1 tab on the ribbon (probably a reference to new features in the Milestone 1 build) has a Data Grid tool that opens a redesigned version of the Chart picker with a new combo chart type. The same tab is in Word 15, along with an Extensions dropdown; there's nothing on it but it's where the new programming model we've been hearing about fits in.
CLOUD LINKS:No new transitions in the PowerPoint 15 leak but note how you can see themes directly from Office.com
Outlook shows the most interface differences, with a cleaner look that has more white space and resembles the Outlook Web App you get with Exchange and Office 365 - but again it keeps the ribbon. Instead of the vertical stack of buttons in the current interface there are Mail, Calendar and Contacts buttons at the bottom to switch to those views - and a menu with the familiar icons for Tasks, Folders and Shortcuts which lets you add them at the bottom as well.

METRO LOOK:More white space like Outlook Web App in Office 365, but the notifications and bottom buttons are very Windows 8
This has hints of the Metro style underlying the Windows Phone 7 and Windows 8 interfaces, especially with the notification icon for new messages and tasks. The M1 command here is for sorting subfolders alphabetically rather than keeping them in the hierarchy you created.

Office 2012 collaboration

The co-authoring features in Word and the Word Web App show up in small changes to the change tracking, making it easier to filter by who made changes or when changes were made. That's part of what Word program manager Jonathan Bailor was promising when Office 2010 came out. "
In Office 15, we'd love to take collaboration and communication to the next level. We've unlocked all of these new ways to work and a new set of expectations from users, and we're like, "Put us back in the ring; we're ready for round two." Until coauthoring a document is as easy and ubiquitous as e-mail attachments, our job isn't done."
One hope is that Office 15 might deal with some long-standing issues in Office, thanks to an intern who worked on improving search features on Office.com and built a tool so the Office developers could look at what people are searching for and "leverage the data in Office '15' planning".

Is there a new app in Office 2012?


Maybe but it isn't Limestone; that's the same internal testing tool we saw in Office 2010 builds. The leaked build includes a new program called Moorea (there isn't a shortcut for it on the Start menu but you can run it anyway).

WINDOWS 8 LOOK:The new Moorea app lets you place images, text and links to Word documents on a tiled layout that's very Metro
This lets you create layouts with images, text and links to Word documents, on a widescreen grid of tiles; it looks ideal for packaging up content into a Windows 8 tablet layout and we think it might be a tablet authoring tool – the files it saves are HTML…

Is Office 2012 based on HTML?

No. There's Moorea, which looks like a nice way to build HTML interfaces for content, and there's a new application model for developers creating tools on top of Office using JavaScript and HTML (although Visual Basic and C# are still there). A Microsoft job advert explains "Integration of JavaScript/HTML5 will enable developers to create rich applications that span clients and server, integrate with Office 365, enhance the SharePoint experience, and unlock new scenarios that unleash the great potential that lies in the combination of Office and the cloud." One theory; developers might be able to create add-ins for Office that would also work with the Office Web Apps.




Kingsoft Office 2012 (new office product)


Although Microsoft Office still dominates the marketplace, there are plenty of free alternatives that do a reasonably good job of duplicating many of its features.

 Kingsoft Office Free comes with three programs--Writer, Spreadsheets, and Presentation--that seek to compete with Microsoft Word, Excel, and PowerPoint, respectively. They're not perfect, but if you're checking out free alternatives to Office, Kingsoft products are definitely worth a look.

We started with Kingsoft Writer, throwing it a challenge by attempting to open a Word document full of tables. The result was a jumble of foreign characters--not an auspicious start, especially considering the fact that Kingsoft claims that Writer can open all Word documents. For reasons we can't explain, the program handled other Word documents containing tables with no problems. Writer itself contains all the typical word-processing features that we've come to expect, with plenty of tools for formatting, inserting, spell checking, and so on. If there are significant differences between Writer and Word's abilities, only very advanced users of Word are likely to notice. The same was true of Spreadsheets; the program had some trouble handling spreadsheets created in Excel when it came to summing data in predefined cells, but workbooks created from scratch in Spreadsheets worked just fine, and all the typical spreadsheet features were present. Presentation handled existing PowerPoint files just fine, and had plenty of design templates to choose from. 

All three programs come with comprehensive Help files that explain their features. If you're very concerned about the compatibility of Microsoft Office files, Kingsoft Office Free might not be your best choice. But if that's not a huge priority or you're willing to put up with a few annoyances, we think Kingsoft Office Free is a great choice. It has nearly all the features you'd expect from an office suite in a lightweight package, and it's free, too.
Kingsoft Office Free installs politely but leaves a folder


Read more: Kingsoft Office 2012 - Download.com http://download.cnet.com/Kingsoft-Office-2012/3000-18483_4-12149248.html#ixzz1tVoZ9DqO

Introduction to Office Automation


What is office automation?

The term office automation refers to all tools and methods that are applied to office activities which make it possible to process written, visual, and sound data in a computer-aided manner.
Office automation is intended to provide elements which make it possible to simplify, improve, and automate the organisation of the activities of a company or a group of people (management of administrative data, synchronisation of meetings, etc.).
Considering that company organizations requires increased communication, today, office automation is no longer limited to simply capturing handwritten notes. In particular, it also includes the following activities:
  • exchange of information
  • management of administrative documents
  • handling of numerical data
  • meeting planning and management of work schedules

Office suite tools

The term "office suite" refers to all software programs which make it possible to meet office needs. In particular, an office suite therefore includes the following software programs:
The main office suites are:
  • AppleWorks
  • Corel WordPerfect
  • IBM/Lotus SmartSuite
  • Microsoft Office
  • Sun StarOffice
  • OpenOffice (freeware)

Sunday, 29 April 2012

Word 2010 Shortcut Keys


Sure, menus are wonderful, but all that clicking might not be the fastest way for you to get something done. Peruse the following table for the many shortcuts Microsoft Word 2010 offers.
Moving around in a document
Press ThisTo Move Insertion Pointer Here
Up one line of text
Down one line of text
Right one character
Left one character
Ctrl+↑Up one paragraph
Ctrl+↓Down one paragraph
Ctrl+→Right one word
Ctrl+←Left one word
PgUpUp one screen
PgDnDown one screen
EndTo end of current line
HomeTo start of current line
Ctrl+HomeTo top of document
Ctrl+EndTo bottom of document
The most common key commands
Press ThisTo Do This
Ctrl+CCopy
Ctrl+XCut
Ctrl+VPaste
Ctrl+ZUndo
Text-formatting key commands
To Do ThisPress This
BoldCtrl+B
ItalicCtrl+I
UnderlineCtrl+U
Double UnderlineCtrl+Shift+D
Word UnderlineCtrl+Shift+W
Small CapsCtrl+Shift+K
SuperscriptCtrl+Shift++
SubscriptCtrl+=
Erase FormattingCtrl+spacebar
Grow Font SizeCtrl+Shift+>
Shrink Font SizeCtrl+Shift+<
ALL CAPSCtrl+Shift+A
FontCtrl+Shift+F
Point SizeCtrl+Shift+P
Font Dialog BoxCtrl+D
Paragraph-formatting key commands
To Do ThisPress This
Center TextCtrl+E
Left AlignCtrl+L
Right AlignCtrl+R
One Line SpacingCtrl+1
1½ Line spacingCtrl+5
Two Line SpacingCtrl+2
JustifyCtrl+J
Indent ParagraphCtrl+M
UnindentCtrl+Shift+M
Hanging indentCtrl+T
Unhang indentCtrl+Shift+T
Common Word key commands
Feature/ActionPress This
HelpF1
CancelEscape
Go BackShift+F5
New DocumentCtrl+N
OpenCtrl+O
PrintCtrl+P
CloseCtrl+W
Quick SaveCtrl+S
RepeatCtrl+Y
FindCtrl+F
Find and ReplaceCtrl+H
Manual Page BreakCtrl+Enter
Uncommon (but useful) Word key commands
Feature/ActionPress This
Go ToF5
Show/HideCtrl+Shift+8
Office Button MenuAlt+F
Styles Task PaneCtrl+Shift+Alt+S
Print PreviewCtrl+Alt+I
Word CountCtrl+Shift+G
Symbol FontCtrl+Shift+Q
Print Layout ViewCtrl+Alt+P
Draft (Normal) ModeCtrl+Alt+N
Outline ModeCtrl+Alt+O
Split WindowAlt+Ctrl+S
Handy insert key commands
To Insert ThisPress This
Today's DateAlt+Shift+D
Current TimeAlt+Shift+T
Paste SpecialAlt+Ctrl+V
FootnoteAlt+Ctrl+F
EndnoteAlt+Ctrl+D
CommentCtrl+Alt+M