Frameworks

ASP.NET MVC 4.0 Roadmap

July 14, 2011 .NET, .NET Framework, All, ASP.NET, ASP.NET MVC, C#.NET, Frameworks, General, IIS, IIS 7.5, Microsoft, VB.NET, VisualStudio, VS2010 No comments

Phil Haack has nicely documented next version of ASP.NET MVC said to be ASP.NET MVC 4.0 road map.

Interesting we will have a new ASP.NET MVC Application template called Mobile Application Template using jQuery Mobile.

Come on read through the below links for more information..

ASP.NET MVC 4 Roadmap – Blog post by Phil Haack

ASP.NET MVC 4 Roadmap – from CODEPLEX.com

Introducing Telerik RadDataServiceDataSource

July 14, 2011 .NET, .NET Framework, All, ASP.NET, ASP.NET MVC, C#.NET, Frameworks, General, IIS, IIS 7.5, Microsoft, VB.NET, VisualStudio, VS2010 No comments

Most of the .NET developers would be well aware of what is Telerik RAD(Rapid application Development) controls. Telerik RAD controls are for those developers/organization which want to build Rapid applications with minimal effort. If you spend 6 weeks on developing a control that implements certain features necessary for business, which still need to go through certain quality guidelines and you may expect certain breakages which make your development time to say 10 weeks. Consider if there is already something similar available on the market, proven it’s capabilities and went through certain quality process. Business should think of reusing that component and cut down that 10 weeks works to say 1 or 2 weeks for implementing that control. This makes developers to ensure increased productivity and rapid application development.

Telerik is one of such company produces innovative reusable components for various .NET Applications. It is available for Windows Phone Applications, Web Applications, Silverlight Applications, Windows Applications and WPF Applications, you name it Telerik will make it for you.. I have worked with Telerik RAD AJAX, Phone 7, ASP.NET Controls, Silverlight and ASP.NET MVC(for MVC basic set of controls been released as open source). It is really nice and easy to implement there controls, because of the widely available documentation, samples and Telerik Community Support.

Recently Telerik has introduced a new member to their WPF and Silverlight controls familly, Telerik RadDataServiceDataSource. RadDataServiceDataSource provides seamless integration between an user interface and data coming from a WCF Data Service. The WCF Data Services technology enables the creation and consumption of OData services for the web. If you want to learn more about the relationship between the two, you may read the whitepaper WCF Data Services and OData At-a-Glance.

I will just quickly walk you through official blog by Rossen Hristov

Quoting from Rossen Hristov‘s blog

With this new control, you can retrieve, shape and edit data using declarative XAML syntax only. RadDataServiceDataSource provides extensive code-behind API for more advanced scenarios. The QueryableDataServiceCollectionView<T> class, which is internally used by the control, is made publicly available for use in view models part of an MVVM architecture, where the usage of UI elements is not recommended.IC392644

RadDataServiceDataSource for WPF was built on top of the WCF Data Services Client Library. RadDataServiceDataSource for Silverlight was built on top of the Silverlight version of the client library respectively. The WPF and Silverlight versions of the control have APIs that are 100% identical.

RadDataServiceDataSource uses a DataServiceContext and a DataServiceQuery<T> to communicate with the server. Thanks to the fact that all controls are part of the Telerik family, RadDataServiceDataSource can codelessly integrate withRadGridView, RadDataPagerand RadDataFilter and perform paging, filtering and sorting directly on the server. RadDataServiceDataSource can also be used as a standalone data source control since it provides the public API needed for loading, shaping and editing data.

Features

  • Codeless integration with RadGridView, RadDataPager and RadDataFilter. Since all of the controls share the same data engine logic, when data-bound together they are able to detect each other automatically and start exchanging information. Linking RadGridView, RadDataPager and RadDataFilter to a RadDataServiceDataSource is as easy as binding them to its DataView property. All operations such as paging, filtering and sorting will automatically happen on the server without a single line of code.
  • Filtering can easily be performed through the FilterDescriptors collection of the control. This can either be done manually by the developer through editing the collection in code-behind or it can be left to controls such as RadGridView or RadDataFilter which will automatically translate their filtering criteria and apply it to RadDataServiceDataSource without a single line of code.
  • Sorting can easily be performed through the SortDescriptors collection of the control. This can either be done manually by the developer through editing the collection in code-behind or it can be left to RadGridView which will automatically translate its sorting criteria and apply it to RadDataServiceDataSource without a single line of code.
  • Paging can easily be performed through the paging API that the control provides. It can be done manually by the developer through methods from the MoveTo*Page family and properties such as PageIndex and PageSize. Or it can be left entirely to RadDataPager which will automatically page on the server when bound to RadDataServiceDataSource.
  • Editing is as simple as adding, removing or editing entities in the DataView of the control and then calling the SubmitChanges/RejectChanges methods. These operations can also be left to RadGridView which will automatically transfer them to the RadDataServiceDataSource.
  • MVVM support is provided by the public QueryableDataServiceCollectionView<T> class, which is the view that RadDataServiceDataSource internally uses. The RadDataServiceDataSource control is simply a thin-wrapper over this collection view, which performs all of the heavy lifting. This allows you to use it inside your view models without losing any functionality that the control would otherwise provide.

