New team member / new project for the team Helps analyze relationships and structure Understanding code Locates code in unfamiliar code bases Understand.

Slides:



Advertisements
Similar presentations
11 Getting Started with ASP.NET Beginning ASP.NET 4.0 in C# 2010 Chapters 5 and 6.
Advertisements

FIRST LOOK AT “ORCAS” Scott Guthrie General Manager.NET Developer Platform.
The Web Warrior Guide to Web Design Technologies
Windows Programming 1 Part 1 dbg --- Getting Acquainted with Visual Studio.NET and C#
Name SuPeng. .NET Framework & Visual Studio Roadmap.NET Framework 3.5 overview Visual Studio design goals Lap around new features.
ASP.NET 3.5 Mike Ormond Developer & Platform Group Microsoft Ltd
Chalermvong Vijitpiyakul Microsoft MVP Greatfriends.biz Community Lead GF 30 August 2009.
Web Development in Microsoft Visual Studio Slide 2 Lecture Overview Introduce Visual Studio 2013 Create a first ASP.NET application.
Building a Complete Web Application Using ASP.NET 3.5 & Visual Studio 2008 (Part 1 of 2) Jeff King Program Manager Microsoft Corporation
Visual Studio 2008 and ASP.NET 3.5 Mike Ormond Developer & Platform Group Microsoft Ltd
What’s new in ASP.NET 3.5? Mike Ormond Developer & Platform Group Microsoft Ltd
Visual Studio: Custom debugger visualizers. Creating Debugger Visualizers with Visual Studio : Introduction Code debugging is one of the most important.
Creating and Running Your First C# Program Svetlin Nakov Telerik Corporation
Aptech Borivali(West) Hefin Dsouza. Agenda  What is.NET and What is Visual Studio? .NET Framework 3.5 Overview.  Visual Studio 2008 Enhancements. 
XP New Perspectives on Microsoft Access 2002 Tutorial 71 Microsoft Access 2002 Tutorial 7 – Integrating Access With the Web and With Other Programs.
UNIVERSIDAD TECNOLÓGICA ECOTEC. ISO 9001:2008 Module 2 Creating Web Applications by Using Microsoft® Visual Studio 2010 and Microsoft.NET–Based Languages.
Creating and Running Your First C# Program Telerik Software Academy Telerik School Academy.
Windows.Net Programming Series Preview. Course Schedule CourseDate Microsoft.Net Fundamentals 01/13/2014 Microsoft Windows/Web Fundamentals 01/20/2014.
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
Deployment of web Site. Preparing the web site for deployment you now have two versions of web site 1 -one running in the production environment 2-one.
CIS 375—Web App Dev II ASP.NET 2 Introducing Web Forms.
1 Sandcastle Documentation Compilers For Managed Class Libraries common) Enabling managed class library developers throughout the world to easily create.
Eric Vogel Software Developer A.J. Boggs & Company.
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. WEB.
Module 1: Introduction to C# Module 2: Variables and Data Types
Lecture Set 1 Part B: Understanding Visual Studio and.NET – Structure and Terminology 1/16/ :04 PM.
What’s New In Visual Studio 2010 Denys Kholod Technology Expert Hmarasoft.com.
Creating and Running Your First C# Program Svetlin Nakov Telerik Corporation
Lesley Bross, August 29, 2010 ArcGIS 10 add-in glossary.
CSC 494/594 C# and ASP.NET Programming. C# 2012 C# Object-oriented language with syntax that is similar to Java.
Neal Stublen Class Objectives  Develop an understanding of the.NET Framework  Gain proficiency using Visual Studio  Begin learning.
ASP.NET  ASP.NET is a web development platform, which provides a programming model, a comprehensive software infrastructure and various services required.
McGraw-Hill/Irwin © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Dynamic Action with Macromedia Dreamweaver MX Barry Sosinsky Valda Hilley.
ASP.NET and Model View Control Jesper Tørresø ITNET2 F08.
© FPT Software Code Review with VS © FPT Software Agenda What is Code review? Run Code analysis in VS 2012 Configuring Code Analysis rule set.
Web Programming: Client/Server Applications Server sends the web pages to the client. –built into Visual Studio for development purposes Client displays.
ASP.NET application. Roadmap ASP.NET file types Bin directory Application updates Simple application from start to finish using a virtual directory Behind.
Lecture Set 2 Part B – Configuring Visual Studio; Configuration Options and The Help System (scan quickly for future reference)
The Web Architecture and ASP.NET. Slide 2 Review of the Web (1) It began with HTTP and HTML, which delivers static Web pages to browsers which would render.
Visual Studio 2010 and.NET Framework 4 Training Workshop.
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. WEB.
Expression Web 3... now with TFS!. What is Expression Web 3? Professional web design and development tool Create standards-based Web sites faster & easier.
Lap Around Visual Studio 2008 &.NET 3.5 Enhancements.
Introduction to ASP.NET T.Ahlam Algharasi. The Visual Studio IDE Start page 2.
Introduction to Exception Handling and Defensive Programming.
Bradley Millington Senior Program Manager Microsoft Corporation SESSION CODE: WEB 306.
What’s New for Web Developers in ASP.NET and Visual Studio 2008 Kate Gregory Microsoft Regional Director
Module 1: Getting Started. Introduction to.NET and the.NET Framework Exploring Visual Studio.NET Creating a Windows Application Project Overview Use Visual.
Web Development in Microsoft Visual Studio Slide 2 Lecture Overview How to create a first ASP.NET application.
Jeff King Senior Program Manager Microsoft Session Code: WIA204.
ASP.NET in Definition: 1.ASP.NET is a web application framework developed and marketed by Microsoft to allow programmers to build dynamic web sites,
Building Excellent Internet & Intranet Solutions Dave Remmer Architect Advisor Microsoft Canada
1 Working with ASP.NET Master Pages By huda AlSuwailem Reference: Mastering Microsoft Visual Web Developer 2005 Express Edition by John Paul Mueller.
CIS 375—Web App Dev II ASP.NET 1 Getting Started.
.NET Mobile Application Development XML Web Services.
Lecture Set 1 Part B: Understanding Visual Studio and.NET – Structure and Terminology 1/16/ :04 PM.
1 CSC160 Chapter 1: Introduction to JavaScript Chapter 2: Placing JavaScript in an HTML File.
What was new in VS Studio 2008 A bird eye view from the height of ft By: Shahzad Sarwar Software Architect Comsoft computer consultants.
Entity Framework Database Connection with ASP Notes from started/getting-started-with-ef-using-mvc/creating-an-
Introduction to ASP.NET development. Background ASP released in 1996 ASP supported for a minimum 10 years from Windows 8 release ASP.Net 1.0 released.
Building Complete Web Application Using ASP.NET 3.5 & Visual Studio 2008 Omar Khan Group Program Manager Visual Studio.
//liveVirtualacademy2011/ What’s New for ASP.NET 4.5 and Web Development in Visual Studio 11 Developer Preview Γιώργος Καπνιάς MVP, MCT, MCDP, MCDBA, MCTS,
ASP.NET 2.0 Mohammed Abdelhadi Developer.NET Evangelist Microsoft Corporation.
Introduction ITEC 420.
DotNetSpider Editor Hefin Dsouza
Visual Studio 2010 and .NET Framework 4 Training Workshop
/* LIFE RUNS ON CODE*/ Konstantinos Pantos Microsoft MVP ASP.NET
ASP.NET 3.5 Mike Ormond Developer & Platform Group Microsoft Ltd
Web Development in Microsoft Visual Studio 2013
Visual Studio 2008.
Presentation transcript:

