Categories

Archives

A sample text widget

Etiam pulvinar consectetur dolor sed malesuada. Ut convallis euismod dolor nec pretium. Nunc ut tristique massa.

Nam sodales mi vitae dolor ullamcorper et vulputate enim accumsan. Morbi orci magna, tincidunt vitae molestie nec, molestie at mi. Nulla nulla lorem, suscipit in posuere in, interdum non magna.

There is a new fish in the town: Visual Studio 2010

It’s been happy to hear that Microsoft has released it’s Visual Studio 2010 and .NET 4.0 on 12th April 2010. That’s what i like about microsoft, Time line is time line and they have provided us with the Best Visual Studio IDE ever. I was so comfortable with VS 2003 once upon a time than VS 2005 and 2008. But now i am gonna change my mind.

Microsoft Visual Studio is an Integrated Development Environment (IDE) from Microsoft. It can be used to develop console and graphical user interface applications along with Windows Forms applications, web sites, web applications, and web services in both native code together with managed code for all platforms supported by Microsoft Windows, Windows Mobile, Windows CE, .NET Framework, .NET Compact Framework and Microsoft Silverlight.

Silverlight 4.0 also has been released to RTW(Released-to-Web), yet to appear in Microsoft Download Center.

Visual Studio has been currently been available for download for MSDN Subscribers / BizSpark / WebSiteSpark & Dream Spark members.

Those who are not having subscriptions like above can get a 90 day trial versions of Visual Stduio 2010 from Microsoft Download Center.
Or

 you can can download the free Visual Studio express editions of Visual Web Developer 2010, Visual Basic 2010, Visual C# 2010 and Visual C++. These express editions are available completely for free and no expiration.

 If you are looking for an easy way to setup a new machine for web-development you can automate installing ASP.NET 4, ASP.NET MVC 2, IIS, SQL Server Express and Visual Web Developer 2010 Express really quickly with the Microsoft Web Platform Installer (just click the install button on the page). ( You should have a decent internet service, since Webplatform installer needs to download required components while installing)

Apart from that Microsoft has provided some training kits and samples for .NET Developers. you can download those from the below links.

Visual Studio 2010 and .NET Framework 4 Training Kit  April Release of the Visual Studio 2010 and .NET Framework 4 Training Kit

WCF WF Samples for .NET Framework 4  Windows Communication Foundation (WCF) and Windows Workflow Foundation (WF) for .NET Framework 4 samples

For features of VS 2010 and .NET 4.0, i am Quoting to Scott Guthrie,  a Corporate Vice President in the Microsoft Developer Division from his blog VS 2010 and .NET 4.0 Released

What is new with VS 2010 and .NET 4

Today’s release is a big one – and brings with it a ton of new feature and capabilities.

One of the things we tried hard to focus on with this release was to invest heavily in making existing applications, projects and developer experiences better.  What this means is that you don’t need to read 1000+ page books or spend time learning major new concepts in order to take advantage of the release.  There are literally thousands of improvements (both big and small) that make you more productive and successful without having to learn big new concepts in order to start using them. 

Below is just a small sampling of some of the improvements with this release:

Visual Studio 2010 IDE 

Visual Studio 2010 now supports multiple-monitors (enabling much better use of screen real-estate).  It has new code Intellisense support that makes it easier to find and use classes and methods. It has improved code navigation support for searching code-bases and seeing how code is called and used.  It has new code visualization support that allows you to see the relationships across projects and classes within projects, as well as to automatically generate sequence diagrams to chart execution flow. 

The editor now supports HTML and JavaScript snippet support as well as improved JavaScript intellisense. The VS 2010 Debugger and Profiling support is now much, much richer and enables new features like Intellitrace (aka Historical Debugging), debugging of Crash/Dump files, and better parallel debugging.  VS 2010’s multi-targeting support is now much richer, and enables you to use VS 2010 to target .NET 2, .NET 3, .NET 3.5 and .NET 4 applications.  And the infamous Add Reference dialog now loads much faster.