This is going to be interesting right. A single control can server all our purpose for connecting to different data sources. Telerik always does like that, superior in thinking through what any developer will need?. Thanks Telerik!!!

You need Code Samples and more information. Follow the link below.

Reference Link : http://blogs.telerik.com/rossenhristov/posts/11-07-13/introducing-raddataservicedatasource-for-wpf-and-silverlight.aspx

Microsoft TechEd-2011 – On the Road – Hyderabad is over #in

May 22, 2011 .NET, .NET Framework, All, ASP.NET, ASP.NET MVC, C#.NET, Frameworks, General, IIS, IIS 7.5, Microsoft, VB.NET, VisualStudio, VS2010 No comments

Hi All;

We had a nice learning session as part of TechEd-2011 On the Road – Hyderabad  @ Microsoft India Development Center.

The sessions started with Shravan’s  session about “Exploring ASP.NET MVC 3” which was an interesting session discussing  about What is new in ASP.NET MVC 3 and ASP.NET MVC 3 tools update.

After the session we had the Building rich web applications using HTML5 by Harish Ranganath, Senior Developer Evangelist Microsoft we got very interesting idea about HTML 5, CSS 3.0 and IE 9 capabilities.

Followed by we had  Building a social networking portal on Windows Azure in 1 hour by Saranya Sriram, Developer Evangelist, she took a very interesting session about Azure Application development, which she had earliest presented in TECH-ED 2011, BANGLORE.  Sharanya was very  interactive and shown an end-to-end walk through of Moving an ASP.NET MVC 3 application over cloud. Great and most enjoyed session.

Then we took a break for lunch. After lunch we had a session on “TFS(Team Foundation Server) Continuous Delivery” by Vishal Malhotra, Microsoft , quite an interesting discussion. We pour in with questions and he answered all our questions and some of us bagged even t-shirts.

At last and for most we had our favorite Krishna Chaitanya(@NovoGeek) taking session about Javascript API & ECMAScript 5 capabilities. Which was an interesting session. Krishna is an excellent speaker and always does presentations interestingly matching his topic. I remember attending his previous sessions in community techdays, DevCon etc.

Thanks Microsoft and all speakers, event facilitators for providing such a nice event. Hope to attend more from you all.

Those who missed this event. Don’t forget to attend the next session at least. I am sure one way or another you will definitely get some learning out of it.

To get notified about more events happening around in Hyderabad join MUGH (Microsoft User Group Hyderabad) Visit this group

Microsoft User Group – Hyderabad (www.MUGH.NET )   subscribe to mugh google group ,  Follow MUGH in Twitter: @mughtwits , Facebook: @themugh

Enterprise Library 5.0 & Unity 2.1(Dependency Injection Container) for Silverlight and Enterprise Library 5.0 Optional Update 1 for .NET(ASP.NET,WinForms)

May 15, 2011 .NET, .NET Framework, All, ASP.NET, ASP.NET MVC, C#.NET, Design Patterns, Frameworks, General, IIS, IIS 7.5, Microsoft, Patterns&Practices, VB.NET, VisualStudio, VS2010 No comments

