How to remove a service from Watson? - ibm-watson

I have already added a service in Watson Studio, now I don't require it for the next project so how to remove the service via the Watson Studio?

From Watson Studio I don't believe there is a way. I imagine that you are using the cloud version, if so, then you can delete it through your ibm cloud (bluemix) dashboard. It's going be on a resource, probably on your default resource group.
If necessary, here is the URL to ibm cloud
Now, if instead of the Watson Studio service you are talking about a project on Watson Studio, then go to "Projects", and remove the project from there.

Related

Visual Studio Team Services

Is it possible to export Visual Studio Team Services project to a local PC with full history? If not, can one project be transferred to a new Visual Studio Team Services? These two are completely separated.
Is it possible to export Visual Studio Team Services project to a local PC with full history?
You can use our tools in Visual Studio, Eclipse, or from the command
line to keep a local copy of your source code on your machine. Today
there isn’t a way to export work items or other project data to your
local machine, but we’re planning on adding this capability at a later
date.
Can one project be transferred to a new Visual Studio Team Services?
It's also not possible at present.
The only option available is to do a replay-migration which
essentially copies all data from one account to another. You could use
some 3-party tools to handle this. Details please refer
jessehouwing's answer in this similar question: Migrate projects between VSTS Accounts

How do you download a web application from Azure?

My company has been given a web application in Azure. This is our first Azure project; typically we develop C#/asp.net apps in Visual Studio with data in SQL Server and move the finished app to a web server.
I've connected Visual Studio 2015 to the Azure account. I can see the blobs, tables, and files. I've found a few html templates, but don't see any controllers; I think they might be in .dll files in the bin folder.
I would like to download the entire web application to Visual Studio on my local machine so I can debug it, make changes, and then republish the site. How do I do this? I can double-click on the files and view them in VS and I suppose I could save them one at a time, but that doesn't seem efficient. How can I download the whole project including putting the data in the blobs into something I can test locally (or connect a local VS instance to the remote data/blobs)?
Here is what I'm seeing from the Azure site in Visual Studio:
Update 1:
I think what I'm trying to find at this point is the js controllers (i.e. browseController.js). I can't find any controllers on Azure. Where would they be? Here's the expanded Cloud Explorer:
I would like to download the entire web application to Visual Studio
on my local machine so I can debug it, make changes, and then
republish the site. How do I do this?
I don't think it is possible to do what you're trying to accomplish because what gets deployed is the compiled code and not the source code. You would need source code to make changes.
You can take a backup of the application that's currently running into blob storage and from there you can download the application but again it would be the compiled application and not the source code.

Azure Angularjs Website + Nancyfx + SQL Databases deployment strategies

I have deployed an Website built with angularjs and a Web Service Running Nancyfx framework rather than the "suggested" Web Api. I also use 2 SQL Databases.
I did this from Visual Studio where I have my project running. However the app (still in development) was developed locally on my mac and then just copied in visual studio.
Since I would be working with a friend of mine on it (who also uses mac) and we already have it on bitbucket with Git (my local version) I was wondering if it was possible to 'Set up deployment from source control' but only for the "website" part, meaning the angularjs. The web service needs to obviously be deployed from Visual Studio (I'm the only one working on that part).
Is there any way to achieve this? If I set up deployment from source control and then publish to the website from visual studio, would this override the existing version and current deployment last updated from Git? will it get denied publishing since it's set up from Git?
I am not sure how to better approach this.
The dirty way would be to set git for me and my friend on my local "app" folder of my Visual Studio solution so that I get his changes and then it's my job to publish it to azure via Visual Studio.
Turned out that what i needed is exactly this: Publish WebAPI and MVC projects to same Azure Web Site?
I therefore split my webservice (API) project so it's by itself and published that to mywebsite/api while my app resides on mywebsite/app so that I can publish my webservice changes from visual studio without problems, and also publish the changes to my angularjs app via git.
I haven't encountered any downside atm of doing this but it seems this is the best approach.

Entity framework code first not creating database in vs2010

I’m new to vs2010 and the entity framework (and ASP.NET MVC as well....I’m from a winforms vs2005 background) as well as the azure platform and am starting a project using these technologies soon.
I’ve installed vs2010 and the windows azure sdk kit for vs2010 and am running through this tutorial, Deploying an ASP.NET Web Application to a Windows Azure Cloud Service and SQL Database.
http://www.windowsazure.com/en-us/develop/net/tutorials/cloud-service-with-sql-database/
I’ve got as far as the ‘Add SQL support’ section, followed the instructions and when I compile and run no database is being created.
And I’m using sql server 2008 r2.
Any ideas why this is the case? Nothing at all is being shown in the sql server log. My connection details look fine, am I missing some kind of add on or some permission settings need changing?
Cheers,
I've sorted this myself. If you wish to know the answers I've posted them in the comments on the tutorial page, just follow the link (names Mathew in the comments section).
http://www.windowsazure.com/en-us/develop/net/tutorials/cloud-service-with-sql-database/

Using WebDeploy to deploy database updates

We have adopted WebDeploy for a new project and it seems to handle the deployment of our apps to our Dev and Test servers pretty well.
Now we would like to extend the use of WebDeploy to make it deploy database changes too.
Scott Gu's blogpost on webdeploy states:
Web Deploy enables you to not only
publish files – but also provision
database schema/data, run database
change scripts, set security ACLs, and
more
... but I can't find any good information on how to run database change scripts with
WebDeploy.
Does anyone have guidance, advice, best-practice or informative links for this?
Thanks
Darren.
If you're using Visual Studio 2010 or Visual Studio 2010 Express then you can specify database change scripts in the Package/Publish SQL tab in your project's properties. For more information see the following article:
How to: Deploy a Database With a Web Application Project

Resources