TFS 2010 is now easy to setup (you can now install the server in under 10 minutes) and enables great source-control, bug/work-item tracking, and continuous integration support.  Testing support (both automated and manual) is now much, much richer.  And VS 2010 Premium and Ultimate provide much better architecture and design tooling support.

VB and C# Language Features

VB and C# in VS 2010 both contain a bunch of new features and capabilities.  VB adds new support for automatic properties, collection initializers, and implicit line continuation support among many other features.  C# adds support for optional parameters and named arguments, a new dynamic keyword, co-variance and contra-variance, and among many other features.

ASP.NET 4 and ASP.NET MVC 2

With ASP.NET 4, Web Forms controls now render clean, semantically correct, and CSS friendly HTML markup. Built-in URL routing functionality allows you to expose clean, search engine friendly, URLs and increase the traffic to your Website.  ViewState within applications can now be more easily controlled and made smaller. Client IDs rendered by server controls can now be controlled.  ASP.NET Dynamic Data support has been enhanced.  More controls, including rich charting and data controls, are now built-into ASP.NET 4 and enable you to build applications even faster.  New starter project templates now make it easier to get going with new projects.  SEO enhancements make it easier to drive traffic to your public facing sites.  And web.config files are now clean and simple.

ASP.NET MVC 2 is now built-into VS 2010 and ASP.NET 4, and provides a great way to build web sites and applications using a model-view-controller based pattern. ASP.NET MVC 2 adds features to easily enable client and server validation logic, provides new strongly-typed HTML and UI-scaffolding helper methods.  It also enables more modular/reusable applications.  The new <%: %> syntax in ASP.NET makes it easier to HTML encode output.  Visual Studio 2010 also now includes better tooling support for unit testing and TDD.  In particular, “Consume first intellisense” and “generate from usage” support within VS 2010 make it easier to write your unit tests first, and then drive your implementation from them.

Deploying ASP.NET applications gets a lot easier with this release. You can now publish your Websites and applications to a staging or production server from within Visual Studio itself. Visual Studio 2010 makes it easy to transfer all your files, code, configuration, database schema and data in one complete package. VS 2010 also makes it easy to manage separate web.config configuration files settings depending upon whether you are in debug, release, staging or production modes.

WPF 4 and Silverlight 4

WPF 4 includes a ton of new improvements and capabilities including more built-in controls, richer graphics features (cached composition, pixel shader 3 support, layoutrounding, and animation easing functions), a much improved text stack (with crisper text rendering, custom dictionary support, and selection and caret brush options).  WPF 4 also includes a bunch of support to enable you to take advantage of new Windows 7 features – including multi-touch and Windows 7 shell integration.

Silverlight 4 will launch this week as well.  You can watch my Silverlight 4 launch keynote streamed live Tuesday (April 13th) at 8am Pacific Time.  Silverlight 4 includes a ton of new capabilities – including a bunch for making it possible to build great business applications and out of the browser applications.  I’ll be doing a separate blog post later this week (once it is live on the web) that talks more about its capabilities.

Visual Studio 2010 now includes great tooling support for both WPF and Silverlight.  The new VS 2010 WPF and Silverlight designer makes it much easier to build client applications as well as build great line of business solutions, as well as integrate and bind with data.  Tooling support for Silverlight 4 with the final release of Visual Studio 2010 will be available when Silverlight 4 releases to the web this week.

SharePoint and Azure

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 2010.  You can also now use SharePoint with TFS 2010.

Support for creating Azure-hosted applications is also now included with VS 2010 – allowing you to build ASP.NET and WCF based applications and host them within the cloud.

Data Access

Data access has a lot of improvements coming to it with .NET 4.  Entity Framework 4 includes a ton of new features and capabilities – including support for model first and POCO development, default support for lazy loading, built-in support for pluralization/singularization of table/property names within the VS 2010 designer, full support for all the LINQ operators, the ability to optionally expose foreign keys on model objects (useful for some stateless web scenarios), disconnected API support to better handle N-Tier and stateless web scenarios, and T4 template customization support within VS 2010 to allow you to customize and automate how code is generated for you by the data designer. 