New team member / new project for the team Helps analyze relationships and structure Understanding code Locates code in unfamiliar code bases Understand call graphs Navigating code Consume first development Code generation Writing code Stepping behavior Inspect object properties Debugging code

VS 2010 “Navigate To” Support

View Call Hierarchy VS 2010 introduces a new “View Call Hierarchy” feature that allows you to quickly discover where a particular method or property within your code-base is being called from

View Call Hierarchy

Multiple Monitor Support:

Code Intellisense with VS 2008

Code Intellisense with VS 2010

VS 2010’s Multi-Targeting Support Microsoft has made some pretty major architectural changes with VS 2010 to enable much better and more accurate multi-targeting support. They also updated the VS 2010 debugger, profiler and compilers to be able to target multiple versions of the CLR.

Moving a Project from.NET 2.0 to.NET 4.0 We can optionally retarget our project to work with a later version of.NET by right-clicking on the project within the solution explorer and by bringing up its properties dialog. We can select the “target framework” dropdown within it and select the version of the.NET Framework we want to target:

ASP.NET Version:

Share Point Integration in 2010 Visual Studio 2010 now includes built-in support for building SharePoint applications. You can now Create,edit,build and debug SharePoint applications directly within Visual Studio You can also now use SharePoint with TFS ASP.NET, HTML, JavaScript Snippet Support (VS 2010 and.NET 4.0 Series) Snippets allow you to be more productive within source view. Allowing you to create chunks of code with a minimum of character typing. Visual Studio has supported the concept of “snippets” for VB and C# in previous releases – but not for HTML, ASP.NET markup and JavaScript. With VS 2010 we now support snippets for these content types as well.

