Download presentation
Presentation is loading. Please wait.
Published byMercy Richard Modified over 8 years ago
1
© Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel www.sela.co.il
2
Write better Web Applications – New Core Services & Project Options – New Ajax Options – Management is easier Write Faster – New IDE features – New Controls improvements – More… © Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel
3
Setting up VS2010 Beta 1 is no different then VS 2008 It can be installed side-by-side with VS 2008.NET Framework 4.0 can co-exist with.NET 2.X/3.X even in the same process For IIS, the default ASP.NET version is 4.0 Uninstalling VS 2010 wont hurt VS208 Remember: BETA! © Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel 3
4
There are three different versions that target different audience – The Express Edition Free! Target Students and Hobbits Only basic functionality for code and debug – Professional Full version with no team system tools for architecting, testing, performance, and team collaboration – VSTS – Team System Edition The ultimate version © Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel 4
6
IDE is now based on WPF – Clears the UI organization – Reduces clutter and complexity – Better supports multiple document windows – Better multi-monitor support – Zooming with the CTRL + Mouse Wheel – Easier to extend Internals have been redesigned using Managed Extensibility Framework (MEF) – More extensibility points – Much easier Add-in dev experience (On-Line VS Gallery) © Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel 6
7
Improved CSS Compatibility HTML and Jscript Snippets Jscript intellisense Enhancements Quick Search (Navigate To..) Call Hierarchy Consume First + Generation © Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel
10
Configure one or more custom output-cache providers More aggressive and more intelligent output-caching strategies for your Web sites <add name="DiskCache" type="Test.OutputCacheEx.DiskOutputCacheProvider, DiskCacheProvider"/> © Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel 10
11
New compression option for both kinds of out-of- process session-state providers(State service, MSSQL). Using behind the scene, the.NET Framework System.IO.Compression.GZipStream class <sessionState mode="SqlServer" sqlConnectionString="data source=dbserver;Initial Catalog=aspnetstate" allowCustomSqlDatabase="true" compressionEnabled="true" /> © Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel 11
12
System.Runtime.Caching.dll assembly – System.Runtime.Caching.MemoryCache class Allow call from any Application Type without System.Web.dll dependency 12 © Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel
13
More granular view into the resource consumption % Managed Processor Time Managed Memory Used (in aspnet.config) © Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel 13
14
Expand URL range from 260 characters (old asp.net) to customize value Customize request path validator <httpRuntime maxRequestPathLength="260" maxQueryStringLength="2048" />,*,%,&,:,\" />
15
Prevent Cross-site scripting (XSS) attacks Validate Process on HttpRuntime Customizable with your code public class CustomRequestValidation : RequestValidator { protected override bool IsValidRequestString( HttpContext context, string value, RequestValidationSource requestValidationSource, string collectionKey, out int validationFailureIndex) {…} }
16
Use with IIS 7.5 PreloadProvider using System.Web.Hosting.IProcessHostPreloadClient public class CustomInitialization : System.Web.Hosting.IProcessHostPreloadClient { public void Preload(string[] parameters) { // Perform initialization. } In applicationHost.config }
17
Web.config Minification Redirecting a Page Permanently (Extensible HTML,URL and HTTP Header Encoding) Better Multi-Targeting 17 © Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel
20
New template engine for client development Declarative Behavior Can work with DataView Control <ul id="myTemplate" class="sys-template" sys:attach="dataview" > {{ Name }} {{ Description }} © Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel 20
21
Incorporating Code into a Template by Using the code:if, code:before, and code:after Attributes {{BirthDate.localeFormat("dd/MM/yyyy")}} {{ Name }} {{ Description }} © Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel 21
22
DataView Control AdoNetServiceProxy Class Refactoring Microsoft Ajax Libraries DOM Ready Event JSONP 22 © Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel
25
Feature for Search Engine Optimize (SEO) Allow set page meta tags keywords Description <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" Keywords="These, are, my, keywords" Description="This is a description" %> © Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel 25
26
.ViewStateMode – Enabled (default value) – Disabled – Inherit Can be specified separately for each control Can be forced on all control at the Page Directive 26 © Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel
27
Using ASP.NET Standard Browser Capabilities – Use aspnet_regbrowsers.exe –i, will create ASP.BrowserCapsFactory.dll and install to GAC – Restart IIS (iisreset) Custom your Browser Capabilities – Derived HttpCapabilitiesProvider Class – Override the GetBrowserCapabilities – Register to web.config – Can use in Global.asax Application_Start() Event 27 © Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel New browser Definition Files : Chrome.browser FireFox.browser iPhone.browser Safari.browser BlackBerry.browser Opera.browser GateWay.browser Safari.browser IE.browser Generic.browser Default.browser
28
Simple Urls and SEO optimizations Can specify rules for URL structure Reading the values from a Web Form, Accessing in Markup and specify a routeparameter in Binding Page.RouteData.Values["searchterm"] as string; ---------------------------------------------- ">Search for Yosi ---------------------------------------------- … © Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel 28
29
At last, Controlling the generated Client id’s – ClientIDMode AutoID – Auto Generated by ASP.NET. Static – Fixed ID Predictable – Usually for repeating template control, generally controlled via ClientIDRowSuffix to be a unique value Inherit –default behavior 29 © Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel
30
Works with LinqDataSource and EntityDataSource Helps in filtering database results Using different kind of expressions: TableName="Products"> © Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel 30 Search Range Property Custom
31
ASP.NET Chart Control HTML 31 © Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel
34
Templated Helpers Areas Support for Data Annotations © Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel 34
35
Preview 2 and beyond – Client Validation – Strongly-typed input helpers – Strongly-typed link helpers – Asynchronous Controller Actions – More based on feedback © Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel
36
MVCWeb Forms You want full control over markupYou like programming against the reusable control abstraction that encapsulate UI and logic You want a framework that enforces separation of concerns You like using the WYSWIG designer and would rather avoid angle brackets TDD/Unit Testing is a priority for youYou like keeping logic on the server rather than hand writing Javascript Control abstractions get in your way more than they help Unit testing with the MVP pattern is sufficient for your needs You like writing Javascript
37
© Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel
39
Web Packaging - Packaging your web applications into.zip files Web.Config Transformation - Transforming your web.config file (i.e. connection string, debug flags etc) from dev environment to production environment DB Deployment - Packaging and deploying your SQL Server databases along with your web application Web Publishing - Using Web 1-Click Publish functionality to deploy your web application with ease. 39 © Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel
42
ASP.NET 4 Better Core Services ASP.NET 4 Better : Web Forms Ajax MVC Dynamic Data ASP.NET 4 Faster Coding © Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel
43
Official sites – Central landing site: http://asp.nethttp://asp.net – Forums: http://forums.asp.nethttp://forums.asp.net Source available – Source drop: http://codeplex.com/aspnethttp://codeplex.com/aspnet Blogs – http://blogs.microsoft.co.il/blogs/noam http://blogs.microsoft.co.il/blogs/noam – http://weblogs.asp.net/scottgu http://weblogs.asp.net/scottgu – http://hanselman.com/ http://hanselman.com/ – http://haacked.com/ http://haacked.com/
44
WEB DEVLOPERS COMMUNITY (WDC) New Technologies Architecture Legacy Systems Data Traffic & Maintenance New Languages Community Driven JOIN WDC !! Every First Sunday of Any Month © Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel
45
© Copyright SELA software & Education Labs Ltd. 14-18 Baruch Hirsch St.Bnei Brak 51202 Israel www.sela.co.il Thank You ! Please Fill your Evaluation Forms
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.