In addition to improvements with the Entity Framework, LINQ to SQL with .NET 4 also includes a bunch of nice improvements

WCF and Workflow

WCF includes a bunch of great new capabilities – including better REST, activation and configuration support.  WCF Data Services (formerly known as Astoria) and WCF RIA Services also now enable you to easily expose and work with data from remote clients.

Windows Workflow is now much faster, includes flowchart services, and now makes it easier to make custom services than before.  More details can be found here.

CLR and Core .NET Library Improvements

.NET 4 includes the new CLR 4 engine – which includes a lot of nice performance and feature improvements.  CLR 4 engine now runs side-by-side in-process with older versions of the CLR – allowing you to use two different versions of .NET within the same process.  It also includes improved COM interop support. 

The .NET 4 base class libraries (BCL) include a bunch of nice additions and refinements.  In particular, the .NET 4 BCL now includes new parallel programming support that makes it much easier to build applications that take advantage of multiple CPUs and cores on a computer.  This work dove-tails nicely with the new VS 2010 parallel debugger (making it much easier to debug parallel applications), as well as the new F# functional language support now included in the VS 2010 IDE.  .NET 4 also now also has the Dynamic Language Runtime (DLR) library built-in – which makes it easier to use dynamic language functionality with .NET.  MEF – a really cool library that enables rich extensibility – is also now built-into .NET 4 and included as part of the base class libraries. 

.NET 4 Client Profile

The download size of the .NET 4 redist is now much smaller than it was before (the x86 full .NET 4 package is about 36MB).  We also now have a .NET 4 Client Profile package which is a pure sub-set of the full .NET that can be used to streamline client application installs.

Visual C++

VS 2010 includes a bunch of great improvements for C++ development.  This includes better C++ Intellisense support, MSBuild support for projects, improved parallel debugging and profiler support, MFC improvements, and a number of language features and compiler optimizations.

For More on Visual Studio 2010 and .NET 4.0 read  ScottGu’s blog VS 2010 and .NET 4.0 Released

Download Visual Studio 2010 RTM and .NET Framework 4 RTM Today

Microsoft announced the availability of its next-generation development platform and tools at the end of the past week. However, downloads for Visual Studio 2010 RTM and.NET Framework 4 RTM will only go live today, April 12, 2010. According to the Redmond company, developers will be allowed access to the final bits of Visual Studio 2010 and .NET Framework 4 in conjunction with the Microsoft Visual Studio Conference & Expo launch event, scheduled for today in Las Vegas. Both VS2010 and .NET 4 bring to the table significant improvements compared to their previous versions, with Microsoft having offered early adopters ample opportunity to test the products through an extensive Beta program, which culminated with the offering of a Release Candidate milestone earlier this year.

“We’re excited to celebrate the launch of Visual Studio 2010 with developers around the world today,” Bob Muglia, president of the Server and Tools Business at Microsoft, said. “Customer and partner feedback was instrumental in shaping this release. The functionality of Visual Studio 2010, .NET Framework 4 and Silverlight 4 creates a powerful and unique combination, opening up new opportunities for developers to build applications that take advantage of new and existing devices, as well as emerging platforms like cloud services.”

Among the enhancements highlighted by the software giant for Visual Studio 2010 and .NET Framework 4 is a new editor, built leveraging the Windows Presentation Foundation. The evolution of the editor now allows devs to stretch their work across multiple monitors. In addition, VS2010 has been tailored to Windows 7 in more ways than one. The development platform now comes with built-in support for Windows 7’s multitouch capabilities and the Ribbon/Fluent graphical user interface.

However, Microsoft also built Visual Studio 2010 to integrate seamlessly with SharePoint, to support Windows Azure, and the ASP.NET Model-View-Controller, but also Windows Phone 7. As the Redmond company already said, Visual Studio 2010’s core focus is to allow developers to build applications for multiple platforms, including the desktop, the Cloud and Windows Mobile.

At the time of this article, the downloads for the RTM (released to manufacturing) Builds of Visual Studio 2010 and.NET Framework 4 were not live yet. I also checked my MSDN account, and Microsoft still offered the Release Candidate Builds. However, the downloads are bound to go live later today, and I’ll make sure to provide an update when that happens, just keep your eyes on this space.

