Professional Visual Basic 2012 and .NET 4.5 Programming

Professional Visual Basic 2012 and .NET 4.5 Programming

Bill Sheldon, Rob Windsor, David McCarter, Todd Herman

Language: English

Pages: 912

ISBN: 111831445X

Format: PDF / Kindle (mobi) / ePub

Professional Visual Basic 2012 and .NET 4.5 Programming

Bill Sheldon, Rob Windsor, David McCarter, Todd Herman

Language: English

Pages: 912

ISBN: 111831445X

Format: PDF / Kindle (mobi) / ePub


Explore Visual Basic 2012 and .NET 4.5 with this fully updated resource

After a quick review of the of introductory topics of Visual Basic 2012 and .NET 4.5, this book moves quickly into advanced topics such as data access with ADO.NET, security, ASP.NET web programming with Visual Basic, Windows workflow, and threading. You'll explore the essential Visual Basic 2012 functions you need, including .NET features such as LINQ, WCF, and more. Plus, you'll examine exception handling and debugging, Visual Studio features, and deployment.

  • Puts the new Async keyword and Iterators to work
  • Explores new options and interfaces presented by Windows 8 development and WinRT
  • Continues strong coverage of core language elements and tools and creating componentized applications

This updated version of Professional Visual Basic 2012 and .NET 4.5 retains its expert author team, including one of the best-known and respected Microsoft Visual Basic MVPs, Bill Sheldon, and Microsoft Regional Director “Software Legend” Billy Hollis.

Learning Spark: Lightning Fast Big Data Analysis

Programming Windows Identity Foundation

Oracle BPM Suite 11g Developer's cookbook

C# 5.0 All-in-One For Dummies

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

in a specific scenario. The ID property is the most obvious. Developers use it to get and set the control’s ID. It must be unique to the page at design time. The UniqueID property is a read-only property generated at run time that returns an ID that has been prepended with the containing control’s ID. This is essential so that ASP.NET can uniquely identify each control in the page’s control tree, even if the control is used multiple times by a container control such as a Repeater or GridView.

far, you have seen how easy it is to build a simple server control and emit the proper HTML, including attributes. However, modern web development techniques generally restrict the use of HTML to a basic content description mechanism, relying instead on CSS for the positioning and styling of HTML elements in a web page. In this section, you learn how you can have your control render style information. As mentioned at the very beginning of this section, you are creating controls that inherit from

cases saving these various renderings in the cache makes sense. A Firefox user might have slightly different HTML than an IE user, so you do not want to send all users the same post-rendered HTML. Literally dozens, if not hundreds, of User-Agent strings exist in the wild because they identify more than just the browser type; this OutputCache directive could multiply into thousands of versions of this page being cached, depending on server load. In this case, you should measure the cost of the

APPLICATIONS ASP.NET MVC (MVC) is a framework for building standards-based web applications that are easily scalable and testable. It uses the well-established Model-View-Controller design pattern. In MVC 3, a set of features were introduced to make mobile web development easier. Even with these features, it is increasingly difficult to provide a consistent experience on so many different mobile browsers and platforms. MVC 4 enhances and adds to the features originally introduced in version 3.

collection of the System.Web.Configuration.WebConfigurationManager class to read the connection strings, as shown in Listing 28-33. LISTING 28-33: Binding the ConnectionStrings collection properties to a GridView control VB Protected Sub Page_Load(sender As Object, e As EventArgs) GridView1.DataSource = System.Web.Configuration.WebConfigurationManager.ConnectionStrings GridView1.DataBind() End Sub C# protected void Page_Load(object sender, EventArgs e) { GridView1.DataSource =

Download sample

Download