ASP.NET, MVC, Silverlight, SharePoint, WPF, VS 2010, LINQ Articles in May-June 2011
Posted by: Admin
in Category General Topics
Abstract: Here are some articles that we published in May-June on ASP.NET, ASP.NET MVC, LINQ, Sharepoint, WPF, Silverlight, VS 2010 and other .NET technologies
This post showcases some articles that we published in May-June on ASP.NET, ASP.NET MVC 3, SharePoint, Silverlight, WPF, Visual Studio, WCF, LINQ and other .NET technologies.
Here’s an article roundup for the month of May-June 2011.
Articles on ASP.NET and ASP.NET MVC 3
ASP.NET MVC Compiled Views – Use Them - The following article demonstrates how to use the compiled views feature in ASP.NET MVC.
Diving into ASP.NET MVC 3 Model Metadata Providers - ASP.NET MVC provides a great support for DataAnnotation attributes which can be used to enable rich metadata behavior within MVC models. ASP.NET MVC 3 introduced the support for new DataAnnotation DisplayAttribute. ModelMetadataProvider can be used to create ModelMetadata based on the model’s attributes. In this article, we will explore how ModelMetadataProvider is extensible and we could easily create our own MetadataProvider to support any custom behavior. ASP.NET MVC 3 also introduced new registration point for IOC users to support registration of custom ModelMetadataProviders.
ASP.NET MVC and Multiple Submit Buttons - The following article demonstrates how to differentiate multiple submit buttons in the same form with MVC.
ASP.NET MVC and Multiple Submit Buttons–Part 2 - The following article demonstrates how to differentiate multiple submit buttons in the same form with MVC and jQuery.
ASP.NET MVC: Using ActionMethodSelectorAttribute to Handle Multiple Submit Buttons - The following article demonstrates how to use the ActionMethodSelectorAttribute object to handle multiple submit buttons with ASP.NET MVC.
ASP.NET 4.0 Web Control ClientID - In ASP.NET 4.0, Microsoft has given developers the control to render client side ID of Server controls, by introducing a new property called ‘ClientIDMode’. In this article, we will explore this property.
Passing ASP.NET Session Variables to WCF Service - In this article, we will see how to pass ASP.NET Session varaibles to WCF service using SOAP Message Header.
Articles on Silverlight and WPF
Silverlight 4 and Prism: Communication between Two Views of Different Modules using IEventAggregator - In this article, we will see how to use the Prism Event Aggregator mechanism in Silverlight applications to communicate between two views of different modules
Silverlight Client Object Model in SharePoint 2010 – Part III - In this article, we will see how to use the Silverlight Client Object Model in SharePoint 2010. We will create a Silverlight Application, access the SharePoint data and then deploy it to a SharePoint site. We will also see how to write CAML queries to filter the SharePoint List data.
Silverlight 4: End-to-End Application using Prism 4, WCF 4 and DataGrid Custom Behavior - With the support for Prism 4 and the growing popularity of Silverlight 4 for line-of-business application development, there is a lot of buzz amongst developers to use the new features these technologies has to offer. So for example, I have observed that the demand for providing a simple and more interactive UX for developing DML UI using DataGrid is increasing. In this article, we will cover just that. I have explained the mechanism for performing CRUD operations using the Silverlight 4 DataGrid and have used SL 4, Prism 4 and WCF 4.0, along with DataGrid Custom behavior.
Silverlight 5 Beta - Run Elevated Trust Applications in Browser - In this article, we will see how to run an Elevated Trust Application within the Browser using Silverlight 5 Beta. For this demonstration, we will first create a Silverlight application by using Visual Studio 2010 with Silverlight Version 5.
WPF 4: DataForm User Control using Reflection - This article demonstrates how to create a WPF user control similar to the Silverlight DataForm control.
Reading Data from WCF Data Service in Silverlight 4 - WCF data Services provides integration with Data Model built using ADO.NET EF. Since the data received is in the form of XML, any client application built on Open standards can easily consume it. In this article, I will demonstrate how it is done using Silverlight 4
Silverlight 4.0 - Uploading Multiple Files to the Server - This article demonstrates how to upload multiple files to the server using Silverlight 4.0
Silverlight 4.0: Duplex Communication over Http using PollingDuplexHttpBinding - In a real world application, many-a-times it is required that the application performs a two-way communication i.e. the client application sends request to the service and then service should have capability to initiate action itself and send the data back to the client. In Silverlight, we can perform this kind of operation using Socket programming as well as using Duplex bindings. In Silverlight 4.0, we can do this using net.tcp binding. In this small article, I have used Polling Duplex communication
Articles on SharePoint
SharePoint: Create Dashboard with SQL Server Reporting Services (SSRS) 2008 - In this article, we will see how to create and deploy a SharePoint Dashboard which contains SQL Server Reporting Services (SSRS) 2008 reports. We will also see some references of how to create a Chart and Tablix report and deploy them to Report Server.
SharePoint 2010 and Silverlight Out-Of-Browser with COM Interop – Part IV - In this article, we will see how to fetch SharePoint lists data in Silverlight Out-Of-Browser applications. We will then deploy this data into an Excel application, using COM Interop, which is a feature of Silverlight 4.0.
Using SharePoint List Data in Microsoft Expression Blend - In this article we will see how to fetch SharePoint List data and generate an XML file. We will then use this XML file as a ‘Sample Data’ in Microsoft Expression Blend for our Silverlight Application.
Articles on WCF
WCF 4.0: Protocol Bridging using Routing to Protect Internal Business Services - In this article, we are going to discuss protocol bridging mechanism using WCF 4.0 routing features
Push Data to the Client using WCF CallBack Service - In WCF, callback is used to implement PUSH mechanism, so that delayed or long running operation results can be automatically pushed back to the client application. WCF actively supports callback to its client, over the instance context established. In this article, we will explore the same.
WCF 4: Download Files using WCF REST EndPoints - This article demonstrates how to make use of WCF REST service for downloading files.
Expose WCF 4.0 Service as SOAP and REST - By exposing a WCF service on REST and SOAP, you can make it more accessible to all types of clients. This is especially useful for the clients who can consume the proxy as well as can understand only HTTP communication with XML data processing. This article shows how to do so.
Articles on Visual Studio 2010
Coded UI Test (CUIT) using Visual Studio 2010 - In this article, we will see how Coded UI Test can be created in Visual Studio 2010 by recording the action using CUIT Builder, how to add assertion and how CUIT can be executed. In the article, we will also see another way of creating CUIT by first executing the test case by using Microsoft Test Manager 2010, recording the actions, convert the actions to Code using Visual Studio 2010 and executing it.
Coded UI Test (CUIT) - Convert Manual Test Case to Code using Visual Studio 2010 - In this article, we will discuss another way of creating Coded UI Test CUIT i.e. by using the recording created with the help of Microsoft Test Manager 2010 in Visual Studio 2010.
Coded UI Test (CUIT) – Variations and Editing with Visual Studio 2010 - In this article we will explore advanced features of CUIT like adding multiple UI maps, re-using code, how the CUIT Editor helps and I will also list the best practices of using CUIT in VS 2010.
Coded UI Test: Convert Normal CUIT to Data Driven CUIT using Visual Studio 2010 - In this article, we will discuss how a normal Coded UI Test can be converted to Data Driven Coded UI Test in Visual Studio 2010. We will also discuss various data sources which can be used to provide data to the test method.
Other .NET Articles
LINQ: Join Between a Collection and XML Data - In this article, we will see how to perform a JOIN between a Collection and XML Data using LINQ.
ADO.NET EF 4.0: Working with Plain Old CLR Objects (POCO) Classes - POCO is the ability to add and use your own custom data classes along with with your data model. In this article, we will explore how to use POCO in Entity Framework 4.0
50 LINQ Examples, Tips and How To's - I have been writing some LINQ tutorials, tips and How To's on my blog and most of these posts contain short snippets that can be used in your project or that demonstrate how to use LINQ effectively. I wanted to share them with my readers over here. These short examples demonstrate how to use a particular LINQ feature and are listed over here in no particular order.