I don't see Programmability folder in Azure Data studio - postgresql

This problem is going me crazy!. Azure Data Studio doesn't show me the folder where stored procesures are located. I checked my permissions and I have it because with pgadmin client I can see the folder. Will it a Bug?. Any idea?.
1.- UI Of Azure Data Studio
2.- UI PGAdmin
Thanks!

Related

How to add files and folders to an Azure Web App from within Visual Studio Code

I installed the Azure extension to my Visual Studio Code and connected to my Azure Web App and I can open and edit files from my Azure Web App within Visual Studio Code without problem. What I am struggling with is how to add files and folders to my Azure Web App within VS code.
I can create a new file in VS code, but I cannot find a way to make this new file part of my Web App.
Also, dragging files from a file explorer in Windows into the Azure Web App within VS code does not work.
Is there a way to create/delete/move files and folders inside the files section of an Azure Web App that is shown in the Azure extension in VS code?
I tried to find an answer in Youtube/Google/stackoverflow but did not find a relevant solution that is applicable to my problem.
It would be great if someone could show how to manage files and folders within an Azure Web App that is open in the Azure extension of VS code to a level of detail that shows in very detail what to click/add (step by step since I do not have much experience)
Created and deployed Azure App service from VSCode.
Tried to add the new file / folder in VSCode and deployed to same AppService once again.
Local folder
Unable to see the newly created files.
Deployed App Folder
You can directly add, edit or delete files/folders in Azure Web App from Azure Portal.
Navigate to the KUDU Console
URL : https://YourWebAppName.scm.azurewebsites.net/DebugConsole
or
you can open KUDU console from
Azure Portal => YourWebApp => Advanced Tools => Go => Debug Console => CMD
We have an option to create New Folder / File directly.

Connect to Azure Sql Database in Visual Studio Code using Active Directory Authentication

I am looking to connect to azure sql server in Visual studio code using one of the Active Directory connection modes. However seems only sql authentication is supported as of now in visual studio code. Any help here is appreciated.
Tried checking in visual studio code documentation but didn't find any mention of active directory authentication
Please consider using Azure Data Studio, which is derived from VS Code for use with SQL Azure and other Azure Data services. It supports Azure Active Directory authentication (which is a bit different than traditional integrated authentication against a local AD. Given that SQL Azure isn't domain joined to your local domain, you would not be able to use it to authenticate anyways.
Here's the release notes where they mention AAD auth supportRelease Notes.

How to publish web MVC (EF-database first)?

I have read many document about publish web MVC. Almost is about publish MVC-EF(code first) to Azure.
So, what about MVC-EF(database first) ?
It had better not to Azure ( Example: www.gearhost.com)
Hence your service provider is Gearhost,you can follow below mentioned steps.
How to publish your app from Visual Studio
Publishing your application from Visual Studio is simple and easy with
GearHost regardless of your Visual Studio version.
Download the publishing file
We make it easy to publish from Visual Studio by providing you a fully
encapsulated publishing file that you will import into Visual Studio.
To get this file you will need to:
Log in to your GearHost account Click the CloudSite name you want to
upload your application to Click the Publish tab Click the Visual
Studio button under the Application Publishing Files heading This will
download a {cloudsitename}.publish file to your local computer
storage.
Publishing
Launch Visual Studio and open your existing web application project
Right click on your web application and select Publish Web App
In the Publish wizard window select Profile and select Import under
the Select a publish target menu
Browse to the {cloudsitename}.publish file you downloaded above and
select OK
Click the Publish button
Here is the Link : How to publish your app from Visual Studio
How to create a database
You can create a MSSQL (Microsoft SQL) or MySQL database on your
account using the simple steps below. To restore a database from a
backup view the How to restore a database doc.
To create a database:
Log in to your GearHost Account
Click the Databases menu
Click the Create Database button
Enter a desired database name
Select the database Plan and Type
Click the Create Empty Database button to complete
Connect to your database:
Congrats you now have a new database! To connect to your MSSQL
database view the How to connect to a MSSQL Database doc. To connect
to your MySQL database view the How to connect to a MySql Database
doc.
Here is the Link : How to create a database

.rss file to deploy report

Is there a way to deploy .rdl files in structured folders that are not already on a report server? The goal is to deploy the structure from windows explorer to the target report server, which has the same structure.
I recently read this article and code, which deploys from server to server.
https://azuresql.codeplex.com/releases/view/115207
We are trying to create a build environment where the deployment of rdl files comes directly from our source control, and would like to use a script that has been as widely used as the one in the link provided.
Thanks for your time,
In the SQL Server install folder there is an executable called rs.exe. You can use this, passing it an .RSS file that contains the configuration that you want to deploy. You can then bulk deploy from your folder to Reporting Services.
RS.exe
If you have the source .rdl files in TFS you can use Team Build to process and create the .RSS and likely a zip package. You can then have it deployed by Release Management for Visual Studio 2013 through a specified release pipeline that pushed it from Dev->QA->Prod.
You can get information on how from Professional Application Lifecycle Management with Visual Studio 2013.

How to run EF migrations when deploying to Azure Website via Visual Studio Online

I have an Azure website configured to deploy from Visual Studio Online (hosted TFS). I'm evaluating the move from Database First model to Code First from Existing Database model.
Currently, As I check-in code to Visual Studio Online, it is deployed to Azure website. How to configure this process to run EF Migrations on the remote (live or test) Azure SQL database when I check-in code to Visual Studio Online.
AFAIK, you need to use the publish profile option to achieve this.
You have to download the publish profile settings file for the website, Import the file in Visual Studio, configure the Execute Code First migrations option and then specify the profile file path in Build Definition used for Continuous deployment.
You can check below post for reference.
http://blogs.msdn.com/b/webdev/archive/2014/04/09/ef-code-first-migrations-deployment-to-an-azure-cloud-service.aspx
I know it is a old post, but I could't find a good answer, so after figure out how to solve it I'm sharing a solution. I work in a project with DDD and N-tiers level. So, it means that the EF isn't in the same project as WebApi, therefore has no option to run migration during the publish wizard. To solve it I have ran update-database directly from package manager console.
Steps:
Acquire the ADO connection string (https://azure.microsoft.com/en-us/documentation/articles/sql-database-connectivity-issues/#connections-to-azure-sql-database)
From package manager console run: Update-database -StartUpProjectName NAMEPROJECTWITHEF -ConnectionString "connection string obtained from item one" -ConnectionProviderName "System.Data.SqlClient"
That's all!
Best Regards,
thiago