Snippet for loginView Control:

C# 1.0 C# 2.0 C# 3.0 Managed Code Generics Language Integrated Query C# 4.0 Dynamic Programming

C# 4.0 Language Innovations

Introduction Since the inception of C#, each version bought some major changes and amendments in the language. For example, in C# 1.0, the major theme was Managed Code. Then in C# 2.0, Generics were introduced and lastly in C# 3.0 LINQ was introduced. C# 4.0 introduced the concept of Dynamic Programming in C#. Overall there are four main features that are introduced in the upcoming C# 4.0: Dynamic Programming C# 4.0 supports Dynamic Programming by introducing new Dynamic Typed Objects. The type of these objects is resolved at run-time instead of at compile-time.

A new keyword dynamic is introduced to declare dynamic typed object. The keyword tells the compiler that everything to do with the object, declared as dynamic, should be done dynamically at the run-time using Dynamic Language Runtime(DLR) Before Dynamic Programming the code for reflection is like: After Dynamic Programming Introduced in C# 4.0:

From the above slide, you can call method(s) such as x.ToString(), y.ToLower(), z.Add(1), etc. and it will work smoothly. :) This feature is great and provides much flexibility for developers. Of course there are pros and cons of dynamic programming as well but where C# is going is something like having features of both static languages and dynamic languages.

Optional Parameters The second feature is Optional Parameters. Let’s say I have a class Employee and I provide few overloads of the constructor to enable making certain parameters as optional as follows:

With C# 4.0, you need to create just one constructor for that as follows: As simple as that :) and you can easily call that as follows: Named Argument: we discussed an example of Employee class in which we passed some optional parameters in the constructor:

And I can simply call that as shown below: A question can be raised "Is there any way that we can skip qualification, i.e. third parameter and give the last parameter of middleName?" "Yes absolutely, we can and that feature is called Named Argument in C# 4.0."

Optional “ref” modifier object fileName = "Test.docx"; object missing = System.Reflection.Missing.Value; doc.SaveAs(ref fileName, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing); object fileName = "Test.docx"; object missing = System.Reflection.Missing.Value; doc.SaveAs(ref fileName, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing); doc.SaveAs("Test.docx"); doc.SaveAs("Test.docx");

Clean Web.Config Files The new.NET 4 machine.config file now automatically registers all of the ASP.NET tag sections, handlers and modules that we’ve added over the years, including the functionality for: ASP.NET AJAX ASP.NET Dynamic Data ASP.NET Routing (which can now be used for both ASP.NET WebForms and ASP.NET MVC) ASP.NET Chart Control (which now ships built-into ASP.NET V4) What this means is that when you create a new “Empty ASP.NET application” project in VS 2010, you’ll find that the new default application- level web.config file is now clean and simple:

Web.Config files in.Net 4

Auto-Start ASP.NET Applications Some web applications need to load large amounts of data, or perform expensive initialization processing Developers using ASP.NET today often do this work using the “Application_Start” event handler within the Global.asax file ASP.NET 4 ships with a new feature called “auto-start” that better addresses this scenario. You can do this by opening up the IIS 7.5 applicationHost.config file (C:\Windows\System32\inetsrv\config\applicationHost.config)