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 there is no database exist in destination and...
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 and create a new project by selecting the modeling from...
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 also write the code...
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.
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...
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
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
.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â€);
.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 sorted order. The...