Click here to Skip to main content
15,893,266 members
Everything / WF

WF

WF

Great Reads

by Tank Knat
Metah.W(MW) is a C#-derived metaprogramming language for Windows Workflow Foundation 4.5. It provides an alternative way of composing activities to the WF designer.
by Thando Khumalo
I struggled for four weeks trying to authenticate my Web service with AD group, I wanted to allow specific users to perfom specific tasks with the project. So finally I got it working and I thought I'll share this.
by jmix90
Simple properties Mapper by reflection: Stop copying manually each property of your objects !
by Parvez B
Synchronously returning a Dataset from Workflow Foundation to ASP.NET

Latest Articles

by User 11310514
Microsoft workflow - antimarketing
by Aydin Homay
In the software implementing business synchronizing structures/templates of the database entities with Data Access Layer SQL (commands/Transactions) is the most expensive thinks because you need to re-implement when you have change/s in your entities structure's such as Data-type, Name, and etc.
by Tank Knat
Metah.W(MW) is a C#-derived metaprogramming language for Windows Workflow Foundation 4.5. It provides an alternative way of composing activities to the WF designer.
by Thando Khumalo
I struggled for four weeks trying to authenticate my Web service with AD group, I wanted to allow specific users to perfom specific tasks with the project. So finally I got it working and I thought I'll share this.

All Articles

Sort by Updated

WF 

