Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Feature and Future of ASP.NET
1. Features and Future of ASP.NET
Md. Mahedee Hasan
Microsoft MVP | Trainer | Speaker
Software Architect
LeadSoft Bangladesh Limited
Linkedin: http://www.linkedin.com/in/mahedee
Blog: http://mahedee.net/
1
2. Introduction to .NET Framework
• What is Microsoft .NET?
– Another Programming Language?
– No, then what it is?
– A framework that supports
• Programming Languages:
– e.g. C#, Visual Basic, C++, J# e.t.c
• Data, Markup Laguages:
– e.g. HTML, XML, CS
– A Software Platform.
– Language neutral.
– In general
• Framework is a basic or essential supporting structure of a system, concept or text.
MAHEDEE.NET 2
3. Introduction to .NET Framework …
Narrow view of .NET Application
MAHEDEE.NET 3
Operating System + Hardware
.NET Framework
.NET Application
4. ASP.net
• Introduction
– ASP - Active Server Pages
– Asp.net is an open source server-side Web application
framework
– Designed for Web development to produce dynamic Web
pages
– Introduced in 1998 as Microsoft's first server side scripting
engine.
MAHEDEE.NET 4
5. ASP.net
• Introduction …
– ASP.NET is a new ASP generation.
– ASP.NET pages are compiled, which makes them faster
– ASP.NET pages have the extension .aspx, and are normally
written in VB (Visual Basic) or C# (C sharp).
MAHEDEE.NET 5
6. ASP.net …
• Logical Evolution of ASP
• Supports multiple languages
• Improved performance
• Control-based, event-driven execution model
• More productive
• Cleanly encapsulated functionality
MAHEDEE.NET 6
7. ASP.net …
• ASP.net Web form
– Allows clean cut code
– Code-behind Web Forms
– Easier and rich tool
– Code within is compiled then executed
– Improved handling of state information
– Support for ASP.NET server controls
– Data validation
– Data bound grids
MAHEDEE.NET 7
8. What’s new .NET 4.5
• General
– Script/Libraries as NuGet pkgs
– Project Templates
– Web Optimization
– Async
– Request Validation
– Data Annotations
– HTML 5 Web Sockets
– 30% Faster Start
– 30% Smaller Memory
MAHEDEE.NET 8
9. What’s new .NET 4.5
• MVC
– HTML 5
– Mobile
• Web API
– New framework for REST based HTTP Services
MAHEDEE.NET 9
10. What’s new .NET 4.5
• Web Forms
– HTML 5 Controls
– Model Binders
– Strongly Typed Data Controls
– Unobtrusive JavaScript Validation
MAHEDEE.NET 10
11. Open Source
• aspnetwebstack.codeplex.com
– ASP.NET MVC, ASP.NET Web API, ASP.NET Web Pages
• entityframework.codeplex.com
– Entity Framework
• github.com/SignalR/SignalR
– ASP.NET SignalR
MAHEDEE.NET 11
12. What’s new in 2012.2?
• Web Forms
– Scaffolding
– Friendly URLs
• MVC
– SPA template
– Facebook template
– Extensible templates
MAHEDEE.NET 12
13. What’s new in 2012.2?
• Web API
– OData
– Tracing
– Help pages
MAHEDEE.NET 13
14. What’s new in 2012.2?
• Visual Studio
– LESS
– Syntax highlighting (CoffeeScript, Knockout, Mustache,
Handlebars, JSRender)
– Mobile Emulator
– Selective Publishing
– Website Publish
MAHEDEE.NET 14
Unobtrusive JavaScript is a general approach to the use of JavaScript in web pages. Though the term is not formally defined, its basic principles are generally understood to include:
Separation of functionality (the "behavior layer") from a Web page's structure/content and presentation[1]
Best practices to avoid the problems of traditional JavaScript programming (such as browser inconsistencies and lack of scalability)
Progressive enhancement to support user agents that may not support advanced JavaScript functionality[2]