Windows Workflow Foundation editing workflow outside visual studio - workflow-foundation-4

Is it possible to edit the workflows defined in WWF outside of visual studio so that an end user can edit the business rules without resorting to development team?

Yes, you can re-host the workflow designer in another application or even a web browser (as an XBAP). You can include the out of the box activities too, even change how they look in your re-hosted workflow designer.

Related

Asp.net mvc in SharePoint

I created a ASP.net MVC 5 project in Visual Studio 2013, running in a Windows 8.1 Pro.
I've been ask to put my project on a SharePoint, but I don't quite know how it's done.
i tried creating a SharePoint project on my Visual Studio but it won't let me since I don't have SharePoint installed, and when I try to install SharePoint Foundation 2010 or 2013 it complains I don't have Windows Server.
How do I make my project work on a SharePoint?
So you want to put your project on sharepoint? Cool!
In your case you definetly want to get your own SharePoint environment. To develop Apps (or Add-ins as they are called today) you mainly use Client-side code and techniques. This also means that you need to handle the SharePoint resources with asyncronous programming. Its very powerful, But that is not what you are asking for.
I would set up an SharePoint 2013 Foundation environment since its free and will very much deliver the capabilities you are after. Keep in mind though that SharePoint is a HUGE system that requires some understanding to be utilized.
I made a blogpost a while back where i Installed Win Server 2012 R2 on a external disk, this example works with SharePoint if you just want to debug your project on a SharePoint server. Check it out here: http://bayerlein.se/install-windows-server-on-external-hdd-with-the-help-of-virtual-box/
This solution will of course also require that you install your development program in the same environment.
Good luck//Kodz
It really depends upon what you want to do. Do you need to create a provider hosted app with MVC for SharePoint 2013? In that case, you might succeed with including the necessary references and tooling code (but you still might lack the app manifest project). Technically your project won't run on SharePoint but uses the SharePoint API.
If you need to create an SharePoint solution package, you need a SharePoint development install (and as SharePoint doesn't install on all client OS, your best way is going virtual with a SharePoint development VM). Keep in mind that developing solution packages is a different kind of trade than developing for MVC, so start with a Pluralsite course or some other kind of training.
I think you can create a SharePoint app. You can use VS2015 with SP online so that you don't need to install SP locally. Create a trial o365 account and enable developer site on it. You can deploy your app on the developer site then. If you have developer site from you client instead of using sp online you can use that too.
Once your app works you can create package to deploy on the SharePoint environment.
I think right now, the best way for you would be signing up as Microsoft Office 365 Developer and having a trial of the 365 cloud where you can setup sharepoint 2013 site collection and also develop apps using their tool NAPA.
These days they are calling apps "SharePoint Add-ins"
NAPA and SharePoint Add-ins
I would also suggest you take a look at this article:
SharePoint 2013 Developing Apps vs. Solutions

Rollback Visual Studio WebApplication to a previous working state

I built an asp.net MVC project and it was working perfectly. I played with it a little more, and doesn't work anymore. Is there a way to rollback the application?
Unless you used some sort of version control system such as GIT, there's no such functionality built-in that would allow you to revert back to some previous state of your code. I would strongly recommend you using version control for all your projects.

Visual studio 2010 dialog halts automated build

I am working on a project with a build that is automated using NAnt. The automated build includes NAnt tasks to clean the machine, including deleting and re-creating the virtual directory, clearing out VSWebCache, etc. Once the machine is reset, it attempts to compile the site with this:
<exec program="${visualstudio.install.dir}\devenv.com" commandline="SolutionFile.sln" failonerror="true"/>
The problem is that the automated build locks up at this point.
If I open the .sln file interactively, the first thing that happens is Visual Studio prompts me with a dialog box. I suspect this dialog box is "opening" (invisibly) when I run the NAnt script and I can't click on it to proceed.
The dialog message is:
Microsoft Visual Studio
The web (URL) is currently configured for use with ASP.NET 1.1. Web project (name) is targeting ASP.NET 4.0; if not configured some features may make incorrect assumptions, and pages designed with the tool may not render correctly.
Would you like the site to be configured for use with ASP.NET 4.0?
I do in fact have 3 different versions of .NET on my machine-- I work on multiple projects. I can't configure the site ahead of time because the build script will blow away my configuration anyway. I guess what I need is either an automated way to accept the dialog (as if I clicked the YES button) or a NAnt task that will automatically set up the vdir to be an ASP.NET 4.0 application.
I do have free reign to modify the build script as I see fit, but I cannot simply remove the portion that resets the machine-- our build box is shared with other projects and we have to reset everything to a known good state before running our compile.
Use MSBUILD directly, don't use devenv. It's the full IDE, and all you need is to build.

visual studio 2010 setup project - shortcut to web page

Is there anyway to create a web link without using custom action?
I want to add a web link to start menu that will open default browser on target machine and browse the link.
A solution is to use IniFile table like in this post.
Visual Studio setup projects do not support this, so you will need to edit your MSI with Orca. A simpler approach is to use WiX or a different setup authoring tool which offers more control over your MSI package.
What I ended up doing was adding the .url file to SetupProject and it did the trick (as it described in the post #Cosmin Pirvu referenced to).

Drap and Drop in Eclipse for Web Projects

Is there an equivalent drag and drop style for Eclipse (or any IDE in Java) for J2EE or JSP that is similar to the IDE feel of ASP.NET in Visual Studio? ASP.NET allows you to drag and drop controls to a web form or web page.
Netbeans IDE is the answer of your question. You can design your JSP pages like you are designing Asp.NET pages in Visual Studio. Here is the link of this feature of Netbeans.
Netbeans Visual Web Design http://www.netbeans.org/images/v6/5/screenshots/visual-web-jsp.png
I don't know Visual Studio's capabilities, but Eclipse of course offers visual editors in form of a plugin. Here's an example of a JSP editor (http://www.myeclipseide.com/module-htmlpages-display-pid-12.html). There are also editors for Swing GUIs etc. Just Google for "visual editor/designer eclipse jsp".
I had this same question this morning, so I downloaded Eclipse and tried to figure it out (I typically use Visual Studio). Here it is, but it is apparently not nearly as capable as Visual Studio Design View. Create an HTML file, and then right click on the file and select Web Page Editor.
I learned about it from here, it was difficult to find. http://dev.eclipse.org/newslists/news.eclipse.webtools/msg13837.html
I would love to see a comparison between VS Design View and Eclipse Web Page Editor; seems like building UIs for the Internet still (after many many years) a mess.
Screen Shot of Eclipse Web Page Editor
Eclipse Web Page Editor http://www.petegordon.com/eclipse_web_page_editor.jpg
Visual Web Pack - http://netbeans.org/community/magazine/html/03/visualwebdev/ , which provides you with all the resources you need to create a proper page with customizable designed.
You put no restrictions on your IDE, so I can safely say that it is for NetBeans (only build 5.5, however). It is a discontinued project, but whatever is already made, is made to last a while. Strongly suggest.

Resources