TechBubbles

Microsoft Technology BLOG

Latest stories

Microsoft Next Operating System Windows 7

Microsoft announced that the successor to Windows Vista will be called Windows 7. Microsoft has set 2010 as release target for Windows 7.   Mike Nash, corporate vice president of Windows Product Management, explained: "Over the years, we have taken different approaches to naming Windows. We’ve used version numbers like Windows 3.11, or dates like Windows 98, or...

Calculating the size of the File in C#

Introduction This code snippet explains how to calculate the size of the file and display in a label control. For example I am taking PDF file to find the size. It Displays the size of the file in Bytes, Kilobytes and Megabytes.   //Calculate size of the PDF file        if (PdfFilePath.EndsWith("pdf"))        {...

CRUD operations using the List View Web Server Control

Introduction Using the ASP.NET ListView Control we can insert,edit, or delete records without writing any code. This post explains how to display and update data using the ListView control. We will use SqlDataSource control to retrieve results from the data source and act as the data source for the ListView control. 1. Create a web site in visual studio 2008 by selecting the File menu, click new...

Creating Custom Activities in Windows Workflow Foundation

Introduction Activities are basic units in workflow execution. Activities are two types basic activities and composite activities. Basic activities are steps in the workflow and composite activities  can contain other activities. Base activities are comes with Workflow Foundation and these can be used by dragging it from visual studio toolbox. We can also create custom activities that appear...

Using If/Else activity in Workflow Foundation

Introduction In this post I will explain how to utilize the IF\Else activity and a declarative condition in the workflow to perform the conditional processing. This workflow evaluates the order by taking the order value and if the order value  < $1000 then it will approved by Manager other wise it requires vice president  approval. 1. Create a new workflow project by selecting File...

Windows Workflow Foundation Key Concepts with example

Introduction This post discusses the key concepts of workflow foundation, authoring the sequential workflow using the visual studio 2008 designer for WF and debugging the workflows using visual studio 2008 designer. You can Get the overview on windows workflow foundation before going to read this post.   1. Create the new workflow project by selecting the File->New->Project in...

Windows Workflow Foundation Overview

Introduction Windows Workflow Foundation is Framework for building the workflow enabled applications on windows. It consisting the workflow engine and designer. Workflow foundation supports both human and system workflow. The Workflow Foundation can be used in the following scenarios Workflow within Line-of-business applications. User interface page flow Human workflow Workflow fro SOA...

Silverlight 2 Development Overview

Introduction This post explains starting Silverlight 2 development from developer prospective. Microsoft Silverlight is a cross-browser,cross-platform for delivering rich media experience and interactive applications for the web. Prerequisites   you need to have the following installed on your machine to develop the sample Silverlight 2 application in VS environment.  VisualStudio...

Creating Action Filters in ASP.NET MVC Applications

Introduction ASP.NET MVC Applications contains the action methods in the controllers. These actions are mapped through the routing when a user makes a browser request. In order to execute your logic before a action method is called or after an action method runs. ASP.NET MVC support this requirement through a concept called ActionFilters.  ActionFilter Uses Authentication and Authorization...

ASP.NET 3.5 URL Routing

Introduction This post speaks about basics of URL Routing and how URL Routing related to building a ASP.NET MVC Application. You can also use the URL Routing with the ASP.NET Web application if install the Visual Studio 2008 service pack1. This post specifically speaks about how URL Routing is used in ASP.NET MVC Application. URL Routing is critical element in the ASP.NET MVC Application. The...

TechBubbles Microsoft Technology BLOG

Follow me

Archives

Tag Cloud