Using Enterprise LIbrary 6 Application Blocks - enterprise-library

Then new Enterprise Library 6 is out and can be downloaded here. I have downloaded and extracted EnterpriseLibrary6-binaries.exe to a folder on my C: drive. The readme says this:
MICROSOFT ENTERPRISE LIBRARY 6
Summary: This package contains Enterprise Library configuration console, MSMQ distributor service, merge configuration tool and a script to download binaries for all application blocks from NuGet.
In order to get all the binaries, run the install-packages.ps1 script.
Note: For the Semantic Logging Application Block Out-of-Process service, a separate package is available for download.
I then run Powershell and run the script. I now look in the folder I extracted the .exe to and all of the binaries are there. Now, here are the instructions from the Enterprise Library 6 .chm.
To install the integrated Visual Studio configuration editor
1. On the Visual Studio Tools menu, choose Extensions and Updates.
2. In the Extensions and Updates dialog, search online for EnterpriseLibrary.config.
3. Click the Download button to download and install the Enterprise Library configuration editor.
4. Restart Visual Studio to complete the installation.
To launch and use the configuration editor from Visual Studio
1. Open a solution in Visual Studio.
2. If the solution does not contain a configuration file, add one using the Visual Studio Add menu.
3. In Solution Explorer, right-click the configuration file and then click Edit Enterprise Library V6 Configuration. This launches the integrated configuration editor or the appropriate standalone version of the configuration tool.
Step #3 is where I am stuck. I have a WCF service project with a web.config in it. I right click the web.config and I don't see a "Edit Enterprise Library V6 Configuration" context menu option.
I DO see an "Edit Server Configuration File v6". However, when I click this I get the following error.
All I'm trying to do is use the Exception Handling Application Block in my WCF service project. I've looked around the web and can't find any easy step-by-step tutorial to guide me either. Any help is greatly appreciated.

You need to set the solution property for "Enterprise Library v6 binaries path" to set to
the folder that you extracted "EnterpriseLibrary6-binaries.exe".
You can do that by clicking the solution and then pressing F4 to see the properties window, but you need to make sure that your "Enterprise Library Config tool" is v6.
http://www.microsoft.com/en-us/download/details.aspx?id=38789
The Visual Studio Gallery provides Enterprise Library 5 Config tool which is obviously the wrong Version.

I had to use NuGet to install the application block I wanted to use in the project. For me, Tools >> Library Package Manager >> Manage NuGet Packages for solution and add the appropriate EntLib 6 Exception Handling Application Block WCF Provider.

Just download Microsoft.Practices.EnterpriseLibrary.ConfigConsoleV6.vsix
from the below link and while installing provide VS2012 or Vs2013.
http://www.microsoft.com/en-us/download/details.aspx?id=38789
After installation restart Visual Studio.
You will Enterprise Library 6.0 configuration.
By default Extension and Updates in VS give 5.0 configuration we need 6.0 to work.

This is what worked for me:
Download Microsoft.Practices.EnterpriseLibrary.ConfigConsoleV6.vsix, from here and during installation, provide VS2012 or VS2013.
Then restart your VS2012/2013 and you should be good to go!

Related

NetBeans automation?

Did anyone go from VS to NB?
Is there a functionality in NetBeans (I have v8.2 a portable 32 bit) like External Tools similar to these known from Visual Studio? Here is a explanation: http://wiki.netbeans.org/ExternalTools , but I have not this menu item in my NB.
And yet I didn't found in NB VS-like PostBuil and PreBuild events on the Project level (launching specified scripts or executables before or after build).
Perhaps you can use QuickOpener plugin:
Plugin portal link
Project home

If I check in eclipse project into tfs, will I be able to use it in VS environment?

My ultimate goal is to completely migrate eclipse (mars) project into Visual Studio environment.
During my research, I have tried several options:
1) Create project from existing code. Doesn't apply to my case, since my project is a combination of .java and .jsp files, wizard only offers C++, C#, Visual Basic options.
2) TFS plugin for eclipse.
3) Checking in the project from eclipse into tfs.
Within the third option, I am planning to create a new team project, and check in the project from eclipse based on that article manual.
My question is will I be able to open and operate project I checked in inside VS environment?
I am also opened to any other suggestion, which might help me resolve that problem.
If you have an Eclipse project and you want to move to something like Visual Studio there are three options:
Java Language Support plugin
Visual Studio Code
Java Language Service for Android and Eclipse Android Project Import
Except for the latest, I expect you have to review the build script to make it work in the new environment.
TFS/VSTS is language agnostic and has no interested in IDE and has no "project conversion" support.
No, sharing(check in) the project in Team Foundation server just means to source control the code. You can't directly using them in VS environment.
However you can download the project and work on it locally(local eclipse). Then check in the changes to TFS server. More details please refer: Importing Projects from Team Foundation Server
Here is a tutorial includes step-by-step instructions to help you get
started with the Team Foundation Server plug-in for Eclipse.
Team Foundation Server Plug-in for Eclipse - Beginner's Guide

how to upload jrxml file in jaspersoft studio? sftp