SOURCE: Softpedia News

Visual Studio 2010, Silverlight 4.0 – 1 More Day to go

Tomorrow April 12th 2010, Monday  microsoft is going to release Visual Studio 2010 and Silverlight 4.0  globally in 5 locations.

1. Las Vegas, Nevada USA -  Venue: Belagio Resort

2. London , UK – Venue: VUE Cinemas

3. Beijing China – Venue: Royal King Hotel

4. Kuala Lumpur, Malaysia – Venue: Sunway Pyramid Convention Centre

and

 in india Banglore, India in Tech-Ed 2010 conference.  

Watch the live webcast of the Microsoft Visual Studio 2010 Launch on April 12th at 8:30am Pacific Daylight Time. Hear Bob Muglia, President of Microsoft’s Server and Tools business, as he introduces Visual Studio 2010 and shows how it helps developers unleash their creativity.

Watch it live ›

You can find the each event details from here

I am waiting for trying out the RTM version of VS 2010. Already freshly formatted and keep my PC ready. I am waiting, waiting….

Good Luck!!! Microsoft and  Visual Studio & Silverlight Teams.

Windows 7 Service Pack 1 Beta Leaked Build 7601.16543.100403-1630 v.159

Microsoft continuously improves Windows 7® and Windows Server® 2008 R2 by providing ongoing updates while working with software and hardware vendors to deliver application compatibility and hardware compatibility improvements. Service Pack 1  (SP1) is another vehicle through which Microsoft provides operating system improvements to customers.
SP1 is an update to both Windows 7 and Windows Server 2008 R2 that, along with improvements delivered to users via other channels, addresses feedback from our customers. As with previously released updates, SP1 contains changes that are focused on addressing specific reliability, performance, and compatibility issues, supporting new types of hardware, and adding support for several emerging standards. SP1 also continues to improve upon the IT administration experience. SP1 is not intended to be a vehicle for releasing new features; however, some existing components do gain slightly enhanced functionality in SP1.
Service packs also help ensure that your systems are up-to-date. Updates to the Windows operating system, including updates released with bulletins from the Microsoft Support Response Center, will be reviewed and built only for currently-supported service packs. Installing the latest service pack ensures customers have the maximum support lifecycle for their investment.  Service Pack 1 for Windows 7 and Windows Server 2008 R2 will include previously released updates and will deliver a number of powerful new features for Windows Server 2008 R2 for virtualization and Virtual Desktop Infrastructure (VDI). New techniques in memory management with the addition of Dynamic Memory functionality, as well as the ability to deliver full-fidelity graphic experiences in remote and virtualized environments with RemoteFX™, enable organizations to realize the greatest possible potential from their infrastructure. The resulting increase in efficiency and functionality allows for accelerated server consolidation, a more powerful virtualized desktop infrastructure, and an increased return on technology investments.

The impact of SP1 on the Windows 7 client operating system is considered to be minimal. Included changes are expected to address minor usability issues in specific scenarios, as outlined in this document. While Microsoft always recommends that users deploy the latest service pack as quickly as possible in order to maintain the best levels of support, security and user experience, we are strongly recommending to customers and partners that deployment of SP1 should not be considered a blocking issue for the adoption of Windows 7.  In other words, organizations do not need to wait for SP1 to begin receiving the value of Windows 7 today as we don’t anticipate the SP1 for Windows 7 to be substantial.

Interesting but this leak was an Early Pre-Beta-1 with Build String (7601.16543.100403-1630 v.159), which i found really fustrating. After i updating from a leaked build “Full ISO”, microsoft has released for Testers, Early Adopters and Partners.

Leaked file details are as follows.

MICROSOFT.WINDOWS.7.AND.SERVER.2008.R2.SP.1.BETA-1.ENGLISH-MSFT
FILE: 7601.16537.100327-0053_Update_Sp_Wave0-B1SP1.0_DVD.iso
SIZE: 1,350,488,064 byte
MD5: 785D27C10CD58897E2CF72B0EECA05DD
SHA1: 0176319386113561926314442F80F1C5A8B71DBC

