Archive for the '.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 there is no database exist in destination and configure the below steps for first-time database deployment
Related Posts:
1 commentCreating 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 templates window as shown below
2. In this empty project , you will find an empty .uml file which is an xml document which holds all the UML elements
Related Posts:
1 commentCreating a Sample Visual Studio LightSwitch Beta2 Application
Related Posts:
5 commentsWCF 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:
No commentsWCF 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 SOAP message.
Typical SOAP message transmission shown in the below image

Image Source crosscheknet.com
Related Posts:
1 commentGuidelines 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:
3 commentsVisual 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:
No comments.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:
1 comment.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 Collection is implemented using red-black tree datastructure. Compared to HashSet<T> provides lesser performance for insert,delete and lookup operations. Use this collection if you want to keep the elements in sorted order.
Related Posts:
No comments