After editing a jaspersoft template in Studio version 6.0.3 is it possible to export or upload the jrxml file to my server via sftp directly from JasperSoft Studio?
Currently after edits are made and saved I have to go to the ftp client to upload files.
you could try to use Eclipse RSE installing the dedicated feature. It's possible from Jaspersoft Studio. You simply need to add the update site for it.
I would suggest you use Indigo one, because the Juno (dedicated to 4.2.x) may screw up UI and other JSS capabilities.
Even if the Eclipse 3.8.2 version, the platform used by JSS product, is referred as Juno, it can be more like a bug-fix version of Indigo 3.7.x.
So you could add the Indigo update site: http://download.eclipse.org/releases/indigo/
Later you can select the feature "Remote System Explorer End-User Runtime", install it and you are free to try if it suits your needs.
See screenshot below:
Personally I simply installed, but I didn't play with it.
Anyhow I suggest you to also give a look to the following blog post: http://rays-blog.de/2012/05/05/94/use-winscp-to-upload-files-using-eclipses-autobuild-feature/
Maybe it's better to set-up a custom script, like this user did because not completely satisfied of the Eclipse-like solutions.
It's worth mentioning also this one: http://www.jcraft.com/eclipse-sftp/
In my case it didn't work even if installation appeared to have completed successfully. Maybe it's too old for the latest Eclipse versions.
Regards,
Massimo.

nodejs configuration using (*.p2f) file in eclipse

I am newbie to nodejs environment. I just started learning about nodejs but I got stuck with environment set up.
When I am trying to set up the environment using *.p2f file which i downloaded from eclipse market place support site for nodejs, I am getting following errors
Help me to sort out the problem
configuration problem using .p2f file in Node Tool Suit
You have got Enide .p2f file, that should be used in Eclipse as File -> Import -> Install -> Install Software Items from File. (All instructions are inside .p2f file, that you can open with text editor. It is just XML file )
Actually, Nodeclipse project download page http://www.nodeclipse.org/updates/ has a lot of options to get started with Node.js and Eclipse.
You can download Enide Studio wit ready to go plugin set.
Or Install Nodeclipse plugin into any Eclipse based IDE.
select what option would work for you.
#Dot_NET Junior please raise an issue on https://github.com/nodeclipse/nodeclipse-1/issues/ if you are still interested in created solution with Node.js and Eclipse

TFS support for netbeans ide

I need to checkout and manage a project from TFS (Team Foundation Server) and was wondering if there is an easy way to do this.
I usually use SVN, but for this particular project, TFS is a requirement.
The best way I've found so far with a bit of Googling is at http://marceloverdijk.blogspot.com/2009/01/grails-netbeans-and-microsoft-team.html
Short answer, no I don't think there is any easy way to integrate the Netbeans IDE and TFS. However there are some options.
Firstly you could use the SVN bridge this allows subversion clients to connect to TFS. If that is viable then you should be good to go. Here are a couple of blog posts that you may find useful when using TFS if you have a SVN background. SVN to TFS. If SVN Bridge doesn't meet your needs then there are other ways to use TFS but none of them are integrated in to the Netbeans IDE.
If you're developing on Windows then you can install Team Explorer (Use the version that matches the version of TFS you're using e.g. if you're connecting to TFS 2010 then install Team Explorer 2010), this will install a Visual Studio Shell and the Team Explorer plugin. Along side that it will install the "tf" command line utility, you then have a choice of using either a GUI with the VS plugin, or the command line.
You should also install the TFS power tools, they add some usefull functionality such as extra command line tools (using the "tfpt" command) they will also install windows explorer integration, this will allow you to do some basic Source Control functions from the Right Click menu in windows explorer (Check out, check in, diff etc)
You should also look at Team Explorer Everywhere, I don't think it does Netbeans integration but it does do Eclipse. If you're developing on an OS other than Windows then this is your only option.
To use any on these tools you must have a TFS CAL to be licenced properly. If you have an MSDN licence that will probably include a CAL, if not then someone needs to spend some cash and buy one :-).
Since TFS started to support Git repositories, it is possible to:
create TFS project for Git
after project creation use url from Code tab
to configure Git Repository Location in NetBeans IDE
Once you have the tf.exe (from Visual Studio or Team Explorer) there is a plugin that can be configured to do the TFS commands from NetBeans:
Download plugin from: http://plugins.netbeans.org/PluginPortal/faces/PluginDetailPage.jsp?pluginid=676
Install the plugin in NetBeans: Tools\Plugins\Downloaded\Add Plugins…
Configure the plugin in NetBeans: Tools\Options\Path Tools
At Edit Commands For File enter: "c:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\tf" checkout "{path}"
Press Ok
With a file selected in the editor, or the package explorer press the “Edit Path…” toolbar button.
The file is now checked out in TFS.
Make sure to use the proper path to tf.exe.
There are 3 buttons, so you can configure 3 TFS actions (I use checkout, add, delete).
Microsoft actively supports only Eclipse for TFS integration.
At this page there are more info and the possibility to upvote, to report your interest in such a feature directly to Microsoft.
In NB 8.2 you can setup Kenai Team Server.
then you will be able to login into a team server : menu Team->Team Server -> login