My Windows 7 ultimate X64, started crashing after the update. Desktop Window Manager crashed in each log on.  When i open up the virtual keyboard, since some times my keyboard has instability, when i tries to close the Virtual Keyboard window, whole window Gets stucked for a while(4,5 seconds). Then suddenly everything gets back to normal. Similar with most of the applications. I think Desktop Window Manager crash might have affected the applications.

I rolled back my installation. But still my Desktop Window Manager is crashing unexpectedly, You have to remember that my system was working perfectly fine until the Service Pack update.  Even after uninstalling the Service Pack same scenario occurs.

Atlast i had to use system restore and restore back to previous state, before i have installed Service Pack 1 – Pre-Beta.

It sucks, such a release will crash Windows 7 completely. i Request microsoft to be careful with such releases.  Even if it was released for Internal Testing and Partners. Such issues are fustrating. Since Windows 7 is gaining a major market share. Microsoft’s one of the best potential product.  Don’t spoil it with such releases of Service Pack 1.

My suggestion is . If you are a potential windows 7 user. As long as your system functioning perfectly, don’t ever try for Leaked builds. Try only Official Release from Microsoft. Even if it is late on release to public.

Please do not download or install such leaked products, it may be contaminated with malware or virus.

Legal Notes: I have obtained this Service Pack-1 release through an online releaser. I tried this service pack to understand what is potentially new in the Service Pack-1.  But my experience was really bad, my exisiting setup was been affected by the “Desktop window Manager” crashing. Even after uninstalling i faced the same.

I would have been happier if i am an official Beta Tester for Microsoft Products.  Because i know what a potential user want’s from an OS or Utilities.

With this post i no way supports piracy or leaking of software builds. All i write is my review about the release.

That’s all for now.

SQL Server 2008 R2 RTM is Nearer

It was quite a surprise to see a forum post claiming the SQL Server 2008 R2 – Release Candidate 1, i first thought it was just a bogus information. Since so far i remember SQL 2008 R2 is still on November CTP.

But interestingly found that releaser claims it to be the SQL Server 2008 R2 – Release Candidate 1, the name of the release circulating around the internet was “Microsoft SQL Server 2008 R2 RC1-WinBeta”. So i wanted to verify this is really orginal release of some bogus/Fake downloads. So i started downloading from the So called releasers file sharing site.

Download went fine and i checked the setup. it was an ISO file with a size of 4.07GB

File Size: 4.07 GB

File Name : SQLFULL_ENU.iso

There was a release note file which stating that the release not was generated on

Microsoft SQL Server 2008 R2 RTM Release Notes 
02/11/2010 14:06:35

But the releaser already mentioned that even if the release notes states that it’s for RTM, the release is of Release Candidate -1.

So far everything looking cool. So i went over and install it.

Pretty nice installation like old times. But i could n’t see the Release Candiate / CTP notes any where while installing the software. Every setup steps were like FINAL release, i am bit confused. No mentioning of Release Candidate / CTP any where while installing.

Finished installing and i open up my Management Studio for checking the sql server version.

It seems to be Version 10.50.1450 , installed as a 180 day trial version. When i open up a query window, i found out that the STATUS bar on the bottom it has been displayed as 10.50 RTM.

So I believe this was a leaked version of SQL Server 2008 R2. Seems microsoft is planning a surprise party for us. They are doing some kinda internal testing, rather than releasing any Beta/RC versions to public. I remember only the publically available release as “SQL Server 2008 R2 – November CTP”. So microsoft was releasing some internal builds of BETA and RC for some private group of Testers only.

This leak states that SQL Server 2008 R2 RTM is nearer. Kudos Microsoft.

Good work for SQL Server Team Boys. Really good work guyz.

To Microsoft:

Dear Microsoft,  I downloaded the release of “Microsoft SQL Server 2008 R2 RC1-WinBeta”, to identify whether so claimed leaked release is fake or original. I intended to install it to validate the accuracy of the installation setup and information i found on the internet.

