Techbubbles

Archive of ‘.NET Framework 4’ category

Deploying Database with ASP.NET Web application

 

Web applications can be deployed in two different ways one by using one-click publish or by using a Web deployment package. Usually we may want to deploy our database scripts that we used along with the application deployment. This post discusses the procedures to deploy the database along with web application in Visual Studio 2010.

Assume […]

Creating a UML Model Diagram in Visual Studio 2010

 

This post discusses about how to use UML models and diagrams in Visual Studio 2010 ultimate edition. Models are very useful to describe the requirements and design of the system. Models help you to visualize how system works and clarifies the user needs and finds the architecture of the system.

1. Launch the Visual Studio 2010 […]

Creating a Sample Visual Studio LightSwitch Beta2 Application

 

Microsoft Visual Studio LightSwitch allows the developers to create a high-quality line of business applications with less writing of code. LightSwitch provides the screen templates for common business tasks such as data entry, search , formatting and displaying the data. LightSwitch includes built-in functionality to validate the input with little or no code. We can […]

WCF AJAX Service Without Configuration

 

This post discusses how to develop Windows Communication Foundation (WCF) service using AJAX and without any configuration settings for WCF. This service can be consumed from Javascript. The service uses a special setting in .svc file which automatically enables an AJAX endpoint.

Related Posts:WCF 4.5 FeaturesWCF Service using MTOM in .NET FW 4Impersonation and Delegation in […]

WCF Service using MTOM in .NET FW 4

 
Web services having a greater interoperability to communicate messages across heterogeneous systems, however challenge is serializing the data into XML. Users may want to send images,videos, drawings, xml documents etc. together with SOAP message. 
What is MTOM?
Message Transmission Optimization Mechanism (MTOM) is a mechanism of transferring transferring large amounts binary data as an attachment to […]

Guidelines for Developing Class Libraries in .NET

This post explains about design guidelines for developing class libraries that extends the .NET Framework. Following design guidelines provides benefits of consistency and unified programming model for developers.

Naming Conventions for Casing Identifiers
There are two different styles in Casing Identifiers
Related Posts:.NET Framework 4 File IO Features.NET Framework 4 BCLWhat is Windows SDK for Facebook?ASP.NET 5 and […]

Visual Studio 2010 Service Pack 1 Beta Released

 
Microsoft announced VS 2010 Service Pack1 Beta  and is ready for download. MSDN subscribers can download beta from here
General users can download from here

Service Pack 1 Beta including the following features
Related Posts:Web Essentials and CSSCop for Visual Studio 2010Visual Studio AchievementsWeb Standards Update for Visual Studio 2010 EditorHeterogeneous Development using Visual Studio 2010Creating Code UI […]

.NET Framework 4 File IO Features

New methods are added to the System.IO.File class in .NET framework 4.0 for reading and writing text files.
ReadLines

In earlier version we have used File.ReadAllLines method which returns a string array of all lines in the file.

String[] lines = File.ReadAllLines(“file.txt”);

Related Posts:Guidelines for Developing Class Libraries in .NET.NET Framework 4 BCLWhat is Windows SDK for Facebook?ASP.NET […]

.NET Framework 4 SortedSet

You can get the overview on what’s new in .NET FW BCL by reading my post .NET Framework 4 BCL. This post explains about one of the feature SortedSet. .NET Framework 4 adds a new collection to System.Collections.Generic, named  Sorted Set<T>.  It is like HashSet<T>  collection of unique elements, but SortedSet<T> keeps the elements in […]