How to share localhost using JetBrains's plugin "Code With Me"? - plugins

I'm trying to enable sharing of localhost:5000 for all users, who joined my invite link.
I've already done this before by using Visual Studio Code with "Live Share" but I can't find a way how to do that in WebStorm.

Related

Adding Authorization Details in package.json

I am trying something which involves allowing/authorizing access to online account from Visual Studio Code. The idea is that as soon as Atlassian Jira Extension will be installed, then the users will be allowedto their online Jira account from within VS Code so that can access the functionalities within the VS Code. Is there any way of doing this in package.json file? I mean is there any way of adding authorization credentials within package.json so that as soon as the extension is installed, the online Jira account opens in the VS Code?

How to open Bugs/PBIs in Visual Studio instead of a web browser when connecting to Azure DevOps Service?

I want to implement Team Foundation Server (now known as Azure DevOps Server) for source control and issue tracking. I have only used the on-premises solution previously. For this particular use case, it would be beneficial to have it hosted in the cloud.
I have deployed a VSTS/Azure DevOps Services cloud solution (as opposed to an on-premises TFS/Azure DevOps Server solution), and it seems to have all of the functionality I am used to with the web portal, except there seems to be no direct integration/plugin for Visual Studio.
I can connect Team Explorer to it and query the work items for a basic listing (as shown in the screenshot below) - but if I double click a work item, or if I click New Work Item, it opens in the web browser, not within Visual Studio.
Is this expected behaviour for VSTS/DevOps Services? Do I need an on-premises installation just to get Visual Studio integration or am I missing something? I would like to use their cloud solution as it has a lot of benefits for this particular use-case.
Which opens this:
Instead of this (below screenshot taken from the web):
Any help is much appreciated! I am hoping to get something up and running ASAP, and would rather not have to install & configure a full on-premises solution in the cloud myself. Letting Microsoft handle it is perfect.
It seems odd that there's no Visual Studio support/integration. I have tried on 2 different machines. I have connected one machine which is running Visual Studio 2017 Professional and the other has VS 2019 Professional. Both open and create work items in the web browser instead of within VS. But VSTS/DevOps Services does seem to have all of the other features of TFS/DevOps Server, as far as I can see.
The web portal is great for other stakeholders, but as a developer I like working directly within Visual Studio. In an on-premises installation you get both. Is there any way to do this on a cloud installation?
We need set the Work Items experience in Visual Studio, then we can create new work item in the visual studio.
Steps:
Tools->work items->General->change the option Landing page.
Result:

How do you debug a Microsoft Word web add-in with vscode?

Visual Studio has a template for a Word web add-in. Clicking 'Start' opens Word with the add-in loaded, and allows for immediate debugging of the front-end javascript in the IDE.
Word was running the add-in in ie11.
With this project, the only options I've found are debugging with 'f12' debugger located in C:\Windows\SysWOW64\F12\IEChooser.exe (or System32).
I installed the latest version of windows to get access to the new Windows Terminal. This update also switched the Word add-in to load in edge instead of ie11, which requires the new Microsoft Edge Developer Tools.
I would like to get access to the functionality Visual Studio provides for debugging front-end code via an IDE instead of f12/edge developer tools. I cannot find out how Visual Studio allows this debugging as all of the properties are hidden away as settings in .sln and web.config etc.
Is there any way to debug this add-in with Visual Studio/vscode (preferrably vscode)?
There are many ways you can use VSCode for debugging but all debugging methods depends on external browsers like chrome, IE, edge debugger. I believe you do not want to perform this in VSCode.
This method will help you in some way. But I am sure you can manage this.
Step 1. Create a word web addin using Yeoman generator. Official link below
https://learn.microsoft.com/en-us/office/dev/add-ins/quickstarts/word-quickstart?tabs=yeomangenerator
They use nodejs and you can choose Angular / React / JS to build your addin.
The advantage is it will give you the flexibility to debug in any IDE .
Caveat: As I said above you can easily build the Addin with the help of web technology.
Step 2: Debugging: either you can use VSCODE Debugging functionality or use the browser
Step 3: If you choose browser: Go to sources > Choose Webpack > Select the .ts or /js file and set the breakpoint. Screenshot below for your kind reference.
note: I have selected Angular from office generator to build the addin. Then you can see the webpack under the sources. I believe this is the same for any technology.
Hope this will help you.

How consume rest service that was built using webapi in Visual Studio and published in IIS

I has built a REST service follow to tutorial
https://www.youtube.com/watch?v=JeIE3jzAxHU
I has published it in IIS using Visual Studio. But I don't understand how consume it. In the sample that works under IIS Express it is called as
localhost:port/api/person.
When I publish the service in IIS I see many compiled files but I do not understand what address I should call to get the same result as it was under IIS Express.
Try this to get url:
Open IIS
Expand out the left tree until you see Sites
Select the one you made for the demo
Click on Browse *:port under Browse Website heading on far right pane.
That will give you the base site url for your testing, and just add api/person to it from there.
Likely http://localhost/api/person, unless the demo was really weird. If you are unable to still browse the site, give us more information (errors?) or at least screenshots.

Can not sign in to Azure from Visual Studio 2012

I am not able to login to my azure account from Visual Studio Professional 2012. I am getting an error shown below
However I am able to login to my Azure account using browser.
I have performed below steps
1) Opened Server Explorer in Visual Studio
2) Clicked on Microsoft Azure Subscription icon
3) Sign in Dialog Box opens up asking for my email, which I provided and clicked continue
4) Selected Microsoft Personal Account from the option provided
5) Entered Password clicked submit
6) Error dialog box opens up as shown earlier.
I feel that it is related to management certificate as I am also not able to run certain commands like Get-AzureDeployment from Azure PowerShell, whereas Get-AzureSubscription works fine.
I have already saved publishsettings file from Azure and there are certificates installed in Personal section in Certificate manager.
I was able to resolve the problem. As I could see that Visual Studio and Power shell both were failing. Visual Studio was not able to connect to Azure and Power shell scripts where I was trying to add Azure Account failed. By doing a bit more searching and reading few article, I came to know that Visual Studio as well as Power shell scripts apart from using your credentials for azure also use management certificate to communicate with azure. A network tool used in our organization was causing issue in this https communication. Just got it enabled from IT team and I am done.