I no way supports piracy or supports such leaked releases. As an admirer of Microsoft technologies, i thrive to identify what is new in each release. So this article is intended only to share information or my findings on the internet.

How to Make Apache run ASP.NET / ASP.NET 2.0

You all might be wondering why we need Apache, since we have IIS to host our ASP.NET applications. But it’s just a trial to see the potential of ASP.NET to work smoothly with other Web Servers.

Apache has been a stable and strong web server for hosting different web applications made using Perl, PHP, Ruby etc. Linux, Apache, MYSQL, PHP(LAMP) is one of the popular development platform in the world. Because the stability of this combination offers, most of the application developers around the world prefering to use LAMP as their application development primary target.

But i previously also tried with Apache ASP.NET combination and found interesting. Since apache takes less resource and works smoothly if the configuration is right.

I recently came across Ohad Isreli’s Blog . Which was quite interesting and i realized what i missed first time in my previous trials. The solution is simple. Just read through the following descriptions.

Following are the instruction to make Asp.Net work under apache:

Install Apache 2.0.54

Install Mod_AspDotNet

Add at the end of C:Program FilesApache GroupApache2confhttpd.conf the following lines

[code lang=”pl”]

#asp.net
LoadModule aspdotnet_module "modules/mod_aspdotnet.so"

AddHandler asp.net asax ascx ashx asmx aspx axd config cs csproj licx rem resources resx soap vb vbproj vsdisco webinfo

<IfModule mod_aspdotnet.cpp>
# Mount the ASP.NET /asp application
AspNetMount /SampleASP "c:/SampleASP"
#/SampleASP is the alias name for asp.net to execute
#"c:/SampleASP" is the actual execution of files/folders in that location

# Map all requests for /asp to the application files
Alias /SampleASP "c:/SampleASP"
#maps /SampleASP request to "c:/SampleASP"
#now to get to the /SampleASP type http://localhost/SampleASP
#It’ll redirect http://localhost/SampleASP to "c:/SampleASP"

# Allow asp.net scripts to be executed in the /SampleASP example
<Directory "c:/SampleASP">
Options FollowSymlinks ExecCGI
Order allow,deny
Allow from all
DirectoryIndex index.htm index.aspx
#default the index page to .htm and .aspx
</Directory>

# For all virtual ASP.NET webs, we need the aspnet_client files
# to serve the client-side helper scripts.
AliasMatch /aspnet_client/system_web/(d+)_(d+)_(d+)_(d+)/(.*) "C:/Windows/Microsoft.NET/Framework/v$1.$2.$3/ASP.NETClientFiles/$4"
<Directory "C:/Windows/Microsoft.NET/Framework/v*/ASP.NETClientFiles">
Options FollowSymlinks
Order allow,deny
Allow from all
</Directory>
</IfModule>
#asp.net

[/code]

Create a directory c:SampleASP and insert in it the index.aspx

Restart apache server :
Start-> Apache HTTP Server 2.0.54 ->
Control Apache Server -> Restart

Open Explorer and navigate to http://localhost/SampleASP/index.aspx

If everything worked fine you should get a nice asp.net page working.

Sample Source for
— index.aspx —

[code lang=”vbnet”]
<%@ Page Language="VB" %>
<html>
<head>
<link rel="stylesheet"href="intro.css">
</head>
<body>
<center>
<form action="index.aspx" method="post">
<h3> Name: <input id="Name" type=text>
Category: <select id="Category" size=1>
<option>One</option>
<option>Two</option>
<option>Three</option>
</select>
</h3>
<input type=submit value="Lookup">
<p>
<% Dim I As Integer
For I = 0 to 7 %>
<font size="<%=I%>"> Sample ASP.NET TEST</font> <br>
<% Next %>
</form>
</center>
</body>
</html>
[/code]

Your ASP.NET Application is UP and running on ASP.NET. You might experience slight problems with Session management, with proper configuration you can resolve it or find another alternative.

That’s all for now. Will update this with more details later.. I am in work, and thought of writing this when i found it.

Thanks to Ohad Israeli, for his wonderful article on blog.