.net - Best Practices For Web Application Workflow?
Jul 18, 2010
All too often I find myself being required to design pages that flow through a series of steps. 1) Select from a set of options. Submit.2) Populate a page with results. Make changes. Submit.3) Do something based on the previous results. Submit.4) Confirm previous actions. Submit.5) Goto 1.An ecommerce site with shopping cart would be a textbook example of this.Now, there are any number of ways to deal with this. My question is, what is the recommended way to do it in asp.net? In PHP or ISAPI I would just use standard html controls, get the post data and do stuff with it, each on a different page
View 3 Replies
Similar Messages:
Jun 22, 2010
I am new to workflow and just know some of its features. I want to do a project in WF. It will be a web based intranet application where user will be able to define workflow dynamically through web interface.Duration for completing a task can be many days.With these requirments I am not sure will use of WF helpful in quick development or it will increase work ?Please advice me should I try to learn WF for this project or should do it with C# and asp.net
View 1 Replies
Aug 3, 2010
I know this is not the right place to post this question but I dont know where to go. My question is this.I have a statemachine workflow, this workflow works fine until a new requirement is came. The new requirement is to add a new state and event driven but this event driven is fired if the document library item is updated where the workfow is embedded. Is this posible? if so what event activity should I place?
View 7 Replies
Aug 12, 2010
The client wants to see a graphical representation of the workflow. In addition (let's say it is a workflow for processing orders), the client wants to see at what point in the workflow any given order is, indicated on the graphical workflow representation by a highlighted node or some visual queue.
All of this must be available via a web interface.
Was hoping somebody had some bright ideas for how to achieve this without writing extensive custom controls.
Does Workflow Foundation 4 offer anything itself that would assist toward this end?
View 1 Replies
May 7, 2010
In my experience building web applications, I've always used a n-tier approach. A DAL that gets data from the db and populates the objects, and BLL that gets objects from the DAL and performs any business logic required on them, and the website that gets it's display data from the BLL.I've recently started learning LINQ, and most of the examples show the queries occurring right from the Web Application code-behinds(it's possible that I've only seen overly simplified examples). In the n-tier architectures, this was always seen as a big no-no.I'm a bit unsure of how to architect a new Web Application.
View 2 Replies
Aug 17, 2010
best practices to be followed in deployment of asp.net web application & WCF service in IIS 7 regarding the IIS 7 configuration settings , Security setting, application access level settings..
View 2 Replies
Sep 6, 2010
I am starting to design my own CMS , and i want it to be modular to add more functionality later by me or by any other developer I put my eyes on joomla CMS (very popular ,robust and extensible) I want to make a CMS with asp.net to be just skeleton and all functions are done through components
Functions like :-
User management
Content Management ,editing and display etc.
My main idea is to let the skeleton to know from the query URL the required component and pass all other parameters to it and the component do the rest (parse parameters display results etc.)
the problem is how to achieve this how to call the component and and how to let it render its UI and pass it to the skeleton to put it in the appropriate place in the main site template
View 4 Replies
Apr 4, 2010
Is there a sample application to demonstrate best practices for Asp.Net? I am looking for something like SharpArch (for Asp.Net)?
View 1 Replies
Apr 8, 2010
I have to pass information from a desktop application to Web application and vice versa. What are the best practices that are regularly used? Currrently I'm using Asp.Net and a Winforms. To pass data to Web Site im creating a (POST) WebRequest and posting an xml to the siteTo pass data to Application im using .Net Remoting from Asp.ne(I'm using Winforms is an adminstration and monitoring application.)
View 4 Replies
Feb 15, 2010
We need to secure how our web application access our SQL 2008 database on our hosted server. Any pointers where this is covered in detail? We have the following questions:1. right now the network service account runs the application pool containing our application in IIS. Should we define a local windows user account to run this application in IIS 6? Should we switch to Windows authentication?
View 3 Replies
Jan 27, 2010
I know workfow engine is, but actually in our programming life, how can we get use of the workflow engine ?
How will workflow engine
View 3 Replies
Jul 15, 2010
I need to create a customer workflow for CRM dynamics , I have visual studio 2010 Express edition install in my machine. I most of the examples in web says Go to Visual studio 2005 or more, then slect Workflow Project type in new project dialog box. but in express edition i cannot see workflow as a project type, is this because of express edition or do i need to run any thing to get this project types in to VS express.
View 4 Replies
Sep 13, 2010
I write an application in asp.net and I have something like state machine which can be modified by user (nodes, paths and directions of paths).
Is there any nice controll I can use to display this data ?
Just display, there is no need to do anything with it
View 2 Replies
Nov 10, 2010
Is there any good example to implement Asp.Net page flow using workflow 4.0 ?
View 3 Replies
May 3, 2010
1) the user signs up for the first time. They see 3 different screens, their basic user information, their credit card, and some additional profile information. They complete these 3 steps in a wizard like fashion, where each time they hit "submit" they leave the current screen and move on to the next.2) the user already is signed up. He has links in the navigation to these 3 seperate pages. He can update them in any order. When he hits save, he doesn't leave the page he's on, it just shows something at the top that says "Credit Card Info saved..." or whatever. Possibly using ajax or maybe a full page refresh.I would like to reuse the code not only the view but also in the controller for these 3 screens between the two workflows, but without a ton of if...then logic to determine where to go next depending on whether its a first signup in the wizard or updating individual parts of a profile.
[code]...
View 2 Replies
Feb 18, 2011
I am planning to build a custom web application in ASP.NET 4.0 using WF 4.0, the user wants ability to modify workflows himself, for this we will be using a WPF client which the user can use and we will do workflow re-hosting, lots of blogs and guidance is available for this. But I am not sure how to the meet one requirement where the user wants to see/track a visual representation (diagram/image) of the workflow, depicting what stages are over, what is the current stage etc. This needs to be done on a web page.Possibly the same workflow with icons depicting status. This is something similar to the visual available for Visio workflows in SharePoint 2010. Even AgilePoint workflows provide such a view.
View 2 Replies
Sep 24, 2010
you could have a workflow which is used for the submission and tracking of tickets, with the scenario that when the support desk goes home all of the active workflows generate an e-mail to the person who submitted the ticket saying that their ticket won't be looked at today.What is the best approach to do this?Is it a custom activity or some other method of enumerating all of the active workflows and firing an event/queueing an item to the workflow queue Clearly from the workflow perspective it would be nice to have an activity within it which is fired when,in the case of the example above the office closes.
View 2 Replies
Mar 4, 2010
I have see many websites that they show nice tab headings with STEPS: 1. Sign-in, 2- Billing info, 3 - Payment, 4 - Place order While customer ordering items, he/she goes through these steps and gets an experience of using a wizard based approach. one Also this gives good feedback of what are steps involved in the order processing Any details on how to do this wizard kind of functionality in ASP.NET MVC? Is there anything in JQuery UI that might be helpful? I know that I can simply use some text tabs and use different background color for selected step: But wondering if there is more standard or better ways to do this with: ASP.NET MVC, JQuery UI etc.
View 2 Replies
Oct 28, 2010
I understand the concepts of windows workflow...But unable to understand how to implement it...Can anyone tell me some good sites which explains Workflow with coding???
View 1 Replies
Jul 30, 2010
My basic question is how can we show a sequential workflow diagram on asp.net web page dynamically. using WWF can we do this?. i have gone throgh the some of forums/articles but i could not find right information anywhere. please suggest me the right path to achieve this.
View 9 Replies
Mar 12, 2010
I excluded a file(i.e . a WorkFlow file) from my project. The file got removed from the Solution Explorer, But it was in the directory where the project was saved. Can anyone please tell me how the file can be included again.
View 1 Replies
Mar 10, 2011
I read some blog that If we host workflow foundation in asp.net, there will be issues with workflow persistence, is this correct? and what is the better idea to host workflow foundation on asp.net or on windows service?
View 1 Replies
Mar 13, 2011
I am trying to understand this example. My issue, is can I save a .xoml/.xaml definition to the database the same way you save an xml file? Or do I have to convert this file to something else?
This is the .xoml that gets re-written with these values. The file that is generated as part of a wizard step.
[Code]....
This .xaml gets generated from this code.
try
{
// Save the workflow first, and capture the filePath of the workflow
this.workflowDesigner.XamlFile = "CustomOutlookWorkflow.xoml";
this.workflowDesigner.PerformSave();
this.xamlFile = this.workflowDesigner.XamlFile;
XmlDocument doc = new XmlDocument();
doc.Load(this.workflowDesigner.XamlFile);
XmlAttribute attrib = doc.CreateAttribute("x", "Class", "http://schemas.microsoft.com/winfx/2006/xaml");
attrib.Value = this.GetType().Namespace + ".CustomOutlookWorkflow";
doc.DocumentElement.Attributes.Append(attrib);
doc.Save(this.workflowDesigner.XamlFile);
compileWorkflowButton.Enabled = true;
MessageBox.Show(this, "Workflow generated successfully. Generated Workflow XAML file:
" + Path.Combine(Path.GetDirectoryName(this.GetType().Assembly.Location), xamlFile), this.Text, MessageBoxButtons.OK, MessageBoxIcon.Information);
}
catch
{
generateWorkflowButton.Enabled = true;
}
public void PerformSave()
{
if (this.XamlFile.Length != 0)
{
this.SaveExistingWorkflow(this.XamlFile);
}
else
{
SaveFileDialog saveFileDialog = new SaveFileDialog();
saveFileDialog.Filter = "Workflow XAML files (*.xoml)|*.xoml|All files (*.*)|*.*";
saveFileDialog.FilterIndex = 1;
saveFileDialog.RestoreDirectory = true;
if (saveFileDialog.ShowDialog() == DialogResult.OK)
{
this.SaveExistingWorkflow(saveFileDialog.FileName);
this.Text = "Designer Hosting Sample -- [" + saveFileDialog.FileName + "]";
}
}
}
internal void SaveExistingWorkflow(string filePath)
{
if (this.surface != null && this.loader != null)
{
this.loader.XamlFile = filePath;
this.loader.PerformFlush(this.Host);
}
}
Ultimately a .dll is compiled and will be saved, but I would like to be able to save the xaml definition to the database. I hope this is easily converted to an enterprise solution but it is looking to be alot of work.
// Compile the workflow
String[] assemblyNames = { "ReadEmailActivity.dll" };
WorkflowCompiler compiler = new WorkflowCompiler();
WorkflowCompilerParameters parameters = new WorkflowCompilerParameters(assemblyNames);
parameters.LibraryPaths.Add(Path.GetDirectoryName(typeof(BaseMailbox).Assembly.Location));
parameters.OutputAssembly = "CustomOutlookWorkflow" + Guid.NewGuid().ToString() + ".dll";
results = compiler.Compile(parameters, this.xamlFile);
StringBuilder errors = new StringBuilder();
foreach (CompilerError compilerError in results.Errors)
{
errors.Append(compilerError.ToString() + '
');
}
if (errors.Length != 0)
{
MessageBox.Show(this, errors.ToString(), this.Text, MessageBoxButtons.OK, MessageBoxIcon.Error);
compileWorkflowButton.Enabled = true;
}
else
{
MessageBox.Show(this, "Workflow compiled successfully. Compiled assembly:
" + results.CompiledAssembly.GetName(), this.Text, MessageBoxButtons.OK, MessageBoxIcon.Information);
startWorkflowButton.Enabled = true;
}
View 1 Replies
Mar 29, 2011
I have been, exhaustively, looking at examples of WF4 and am not sure it will work for my project. I need to be convinced otherwise. I am struggling with how we would implement a system to use WF4 so users have the ability to define workflows. It seems you need VS2010 experience to design and implement a WF 4workflow. I love wheat it can offer, but feel it may be too complicated for non techical users.
Do we just define a ton of custom activies that a user can move into a workflow? How can we make it as easy as possible for a user to build the workflow?
We have and application that we want to allow, Joe / Jane user to create their own workflows for specific items. For example, Request For Information items. The RFI has specific states it can be in that are defined by the user.
They should be allowed to control the flow based on those states. There will be some base items that the application defines as to what will happen based on a decision / condition. So, things like notifications (who gets notified when something changes), time frames (how long something can stay in a certain state before something else happens), and possibly some other conditions.
The conditions / decision types will be limited by the application, for now. But imagine they can build the workflow and add those decisions / conditions in without any coding knowledge.
View 1 Replies
Feb 18, 2011
Some items don't have write access right due to workflow state write not being granted.When I click write access right in Access Viewer
Access Viewer informs me that selected user don't have access right due to workflowstate write acess right:
Unfortunately I'm not able to set it 'manualy' through security editor:
View 1 Replies