I just stumbled upon an interesting web site relates to Agile software development. It’s a Manifesto for Agile Software Development. It’s really short so when you get a chance, go there and read it.
The Future of HTML5
At MIX11, Giorgio Sardo gives an introduction to HTML5 and its current status. He also covers Microsoft’s approach and implementation to this new standards.
Here’s the link to his video on MSDN’s Channel 9:
http://channel9.msdn.com/events/mix/mix11/HTM17
Visual Studio 2010 Service Pack 1
Visual Studio 2010 Service Pack 1 is available for download for general public on March 10.
With this service pack for Visual Studio an update to the .NET Framework 4.0 is also released.
For detailed information about these releases, please refer to the corresponding KB articles:
* Update for Microsoft .NET Framework 4
* Description of Visual Studio 2010 Service Pack 1
Microsoft Web Farm Framework 2.0 has been released
The Microsoft Web Farm Framework is a free product from Microsoft that enables you to easily provision and manage a farm of web servers. It allows you to automate the installation and configuration of platform components across a group of web servers, and enables you to automatically synchronize and deploy ASP.NET applications across them. It also supports integration with Windows load balancers – and enables you to automate updates across your servers so that your site/application is never down or unavailable to customers (it can automatically pull servers one-at-a-time out of the load balancer rotation, update them, and then inject them back into rotation).
Click here for more information about Microsoft Web Farm framework.
To get more information about the v2.0 of the framework, you can visit Scott’s blog.
ASP.NET MVC 3 has been released
You can download it here
ASP.NET MVC 3 Release Candidate
Today’s ASP.NET MVC 3 RC build contains a bunch of goodness that makes web development with ASP.NET MVC such as:
- Razor Intellisense within Visual Studio. It now works for HTML, C#, VB, JavaScript and CSS when editing within razor based view templates
- NuGet Package Manager. You can use NuGet to easily download and install both commercial and open source libraries within your projects
- Partial Page Output Caching
- and many more…
You can download it here.
ASP.NET Security Update
What does the vulnerability enable?
- An attacker using this vulnerability can request and download files within an ASP.NET Application like the web.config file (which often contains sensitive data).
- An attacker exploiting this vulnerability can also decrypt data sent to the client in an encrypted state (like ViewState data within a page).
How the Vulnerability Works
To understand how this vulnerability works, you need to know about cryptographic oracles. An oracle in the context of cryptography is a system which provides hints as you ask it questions. In this case, there is a vulnerability in ASP.NET which acts as a padding oracle. This allows an attacker to send cipher text to the web server and learn if it was decrypted properly by examining which error code was returned by the web server. By making many such requests (and watching what errors are returned) the attacker can learn enough to successfully decrypt the rest of the cipher text.
How to fix this
Please go to Scott Guru’s blog for the download links based on the version of your .NET framework and Server OS.
AutoMapper – A convention-based object-object mapper
AutoMapper uses a fluent configuration API to define an object-object mapping strategy. It uses a convention-based matching algorithm to match up source to destination values. Currently, it is geared towards model projection scenarios to flatten complex object models to DTOs and other simple objects, whose design is better suited for serialization, communication, messaging, or simply an anti-corruption layer between the domain and application layer.
Conventions
Since AutoMapper flattens, it will look for:
- Matching property names
- Nested property names (Product.Name maps to ProductName, by assuming a PascalCase naming convention)
- Methods starting with the word “Get”, so GetTotal() maps to Total
- Any existing type map already configured
Basically, if you removed all the “dots” and “Gets”, AutoMapper will match property names. Right now, AutoMapper does not fail on mismatched types, but for some other reasons.
Features rundown
AutoMapper supports:
- Mapping of simple types
- Mapping to arrays from any IEnumerable source
- Custom member resolution, for that 1% case you have to do some extra mapping work
- Polymorphic array mapping
- Custom formatting for mapping from any type to a string
- Global formatters
- Null substitutes for formatting (i.e. a missing Product formats to “n/a”)
- Profiles, for separating different sets of configurations (JSON vs. ViewModel vs. EditModel etc)
Other features include:
- Convention of no null destination objects, ever.
- No null destination array properties, ever.
- A fluent configuration, with both a method chaining syntax (through Mapper) and object scoping (through a Profile)
For more information, please go to http://automapper.codeplex.com/
How To: Enable debugging ASP.NET application with IE 8 in VS 2003
IE 8 has a feature called Loosely-Coupled Internet Explorer (LCIE) which results in IE running across multiple processes. So older versions (Visual Studio 2003 or older) of the Visual Studio Debugger get confused by this and cannot figure out how which process is the right one to attach itself to. You can work around this by disabling the process growth feature of LCIE. Here’s how:
- Open registry editor by clicking on the Start button, Run, type in regedit, and press enter
- Browse to HKEY_LOCAL_MACHINE -> SOFTWARE -> Microsoft -> Internet Explorer -> Main
- Add a dword under this key called TabProcGrowth
- Set TabProcGrowth to 0
Visual Studio 2010 and .NET Framework 4 will be released today
The new release of Visual Studio 2010 has plenty of compelling new features and updates that will make every developer more productive. For instance:
- Visual Studio 2010 allows users target of the right platform for their application, including Windows 7, Windows Server 2008 R2, SQL Server 2008, SharePoint. Office, Windows Azure, and Windows Phone 7 applications using their existing skills.
- Visual Studio 2010 is a rich, personalized development environment. We know that software developers spend much of their time in the IDE, and features like the new editor and multi-monitor support make your time in Visual Studio more productive and enjoyable.
Teams are able to work more efficiently using Application Lifecycle Management tools. The Visual Studio 2010 team have done a great deal of work in Visual Studio 2010 to improve testing and debugging tools. Features like IntelliTrace and easy project management help your team ensure high quality.
If you are an MSDN subscriber, later in the day on April 12th you can download Visual Studio 2010 from MSDN.