Countdown to Ext JS 4: Drawing and Charting
Category Archives: .NET 4.0
Thursdays links
New stuff in ASP.NET world!
Last week Scott Gu posted about several new things coming up onto the ASP.NET scene. They are:
IIS Developer Express: A lightweight web-server that is simple to setup, free, works with all versions of Windows, and is compatible with the full IIS 7.5.
SQL Server Compact Edition: A lightweight file-based database that is simple to setup, free, can be embedded within your ASP.NET applications, supports low-cost hosting environments, and enables databases to be optionally migrated to SQL Server.
ASP.NET “Razor”: A new view-engine option for ASP.NET that enables a code-focused templating syntax optimized around HTML generation. You can use “Razor” to easily embed VB or C# within HTML. It’s syntax is easy to write, simple to learn, and works with any text editor.
WebMatrix: A new lightweight web development tool that also integrates the above technologies, and makes it even easier for people to get started with web development using ASP.NET. This tool is free, provides core coding and database support, integrates with an open source web application gallery, and includes support to easily publish/deploy sites and applications to web hosting providers.
.Net Framework 4.0 new features
.Net Framework 4.0 adds also some new and cool features to file system objects. File class has now ReadLines() methods that returns IEnumerable
Also the new .Net Framework 4.0 Beta 2 has new IsNullOrWhiteSpace() method for strings generalizes IsNullOrEmpty() method to incluse also other white space besides empty string. In this posting I will show you simple example that illustrates how to use IsNullOrWhiteSpace() method.
.Net Framework 4.0 Beta 2 introduces new class in System.Numerics namespace: Complex. Complex represents complex numbers and enables different arithmetic operations with complex numbers. In this posting I will show you how to use complex numbers in .Net Framework 4.0 applications.
Complex class has two constructors – one of them has no arguments and the other takes real and complex parts of complex number. Complex numbers have also properties for phase and magnitude. Let’s see the following code.
Here is a more complete list:
* Complex Number
* Location
* IObservable
* Stream.CopyTo
* Guid.TryParse, Version.TryParse, and Enum.TryParse
* Enum.HasFlag
* String.Concat and String.Join overloads that take IEnumerable
* String.IsNullOrWhiteSpace
* Environment.SpecialFolder additions
* Environment.Is64BitProcess and Environment.Is64BitOperatingSystem
* Path.Combine params support
* TimeSpan Globalized Formatting and Parsing
* Stopwatch.Restart
* StringBuilder.Clear
* IntPtr and UIntPtr Addition and Subtraction operators
* ServiceProcessInstaller.DelayedAutoStart
* ObservableCollection
To read more, follow the links here and here.
To read about “Data Binding in ASP.NET AJAX 4.0” click here.
Visual Studio 2010 Beta 2 and .NET Framework 4 Beta 2
Today from Microsoft released the links to download the new Visual Studio 2010 Beta 2 and .NET Framework 4 Beta 2!
Here is the link.
VS 2010 Product Line SKU Simplifications
With VS 2010 we are simplifying the product lineup and pricing options of Visual Studio, as well as adding new benefits for MSDN subscribers. With VS 2010 we will now ship a simpler set of SKU options:
* Visual Studio Express: Free Express SKUs for Web, VB, C#, and C++
* Visual Studio 2010 Professional with MSDN: Professional development tools as you are used to today with the addition of source control integration, bug tracking, build automation, and more. It also includes 50 hours/month of Azure cloud computing.
* Visual Studio 2010 Premium with MSDN: Premium has everything in Professional plus advanced development tools (including richer profiling and debugging, code coverage, code analysis and testing prioritization), advanced database support, UI testing, and more. Rather than buying multiple “Team” SKUs like you would with VS 2008, you can now get this combination of features in one box with VS 2010. It also includes 100 hours/month of Azure cloud computing.
* Visual Studio 2010 Ultimate with MSDN: Ultimate has everything in Premium plus additional advanced features for developers, testers, and architects including features like Intellitrace (formerly Historical Debugging), the new architecture tools (UML, discovery), test lab management, etc. It also includes 250 hours/month of Azure cloud computing.
Side by Side Support with VS 2008
VS 2010 and .NET 4.0 can be installed side-by-side on the same machine as VS 2008 and .NET 3.5. You can install the Beta 2 version on a machine and it will not impact your existing VS 2008 / .NET 3.5 development.
Go-Live License Available
.NET 4 and VS 2010 Beta 2 include a “go-live” license which means you can start using the products for production projects.
URL Routing with Visual Studio 2010 and ASP.NET 4
Some of the new features also include making SEO-friendly url’s. Before we used to write some keywords mapping but now it all could be done with code.
Before:
http://ajaxus.net/news.php?newsID=23232
Now:
http://ajaxus.net/news/Url_routing
This can be achieved with the function MapPageRoute.
Handling PostBack Scenarios
URL Routing with ASP.NET 4.0 fully supports postback scenarios. The
Free download Visual Web Developer book!
Here are four free chapters from the book “The Microsoft Expression Web Developer’s Guide to ASP.NET 3.5: Learn to create ASP.NET applications using Visual Web Developer 2008“. You can download it from here or buy it from here.
The list of the free chapters:
* Creating Web sites
* Creating and Managing CSS Styles
* Applying CSS to Web Forms
* Debugging ASP.NET Applications
ASP.NET 4.0 and Visual Studio 2010 Web Development Beta 2 Overview
Many exciting changes for ASP.NET are coming in the .NET Framework version 4. This document gives an overview of many of the new features that are included in the upcoming Beta 2 release of the .NET Framework 4 and of Visual Studio 2010.
Download it from here!
VB and C# enhancements in VS 2010
I have found this post at somasegar’s blog writing about the new enhancements in VB and C# languages.
About VB.NET they include:
– removed the underscore (“_”) character when breaking a code statement across multiple lines
– simple way of declaring properties
– collection initializers and array literals are simpler as well
– better support for lambdas
– interoperating with dynamic language code such as Python and Ruby are simpler
Read also about C# improvements and find nice code samples here.