Microsoft has recently released few updates for Microsoft Enterprise Library 5.0 (A collection of reusable application blocks(logging,caching, cryptography, data access etc) for .NET.

One of the interesting part of these releases are Enterprise Library 5.0 & Unity 2.1(Dependency Injection Container) for Silverlight. more details about each release are given below.

Enterprise Library 5.0 for Silverlight

This release provides many of the features of Enterprise Library 5.0 for Silverlight application developers.
Unity 2.1 for Silverlight

Unity is a dependency injection container. It is full-featured, with support for instance and type interception and custom extensions. This release is a port of Unity 2.1 to Microsoft Silverlight 3, 4 and 5 beta.

Enterprise Library 5.0 Optional Update 1

This package contains Enterprise Library 5.0 with fixes for Unity Interception and file configuration source. This update is required if you are using the Silverlight Integration Pack and need WCF RIA Services Integration or configuration tool support.
Unity 2.1 (latest update for Unity – Microsoft’s Dependency Injection Container)

Unity is a dependency injection container. It is full-featured, with support for instance and type interception and custom extensions.

These new updates will help Silverlight Application developers to leverage the capabilities of Microsoft Enterprise Library 5.0.
Nice work Microsoft.

Microsoft Tech∙Ed India 2011 – ON THE ROAD, Hyderabad- on 22nd May 2011

May 15, 2011 .NET, .NET Framework, All, ASP.NET, ASP.NET MVC, C#.NET, Frameworks, General, IIS, IIS 7.5, Microsoft, VB.NET, VisualStudio, VS2010 No comments

Microsoft INDIA has announced Microsoft Tech∙Ed on the Road at Hyderabad, where microsoft put together the best sessions from Tech∙Ed India 2011 and bring them to our Hyderabad. These events are not only about content and sessions – they also provide an opportunity for you to interact with and have your questions answered by the very people who work on these technologies day-in and day-out, and who can help you plan the features and architecture to support your business goals.

The content for this 10-city series of events will be targeted towards Professional Developers, Project Managers, Architects, IT Administrators and Implementers, and IT Managers. Focus will be on technologies like Database and BI, Internet Explorer 9, SharePoint 2010, Web Platform, and Windows Azure.

For Hyderabad, the venue and event details are as follows.


Event Date :
Sunday, 22nd May 2011

Venue:

Microsoft R&D India Pvt. Ltd.,
MPR 1-5, Building 3,
Gachibowli, Hyderabad 500032

Two Tracks available : Software Developers & IT Professionals

Event Agenda(for Hyderabad):

AGENDA
Time Developer Track IT Pro Track
09:30am – 10:00am Registration
10:00am – 11:00am Exploring ASP.NET MVC 3 

Speaker: Shravan Kumar
Datacenter Virtualization at Microsoft 

Speaker: Praveen Kumar
11:00am – 11:15am Tea Break
11:15am – 12:15pm Building rich web applications using HTML5 

SQL Server Waits and Queues – Your Gateway to Perf. Troubleshooting 

Speaker: Pinal Dave
12:15pm – 12:30pm Break
12:30pm – 01:30pm Building a social networking portal on Windows Azure in 1 hour 

Migrating to Windows 7 using P2V with MDT & Disk2VHD 

01:30pm – 02:30pm Lunch
02:30pm – 03:30pm TFS: Continuous Global Delivery 


Speaker: Vishal Mehrotra

Microsoft RemoteFX: Rich Windows Desktop Experience for Session Virtualization and VDI 


Speaker: Aviraj Ajgekar

03:30pm – 03:45pm Tea Break
03:45pm – 04:45pm JavaScript APIs and enhancements with EcmaScript 5 

Deploying your applications on Windows 7 

Speaker: Vijay Raj
04:45pm – 05:00pm Break
05:00pm – 05:30pm Q & A

Note: The above agenda is subject to change.

To register yourself for this free event click REGISTER NOW or for more details visit http://communitytechdays.com .

Hope to see you all there.


Visual Studio 2010 Service Pack 1 and Hardware Rendering/acceleration

April 23, 2011 .NET, .NET Framework, All, ASP.NET, ASP.NET MVC, C#.NET, Frameworks, General, IIS, IIS 7.5, Microsoft, VB.NET, VisualStudio, VS2010 2 comments

Microsoft Visual Studio 2010 RTM was released on 12-APR-2010, 1 year completed as of now. The major change of VS2010 was that it is a completely reworked and is completely developed in WPF(Windows Presentation Foundation). 

Since it is based on WPF, Visual Studio 2010 performance is based on hardware rendering(using “3D Graphics”/VGA hardware). In order to feel the superior performance with VS2010, you need to have a latest hardware set (DirectX 10 and above based graphics/VGA card is required).

The older version of Windows, interestingly Windows XP Sp3 has support to install Visual Studio 2010 sp1. But the problems some people faced because of the Hardware Acceleration since they have older version of VGA hardware and drivers, which doesn’t work well in acceleration WPF Applications.

Microsoft has taken these limitations in to consideration and turned off default Hardware Rendering/Acceleration in Visual Studio 2010 sp1, this means that Visual Studio 2010 Service Pack 1 – by default using “Software Rendering”. Users with latest/recommended hardware configuration can choose to turn it ON and OFF from Visual Studio 2010 -> Options -> General.

Most of you might have experienced slowness while using Visual Studio 2010(slow rending, slow content redraw etc) after installing Service Pack 1. This is because your visual studio 2010 is currently using software rendering. Software rendering is much slower in terms of performance. Turn Off  “default” Software Rending/Acceleration OFF from Visual Studio 2010 -> Options -> General -> “Visual Experience” -> uncheck “Automatically adjust visualization experience based on client performance” and check “Use Hardware Acceleration if Available” option.

This will make your Visual Studio 2010 – Service Pack 1 working efficiently than before.

If you need to read more about changes included in Visual Studio 2010 – Sp1, read through @Scottgu’s blog and Jason Zander’s Weblog about Performance Troubleshooting Article and VS2010 SP1 Change