12 Jul 2012 by _Amy
Hi,Here you go:http://blog.dotnettechy.com/2009/07/introducing-wf40-building-distributed.html[^]http://blogs.msdn.com/b/endpoint/archive/2011/03/21/asp-net-wf4-wcf-and-async-calls.aspx[^]http://code.msdn.microsoft.com/Windows-Workflow-233b5e3c[^]--Amit
30 Mar 2011 by a1mimo
From my point of view I think its better to create them at runtime as your first suggestion it will be more efficient both in memory aspect and dynamic aspect
9 Nov 2010 by abdullah razzouk
Hi I have project which is about creating dynamic workflows for business process automation, and we are planing to program it in the .NET framework using ASP.NET. If you can help to find a tool that can create dynamic workflows online (I read about windows workflow foundation and I found...
25 Apr 2011 by Abhinav S
This [^] could help you get started.
12 Jul 2012 by Abhinav S
Try out the following msdn links -http://msdn.microsoft.com/en-us/library/aa349445%28v=vs.90%29.aspx[^]http://msdn.microsoft.com/en-us/library/ms734584%28v=vs.85%29.aspx[^]
29 May 2012 by Adam Roderick J
See u better starts with Visual C++ or C# to do the UI.Creating the forms in C++ is just graphics.So please go and study Visual C++.It will be better starting point for UI creation.
19 Jan 2010 by alexey.nayda
Hi.If guess the question is more general than technology specific.The question is if your item states are sequential.If your answer is YES then most probably sequential workflow model will be enough for you. Else use of course state machine.And about wrote:thousands of...
29 Mar 2011 by Amund Gjersøe
Some code would be nice.I would say that you don't edit the datagridview directly. You bind a datatable to it.If you insist:dataGridView1.Rows.Add(new object[]{11, "Some text", DateTime.Now, 33});dataGridView1.Rows[0].Cells[1].Value = "Some other...
9 Dec 2012 by Ansarshaik
Hi,Could any body tell me how to make a workflow with persistence in workflow 4.0 (with out Console application and delay activity)if u share any code that will be grateful?thanksAnsar
10 Apr 2012 by Anuj Banka
Add headers in WF service client and get headers value in WF service.
8 Jun 2011 by Aous Abbas
sorry to say that the maskedtextbox control in a windows forms for either c# or VB.net is not as flexible as you would hope it to be, it currently allow a fixed width masked value only, as in you will have to type 00002345 to get 23.45 in the textbox. the masked value puts the comma and dot for...
16 Dec 2009 by Aviad P.
Hello, I'm a beginner with WF, but I've read a book and done a lot of googling. I want to write an inventory management service. The inventory is made up of individual items which have a state:SpareInstalledIn-RepairItems may spend months in each state, and there are thousands of...
11 Feb 2015 by Aydin Homay
In the software implementing business synchronizing structures/templates of the database entities with Data Access Layer SQL (commands/Transactions) is the most expensive thinks because you need to re-implement when you have change/s in your entities structure's such as Data-type, Name, and etc.
15 Mar 2012 by badbooy8192
I made a browser like Kiosk mode,i disabled almost everything...but not able to disable ctrl+esc...please help me in disabling ctrl+esc...:)
16 Mar 2012 by badbooy8192
i want to disable flip 3d...how can i achieve it...any suggestions...!!!and i am also not able to disable ctrl+esc and alt+space...:(please help me out...!!
22 Jun 2014 by Benjamin Nguyễn Đạt
Hi all. I am wondering what is Windows Workflow Rule Engine? What does it use for and where can I find the starting tutorial for this. Does it also come together with the WF? At the moment, I do not have any experiences with the WF. Any helps would be appreciated. Thank you for your time.
11 Apr 2012 by Boolish
I have created a simple order manager wf service (state machine) in WF4.Order (EF entity) properties: Id, IsExport, NumOfProduct, ProductName, Status (waiting, approved, rejected).State machine states:1. OrderReceived (validation -> response activity) - Transitions:isvalid true, save...
10 Jan 2013 by bushra siddiqui
Detail : option provided in project is to save electricity the concept is that lights will switch on if it detects human presence in the room and switch off the lights if there is no human presence.in my project i want to show lights through LED , Please any help?
6 Nov 2014 by CaptainLazer
Also see this from MSDN:http://msdn.microsoft.com/en-US/library/7tas5c80(v=vs.110).aspx[^]Although in the Form1 constructor, it appears that this linethis.Load += new EventHandler(Form1_Load);Results in the Load event being called twice. Not sure what the purpose of this is supposed...
17 Mar 2017 by CHill60
Not at all clear. I suggest you start with the documentation and go from there ... Monitoring Workflows with WF[^]
27 Jul 2010 by Christian Graus
I have never been to Rome. Not sure if anyone else on this list is in Rome, or named Roman, but it does seem like you're put a lot of work into this post, and next to no work in to thinking where you put it. This is the quick questions forum, did you mean to use the forum provided under an...
28 Oct 2015 by Christophe_
We would like to make workflows designed by end users.I was able to store some workflow definitions in the database, reload them and make them work in a service.For the user to be able to create workflows, we need to create our own activities. I would like to pass non simple arguments (ie...
28 Oct 2015 by Christophe_
The only way I found was to wrap the sequence into a DynamicActivity and to pass parameters to the WorkflowApplication (or WorkflowInvoker) :Activity1 act1 = new Activity1();act1.Arg1 = new InArgument>(new VisualBasicValue>("MyVals"));Sequence seq = new Sequence{ Activities = {...
29 Oct 2015 by Christophe_
Hi,I was wondering if there is a way to convert a List to a VisualBasicValue> programmatically with reflection or something ?At least with T is string or ValueType.Thank you
15 Aug 2013 by CodeBlack
Follow below link. It has nice explanation :Speech recognition, speech to text, text to speech, and speech synthesis in C#[^]
10 Jan 2013 by CPallini
I would use a microcontroller, see, for instance: "Motion detection alarm using a PIR sensor module with a PIC Microcontroller"[^]. If you choose a microcontroller with a UART then you may easily connect it with the PC.
4 Jun 2015 by DamithSL
I would use AutoResetEvent and WaitOne to wait host application until workflow complete. sample code[^]:AutoResetEvent syncEvent = new AutoResetEvent(false);Activity wf = new WriteLine{ Text = "Hello World."};// Create the WorkflowApplication using the desired// workflow...
15 Mar 2012 by Dave Kreskowiak
The onyl way to do that from code would be to write a global keyboard hook and eat the Ctrl or Esc key. There's tons of examples out on the web on how to do this, though, I don't recommend doing this.Try this[^] instead. You'll have more control of additional hotkey combinations.
6 Jun 2016 by DRadha
I found a similar question at Persistence and Tracking in WF 4.5http://www.codeproject.com/Questions/593169/PersistenceplusinplusWFplus-c, but did not find an answer. That's why I am reposting my question.I am using .Net Framework 4.5, WF 4.5, SQL Server 2014 and MVC Web App.I have a...
27 Aug 2015 by forccyy
I have one asp.net MVC based application for vendor data collection system.Vendor will be provided with 1 temporary generated link, username and password. Vendor visits the link and fills the form (Asp.net MVC based).As soon as vendor fills the form data should be visible to person1 (lets...
8 Nov 2012 by FrankSzendzielarz
I think this means you need a transactional queue
31 May 2012 by Ganesan Senthilvel
As MCTS in WF, I can guarantee you about .NET WF capability. It provides strong mechanism to handle the fault/failure in the workflow process. Refer MSDN magazine article http://msdn.microsoft.com/en-us/magazine/dd419656.aspx[^]
17 Feb 2011 by GangadharMG
Hi All,We have a workflow activity in a file "Worflow1.XAML". We want that to be modified visually and save the changes back to same file.If we do this the next user will get the updated workflow.Please help me if you have any samples on this.Thanks in advance. With...
1 Jan 2011 by Gareth Barlow (NBNi)
Building up activities using the Managed Extensibility Framework for workflow services hosted in IIS.
15 Mar 2015 by gauravcarjinn
Hi,I want to know the windows workflow type, using .csporj file,I did google and found this link http://www.mztools.com/articles/2008/mz2008017.aspx[^]but this link only tell us the project type.According to my project type guid...
17 Mar 2011 by girish sp
i have used "caddatabase.dll" in my project,i want to get the version number of the dll..how to do this??thanks in advance
29 Mar 2011 by girish sp
I have datagridview in my application with four columns, I have made col 1 and col 4 as read only,but col 2 is of type string and col 3 is of type date time,how do i edit these columns and replace the new value.(this is just a simple appln no databinding involved)thanks in advance,
30 Mar 2011 by girish sp
How to get the selected column number or column header in datagridview, when doubleclick is made?and i want to place date time picker in that column.the code which I have used is this one:void DataGridView1DoubleClick(object sender, EventArgs e){MouseEventArgs args =...
30 Mar 2011 by girish sp
this is the solution i found which gives me the column value selected.but now my question is how to place text box inside that cell.. int Col=dataGridView1.CurrentCellAddress.X;
30 Mar 2011 by girish sp
i have datagridview in my application with 4 columns i have made col1 and col4 as readonly, col 2 and col 3 are text and datetimepicker values respectively.suppose if user edits col 2 i will perform hittest and make sure that the user has selected col 2 and then place a textbox in that...
31 Mar 2011 by girish sp
When a cell is edited in datagridview, I want to place datetimepicker in that cell.I have written this piece of code but this doesn't seem to work.Can any one help me in this?void DataGridView1DoubleClick(object sender, EventArgs e) {MouseEventArgs args =...
31 Mar 2011 by girish sp
i have come up with this code, working for me..thought of posting it here..it might help some one..any feedback on this code are welcome.. private DateTimePicker cellDateTimePicker; public MainForm() { // // The InitializeComponent() call is...
25 Apr 2011 by girish sp
hi all,i am using sharp develop with mysql database , i want to start off with simple applications(not too simple)..i want some examples to help me out..can anyone please help me out..thanks in advance,
1 Jun 2011 by Harikrk
in my workflow i have set AllowBufferedReceive flag in the WorkflowService class as per the support link belowhttp://support.microsoft.com/kb/2015689Now I am getting following error when a sequential flow is created"must be enabled to use the ReceiveContext ManualAcknowledgement...
5 Jun 2011 by Harikrk
HiI am working a project where I need to create a state machine work flow in 4.0. I have installed .net framework 4 platform updates and I am able to get state machine and states in toolbox to work with.I have created a WCF workflow service application. I have currently 3 states in...
25 Dec 2013 by Harkamal Singh
Morning !I am new to WF, liking it after C# and Powershell.I have few vendor developed workflows (.xaml) and I need to find out difference in previous versions. Is there a way to compare 2 workflows ?any tips please :)thank youhk
22 Jun 2014 by Jafarinejadvazifehkhorani
Rules technology is one of the main keys of WF(Windows Workflow Fundation)—as conditions on activities and as a forward chaining RuleSet in the Policy activity. it refers to the ability for the actions of one rule to cause other, dependent rules to be reevaluated.here they described what it...
1 Feb 2011 by jim lahey
Hello everyone,Legacy systems already in place dictate we are going to have to communicate with Exchange 2003 in our application. I have already used WebDAV + C# 2.0 in conjunction with Exchange 2003 in years previous. Having found it a complete pain in the backside to use WebDAV in this...
25 Feb 2010 by jmix90
You often read on the web that the DependencyObjects are not marked as serializable and that this is a major drawback of them...But there is a easy way to perform a serialization of these object : use XAMLWriter and XAMLReader :public class MyDependencyObject : DependencyObject{public...
12 Mar 2010 by jmix90
Here is the next episode of our serie MVVM - Creating ViewModel.
8 Apr 2010 by jmix90
A lot of controls expose properties which are not DependencyProperties and then you can’t put a binding on it. On some other cases, you only have a getter as accessor and you can’t put a binding on it too...
9 Apr 2010 by jmix90
Simple properties Mapper by reflection: Stop copying manually each property of your objects !
7 Nov 2010 by Justin Mathew @ Investment Bank
New changes and features in Workflow service 4.0 provided with a sample solution to invoke WCF service from workflow service
13 Sep 2014 by kadavergula Chandrashaker
Hi,Can anyone explain me about how to implement a state machine workflow in wf4.0 with the help of bookmarks.Thanks
17 Aug 2013 by keerth516
created a custom code activity for calculation of any given expression from console.Its a workflow console application.It works fine but the unit test created for this activity has run time issue.I followed creating a unit test for any activity from pro WF4 book.It takes too long to run these...
21 Aug 2013 by keerth516
My requirement is: selecting different template(for 4 different user)in WPF using WF4 custom code.As for now i have created only one template per userI have created a ActivityLibrary,contains codeactivity,activity.xaml + workflowconsoleapplication + WPFapp (to host the workflow)activity.xaml...
22 Aug 2013 by keerth516
I want to fetch and insert data into sqlserver database using WF4.please guide me how can i do it.provide me some examples and links to learn it
5 Jun 2011 by Keith Barrow
Firstly, check this[^] doesn't resolve your problem (especially the part about ordered messaging). WCF messages are notoriously finnicky and often misleading, make sure that you are persisting you workflow a simple example can be found here[^].Hopefully one or the other link will help you...
25 Apr 2011 by Kim Togo
Start by using MySQL Connector/Net[^].Add a ref to MySQL dll.Then you can start doing SQL calls.System.Data.Common.DbConnection sqlConnection = new MySql.Data.MySqlClient.MySqlConnection("server=localhost;user id=sqlaccess;password=sqlpass;database=testdb;");try{ string sql =...
9 Dec 2012 by Krunal Rohit
WF 4 Persistence, Tracking, and Bookmarks: A Practical Approach[^]
20 May 2013 by kumar2413
SqlConnection con = new SqlConnection("Data Source=(LocalDB)\v11.0;AttachDbFilename=C:\Users\Downloads\charityah.mdf;Integrated Security=True");DataSet ds = new DataSet();SqlDataAdapter DataAdapter1 = new SqlDataAdapter();SqlCommand command = new SqlCommand();command.CommandText =...
4 Jun 2015 by KVPalem
Hi I am working on statemachine in WF.Invoking workflow using WorkflowApplication.after creating instance and calling workflow by instance.Run() method.Then instance.unload() i am calling.When run method called respective codeActivity is getting executed where i am creating the...
8 Mar 2011 by Manjinder.Singh
Hello everyone, i am currently searching for an AddON which representing BPEL activities into Visual Studio 2010 to create Windows Workflows. For Visual Studio 2005 Microsoft released a CTP version to import and export from BPEL into WF and otherwise.BPEL for Windows Workflow Foundation[^]...
10 Jun 2012 by ManojKumar19
This article demonstrates how WF can be consumed as a business layer.
19 Mar 2012 by Md. Rashim Uddin
How to define your own dialog box
17 Nov 2015 by Member 12111047
Hey everybodyI wonder how I can make a Circle notification of my Tabs in a TabControl, C# WindowsForms.see imageNotificationer shall mean for example. Has happened two new messages in losses1 and 9 File is visible in Tab2Hope you understand my question about which way I can get a...
28 Feb 2017 by Member 12558924
I want to program a message that tells me if there is one or more cvs file present in the zip file and gives me the number of files contained in this zip. Thanks in advanceWhat I have tried:var = comboBox1.SelectedItem.ToString();fullpath = fbd.SelectedPath + "\\"+...
20 Mar 2023 by Member 14125980
Hello Is it possible to load a file from a local folder and display it using the Print Preview Dialog? I have spent some time investigating ways to do this and tried various ways of coding but I have had no luck. Is what I'm trying to do even...
6 Mar 2012 by Member 7791929
Hi, We are building an application that is required to interface with DLL's of other applications installed on a desktop. This is a VB.NET 4.0 project. We are required to use functions within the DLL's of other applications. I have referenced the DLL's required and can execute the functions...
20 May 2013 by Member 8403770
HelloI created a DataBase named charityah containing 5 tablestheir names are listed in a comboboxwhen i choose one of them i want to display its content in a datagridview What i tried isfirst i linked the datagridview to this databaseand tried this code that i found...
21 May 2013 by Member 8403770
dataGridView1.VirtualMode = false;dataGridView1.Columns.Clear();dataGridView1.AutoGenerateColumns = true;Problem solved :Dty all for ur help
21 May 2013 by Member 8403770
How can i create a diagram like this one?http://i.stack.imgur.com/fkWW2.jpg
26 May 2013 by Member 8403770
I created a view named "FamilyView" to join 2 tables(Families and SStatus) and replace an id in the first table(Families) by its name existing in the second table(SStatus) (the column is now called "Status")This view is now displayed in a datagridview that the user can modify Sda...
26 May 2013 by Member 8403770
HelloI'm looking for fancy looking datagridview examples C# windows formcan anyone help?
17 May 2012 by Member 8456258
Hello EveryoneIn Windows forms a rectangle variable name is used in a "if Statement" and it returns a Boolean values as such:if (someRectangle)if (!someRectangle)or a rectangle is nulled as such:someRectangle = nullptr;Would you please describe the following:-What property...
26 Nov 2012 by Member 8978782
Hi,I was trying to get the Side by side workflow services to work ( followed the MSDN article.. http://msdn.microsoft.com/en-us/library/hh314045%28v=vs.110%29.aspx). Unfortunately my persisted workflows broke.. It has thrown very generic exception, given...
2 Jan 2013 by Member 8978782
Hi,I'm using the WCF Routing Service in order to route the requests to different versions of the services based on the Http Headers.There are different kinds of clients ( Java clients,.NET clients) are going to consume the WCF Routing Service..1. Does...
3 Jul 2012 by Member 9140440
please suggest me some sites that explains about wf 4.0 in detail
3 Jul 2012 by Member 9140440
We have alredy completed project which consists of different kinds of activities and workflows and we have done our project in vs 2005 where wf 4.0 is not involved.All the contecnt of the data regarding the activities are accessed in data base. Now We are moving converting our existing...
29 May 2012 by meshinator
validating does means checking the inputs and displaying errors if inputs are not correct.Login form can contain two feilds,username and passwords as a text box1 and 2 and validating through a button.??i am new to c++.
22 Jul 2010 by MMuazzamAli
Guide to build and test a simple Web Service in Workflow Foundation 4.0.
24 Apr 2020 by Mohammad Al Hoss
Hi All, Recently I started working on Workflow foundation but most of the resources I found are old and goes back into 2009 and 2007. Why there is not any new resources I researched many sites most of the resources are old is Microsoft...
18 Jul 2012 by Nareshnani
WorkflowInstan...
20 Jul 2012 by Nareshnani
Hi, I am Naresh,I had completed one Asp.net application, in that application we had lot of approvals for different activities, now we decided to implement these approval process using workflows, i had struck how to implement the workflow from my app, can u give any idea regording it, how...
31 May 2012 by Neevarp A
Hi,I am new to workflow.am implementing leave management system with asp.net and WF4.where we have two activites leave request and confirmation.once the leave has been applied i need to persist the state and send a message to my aspx page telling 'leave req has been made'.when the manager...
6 Jan 2012 by NourBerro
Hello, for all experts here i have a project to develop by using windows workflow foundationbut im not that expert with wf and this will be the first wf project the scenario is :i have a university system which has teachers and Dr's apply to get a jobs. after the Dr apply to...
17 May 2012 by obzajd
I've edited my last project, showing no errors in code nor in run time.it consists of two forms :form1 is used to add a new objectForm1.cs using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using...
21 May 2012 by obzajd
It's really shameful for the 52 persons who viewed my question was unable to solve a problem, that a rookie or a newbie like me has solved it on his own.now the mistake I've thought about is, there's no rows without columns!so, come to think of it, I needed a fixed columns with a...
10 Jan 2013 by OriginalGriff
Controlling LED's: I/O Ports Uncensored - 1 - Controlling LEDs (Light Emiting Diodes) with Parallel Port[^]"any suggestion what hardware should i use for detection of human presence?"Camera, or better still use a PIR[^] - the type used in burglar alarms should be cheap but effective.
20 Mar 2023 by OriginalGriff
The PrintPreviewDialog only works with a PrintDocument - it's there to show the user what his output might look like before he commits to paper. As such, it can show data from anywhere - it's entirely up to you as the developer to write and draw...
21 Jan 2011 by Parvez B
Synchronously returning a Dataset from Workflow Foundation to ASP.NET
10 Jan 2011 by Paul_FT666
Hello,I created a simple long running workflow with flowchart and I’m using WorkflowServiceHost to host it on a console application, I’m using persistence too.In order to manage instances I created a couple of endpoints:WorkflowControlEndpoint controlEndpoint =new...
24 Apr 2020 by phil.o
The latest release dates back from 2012, and is part of .NET Framework 4.5. Windows Workflow Foundation | Microsoft Docs[^] presents the WF framework and is dated between 2017 and 2018, for most of its parts. MS decided not to port it to .NET...
26 Aug 2014 by pianocomposer
Solution 2 is excellent. Here is some clarification. This code could be called for CellClick(). CellContentClick(), CellContentDoubleClick(), and CellDoubleClick(). This code is tested and works in VS2012. private void dataGridView1_CellDoubleClick(object sender,...
12 Jul 2012 by Prasad_Kulkarni
Refer MSDN:These articles contains resources to help developers get up to speed on developing with Windows Workflow Foundation (WF). There have been significant changes in the model for developing workflows in WF 4 (part of .NET Framework 4) from prior versions of the framework. If you are new...
3 Oct 2013 by Prasyee
Hi Folks,I am working in Windows Workflow Foundation 4.5.I need some pointers in Persistence and tracking concepts.I can able to persist the Workflow Application by creating an Instance and saved in Persistence Store [Instances Table ] in SQL Server 2008.And by passing the Exact...
3 Jan 2014 by prthpatel412
I have Windows Service, which is consist of various workflow.What I am trying to do is start/stop service from my c# application. (Which I can easily do using ServiceController) but service call some third party API which I would like to Mock and and provide a different implementation....
16 Mar 2012 by psgviscom
Refer these linkshttp://msdn.microsoft.com/en-us/magazine/cc188951.aspx[^]Lock Windows Desktop[^]
7 Jun 2011 by Rafal_JRS
Hi All,I'm trying to set up mask in masked text box for decimal or real numbers only.I've tried 999,999.00 or 000,000.00 or ###,###.##.But when i'm trying input e.g. 23.45 value nothing changed after pressing , or . andI receive 234 5__.__ value. I think after pressing , or . carret...