How to debug c program in visual studio code

hello friends, in this video i am trying to debug c program using visual studio code c c++ debugging needs extensions so i am going to extension section here and in search box i am searching for c c++ extension

it will list extension available for c c++ click on the top rated extension and it is from microsoft click on install once the installation is complete reload this once you added c c++ extension in visual studio code include section of c program will show in a green curly underline

to fix this issue place the cursor in include statement after that it will show bulb icon click on that icon and edit include path it will redirect to c_cpp_propertiesjson file in this file we have to add library path in a browse path section

for adding path i am going to my computer -> c drive -> mingw-> lib -> gcc-> mingw32 -> 6x ->include and copy path and i am adding comma here and pasting path which we copied earlier add extra slash in this path just check here there is only single path in include path section now i returned to test

c file but it still display in curly green line click on bulb icon and add to include path now you can see in the c_cpp_propertyjson file there is the path is updated here next step is we need to go to debug section and in here we need to create launch

json file to create click on pull down button and add configuration mingw comes with gdb debugger so i am selecting c c++ gdb it will redirect to launchjson file

in this configuration name should be unique this is because of when you going to the debug section and pull down it will show the configuration name i am going back to the launchjson file and the next thing is type type is cppgdb

next is program and here we need to change the program name we need to specify the exe file name of the program in earlier video the video number 2 we configured the taskjson file so i can use the same path here

i am coping that path and replacing it at the launchjson program name next thing is miMode it is gdb and miDebugger path is to be updated inorder to update miDebuggerPath i am going to myComputer -> c drive -> mingw ->bin and within that bin folder there is file named gdbexe

right click on that file and go to properties and in Security tab copy the object name and replace it at miDebuggerPath put extra slash over the path i am saving debugging configuration is set successfully now i am putting one break-point at inside the for loop

i am going to debug section and running the configuration it shows some error let us see that error it shows exe file does not found the thing is we need to add preLaunchTask path in launchjson file

this is because the debugging things needs exe file path the compiling thing will create exe file so after compiling we run this debugging thing so preLaunchTask is compiling task here in taskjson file i am coping compiling task name

and pasting at preLaunchTask path and saving this file now you go to debug section and run debug here i running debugging thing now debugging is stops at line number 6 because we inserted breakpoint here you can check the value of the variable here

the current value of i is zero here now i am going to next line now it display the message now i am going to next line here second time it displays the message you can also check the expression value by adding watch

i am adding one watch value i<6 and it will return weather i value is less than 6 or not here i am adding another watch value ie i>1 or not and it returns false

because i value is 1 here next thing is i am currently executing statement in main method in call stack it will show the our current execution method and also the debugging value is automatically updating when you going to the next statement thanks for watching this video and don't forget to subscribe this channel thank you

Tags: , , , , , , , ,

Workflow: Visual Studio Code

– Okay, so now I'm going to look at Microsoft Visual Studio Code I mostly just refer to it as Visual Studio Code but it's important to like understand the mechanics and interests of where these tools come from and how they're being made

So this is put out by Microsoft, I've already downloaded here, this is a fresh user account on this machine so there's nothing installed or configured So I'm doing all this from scratch But I did already download it All you need to do, if you want to use, try using Visual Studio Code, is to go to the visual Studio Code website Once you've downloaded it, then you can go ahead and run it

And here it is When you first run it, oh it's going to send me through a different browser to some getting started page which you could look at and by the way ah! In the last video I called them plugins They're called extensions So these you can see are the various extensions you can you can install I'm going to quit out of here

And it's giving us a little welcome message I can, uncheck this 'cause maybe I don't want to see the welcome message anymore and so now that I have Visual Studio Code open, the first thing I want to show you is just I can make a new file, and I'm going to hit command S for save, and I'm just going to put this on the desktop And I'm going to say, like as if I'm going to write a p5 sketch I'm going to say sketchjs And then I'm going to say like, function, setup, ah! It's so tiny! I can't see it, can you see it? It's so tiny! Function, draw

So here's the thing, immediately you might see, okay my eyesight is not this good, I want to make the font size bigger, I don't like this color scheme, I want to change the color scheme Most of these things can be done through the preferences So if I go up to code preferences and then settings Now there's extensions again, which I'm going to talk about And oh this looks actually different than the last time I used it

(laughs) but you can see here, editor font size So one thing I want to do is I'm just going to change this to 36 And hit enter And I'm going to hit close And we can see now I have a much bigger font size

Now you can also actually change all of the settings in a secret json file It's not so secret I have to figure out how to find that (chuckles) Because that's how I used to do it, but this is a new feature So where do I find that? Oops

So let's look for it Preferences, settings, let's go back to settings Let's see if I can change that Show, oh! There we go, open settingsjson (chuckles) And you can see this is actually where all the settings are

They're actually all just here in this big json file and then I need more room to be able to see all this stuff You can see here, now I have user settings, I can just put extra things that are overwritten there So maybe I just want to use the Gooey So I'm going to close this, I encourage you to look through this Oh, oh, here we go

Tab size, the number of spaces a tab, no no no no no Two spaces (chuckles) And I don't want them to be tabs, I want them to be spaces I'm not going to worry about that You should use four, you should use three

Blow, blow peoples minds, use three space tabs, whoa! Don't worry about this sort of stuff too much So that's really important I could probably, this video could be 10 hours long showing all the customization stuff I don't use too much of that frankly Okay, the other thing that's really useful which was, if I close this out, which is right here is, show all commands

So I'm going to show you a command that you can run that I love So one thing that I often really like to do, like here I am, I'm going to be showing you more about iTerm in a bit, but one thing that I like to do, I'm going to go cd which is change directory, go to the desktop, and then I'm going to type ls for list, look! There's this sketchjs file I'm working in terminal and what I want to do, is I want to open that file and I want to edit it, in Visual Studio Code Well I could go to Visual Studio Code and I could do command o and I could find it, but something that I like to do very often is actually type a command in like this, code sketch

js and ah! Command not found So, this is something that Visual Studio Code has available for you, and the easiest way to find it is by saying shift command P, shift command P then I'm going to, it's right there 'cause I looked for it earlier, recently used, but what you're going to want to do is type s-h-e-l-l I'm going to zoom in here and you're going to see shell command install code You don't want to uninstall, you want to install So this installs the code command in PATH

PATH! Just going to write down the word PATH More important than what you're using for any of this stuff is how you're computer finds what you're using And your computer finds what you're using through this like, variable that's just sitting in your computer's guts called PATH where it's, keeping track of all these directories where it needs to find stuff So this is actually a really important concept and we'll come up again and again throughout these tools Alright, so now let's do install code command in PATH

It's going to need admin privileges, this is a temporary account with no password It did it now interestingly enough, in theory it shouldn't work now I hope it doesn't work Oh it did work! SO you know what, sometimes when you install something new to the PATH, you're terminal, your console, your shell hasn't reloaded the new PATH so you have to quit and restart it again

But it did happen to work So now anywhere I am on this computer, I can just type code, I could do like, cd, documents, and I can say, code, and I can say code dot And now it's actually opening up my documents folder in Visual Studio Code Now there's nothing in the documents folder, it would be nice if I put some stuff on this machine But if you're in a directory, you can open up the whole thing

So the other thing that I like to do, is use extensions So let's find those Again, I barely use this program So this is extensions here So, there's so many different kinds of extensions for git, and languages and syntax and everybody has their favorites

But ha, here's one that I love Beautify Beautify code in place for VS code So let's try to install that Js beautiful for VS code, did it install? I think so, sometimes you have to hit reload to like, make sure it like, actually loads

So then, I should be able to go back here and I should be able to do things like, oops, whoa, oh there's a lot, a lot of auto complete stuff Which I haven't necessarily gotten a handle on And I'm going to do things with weird, weird indentation, making me crazy, I can barely look at it So what if what I want to do is beautify this code, I have the package installed, is it maybe, is there a built in keyboard shortcut with this package? I actually think there is Command B

No Command B does something else So I think I need to find the key mappings or the settings, so let's go back to preferences, extensions, beautify, and then here, let's look through the documentation There are some settings that you can change And I think keyboard shortcut, that's what I'm looking for

Ah! Use the following to embed a beautify shortcut in keybindingsjson So I can actually take this here, copy it Now I want to go into go, view, somewhere is the keybindings File, preferences, keyboard shortcuts, maybe that's it? Oh yes, here we go, I found it already

Okay look, so you can see these are all the keybindings and you can actually edit them and change them, but you can also go to this, edit keybindingsjson file I'm going to do that And then I could put new keybindings, you can see that's where they all, all of these keys are here and I guess I can put my new one here And command b will use this beautify and by the way, I think Visual Studio comes with it's own beautification, this is an extra plugin that does more stuff

So hopefully now if I close this, and close this and close this, and close this, and now, I'm going to hit command b (drum roll) No! Command HookyQR beautify not found What did I do wrong? Reload Let's try reload

Okay now it's enabled Some reason this reload thing I never figured that out, but let's try hitting command b again (drum roll) Yay! Oooh, what? No, no, no That can't possibly be it! What's going on, oh! There's errors in the code! Well see this is why you want to, I need another buzzer sound This why (buzzing) you want to use beautify

Because it didn't do it correctly, oh I made all sorts of weird things, first of all, there needs to be an open curly bracket here (drum roll) And by the way, in p5 the function name is createCanvas Now if I hit command b I'm going to stop with the silly drum thing, there we go So there we go, now (claps twice) beautify works Now there is a way to get it to work on save

'cause I really like to do that So in other words, just every time I hit save, it beautifies the code Let's go back to the beautify and let's see, let's see, on save (laughs) Actually don't know, like, beautify will say, ah! Beautify on save will be enabled when editor format on save is true Okay, so I have to go back to the extension settings

(laughs) This is a tutorial about Visual Studio Code for somebody who doesn't really know how to use this But this is good that I'm learning this And then I want to go to extensions beautify config edit and settingsjson, here we go Which is, this is actually the right place to put it

True So this should do that So now, save, there we go Now the truth of the matter is, it didn't actually do everything maybe I wanted it to do, like maybe I would have preferred it got rid of a lot of white space, but this is all configurable, I'm sure Okay, so what, have I, yeah I've barely scratched the surface here, but I'm using Visual Studio Code to edit text, I'm sure there's a p5 extension, that you can use to know about the p5 functions

I'm using the beautify plugin, extension, sorry, to beautify, but I'm really just trying to show you about extensions And I'm also able to launch it from terminal So, the next thing that I need to do is look at, we've kind of covered this How I want to have console access how I want to access the shell to be able to run node commands to start up servers to set up a virtual environment for Python, for anything that I want to do via shell access So that's what I'm going to do next

(upbeat music)

Tags: , , ,

How to create Setup.exe file in Visual Studio 2017 with SQL database | FoxLearn

Welcome to FoxLearn In this tutorial, I'll show you how to create a setup file with sql database in visual studio To play demo, you can create a simple window form application allows you to search data from your the sql database Right-click on your project, then select Manage Nuget Packages to install the Dapper ORM As you know, Dapper is an open source library that makes it easy to access your database Open your app

config file, then add a connection string that allows you to access your sql database We will create an application that connects to the Northwind database to retrieve data from the customer table If you don't already have a Northwind database, you can download it from the fox-learn website You can create a helper class to read the connection string from your appconfig file You need to create a customer class to map the data returned from the customer table in the Northwind database From visual studio toolbox drag a datagridview, textbox and a button to your window form, then add a datasource to the datagridview Double click on the search button, then add your code to handle search data from the customer table To retrieve data from your sql database, you can excute the sql query, then map the data returned to the customer class If you want to get a list of customers, you should convert the Query method into a customer list To create a setup with the sql database, you need to detach your database, then copy your database into your project You should modify your connection string allowing you to dynamically attach your sql database to the sql server Right click on your solution, then add a setup project to your solution If you don't have a visual studio installer, you can download and install it from the extensions and updates tool You need to add the executable file and the sql database file to your Application Folder You can also create a shortcut to your desktop screen, then drag the shortcut to the User's Desktop or User's Programs Menu You can also add a requirement to install the DotNet framework before installing your application Click on the setup project, then select the properties tab, you can enter a manufacturer, product name, descriptionetc for your setup file To find the setup file, you can right click on your setup project then select Open Folder in FileExplorer, you can find the setup file in the release folder Thank you for watching this video

Tags: , , , , , , , , , , , , ,

VS4Mac Intro (Visual Studio for Mac)

hey guys, Thanks for watching my name is Esteban Solano I'm a senior software engineer from Costa Rica, also instructor and Microsoft MVP This time I am going to show you how you create mobile applications with Xamarin It's pretty easy to do you can just start by creating an installation you can use one of those templates for the applications so you can pick multi platform and under that just pick blank forms app you can get a little next and four run a name for this we are going to create just a basic example so you can fill your your name your application here and for that you can hit next and complete some minor details for this application after that well I'm just using the previous operation I made with some of the applications just to make things easier to you and illustrate the big concepts on here Suren explorer in this case application we are building contains sure library between an android project and android in an iOS project so you can develop your app at the same time using the tooling for Android and iOS at the same time which typically includes Android NDK and also Xcode for iOS so once we got this we can just right click get rebuilt and this is going to take the necessary pieces to have your application running it so after this completes you can just hit the Run button and you will be you should be able to see the application running to provide more details about we are going to build this time we get this is the App

xaml which is typically the entry point for our application and we gotta set up some views that you can elaborate on those or you can remove them or do whatever you need them just to illustrate the concept in here we are going to see a tab page which works in the same time for Android and for iOS so we got pretty much like app you I am here which is sure between under and we can run this as you can see we can use things like buttons a search bar also list view and this is just basically running the application into the pixel device which is how every writer version of that that's just within seconds and we can see they prefer and so this is basically the application we can use the native controls for the platform and we can just check on the controls for example we can use or recommend for those controls and hit some buttons this is available this critical for this is also available in github on my account so you can double check and get the letters bills for this one so we are going to just stop this for a moment and we can go to iOS to see the same in – X version for this as you can see there are some differences between the Android version in the iOS version which is handled by the platform we are using the native components so you can provide a better user experience to the users or your application and continue creating great experience for both platforms at the centre so we just need to revise on seconds for this to continue but I can tell you more about this one eventually for the case of the tabs as we saw previously you will get the same experience for having the tabs which is something very commonly used in in the case of standard applications so this is the same version of the application but running in Iowa's so we can pick lists we are just using different icons for this just to use some fancy icons for this one but this is pretty much baby heritage yeah and in the case of Iran if you want to provide some colors you can do your own colors or use the color that you want and also use the same comments or color names for this one this is for much how it looks and if you can know them here there's a slight hour minor difference between this in this in this case for Android we're using the tabs on the top but also that's also I think you can make on your own or you can just provide element on here which is Android tablet page toolbar placement and you can change things to be controlled so as I mentioned previously you can do things specifically for Android so this is only going to affect hundred person for this application so we can just build on vacation again see how it looks and we should be able to go to see and have taps for the application and also for the protocol for the both at the center result application that should be it and as you can see we get the tabs on the bottom of the page so I hope you enjoyed this video as i mentioned this is going to be github you can just take the urls from here this is the URL for the project and continuously and other updates that I got so thanks for watching and that's pretty much it

Tags: , , , , ,

Visual Studio Code for non .Net developers – THR2099

MY NAME IS KYLE SANTOS A — WE ARE TALKING ABOUT DEVELOPERS THERE BEFORE STARTING, WE TALK A LITTLE BIT ABOUT — APPLICATIONS NOT JS BASED

IT IS AN OPEN SOURCE IT IS WINDOWS — IT IS NOT COMPLETE — BUT HAS MAINLY — AND EXTENSIONS IT WORKS FOR MANY LANGUAGES, SCRIPTS AND FILES IT HAS MANY EXTENSIONS FOR YOU AND YOU CAN CREATE YOUR OWN EXTENSION

IT IS VERY BEAUTIFUL YOU CAN BE LOADED 4, WINDOWS AND THE LENOX TODAY IT IS THE SAME APPLICATION BUT A DIFFERENT ENVIRONMENT IT IS VERY INTERESTING BECAUSE — IF YOU WORK IN LENOX, IT IS THE SAME APPLICATION THE MAIN EXTENSIONS — I PLANTED THIS PICTURE — LAST REPAIRED MILLIONS OF DOLLARS OF EXTENSIONS

MANY EXTENSIONS CREATED BY MICROSOFT — IS AN OPEN SOURCE PROJECT IT IS INTERESTING BECAUSE IF YOU ARE INTERESTED IN CREATING AN APPLICATION LIKE THIS — IT IS THE BEST APPLICATION — FOR THE SYSTEM IT IS A VERY GOOD EXAMPLE AND HOW YOU CAN DO THIS IT HAS MAINLY CONTRIBUTIONS — IT IS ANOTHER — WHY DO I NEED A? BECAUSE IT IS LIGHTWEIGHT FOR MANY THINGS IT IS OPENING A PROJECT IN SECONDS

ONLY SECONDS, YOU CAN OPEN THE CODE AND CHECK THE CODE YOU DON'T NEED TO LOAD THE MAIN THINGS TO GET A SIMPLE BUT — IT IS SOURCE CODED IT SEEMS YOU CAN RUN YOUR CODE HERE THE CODE HAS MAINLY LANGUAGE SUPPORT IT HAS MANY LANGUAGES

IT HAS CLOUD INTEGRATION YOU CAN APPLY THE APPLICATION DIRECTLY TO THE CLOUD FOR EXAMPLE NEEDED TO RUN SOME PRICE, YOU CAN DO STUFF THERE IS INTEGRATED SEARCH CONTROL IF YOU NEEDED TO — VISITOR FILES, — THE MAIN EXECUTION ENVIRONMENT FOR MANY — AND ALL OF THIS — 41 POINTS, 3 MEGABYTES IT IS A VERY SMALL APPLICATION

THERE IS A SURVEY — SOMETHING INTERESTING — IT IS THE MOST POPULAR DEVELOPING ENVIRONMENT FOR SERVING THE FIRE WEB DEVELOPERS TO AND FOR MOBILE DEVELOPERS — IT IS THE SECOND ONE THE FIRST IS — AND THEN FOR ADMINS, THE PEOPLE THAT WORK WITH THE SCRIPTS IS THE SECOND IT IS A VERY INTERESTING — I WORK IN ANOTHER LANGUAGE MAYBE YOU HAVE ONE WITH MORE THAN ONE — MORE THAN ONE LANGUAGE TODAY

14 FOR EXAMPLE, THESE EXTENSIONS — HERE I HAVE JAVA QUOTE IT IS GREAT FOR MY COMPUTER THE LAST A WEEK ALTHOUGH YOU SHARE YOUR ENVIRONMENTS, WITH OTHER PEOPLE IN ANOTHER PLACE — AND THESE PEOPLE CAN DO THE CODES TOGETHER AND WRITE SOME THINGS IN CODE AND YOU SHARE SEVERAL PARTS NOW YOU CAN SHARE — AND TALK WITH THESE PEOPLE REMOTELY

AND THESE PEOPLE — NEED ONLY TO INSTALL THE CODE ONLY THIS AND IT HAS INTERNET THE OTHER IS — MY LINK WHICH ENVIRONMENTS — AND IT RUNS ON MY MACHINE I CAN USE THIS TO HELP ME SOLVE PROBLEMS FOR EXAMPLE

PEOPLE CAN HELP YOU YOU CAN SEND A LINK FOR THESE PEOPLE THEY WILL CONNECT TO YOU AND RUN THE CODE THE PEOPLE CAN WRITE IN YOUR CODE

IT IS A KILLER EXTENSION — AND IT IS FREE IT IS THE SAME EXTENSION FOR THE STUDIO YOU CAN RUN — BUSINESS CODE AT THE SAME TIME FOR JAVA DEVELOPERS, WE HAVE LANGUAGE SUPPORT FOR — WHICH IS THE MILLIONS OF DOLLARS AN EXTENSION FOR JAVA

AND I WILL SHOW THIS TODAY AND YOU CAN GET THIS FOR YOU IF YOU RUN YOUR CODE HERE YOU HAVE MANY FILES — THAT YOU NEED OFF OF YOUR MACHINES — YOU CAN — AND TO DO THIS, YOU HAVE THE VALIDATION AND MANY OTHER THINGS FOR JAVA ON THE SCREEN, I PUT HERE, THE NAME OF THE LANGUAGE — AND I HAVE THIS — FOR DEVELOPERS IT HAS AN INTERESTING FEATURE

IF YOU ARE A DEVELOPER — YOU WRITE THE CODE YOU SEE THE CODE YOU DO NOT NEED IT TO RUN THIS CODE YOU HAVE MANY OTHER THINGS VERY INTERESTING, THE LANGUAGE FOR DATA

IF YOU WANT TO — DEVELOPER, IT HELPS TO IMPROVE THE CODE AND WORK FAST AND YOU HAVE SEVERAL SYMBOLS AND WE HAVE — SERVER FOR — FOR EXTENSION TWO WE HAVE — A PACKAGE YOU CAN RUN AND INSTALL MAINLY EXTENSIONS FOR NODE

MAIN EXTENSIONS WERE MADE FROM MICROSOFT FOR EXAMPLE BUT TO HAVE OTHER EXTENSIONS THAT WAS CREATED BY — YOU CAN CREATE YOUR EXTENSIONS USING JAVASCRIPT YOU CAN PUT EXTENSIONS ON THE MARKETPLACE FOR EXAMPLE FOR DEVELOPER — MANY PEOPLE ARE DEVELOPING ANGLER IS VERY FAST FOR APPLICATIONS AND FOR SERVERS

AND YOU HAVE MAINLY EXTENSIONS FOR ANGLER — AND YOU CAN RUN YOUR CODE — AND RUN YOUR CODE TODAY AND IF YOU ARE AN I/O TWO DEVELOPER — IO2 DEVELOPER — IF YOU HAVE A FUNCTION — OR DEVICE AND YOU ARE USING — EXAMPLE LIKE THE SAMPLE, YOU CAN USE YOUR CODE INSIDE YOUR DEVICE MICROSOFT HAS A VERY INTERESTING DEVICE THAT IS MX CHIPS IT IS THE — BOARD YOU CAN HAVE MANY SENSORS

YOU CAN RUN THE CODE INSIDE AND THIS DEVICE CONNECTS AS YOU ARE ENTERING DATA USING THE WI- FI CONNECTION AND WHEN YOU GET THIS BOARD, YOU CAN USE THIS CODE TO DEVELOP AND UPLOAD YOUR CODE FOR THIS BOARD AND YOU CAN MANAGE YOUR BOARD AND YOU CAN CHOOSE THE BOARD THAT YOU ARE DEPLOYING YOUR CODE — IF YOU HAVE — FOR EXAMPLE, — JAVA OR WEB EPI IN — CORE, YOU CAN WORK WITH THESE PROJECTS TOGETHER AND — MANY PEOPLE USING DOCKER TODAY

AND — DIFFICULT FOR DOCKER — FOR BEGINNERS, IT IS HOW CAN I CREATE A FILE? HOW CAN I PUT INSIDE OF IT? WE HAVE AN EXTENSION FOR THE BUSINESS CODE THAT CREATES A DOCKER FILE AND DOCKER COMPOSED FILES AND YOU CAN RUN AND DEPLOY YOUR — TEAR REGISTER USING THE DOCKER FILE AND IF YOU — WRITE FOR THE SCRIPTS, YOU CAN WRITE IN THE SCRIPT — AND IT IS USEFUL FOR MANY PERSONS AND IF YOU ARE A DBA COMMUNITY WRITE SOME QUERIES FOR EXAMPLE FOR EXAMPLE, SEQUEL — YOU CAN CONNECT WITH THIS DATABASE AND THE SAMPLE

WE HAVE THE SEQUEL SERVER FOR MICROSOFT I CAN CONNECT TO THE DATABASE AND I CAN RUN QUERIES AND CAN I EXPORT? FOR EXAMPLE, MAYBE YOU HAVE A PROBLEM THOUGH SHE NEEDED TO EXECUTE THE QUERY IN THE DATABASE AND SAVE AND ADJACENT FILE AND SEND IT FOR OTHER PEOPLE FOR EXAMPLE MAYBE YOU NEEDED TO WRITE SOME CODE TO DO THIS NOW, WITH THIS CODE, YOU CAN RUN THIS QUERY AND SAVE IT TO A TRADITIONAL FILE INSIDE OF HERE

AND IF YOU WORK — MAYBE YOU WORK WITH THE FILES AND THERE IS AN EXTENSION THAT YOU CAN USE TO WRITE MICROSOFT FILES AND REVIEW THIS FILE YOU CAN SEE THE RESULT OF YOUR CODE HERE OKAY AND WE HAVE MANY DEMOS

I HAVE HERE, MANY PROJECTS ON THE DIRECTORY I HAVE MANY KINDS OF CODES HERE I HAVE THE ANGLER FOR EXAMPLE, I FOUND THIS PROGRAM FOR — COBBLE IT IS INTERESTING

I CAN SEE THE FILE WITH THE CORRECT — IT IS VERY INTERESTING I HAVE ANOTHER INTERESTING THING IT IS AMAZING BECAUSE IT IS A VERY OLD LANGUAGE AND WE HAVE PEOPLE THAT WRITE — AND BUSINESS IS GOOD FOR THIS

MAYBE IF YOU HAVE THE FILES — YOU CAN USE THIS FOR FILES OKAY BUT I WOULD START WITH — DATABASE I HAVE HERE, A SEEK WILL SERVER FILE AND I HAVE A PLUG IN FOR A SERVER

I CAN RUN HERE CONNECTION WITH MY DATABASE I CAN RUN THE DATABASE PICK I AM CONNECTED I AM CHANGING THE DATABASE YOU CAN FIND ALL DATABASES — ALL CATALOGS ON MY SERVER AND YOU CAN CHOOSE ONE

AND IRAN A QUERY HERE AND I WILL SELECT HERE I HAVE THE EXTENSION HERE AND FOR FIELDS AND I CAN RUN THIS HERE AND I HAVE THE RESULTS ON THE OTHER SIDE HERE

IT IS OKAY AND NOW, I CAN SAVE IT FOR EXAMPLE I WOULD SAVE THE ADDITIONAL FILE HERE AND TEST

AND I HAVE THIS FILE SAVED BY THE CODE HERE IT IS VERY USEFUL IF YOU WORK WITH THE DATABASE MAYBE YOU CAN CONSIDER USING THE CODE BECAUSE — I HAVE MY CODE AND MY DATABASE AND MY SCRIPTS — ALL OF THESE THINGS TOGETHER INSIDE OF MY FILE AND — I WILL SHOW FOR YOU THE SAMPLE IT IS HERE

I HAVE THE FILE IT IS MD AND I CAN CLICK HERE AND OPEN UP THE REVIEW AND I CAN SEE THE RESULTS OF THE FILE I HAVE A CODE SAMPLE

A CODE SAMPLE HERE AND I HAVE THE PREVIEW HERE IT IS VERY FAST — PRICING THE — WRITING THE FILES FOR EXAMPLE, I HAVE ANOTHER SAMPLE HERE IT IS A HML FIRE — FILE HERE

I NEED TO RUN THIS FILE AND MAYBE I CAN SEE THE RESULTS OF THIS FILE ON THE BROWSER AND I CAN CHANGE SOME THINGS ABOUT THIS I HAVE EXTENSIONS OF THE WEB SERVER HERE I HAVE THE APPLICATION RUNNING HERE AND I CAN PUT MY BUSINESS CODE HERE AND CHANGE IT HERE

CHANGE THE SESSION I CAN SAVE AND I CAN SEE THE RESULTS THERE IT IS VERY INTERESTING I CAN DO THIS AT THE SAME TIME AND SEE THE APPLICATION RESULTS BUT, I CAN RUN HERE OFF OF THIS APPLICATION

I HAVE JAVASCRIPT HERE AT THIS POINT, THE BUSINESS CODE HAS AN INTERESTING FEATURE THAT IS THE WORKSPACE YOU CAN SEE THAT I HAVE ONLY A FOLDER HERE AND TO EXECUTE MY CODE, YOU NEED TO UNDERSTAND WHAT KIND OF CODE THE ENVIRONMENT IS

FOR EXAMPLE, I HAVE — FOR ANY CODE TO DIRECT — I HAVE SOME FILES HERE I HAVE — I CAN CHOOSE ANOTHER ONE HERE I HAVE A LARGE FILE I HAVE A — AND I HAVE A PREVIEW FILE THAT I HAVE HERE IN JAVA PROJECT

I HAVE THE LARGE THAT IS HOW I CAN EXECUTE HOW I CAN START THE EXECUTION ENVIRONMENTS I HAVE SOME JAVA COMMENTS HERE THIS IS FOR A JOB APPLICATION AND I HAVE ANOTHER FILE

THIS IS TASKS THIS IS WHAT I CAN DO INSIDE — FOR EXAMPLE, WHEN I CLICK — I CAN CLICK ON JAVA COMPILER FOR EXAMPLE, I HAVE MANY JAVA — CODES HERE THIS IS HOW I CAN RUN MY CODES BUT TO DO THIS — YOU NEED TO UNDERSTAND MY ENVIRONMENTS

I HAVE ONLY ONE HERE ON THIS CODE DOESN'T HAVE INFORMATION ABOUT THIS HERE AND I NEEDED TO USE — THE ALL WORKS BASED CONCEPT HERE I HAVE THE WORKSPACE HERE WORKSPACE — CAN DIVIDE MY DIRECTORS INSIDE APPLICATIONS

FOR EXAMPLE, I HAVE HERE — NOW, ON JAVA ENVIRONMENT HERE I SEE THE JAVA CODE HERE I HAVE ANOTHER SIDE HERE IT IS IN ANGLER IMAGINE IF YOU HAVE — FOR EXAMPLE, TWO DIFFERENT LANGUAGES IN YOUR APPLICATION

FOR EXAMPLE, JAVA AND ANGLER LIKE THIS AND YOU CAN RUN AT THE SAME — NOT AT THE SAME TIME BUT YOU CAN RUN TOGETHER AND SIDE OF THE SAME — FOR EXAMPLE, WHILE YOU RUN THE JAVA APPLICATION HERE, IT IS A SAMPLE OF JAVA HERE AND I HAVE THIS HERE I CAN TRY TO RUN — WHEN IRAN, I TRY TO RUN HERE

I CAN SEE — IT IS HERE OKAY WHEN I CLICK HERE, I CAN SEE THE JAVA CODE HERE, OKAY I CAN START — AND WE HAVE THE JAVA STARTING NOW AND MY CODE WAS COMPILED

MY CODE — CAN BE HERE THE BUSINESS CODE IS STARTING I CAN RUN THIS CODE INSIDE OF MY BUSINESS CODE OKAY AND I HAVE THIS HERE

I CAN'T INTERACT WITH THIS CODE HERE FOR EXAMPLE, I CAN SEE — THAT THIS HAS A CODE I CAN CHANGE IT AS WELL HERE FOR EXAMPLE, — CHANGE IT HERE FOR ME AND IF I CAN SHOW AGAIN — AND I CAN DEBUG THIS CODE HERE

LIKE ANY JAVA ENVIRONMENTS AND I HAVE SOME TESTS HERE FOR THIS JOB APPLICATION I HAVE MANY TASKS AND SIDE OF THIS AND I CAN RUN THESE TASKS I HAVE A RUNNER HERE

AND I CAN SEE THE RESULTS OF THESE TESTS OKAY I HAVE THREE TESTS HERE AND I HAVE A TEST — HERE I HAVE A WEBEX I CAN SEE BY CLICKING ON THIS HERE

AND I HAVE — I RESUME FOR ALL TESTS USING JAVA APPLICATIONS AND SO IT IS VERY INTERESTING BECAUSE YOU CAN USE A SIMPLE — INSIDE OF IT OKAY I CAN TAKE THIS AND OPEN ANOTHER

ANOTHER DIRECTORY HERE WITH ANOTHER CODE NOW I HAVE — ON THE FILE — I HAVE A DOCTOR FILE HERE I HAVE A DOCTOR HERE I NEED TO WAIT A FEW MOMENTS

— I HAVE ALL OF THIS HERE AND SIDE OF MY CODE LOOKING AT MY REGISTER — I CAN RUN — FOR EXAMPLE, DOCTOR CODES HERE RUNNING I CAN SEE THE DOCTOR EXTENSION HERE RUNNING HERE I CAN RUN MY CONTAINER HERE

EXIT THE BROWSER USING I CAN DO THIS USING ONLY — COACH I CAN BLOCK MY CONTAINER HERE I CAN PUT — FOR EXAMPLE, DOCTOR FILES HERE USING THE STATION I PUT ALL DOCTOR FILES FOR MY APPLICATION

I CAN CHOOSE WHAT ENVIRONMENTS I HAVE AND CREATE THE ENVIRONMENT FOR THIS DOCTOR — FILE AND COMPOSE FOR THIS APPLICATION I HAVE — FOR EXAMPLE, I WILL OPEN ANOTHER — IF YOU ARE USING POWER SHELF FOR EXAMPLE, — I HAVE THESE CODES AND I HAVE — PRETTY SIMPLE — CODE HERE AND I CAN RUN THIS USING THE SAME CONCEPT THAT I HAVE HERE

THE — TO CONFIGURE THE ENVIRONMENT TO RUN THIS CODE I CAN RUN THE SCRIPT HERE INSIDE OF THE CODE FOR EXAMPLE REMEMBER THAT IF I NEED TO SHOW THIS ENVIRONMENTS WHETHER PEOPLE IF I NEED HELP, I CAN CLICK HERE AND I CAN SHARE MY ENVIRONMENT WITH OTHER PEOPLE AND WE HAVE WORKED TOGETHER FOR THE FINISH, I HAVE HERE — A — MACHINE

THIS IS A LENOX MACHINE AND I HAVE HERE, THE SAME WAY TO USE CODES I HAVE THE SAME HERE THE SAME EXTENSIONS IF I NEEDED TO SYNCHRONIZE MY EXTENSIONS, I HAVE A PLUG-IN THAT I CAN DO THIS

AND HERE, I HAVE A CODE A CODE HERE IT IS THE SAME APPLICATION THE SAME ENVIRONMENTS YOU CAN USE THE SAME HERE

AND MAYBE YOU CAN CONSIDER — THE COMPANY AND I HAVE SOME LINKS AND GETTING STARTED WITH THE BUSINESS CODE, YOU CAN LOOK AT THIS — THIS LINK THAT WE HAVE MANY SAMPLES WITH MANY LANGUAGES FOR YOU IF YOU NEEDED TO CREATE YOUR OWN EXTENSION, YOU CAN DO THIS AND I HAVE MY LOGIN

I PUT MY CODE HERE AND THAT IS IT THANK YOU FOR COMING

Tags: , , , , , , , ,

Visual Studio for Mac tips and tricks – THR2209

>>> ALL RIGHT TIPS AND TRICKS

WE HAVE A LOT OF REALLY GREAT TIPS AND TRICKS LINED UP FOR YOU GUYS TODAY BY THE WAY, THE TIPS THAT I WILL BE SHOWING TODAY APPLY TO ANY TYPES OF PROJECTS YOU ARE DEVELOPING IN VISUAL STUDIO MAC MORE APPLICABLE TO ANY TYPE OF DEVELOPMENT THAT YOU ARE DOING A QUICK 20-MINUTE TALK I AM TRYING TO GO THROUGH AS MANY TIPS AS I CAN

I DON'T KNOW IF WE WILL HAVE TIME FOR QUESTIONS HERE WE MAY OR MAY NOT I'M NOT SURE I WILL BE AVAILABLE AT THE END OF THE SESSION MY INFORMATION IS HERE FOR TWITTER AND EMAIL

FEEL FREE TO REACH OUT TO ME FOR ANY QUESTIONS THAT YOU MIGHT HAVE ALL RIGHT SO THE FIRST TIP I AM GOING TO SHOW YOU IS HOW TO OPEN MORE THAN ONE SOLUTION IN THE SAME INSTANCE OF VISUAL STUDIO FOR MAC ALL RIGHT SO I HAVE GOT MY TO DO WEB APP HERE

ONE SECOND OKAY ALL RIGHT LET ME GET THIS FIXED OVER HERE JUST ONE SECOND

I HAVE MY TO-DO WEB APP OPEN UP HERE I WANT TO OPEN AN ADDITIONAL SOLUTION INSIDE THE SAME INSTANCE OF VISUAL STUDIO FOR MAC I AM GOING TO THE FILE OPEN DIALOGUE AND BROWSE OUT TO THE ADDITIONAL PROJECT THAT I WANT TO OPEN LET ME OPEN UP THIS MY MBC APP HERE THE TRICK IS TO CLICK ON OPTIONS

THEN WE HAVE GOT A CHECK BOX HERE FOR CLOSE CURRENT WORK SPACE THAT'S THE DEFAULT THERE AND THIS CHECK BOX WILL ALWAYS BE CHECKED WHENEVER YOU COME INTO THIS DIALOGUE IF YOU WANT TO DO THIS, YOU ALWAYS HAVE TO UNCHECK THIS THEN WE CLICK OPEN

SO NOW CAN SEE I HAVE MY TO-DO WEB APP AND ALSO MY NBC APP AS WELL THE WAY IT WORKS FOR RUNNING OR DEBUGGING, WHATEVER ITEM, WHATEVER PROJECT OR WHATEVER SOLUTION IS CURRENTLY SET AS ACTIVE, I WOULD — IF YOU HAVE A FILE OPEN OR WHATEVER ITEM IS SELECTED IN THE SOLUTION PAD HERE, THAT IS GOING TO BE THE ITEM RUN ON DEBUG OR RUN I WILL SHOW YOU THAT BEHAVIOR I AM GOING TO GO AHEAD AND START DEBUGGING HERE START WITHOUT DEBUGGING, I MEAN

SO NOW IT'S GOING TO SPIN UP WE CAN SEE IT HAS GOT MY — LET ME ZOOM IN ON THIS, IF I HAVE TIME OOPS, GUESS NOT IT BUILT MY TO DO APP I HAVE MY TO DO APP HERE

SO NOW LET ME GO BACK TO VISUAL STUDIO FOR MAC AND THEN I AM GOING TO OPEN UP SOME FILE IN MY NBC WEB APP HERE THEN I AM GOING TO DO THE SAME THING SO OPTION, COMMAND, RETURN TO START WITHOUT DEBUGGING NOW INSTEAD OF THAT TO DO APP WE CAN SEE I HAVE MY NBC WEB APP RUNNING HERE ALL RIGHT

SO THAT WAS ONE I AM GOING TO STOP DEBUGGING HERE OKAY JUST ONE SECOND ALL RIGHT

SO THE NEXT TIP THAT I WILL SHOW YOU IS HOW CAN I START RUNNING MULTIPLE PROJECTS ON RUN ON DEBUG? SO THIS IS PRETTY IMPORTANT, ESPECIALLY FOR, LET'S APNET CORE DEVELOPERS YOU MIGHT BE DEVELOPING A API AND WITH A WEB FRONT END OR MOBILE FRONT END THE WAY YOU DO THAT IN VISUAL STUDIO, LET ME EP UP A DIFFERENT SOLUTION HERE ALL RIGHT

SO THE SOLUTION I AM OPENING HERE IS FOR A WEBSITE THAT USES A WEB API SO I'VE GOT A TEMPLATES WEB PRAUMG HERE THAT'S MY WEB FRONT END THEN I ALSO HAVE A WEB API PROJECT HERE ALL RIGHT

I AM GOING TO RIGHT CLICK ON THE SOLUTION AND SAY OPTIONS THEN I GO DOWN TO RUN CONFIGURATION AND I'LL JUST REMOVE THE ONE THAT I HAVE HERE SO WE CAN CREATE IT FROM SCRATCH I CREATE A NEW ONE AND I'LL SAY DEMO WE WILL CREATE THAT AND THEN I AM GOING TO GO AHEAD AND DOUBLE-CLICK TO GET INTO THERE

THEN WE CAN SEE I HAVE A LIST OF THE PROJECTS THAT I WANT TO SELECT TO RUN WHENEVER I RUN OR DEBUG THIS PARTICULAR RUN CONFIGURATION SO IN THIS CASE I CHECK THE TEMPLATES WEB APP AND ALSO THE API APP CLICK OKAY AND THEN THERE IS AN ADDITIONAL THING YOU WANT TO TAKE A LOOK AT IF YOU ARE DEALING WITH MULTIPLE WEB PROJECTS YOU WANT TO MAKE SURE THEY ARE LISTENING ON DIFFERENT PORTS

RIGHT CLICK GO TO OPTIONS ON BOTH WEB CONFIGURATIONS, DEFAULT THE WEB APP IS ENCORE 52109 OKAY SO I CLOSE THAT

THEN I WILL DOUBLE-CHECK THAT THE API PROJECT IS NOT LISTENING ON THAT SAME ENDPOINT ALL RIGHT SO HERE WE CAN SEE THIS IS LISTENING ON 52108 YOU MIGHT RUN INTO THIS PROBLEM BY DEFAULT THEY LISTEN ON 5001

YOU WOULD GET AN ERROR THAT WOULD SAY THEY CAN ONLY START ONE OKAY SO I GO AHEAD AND SET A BREAK POINT HERE SO I'LL SAY TEMPLATE PACK CONTROLLER AND THEN I WILL SET A BREAK POINT HERE THEN FOR THE WEBSITE I'LL SET A BREAK POINT IN THE INDEX DOT CHST

I HAVE THAT LOADED OH, YEAH, I FORGOT TO MENTION LET ME ZOOM IN ON THIS ONE AFTER YOU CREATE THE SOLUTION RUN CONFIGURATION, YOU NEED TO TAKE A LOOK AT THIS DROPDOWN AND MAKE SURE THAT'S SET TO THE RUN CONFIGURATION YOU RECENTLY CREATED SOMETIMES THAT DOESN'T AUTOMATICALLY HAPPEN

SO MAKE SURE TO DO THAT I AM GOING TO GO AHEAD AND START DEBUGGING THIS ALL RIGHT SO IT'S GOING TO GO AHEAD AND START UP MY WEB FRONT END AS WELL AS MY WEB API BACK END AND THEN IT'S GOING TO MAKE CALL THAT CALLS INTO THE API PROJECT WE SHOULD SEE THAT BREAK POINT

AND THEN IT SHOULD ALSO HIT A BREAK POINT FOR THE WEB APP ITSELF SO HERE IS THE INDEX CHTSML WE CAN SEE IT'S BROKEN HERE THEN WE ARE GOING TO KEEP GOING

IT SHOULD HIT THAT AICHLT NOW WE ARE INSIDE THE API PROJECT WE CAN SEE THAT BREAK POINT HAS BEEN HIT AS WELL OKAY? AND THIS WORKS FOR DEBUG OR RUN WITHOUT DEBUGGING IT'S THE SAME THING ALL RIGHT

SO THE NEXT TIP HOW CAN I START MULTIPLE INSTANCES OF VISUAL STUDIO MAC? SO WE CAN SEE HERE I ALREADY HAVE ONE INSTANCE LOADED UP SO LET'S SAY YOU HAVE BEEN WORKING ON A PROJECT AND YOUR BOSS COMES TO YOU, WANTS YOU TO FIX A BUG SOMEWHERE ELSE IT WILL BE A QUICK FIX, SO YOU DON'T WANT TO CLOSE OUT OF EVERYTHING YOU ARE DOING YOU WANT TO OPEN A NEW INSTANCE OF VISUAL STUDIO FOR MAC

YOU GO TO THE TERMINAL AND ISSUE A COMMAND THERE SO I'LL SAY OPEN DASH N DASH A AND THEN THE PATH TO THE APPLICATION THAT YOU WANT TO OPEN SO BY DEFAULT IT'S APPLICATIONS, VISUAL STUDIO DOT APP AND WE WILL GO AHEAD AND RUN THAT AND THEN ANOTHER INSTANCE OF VISUAL STUDIO FOR MAC SHOULD BE LOADED UP

AT THAT POINT YOU CAN OPEN UP WHATEVER PROJECT YOU WANT AND RUN OR DEBUG HERE IT'S PROBABLY NOT A GOOD IDEA TO OPEN THE SAME SOLUTION IN MULTIPLE INSTANCES I HAVE NEVER TRIED THAT MYSELF, BUT YOU MIGHT RUN INTO SOME FUNNY BEHAVIOR I WOULD IMAGINE ALL RIGHT SO THERE WE GOT THAT ONE

OKAY ALL RIGHT SO KEY BINDING I AM GOING TO SHOW YOU GUYS — LET ME ASK A QUESTION HOW MANY PEOPLE HAVE USED VISUAL STUDIO ON WINDOWS BEFORE? ALL RIGHT

A GOOD NUMBER OF PEOPLE OKAY ALL RIGHT SO LET'S GO BACK TO VISUAL STUDIO MAC HERE LET'S SEE

LET ME JUST — SO LET'S GO INTO — LET ME ACTUALLY — THIS IS THE ONE I JUST OPENED LET ME CLOSE THAT ONE AND I WILL GO BACK TO THE ONE I ORIGINALLY HAD OPENED WHICH IS HERE SO NOW I AM DROPPING INTO PREFERENCES HERE AND WE CAN SEE WE HAVE GOT A KEY BINDINGS OPTION HERE SO KEY BINDINGS ARE THE KEYBOARD SHOT CUTS, BASICALLY SO LET ME — THE — YOU KNOW, FOR ME PERSONALLY THE MOST IMPORTANT KEYBOARD SHORTCUTS ARE THE DEBUG, STEP OVER, STEP INTO, STEP OUT, SO ON AND SO FORTH

SO LET ME SHOW YOU THE DEFAULT KEY BINDINGS HERE SO VISUAL STUDIO FOR MAC IS A NATIVE MAC APPLICATION AND WE LIKE IT TO BEHAVE LIKE OTHER MAC APPLICATIONS DO SO THE KEY BINDINGS ARE SET FOR HOW OTHER MAC APPLICATIONS BEHAVE IT'S KIND OF MORE CONSISTENT BUT IF YOU'RE A VISUAL STUDIO WINDOWS USER THESE KEY BINDINGS MAY OR MAY NOT BE OBVIOUS TO YOU

YOU WILL HAVE TO GO IN HERE AND KIND OF TAKE A LOOK FORTUNATELY, WHAT WE CAN DO IS, IF I EXPAND THIS DROPDOWN, I CAN SEE THAT THEY HAVE VISUAL STUDIO WINDOWS HERE SO LET ME JUST TAKE A NOTE ABOUT THESE KEY BINDINGS SO WATCH THOSE BECAUSE THEY ARE GOING TO CHANGE SO I AM GOING TO GO TO VISUAL STUDIO FOR WINDOWS

NOW THE KEY BINDINGS HAVE CHANGE TODAY WHAT WE ALL KNOW AND LOVE, F 10, F 11, SO ON AND SO FORTH ALL RIGHT LET ME SWITCH BACK TO VISUAL STUDIO HERE GO BACK AND CLOSE THAT OUT ALL RIGHT

SO LET'S TAKE A LOOK AT WHAT THE NEXT TIP IS BREAK ON ALL EXCEPTIONS SO LET'S SAY IF YOU HAVE SOME MISBEHAVING CODE AND YOU ARE RUNNING THE APP AND AN EXCEPTION IS THROWN AND LOGGED BUT YOU ARE NOT ABLE TO FIND WHERE THE EXCEPTION IS HAPPENING MAYBE YOU HAVE AN ASYNC CODE GOING ON THAT'S WHERE A BREAK ON ALL EXCEPTIONS MIGHT BE HELPFUL FOR YOU

SO I AM GOING TO OPEN THE BREAK POINTS, THE BREAK POINTS PAD HERE THEN I CAN SELECT NEW EXCEPTION CHECKPOINT THEN LET ME ZOOM IN ON THIS A LITTLE BIT SO THIS DIALOGUE — OOPS SO THERE IS A COUPLE OF THINGS TO THIS DIALOGUE

THE FIRST SECTION HERE KIND OF EXPLAINS WHAT HAPPENS WHAT DO YOU WANT TO HAPPEN WHEN THE BREAK POINT IS HIT? DO YOU WANT TO STOP? DO YOU WANT TO PRINT A MESSAGE? WHAT ACTION DO YOU WANT TO TAKE? WHEN A FUNCTION IS ENTERED — THE ONE WE ARE INTERESTED IN WHEN AN EXCEPTION IS THROWN AND THE DEFAULT IS SYSTEM DOT EXCEPTION AND ANY SUB CLASS FROM THERE OKAY? SO LET'S JUST GO BACK I AM GOING TO CLICK OKAY OR CLICK CREATE TO GO AHEAD AND CREATE THAT THEN LET ME GO INTO MY — LET ME GO INTO MY WEB APP

HIS BREAK POINT HERE AND THEN I'LL THROW A NEW EXCEPTION ALL RIGHT AND THEN WHILE — GO AHEAD AND DEBUG THIS ALL RIGHT SO NOW IT'S GOING TO SPIN UP MY WEB API PROJECT AND SPIN UP MY WEB FRONT END AND THEN HOPEFULLY THIS BREAK POINT WILL BE HIT HERE

SO I'LL GO — OKAY SO WE'LL WAIT FOR IT TO BREAK ON THAT LINE, HOPEFULLY OKAY THERE WE GO SO NOW IT SAYS SYSTEM NOT IMPLEMENTED, EXCEPTION WAS THROWN AND YOU CAN DO ALL YOUR DEBUGGING HERE

ALL RIGHT SO LET ME GO AHEAD AND STOP THAT AND THEN WE ARE GOING TO REMOVE THIS EXCEPTION HERE LET'S GO TO OUR NEXT TIP ALL RIGHT SO FINDING MENU ITEMS

ESPECIALLY FOR THE — ESPECIALLY FOR THE USERS WHO ARE COMING FROM VISUAL STUDIO ON WINDOWS, YOU KNOW, SOME OF THE MENU ITEMS ARE IN DIFFERENT SPOTS THAN WHAT YOU MIGHT EXPECT LIKE ON WINDOWS THAT'S JUST BECAUSE SOME THINGS ARE JUST DIFFERENT ON MAC BUT APPS HAVE A BUILT IN CAPABILITY TO FIND AND A HALF GATE THE MENU OPTIONS THIS IS NOT SPECIFIC TO VISUAL STUDIO MAC YOU WILL FIND THIS IN A BUNCH OF OTHER MAC APPLICATIONS

IF I WAS LOOKING FOR WHERE IS THE FORMAT DOCUMENT MENU ITEM? HOW DO I FIND THAT? I GO TO HELP AND TYPE IN FORMAT DOCUMENT THIS HAPPENED TO ME ONCE BEFORE, TOO SO IT DOESN'T ACTUALLY — YOU KNOW, I THINK — I'M NOT SURE WHAT'S GOING ON HERE LET ME CLOSE IT AND REOPEN IT ONE TIME I HAVE NOTICED THAT IT IS KIND OF — IT DOES KIND OF GET CONFUSED SOMETIMES

I'M NOT SURE WHAT'S GOING ON IT MIGHT BE SOMETHING WITH MY PARTICULAR MACHINE LET ME OPEN THE TO DO WEB APP AND HOPEFULLY THIS WILL WORK I AM NOT SURE WHAT'S GOING ON WITH THIS ONE I APOLOGIZE FOR THAT

OKAY SO FORMAT DOCUMENT OKAY SO THERE I SEE FORMAT DOCUMENT THEN WE'LL KIND OF AUTOMATICALLY EXPAND THIS FORMAT AND THEN FORMAT DOCUMENT THERE

AND THEN LET ME GIVE YOU GUYS ANOTHER EXAMPLE LET'S SAY IF YOU ARE LOOKING PO FOR WHERE IS STEP OVER OR STEP INTO, IT CAN FIND THAT SO, YEAH, THERE IS ALL KIND OF INTERESTING FUNCTIONALITY THERE FOR THAT ONE THAT ONE IS PRETTY NEAT, I THINK ALL RIGHT

SO THE QUICK LAUNCH FOR OUR VISUAL STUDIO WINDOWS USERS, HOW MANY MUCH YOU HAVE USED QUICK LAUNCH ON VISUAL STUDIO IN WINDOWS? NONE? WOW INTERESTING SO IT HAS A QUICK LAUNCH CAPABILITY LET ME ZOOM IN OVER HERE

OKAY SO THE QUICK LAUNCH IS OVER HERE ON THE RIGHT-HAND CORNER TO ACTIVATE IT JUST DO COMMAND DOT, AND THEN LET ME EXPAND OUT THIS DROPDOWN HERE SO WE CAN SEARCH THINGS LIKE TYPES, MEMBERS, COMMANDS YEAH

OKAY SO I WAS PLANNING ON THIS DOING THIS WITH MY TEMPLATES WEB APP THAT I HAD OPENED UP THAT HAS MORE FILE WE WILL JUST KIND OF RUN WITH THIS ONE SO LET ME — LET'S SAY IF I'M LOOKING FOR A FILE, LOOK FOR PROGRAM DOT CS IF YOU SEARCH FOR PROGRAM IT WILL SHOW YOU ARE ANYWHERE IN THE CODE THAT LISTS PROGRAM OR ANY FILE THAT STARTS WITH PROGRAM

WE CAN ALSO DO FILE COLON PROGRAM DOT CS LET ME BACK OUT THE ZOOM HERE ACTUALLY, LET ME ZOOM IN ONE MORE TIME LET'S SAY IF I WANTED TO GO TO A PARTICULAR LINE INSIDE PROGRAM DOT CS I DO COMMAND DOT TYPE FILE, PROGRAM DOT CS AND COLON LET'S SAY 20

OR 29 IS FINE LET ME ZOOM OUT OKAY OKAY UNFORTUNATELY, I DON'T HAVE A LINE 29 IN THAT FILE

IT HAS TAKEN ME TO THE CLOSEST THING, WHICH IS LINE 22 HERE WE HAVE FIVE MINUTES LEFT AND A LOT MORE TIPS SO DRAG EDITOR WINDOW OUT OF THE SHELL THIS IS SOMETHING YOU CAN DO IN VISUAL STUDIO FOR WINDOWS AS WELL BUT WHAT I FOUND OUT IS A LOT OF PEOPLE ARE NOT FAMILIAR YOU CAN DO THIS INSIDE VISUAL STUDIO FOR MAC

SO YOU CAN JUST BASICALLY DRAG YOUR EDITOR OUTSIDE OF VISUAL STUDIO FOR MAC LET'S SEE HERE I BRING TWO OF THEM OUT YOU CAN DO MORE INTERESTING THINGS LIKE COMBINE THEM WITHIN THE OUTSIDE VIEW AND THEN YOU CAN ALSO BRING THEM BACK IN SO THERE IS THAT, THAT TIP RIGHT THERE

ALL RIGHT SO CREATING PROJECTS USING THE DOT-NET COMMAND LINE INTERFACE, SO THERE ON THE — AT LEAST ON THE ASPNET CORE SIDE THERE IS SOME PROJECT TEMPLATES THAT ARE AVAILABLE BUT NOT INSIDE VISUAL STUDIO FOR MAC THEN ON TOP OF THAT WE HAVE A BUNCH OF COMMUNITY TEMPLATES BEING CREATED AND THOSE ARE NOT AVAILABLE IN VISUAL STUDIO FOR MAC EITHER WHAT WE CAN DO IS USE THE COMMAND LINE TO CREATE THESE PROJECTS

LET ME CLEAR OUT WHAT WE HAVE SO WHEN YOU INSTALL VISUAL STUDIO FOR MAC IT INSTALLS DOT-NET AND PUTS THAT ON THE PATH I WILL EXECUTE A COMMAND THAT SAYS DOT-NET NEW DASH, DASH, LIST SO ONE PROJECT THAT WE DON'T HAVE IN VISUAL TOW FOR MAC, ONE TEM IT PLATE WE DON'T HAVE IS ANY OF THE ASPNET CORE TEMPLATES WITH OFF

THAT WILL BE COME IN THE FUTURE, OBVIOUSLY BURKS WE DON'T HAVE THAT CAPABILITY NOW SO LET'S SAY IF YOU WANTED TO CREATE A RAZOR PROJECT WITH OFF, YOU WOULD DO THAT FROM THE COMMAND LINE OKAY SO I'LL SAY DOT-NET NEW RAZOR AND I CAN INSPECT WHAT TYPES OF OPTIONS DOES DOT-NET NEW RAZOR PROVIDE TO ME I AM GOING TO SCROLL TO THE TOP FOR THE OPTION THAT I WANT TO USE HERE

SO HERE WE CAN SEE THAT THE RAZOR TEMPLATE HAS AN OFF OPTION THE ONE I'LL PICK IS INDIVIDUAL OFF SO LET ME JUST GO AHEAD AND COPY INDIVIDUAL DOT-NET NEW RAZOR DASH DASH OFF INDIVIDUAL AND THEN I SAY I WANT THIS OUTPUT TO GO INTO A FOLDER CALLED MY RAZOR APP AND THEN THIS WILL ALSO BE THE NAME OF THE PROJECT AS WELL AS THE NAME OF THE NAME SPACE, SO ON AND SO FORTH SO WHILE IN VS MAC I AM GOING TO OPEN UP THAT PROJECT

THIS WAS CREATED AT 3:08 MY RAZOR APP HERE SO I SAY OPEN LET ME EXPAND THIS BACK OKAY

SO HERE I CAN SEE I HAVE GOT THE APP DB THIS IS A SQL LIGHT DATABASE THAT'S THE DEFAULT FROM THE COMMAND LINE THAT WORKS ON MAC, OF COURSE LET ME RUN WITHOUT DEBUGGING

I WILL SHOW YOU THAT THIS IS THE TEMPLATE THAT HAS THE REGISTER AND LOG-IN FEATURES I PROBABLY WON'T EXERCISE THOSE SO WE CAN GET THROUGH SOME ADDITIONAL TIPS HERE WE CAN SEE THE APP HAS BEEN CREATED AND IT HAS THE REGISTER AND LOGIN SUPPORT AND OF COURSE THAT WORKS OKAY LET ME STOP DEBUGGING OR STOP THAT APP THERE

ALL RIGHT SO EDITING THE PROJECT FILES THERE IS A LOT OF TIMES WHERE YOU MIGHT HAVE TO GO INTO YOUR PROJECT FILE, YOU WANT TO ADD A PRE OR POST BUILD EVENT OR CUSTOMIZE A CERTAIN ASPECT OF IT SO THE EASIEST WAY TO DO THAT IS TO RIGHT CLICK ON YOUR PROJECT, GO TO TOOLS AND SAY EDIT FILE SO AT THIS POINT I COULD ADD A NEW TARGET

LET'S SIGH AFTER TARGETS EQUALS BUILD THEN I AM GOING TO DROP A MESSAGE HERE OKAY THERE WE GO AND THEN I AM JUST GOING TO BUILD THIS ONE MORE TIME

WE WILL TAKE A LOOK AT THE OUTPUT HERE OKAY SOME WEIRD STUFF IS GOING ON HERE I AM NOT SURE WHAT'S HAPPENING WITH THIS MACHINE RIGHT NOW IT'S MISBEHAVING FOR ME

I AM NOT SURE WHAT'S GOING ON THERE ANYWAYS, LET'S MOVE ON TO A COUPLE OTHER — MAN, I JUST GOT 20 SECONDS LEFT SO MANY TIPS OKAY SO LET ME SHOW YOU A COUPLE ADDITIONAL ONES

INSIDE PREFERENCES, I WANTED TO SHOW YOU GUYS THAT WE DO HAVE THE ABILITY TO HAVE A — WE HAVE A LIGHT THEME AND ALSO A DARK THEME SO LET ME SWITCH TO DARK THEME I'LL COMBINE INTO THIS ONE IS SHOWING YOU THE ABILITY TO KIND OF TAKE CONTROL OVER THE COLOR THEMES FOR THE EDITOR ITSELF SO I'LL GO INTO COLOR THEMES AND IF YOU READ — IF YOU READ THIS SNIPPETS HERE, IT SAYS YOU CAN DOWNLOAD EXISTING THEMES I HAVE DOWNLOADED A THEME WHICH ENDS IN DOT TM THEME

THAT'S THIS MATERIAL THEME HERE SO LET ME SHOW YOU THAT SO I'M GOING TO SET THAT AND THEN IT'S GOING TO WANT TO RESTART VISUAL STUDIO HERE RESTART

SO I JUST KIND OF COMBINED TWO OF THOSE INTO ONE SO IT'S GOING TO RESTART AND I HAVE THE DARK THEME AND THEN THE MATERIAL THEME FOR THE CODE ITSELF AND WE ARE PRETTY MUCH OUT OF TIME BUT LET ME OPEN UP ONE APP AND WE CAN SEE THAT IN ACTION UNFORTUNATELY, I WASN'T ABLE TO GET THROUGH THE REST OF MY TIPS HERE

BUT I AM HOPING TO MAKE SOME VIDEOS BASICALLY AND THROW THEM ON YOUTUBE OR CHANNEL 9 I APPRECIATE YOU TAKING THE TIME TOUT TO COME TO MY CALL, TO COME TO MY TALK LET ME BRING — THEY HAVE ASKED THAT YOU EVALUATE THE SESSIONS ON THE WEB APP OR THE MOBILE APP AND IF YOU HAVE ANY QUESTIONS PLEASE STOP BUY I HAVE BUSINESS CARDS TO GIVE OUT FOR ANYBODY THAT NEEDS MORE IN-DEPTH FOLLOW-UP

Tags: , , , , , , , ,

Build smart integration solutions with the new Azure Logic Apps add in for Visual – THR2210

>> HELLO AND WELCOME WHEN I FIRST JOINED THE TEAM MY BOSS TOLD ME, DEREK, I WANT YOU TO BUILD A WORLD-CLASS WORKFLOW DESIGN FOR LOGICAL

AND IT MADE PERFECT SENSE BACK THEN TWO YEARS AGO LOGIC HAD JUST BECOME GENERALLY AVAILABLE WITH ALL OF THE AMAZING THINGS THE RUNTIME CAN DO THE DESIGN STILL LACKED WE HAD A LITTLE BIT THERE ARE AUSTIN CUSTOMERS, YOU, WOULD HAVE TO TWEAK THAT TO MAKE THINGS WORK THE WAY YOU EXPECTED WITHIN THE LAST TWO YEARS WE HAVE WORKED REALLY HARD AND WE HAVE MADE TREMENDOUS PROGRESS GIVING YOU THE DESIGN THAT YOU ACTUALLY WANT TO USE

BY NOW I DON'T THINK MANY CUSTOMERS HAVE TO SWITCH TO COLD BU TO DO ANYTHING ANYMORE YOU CAN JUST USE THE DESIGN AS IS AND WORK ON INTEGRATION SOLUTION AND BUILDING WITH LOGIC CAPS WHAT IF YOUR ARE LIKE I JUST WANT TO CODE? MAYBE YOU DON'T LIKE THE DESIGN OR YOU DON'T TRUST THE INTERFACE MAYBE YOU ARE JUST MORE COMFORTABLE RIGHTING CODE WE HAVE A GIVE YOU MANY FEATURES IN THE LAST TWO YEARS TO REALLY HELP YOU DO IT

IT IS — WHAT ELSE CAN BE DONE WE GO THAT'S ALL GOING TO CHANGE BECAUSE TODAY WE ARE INTRODUCING VS CODE EXTENSION FOR LOGIC CAPS WHAT IS VS CODE EXTENSION FOR LOGIC CAPS? IT DOES A FEW THINGS FIRST ARE THE BASIC ONES YOU CAN LIST, VIEW, UPDATE YOUR LOGIC CAPS FROM RIGHT WITHIN CODE YOU CAN SEE OTHER TRIGGERS, RUN THOSE TRIGGERS, SEE ALL THE RUN, RESUBMIT ALL THE RUN

YOU CAN EVEN GO BACK TO THE PAST FOR RESPITE — FOR REVISIONS AND BACK TO PRODUCTION STATUS IF YOU WANT THERE IS MORE BECAUSE WE ARE IN THE CODES WE CAN TAKE ALL OF THE INTELLIGENCE CAPABILITIES AND ACTUALLY HELP YOU TO BE MORE EFFICIENT WHEN RIGHTING LOGIC CAPS IN THE CODE VIEW BY USING WORKFLOW STEAM AS IN VS CODE SNIPPETS WE ACTUALLY HELP YOU TO MORE QUICKLY AND EASILY ADD TO THOSE ACTIONS WE SEE THAT VERY SOON IN THE DEMO

THERE'S ALSO INTEGRATION ACCOUNTS VERSUS A CRITICAL PART OF LOGIC CAPS FOR COMMITTEE PEOPLE ARE USING IT FOR THE INTEGRATION SOLUTIONS WITH VS CODE YOU WILL BE ABLE TO, AGAIN, YOU THE INTEGRATION ACCOUNTS OR OPERATE YOURS FEMA WITH A LOUD — SUPPORT COMING VERY SOON THAT'S NOT ALL BECAUSE THIS IS IN VS CODE AND IT'S NOT ONLY CAN BE USED ON YOUR WINDOWS MACHINE, IT'S ALSO AVAILABLE ON MAC AND LUMA NEXT WITH A LARGE RIVALRY OF THIRD- PARTY EXTENSIONS THAT MEANS YOU CAN LEVERAGE THOSE AND BE MORE EFFICIENT AND MORE EASILY WORKING WITH TEAM MAPS FOR TRANSFORM WORD TEMPLATE FOR A JASON TRANSFORM

SO, LET'S DO A QUICK DEMO AND ACTUALLY WRITE SOME CODE HERE I HAVE THE VS CODE OPENED AND HAVE THE LOGIC AND EXTENSION ALREADY LOADED YOU CAN DO THE SAME THING RIGHT AFTER SESSION WHEN YOU START ON YOUR MACHINE ONCE YOU HAVE THE EXTENSION INSTALLED AND AS IT SHOWS UP ON THE LEFT-HAND SIDE SWITCHING SHOWS YOU LOGIC CAP AS WELL AS INTEGRATION ACCOUNTS RESOURCES HERE I'M JUST GOING TO OPEN AN EXISTING LOGIC CAP I ALREADY HAVE

LOGIC CAP IS REALLY SIMPLE I START WITH A RECURRING TRIGGER AND SIMPLY BEING AN ENDPOINT REALLY QUICK, IF I'M INTERESTED IN LEARNING HOW TO USE LOGIC APP FOR CONTACT SCHEDULING MAKE SURE TO STOP BY KEVIN LAMSON SESSION TOMORROW, SAME LOCATION AT 1:ZERO 5 PM AND WE WILL LEARN ABOUT SCHEDULING I WANT TO RECUR EVERY 10 MINUTES I WANT TO DO A POST TO THE ENDPOINT AND I CAN JUST DO CONTROL OUT AND IT ASKS ME IF I WANT TO UPLOAD THIS TO THE CLOUD

CLICK AND UPLOAD AND IT WILL MAKE CLOUD LOGIC LIVE FROM VBS CODE FROM THE SAME VIEW YOU ALSO HAVE ACCESS TO INTEGRATION ACCOUNT THEY CAN GO HERE THIS IS A GOOD TIME TO SHOW YOU A LOT OF THE THIRD-PARTY EXTENSION CAPABILITIES ON HOW THAT CAN HELP YOU TO CREATE YOUR SCHEMAS AND LIQUID TRANSFORMS HERE I AM RETURNING A VALUE FOR THIS PROPERTY THAT I'M ADDING AND I'M CALLING IT PROCESS FIVE

I DON'T KNOW THE EXACT SYNTAX SO SIMPLY — SIMPLY TYPING TEXT WILL GIVE ME THAT SNIPPET OF HOW TO DO A STATIC TEXT IN XXL T PICK YOUR I SAY I AM GOING TO RETURN — CONTRAST AND SAVE AND UPLOAD WILL SEND THAT TO THE CLOUD LET'S BUILD SOMETHING IN I WANT TO BUILD A LOGIC AND START WITH THE REQUEST TRIGGER TAKE IN AN XL DOCUMENT AND VALIDATE AGAINST THE SCHEMA DEPENDING ON THE VALIDATION RESULTS I WANT TO BE ABLE TO TURN TO 400 AND IF I FAILED TO TURN A 200 IF IT SUCCEEDED

THIS IS A — WE CAN DO ALL OF THAT RIGHT FROM VBS CODE I'M GOING TO CLICK ON SCHEMA AND SAY NEW WE WILL GET THE NAME AND I WILL CLICK ON MY SCHEMA I THINK I ALREADY HAVE SOMETHING ON MY CLIPBOARD SO I'M JUST GOING TO PASTE THIS IN THIS WILL BE MY XML SCHEMA

AGAIN, UPLOAD AND THIS WILL BE ON THE CLOUD NOW I'M GOING TO SWITCH BACK TO LOGIC CAPS HERE IS WHERE THE COOL PART BEGINS INSTEAD OF USING A RECURRING TRIGGER I WANT TO USE A REQUEST TRIGGER HOW DO YOU AT THE REQUEST? I DON'T HAVE A DESIGNER MEANT IT — ANYMORE OR THAT SEARCH

WAS TO TELL ME OTHER TRIGGERS I CAN USE, BUT WHAT I CAN SIMPLY DO IS TYPE REQUEST AND THE ENTIRE OBJECT WILL BE PRESENTED TO ME I DON'T HAVE TO FIGURE OUT WHAT PROPERTY I NEED TO ACCEPT AND REQUEST , IT IS ALREADY DONE AUTOMATICALLY LET'S GO TO ACTIONS FIRST I WILL START THE ACTION WITH XML VALIDATION AGAIN, SAME CONCEPT GONE TYPING XML IT AND ACCEPTING XML VALIDATION

ALL THE PROPERTIES ARE PROVIDED TO ME THE ONLY THING I HAVE TO ADD IS WHAT IS INPUT? WHAT DO I WANT TO VALIDATE? THAT WILL BE THE TRIGGER I WILL SAY TRIGGER BODY THEN I HAVE TO RESTAURANTS A SCHEMA THAT WANT TO VALIDATION TO RUN IT AGAINST AND I'M GOING TO USE THE ONE THAT I JUST CREATED, LET'S CALL MY THAT SCHEMA TWO THAT'S IT

THAT IS MY XML VALIDATION ACTION DONE RIGHT FROM THE VBS CODE NOW LET'S ADD TWO MORE I'M GOING TO START WITH THE RESPONSE ACTION THIS ONE WILL RUN IT THE PREVIOUS ONE HAS SUCCEEDED THE PREVIOUS ACTION IS XML VALIDATION RIGHT HERE

WHAT I CAN DO IS SIMPLY GO INTO RUN AFTER THIS IS THE ACTION I WANT TO RUN OUT AGAIN, INTELLIGENCE WILL HELP ME TO CREATE THE WORKFLOW I WANT IT TO RUN AFTER THE PREVIOUS ACTION, NOT SUSPEND IT SIMILARLY, I WOULD LIKE ANOTHER RESPONSE ACTION

LET'S CALL THIS RESPONSE FAILED THIS WILL RETURN A 400 INSTEAD IN THE CASE SCHEMA VALIDATION DID NOT SUCCEED BRINGING TO RUN AFTER I WILL RUN AFTER THE EXACT SAME ACTION AND THIS TIME IT WILL RUN AFTER IF IT HAS FAILED AGAIN, THIS WILL BE LESS THAN FIVE MINUTES AND WE WERE ABLE TO CREATE THIS AND TO AND WORKING LOGIC CAP USING INTEGRATION ACCOUNTS WITH THE SCHEMA THAT OPERATED A FEW SECONDS AGO AND FROM REPEATING CODE

LIKE I SAID, THE VS CODE EXTENSION FOR LOGIC CAP IS AVAILABLE TODAY YOU CAN FIND THAT JUST BY GOING TO VS CODE TO SEARCH KEYWORD LOGIC CAPS OR YOU CAN GO TO AKA DAD MS/LA DASHCODE AND FOLLOW THE INSTRUCTIONS FROM THERE

WHAT'S NEXT? THERE ARE A LOT OF THINGS WE ARE GOING TO DO WE WANT TO HAVE MORE INTELLIGENCE YOU PROBABLY SEE I STILL HAVE TO TYPE TRIGGER BODY WHEN I WANT TO REFERENCE THE TRIGGER PAYLOADS USING TELE-SENSE IT WILL HELP YOU ENJOYING THAT AS WELL I WANT TO INTRODUCE THE CONCEPT OF A LOCAL PROJECT

WITH LOCAL PROJECT IT ALLOWS US TO GROUP MULTIPLE LOGIC CAPS FOR THE WORKFLOW YOUR BUILDING AND THAT IS ALSO THE FOUNDATION OF US PROVIDING YOU WITH A BETTER CIA CD EXPERIENCE YOU CAN HELP USE IT DOWNLOAD IT TODAY THE IS AVAILABLE ON THE VS CODE MARKETPLACE

TRY IT OUT AND SEE WHETHER — WHAT YOU LIKE AND WHAT YOU DON'T LIKE ABOUT IT AND GIVE US FEEDBACK SO WE CAN LEARN FROM IT AND WE CAN PRIORITIZE OUR FEATURES THAT ARE COMING UP ACCORDING TO OUR FEEDBACK CONTRIBUTION TO THE SOURCE CODE IS AN OPEN-SOURCE PROJECT SHOW THAT YOU ARE INTERESTED AND MAKE A REQUEST WE WILL REVIEW IT, APPROVE IT, AND EVERYONE CAN BENEFIT FROM IT LASTLY, SHARE IT

TELL A FRIEND OR COWORKER THOSE ONES THAT ARE USING LOGIC TODAY WILL BENEFIT FROM THIS EVEN THOSE WHO ARE NOT USING LOGIC CAP TODAY, MAYBE NOT A BIG FAN OF THE DESIGN WITH THE VS CODE EXTENSION, THEY WILL BECOME A FAN AND IT WILL START USING LOGIC CAPS HERE IS WHERE THE SOURCE CODE LIVES THE IS AN OPEN-SOURCE PROJECT THAT WOULD WELCOME YOUR CONTRIBUTION

YOU CAN ALWAYS FIND US ON TWITTER AT LOGIC EXILE WITH THAT I WILL CONCLUDE MY PRESENTATION AND I THINK WE HAVE A FEW MORE MINUTES TO TAKE QUESTIONS IF WE HAVE ANY [ INAUDIBLE QUESTION ] WHEN I GO TO THE PURVIEW IT BASICALLY FLIPS THEM BY THE TEXT ON THE ACTION WHEN I LEAVE THE CODE IT IS NOT IN THE SAME LOGIC CODE >> THE QUESTION WAS I CAN CREATE MY WORKFLOW INSIDE THE DESIGN AND ADD A BUNCH OF ACTIONS

BASED ON THE ORDER THEY WILL BE EXECUTED BUT IF I SWITCH TO CODE VIEW THE ORDER CHANGE IS THERE ANY PLAN TO ADDRESS THAT? I WILL TELL YOU WHY MY FIRST AND THEN WE CAN TALK ABOUT WHAT WE WANT TO DO THE REASON IS IF YOU LOOK AT THE CODE VIEW WAS SERIALIZED THE WORKFLOW INTO ADJACENT OBJECT AND THEN WHETHER THEY ARE SIMPLY THE OBJECTS WITHIN THE CUTTER — FIGURE OBJECTS WITH DEFINITION THERE IS NO SPECIFIC ORDERING APPLIED BECAUSE IT'S NOT AN ARRAY WHICH IS WHY THEY WOULD BE SORTED ALPHABETICALLY BECAUSE THAT IS WHAT, THAT'S HOW THE LIBRARY WE USE BEHAVES

IT IS UP AND POINT WE WILL BE AMPLIFIED WITH THE INTRODUCTION OF VS CODE EXTENSION BECAUSE THEY WILL SEE IT COME BACK THE NEXT TIME THEY DO THE EDITOR THIS IS SOMETHING WE ARE LOOKING TO WE WENT TO FIND AN ELEGANT SOLUTION AND NOT NECESSARILY — HACK IT IF THAT MAKES SENSE

THAT'S THE WAY WE WANT TO MAKE IT BETTER YES? WOULD IT ALSO WORK WITH CUSTOM CONNECTORS? >> THE QUESTION IS WITH THAT ALSO WORK WITH CUSTOM CONNECTORS? >> YES IT WILL THE SENSE OF ORDERING AS WELL AS WITH THE VS CODE EXTENSION >>[ INAUDIBLE QUESTION ] >> THE QUESTION IS, WILL THE INTELLISENSE RECOGNIZE CUSTOM CONNECTIONS I HAVE IN MY SUBSCRIPTION AND PROVIDE ME WITH THE SAME LEVEL OF INTELLISENSE THAT I SEE WITH THE BUILT-IN ONES? THE IDEAS WE WANT TO GET YOU THERE YET, ALTHOUGH WE ARE NOT THERE YET THE WORK WILL EVOLVE AS WE FIGURE OUT WHAT ARE THE CUSTOM CONNECTORS YOU HAVE IN YOUR SYSTEM

THIS IS SOMETHING WE WANT TO GET TO AGAIN, SOMETHING YOU CAN ALSO MAKE A FORK AND MAKE IT HAPPEN YOURSELF >> ARE YOU STILL GOING TO SUPPORT THE SUSPENSION — >> THE QUESTION IS, WILL WE STILL SUPPORT THE EXTENSION WE HAVE FOR VISUAL SERIES 2017, THE 132 PERSON THAT ONLY RUNS ON WINDOWS YES WE WILL CONTINUE SUPPORTING THE 2017 VERSION

THE IDEA IS WE HAVE ALREADY MADE SO FAR WITH VS CODE THAT WE SUPPORT A LOT OF THINGS YOU ARE DOING AND SUPPORTING MORE WITH INTELLISENSE I JUST SHOWED YOU AT THE END OF THE 2017 LIFECYCLE WE WANT TO CONTINUE SUPPORTING THAT WITH THE NEXT VERSION OF VISUAL STUDIO YOU CAN REST ASSURED THAT FOR 2017 SUPPORT IT WILL CONTINUE >> I THINK THAT IS IT THANK YOU VERY MUCH FOR COMING

AGAIN, PLEASE GIVE US A TRY I CANNOT WAIT TO HEAR YOUR

Tags: , , , , , , , , , , , , , , , ,

Visual Studio Code Release Highlights – September 2018

hey guess what there's a new release of Visual Studio code out right now let's go check out some of the features in it this iteration the team had a strong focus on grooming issues and they greatly succeeded at that task they addressed about 4,000 issues that were triaged or closed over that time to get a better visualization of how these are trending over time check out Benjamin Landon's issue tracker site that he built to graph out this data Through typescript feature functionality vs code can intelligently offer to convert a function to use async/await syntax for you bring your cursor to the function name which is using promises and press the keyboard shortcut control period to bring up code actions select convert to async function and your code will be updated to use async await syntax ever name something poorly naming is said to be one of the hardest things in programming in cases where you need to fix your naming of imports VS Code has you covered adjust the name of the import that you're using and VS Code will automatically rename the file for you based on your adjustment do you tend to forget function or variable names you want to reference while VS Code can help remind you through a feature called tab completions earn this option on through your settings and you can cycle through various code completions available within the context of your code in the past you may have seen or heard about changing the title bar on windows from default to custom this results in the difference you see here before and after making that setting change vias code will now default to the custom style for a nice rich UI experience moving forward in addition to this change you'll now see file icons based on well known file types within your file explorer or both Windows and Mac and that does it for this month's release the visual studio code thank you so much for joining me if you enjoyed it please be sure to share it with your friends and co-workers I'll see you next time happy coding everyone

Tags: , , , , , , ,

How to Install Report Viewer For Visual Studio 2015 | FoxLearn

Welcome to foxlearn In this tutorial, I'll show you how to Install Report Viewer For Visual Studio 2015 Open your control panel, then right-click on your Visual Studio, and select change To install the report viewer for visual studio 2015 You need to check the Microsoft SQL Server Data Tools, then click the Update button Open your visual studio, then create a new windows forms project Right click on your project, then select add new item We will create a simple report then using the report viewer control to display your report From the report tool box, drag a textbox control to your report, then enter the text value that you want to display Drag the report viewer control from visual studio toolbox to your window forms , then select the report name for the report viewer control Thank you for watching this video and don't forget to subscribe to my channel

Tags: , , , , , , , , , ,

Code faster (and better) with Visual Studio 2017 productivity enhancements – BRK3191

THAT IS OUR GOAL WELCOME TO CODE FASTER AND BETTER

WE HAVE CALLED THIS TALK A LOT OF THINGS WE USUALLY CALL IT TIPS AND TRICKS WE WENT FOR A WAY LONGER TITLE THIS YEAR >> I KEPT FORGETTING IT, BUT IT SHOULD BE EFFECTIVE CODE FASTER AND BETTER

OKAY >> COOL I'M ALLISON, A PROGRAM MANAGER ON VISUAL STUDIO, FOCUSING PRIMARILY ON THE EDITOR AND THE INTELLI CODE, WHICH WE ARE GOING TO SHOW TODAY >> AND I'M KENDRA, A PROGRAM MANAGER ON VISUAL STUDIO AND NET

MY MAIN FOCUS IS VISUAL STUDIO TESTING STUDIO, IF SO IF YOU WANT TO GEEK OUT WITH ME LATER ON THAT, PLEASE DO >> IF YOU HAVE ANY QUESTIONS THAT AREN'T ANSWERED DURING THIS TALK OR IF THIS TALK MAKES YOU COME UP WITH MORE QUESTIONS, FEEL FREE TO SWING BY WE'LL BE THERE ALL THE TIME TO GET STARTED WE HAVE OUR AGENDA HERE WE ARE GOING TO DO INTROS

WE ARE DONE WITH THAT ONE THING DOWN WE ARE ALREADY SUCCESSFUL FIVE MINUTES TO WOW THIS IS GOING TO BE A SUPER DEMO-HEAVY SESSION

IF ANY OF YOU HAVE SEEN ME OR KENDRA TALK BEFORE, WE PRETTY MUCH ARE IN DEMOS THE ENTIRE TIME WE THINK THE BEST WAY TO SHOW YOU SOME OF THESE TIPS AN TRICKS IS IN THE SCENARIOS WHERE YOU ARE GOING TO BE USING THEM WE HAVE A HUGE FLOW TO TAKE YOU THROUGH AND HOPEFULLY YOU'LL ENJOY IT WE'LL TALK ABOUT PERFORMANCE IMPROVEMENTS, TESTING IMPROVEMENTS, THE LATEST REFACTORINGS WE HAVE ADDED, HOW TO COLLABORATE WITH YOUR TEAM AND HOW TO ENFORCE FORMATTING AND STYLE ON YOUR OWN CODE AND YOUR TEAM'S CODE WE'LL HAVE A WHOLE LIST OF RESOURCES FOR YOU

WE'LL TRY TO LEAVE SOME TIME FOR Q AND A WITH THAT, I'M GOING TO HAND IT OFF TO KENDRA FOR PERFORMANCE IMPROVEMENTS >> THANKS FIRST OFF IS MAJOR IMPROVEMENTS IN THE VERY LATEST VERSIONS OF VISUAL STUDIO

WE HAVE BEEN MAKING INCREMENTAL IMPROVEMENTS IN ALL OF THE MANY UPDATES THAT YOU HAVE SEEN COMING OUT SO JUST TO TALK ABOUT IT, BEFORE WE ACTUALLY GET IN TO BREAK IT DOWN, ONE OF THE MAJOR IMPROVEMENTS WE MADE IS SOLUTION LOAD THIS IS A SIDE-BY-SIDE COMPARISON VIDEO ON THE LEFT WE HAVE UPDATE 150 AND 15

7 THESE ARE TEN MONTHS APART THIS HAS LOADING THE ROSS LYNN SOLUTION IT IS 162 PROJECTS, OVER 4 MILLION LINES OF CODE YOU CAN SEE ON THE RIGHT OVERALL, THE DIFFERENCE FROM VISUAL STUDIO 15 TO 17 IS A 35 IMPROVEMENT

WE'D LOVE TO SEE WHAT YOU ARE SEEING IN THE WILD WITH YOUR COLLUSIONS THAT'S STILL GOING TO TAKE 68 SECONDS TO LOAD, BUT THE — A FEW OF THE MAIN THINGS I WANT TO CALL OUT, WE ALSO EM PROVED AS FAR AS PERFORMANCE IS BRANCH SWITCHING UNLOADING AND RELOADING C# AND VISUAL BASIC PROJECTS AS WELL AS TEST EXECUTION TEST EXECUTION IS A HUGE ONE I'LL SHOW YOU THAT IN A DEMO

THAT WAS 5,000 TESTS LOADED IN A CLEAN SOLUTION IN A MATTER OF SECONDS THAT USED TO TAKE MINUTES WE IMPROVE THIS BY MASSIVE FACTOR MOST OF THE IMPROVEMENTS GOT INTO VISUAL STUDIO 156

IT IS BECAUSE WE INTRODUCED A NEW TYPE OF TEST DISCOVERY CALLED SOURCE-BASED TEST DISCOVERY, WHICH RUNS OVER YOUR SOURCE, AS OPPOSED TO YOUR BUILT ASSEMBLIES IN ORDER TO DISCOVER TESTS IT IS ESSENTIALLY YOUR COMPILER, YOUR ROSELYN ANALYZER DOING TEST DISCOVERY NOW AS OPPOSED TO THE PREVIOUS VERSION SO IT IS MUCH FASTER YOU CAN ACTUALLY SEE IT IS MUCH MORE RESPONSIVE IF I WENT AHEAD AND WENT TO MY TEST THAT I CAN ADD, YOU CAN SEE THAT IT WILL AUTOMATICALLY APPEAR NEXT TO ALL MY OTHER TESTS SO I DIDN'T NEED TO REBUILD MY TEST FOR IT TO BE DISCOVERED OTHER IMPROVEMENTS WE HAVE ADDED IN THE TEST EXPLORER SPACE RECENTLY IS THIS HIERARCHY

YOU CAN TURN THIS ON IN THE "SHOW HIERARCHY" BUTTON AND IT ORGANIZES YOUR TESTS THAT WAS A HUGE ASK WE HAD FOR A LONG TIME AND WE ARE SUPER HAPPY TO GET IT IN YES [APPLAUSE] >> I'M SUPER HAPPY ABOUT THE LITTLE THINGS

THAT IS WHY WE ARE DOING THE TIPS AN TRICKS TALK SOMETHING YOU ALSO SEE IS A DIFFERENCE IN UI DURING THE TEST RUN WE HAVE MADE TEST RUNS MUCH MORE RESPONSIVE YOU CAN SEE MY TESTS THAT ARE PENDING TO EXECUTE GET THIS CLOCK ICON TESTS THAT ARE CURRENTLY EXECUTING WILL GET THIS PROGRESS RING

THIS IS SUPER KEY IF YOU HAVE A LONG-RUNNING TEST RUN AND YOU THINK ONE OF YOUR TESTS IS THE CULPRIT AND DOING SOMETHING WEIRD AND CAUSING AN ERROR, SOME KIND OF OVERFLOW, YOU CAN SEE IT DURING THE TEST RUN BEFORE IT IS EVEN FINISHED, WHAT IS HOLDING IT UP IT IS AN AUTOMATIC FEEDBACK THAT YOU CAN GET IN THE TEST EXPLORER DURING THE TEST RUN RECAP? >> YEAH BEFORE THE OTHER THINGS SO BIG PERFORMANCE WINS, SOLUTION LOAD, 25 FASTER THAN 2015

AWESOME TEST DISCOVERY IMPROVEMENTS HIERARCHY REVIEW, RESPONSIVE TEST RUNS AN TEST DISCOVERY, NOT REQUIRED TO DO DISCOVERY CAN WE SWITCH BACK TO MY SCREEN SO WE CAN SHOW — WELL, ONE OF THE NEW THINGS WE ALSO ADDED IN VISUAL STUDIO VERSION 158, OUR LATEST STABLE ONE, ALL OF THE FEATURES THAT WERE SHOWING TODAY ARE IN THE LATEST STABLE VERSION SO YOU CAN GO AND GRAB IT YOU DON'T NEED TO WAIT FOR IT TO COME OUT

ONE THING WE ADDED IS NEW KEYBOARD BINDINGS SO IN YOU WENT TO YOUR KEYBOARD OPTIONS WE HAVE RE-SHARPER AND VISUAL STUDIO CODE KEYBOARD MARKINGS BY DEFAULT YOU CAN USE THE FUNCTIONS YOU ARE MOST FAMILIAR WITHOUT NEEDING TO RELEARN THE MUSCLE MEMORY THAT YOU HAVE >> OR RE-MAP ALL THE FUNCTIONS YOU ENJOYED BEFORE AND FIGURE OUT HOW TO AVOID CONFLICTS WE HAVE TAKEN CARE OF THAT FOR YOU

OKAY, NOW WE CAN KIND OF JUMP INTO OUR DEMO FLOW THE FIRST CODE FIX IN RE FACTORING THAT I WANT TO SNOW YOU IS ACTUALLY CAUSED BY A MERGE CONFLICT I'M GOING TO GO AHEAD AND CAUSE THAT IN THE TEAM EXPLORER AND DO A MERGE YOU CAN SEE EVERY TIME WE HAVE MERGE CONFLICT BES WE GET THESE HEADER COMMENTS INSERTED INTO THE FILE ONE OF OUR NEW CODE FIXES IS ACTUALLY JUST BEING ABLE TO CHOOSE WHAT BRANCH YOU WANT FROM THE EDITOR FROM YOUR CONTROL DOT MENU

AS SOON AS YOU TAKE IT IT WILL ERASE THE COMMENTS YOU WANTED [APPLAUSE] I DIDN'T EVEN SAY THE BEST THING ABOUT THAT YET IT WAS CONTRIBUTED BY THE COMMUNITY, WHICH IS SUPER KEY NOW WE APPLAUD YOU

[APPLAUSE] NO, WE'RE APPLAUDING YOU OKAY, THAT'S FINE IT LOOKS LIKE I HAVE A FEELING TEST, ALLISON I'M PRETTY SURE WE WORKED ON THIS TOGETHER RECENTLY

CAN YOU GO AHEAD AND SHOW ME WHAT IS GOING ON HERE? >> SURE ACTUALLY, I'M TOTALLY NOT BESIDE YOU I'M OFF AT HOME IN MY PAJAMAS AND I ONLY HAVE MY PERSONAL COMPUTEERS >> I COULD HAVE SWORN YOU WERE RIEBLTH HERE NEXT TO ME >> I'M JUST FAR, FAR AWAY FROM YOU

I ONLY HAVE MY PERSONAL COMPUTER I DON'T HAVE VISUAL STUDIO SET UP I DON'T HAVE ANY — >> SHOOT >> — OF MY ENLISTMENTS OR ANYTHING WHY DON'T WE START A LIVE SHARE SESSION? IT IS GOING TO ALLOW ME TO LEVERAGE EVERYTHING THAT IS ON YOUR MACHINE WITHOUT HAVING TO GO THROUGH AUTOSETUP ON MINE SO I CAN HELP YOU QUICK LIP AND THEN GET BACK TO MY VACATION AT DISNEY WORLD

>> THAT IS A GREAT IDEA I'M GOING TO CLICK THIS "SHARE" BUTTON AT THE TOP OF THE VS I SEE THIS BUTTON AS SOON AS I INSTALL THE LIVE SHARE EXTENSION WE HAVE OUT RIGHT NOW IT IS FREE TRY IT OUT

THAT GENERATES A LINK I CAN CHAT TO ALLISON IN TEAMS WE MIGHT HAVE PRACTICED THIS A COUPLE TIMES IN CHAT HISTORY >> JUST A COUPLE TIMES COOL I'M GOING TO CLICK ON THISLING

I HAVE THIS AWESOME SWITCHER IN MY COMPUTER AND I SWITCH TO ANY SCREEN JUST BY CLICKING ON THAT LINK IT WENT AND LAUNCHED FOR EDGE AND IT DOES, "DO YOU WANT TO SWITCH" YES, I DO I WANT TO HELP MY COWORKER, KENDRA >> THANK YOU FOR HELPING ME ON VACATION

IT MEANS A LOT >> VISUAL STUDIO CODE IS LOADING UP I'M GOING TO SWITCH ONE MORE TIME SO WE HAVE A SPLIT SCREEN SO YOU CAN SEE WHAT IS GOING ON ON BOTH OUR SCREENS SIMULTANEOUSLY ON MY SIDE WITH VISUAL STUDIO CODE I HAVE THE LIVE SHARE EXTENSION INSTALLED IT IS RIGHT NOW LOADING THE ENTIRE PROJECT SYSTEM FOR KENDRA'S PROJECT

I'M GOING TO BE ABLE TO NAVIGATE AROUND PROJECT FILES ON MY OWN I DON'T JUST GET THE FILE THAT SHE IS SHOWING ME THROUGH SCREEN SHARING I'M NOT GOING TO HAVE TO TELL HER TO PLEASE GO LOOK AT THIS FILE BECAUSE I THINK THE PROBLEM IS THERE AND, OH NO, YOU WENT TOO FAR THAT IS THE WRONG ONE I'M GOING TO BE ABLE TO NAVIGATE INDEPENDENTLY

TAKES A SECOND BECAUSE WE ARE ON DEMO NETWORK AND I'M SURE YOU ALL UNDERSTAND WHAT THAT IS LIKE RIGHT AS I SAY THAT, HERE IS THE ENTIRE FILE SYSTEM IF YOU OPEN UP SOLUTION EXPLORER, KENDRA, YOU'LL ACTUALLY BE ABLE TO SEE THAT THIS IS THE EXACT SAME THING THAT KENDRA HAS AGAIN, THIS HAS NO ENVIRONMENT SET UP, THIS HAS NONE OF THE ENLISTMENTS THAT I MIGHT NEED THIS IS LEVERAGING EVERYTHING ON KENDRA'S MACHINE

YOU CAN THINK ABOUT VISUAL STUDIO CODE AS BASICALLY, A VIEW INTO HER PROJECT COOL NOW THAT WE HAVE THIS, I'M GOING TO DIAL IT DOWN SO THAT YOU CAN SEE IT A LITTLE BETTER AND TURN ON WORD WRAP KENDRA, TELL ME WHAT IS GOING ON HERE >> LOOKS LIKE WE HAVE FAILING TEST

I KNOW WE WENT OVER THIS TOGETHER DO YOU KNOW WHAT IS GOING ON HERE? >> COULD YOU HIGHLIGHT A TEST FOR ME? >> GO GREEN OH YEAH, IT'S UP THERE YOU CAN SEE MY HIGHLIGHTS, RIGHT? >> COOL I CAN SEE WHERE KENDRA IS

IN FACT, I'M FOLLOWING HERE RIGHT NOW G HER >> IF I GO SOMEWHERE ELSE SHE FOLLOWS ME ALONG WITH OUR CODE WHERE DID OUR TEST GO? >> I'LL JUST UNFOLLOW YOU AND GO FIND THAT TEST MYSELF THERE IT IS

COOL NOW I'M JUST GOING TO GO AHEAD AND TAKE A LOOK THIS IS WHAT WE ARE TESTING I'M GOING TO CONTROL DOT TO NAVIGATE TO THAT METHOD I HAVE ALL THE NAVIGATION COME OPPONENTS I HAVE COME TO KNOW AND LOVE WITH VISUAL STUDIO AND VISUAL STUDIO CODE

>> I'M GOING TO START FOLLOWING YOU NOW AND CLICKING YOUR SYMBOL ON MY VISUAL STUDIO AND IT BRINGS ME TO WHERE YOU ARE NAVIGATING >> EXACTLY I HAVE THIS STRING MESSAGE I THINK SOMETHING MIGHT BE GOING ON THERE YOU NOTICE I HAVE THIS LIGHTBULB ICON

THIS IS THE QUICK ACTIONS THAT YOU WOULD EXPECT FROM ROSELYN IN VISUAL STUDIO IF I CONTROL DOT — >> LET'S START LIVE UNIT TESTING SINCE WE ARE MAKING CHANGES TO THE CODE ANYWAY I'LL DO THAT SO I CAN DO THAT BY GOING TO LIVE UNIT TESTING START HOW MANY OF YOU HAVE REALLY FAMILIAR WITH LIVE UNIT TESTING? VERY FEW

YOU'RE GOING TO LOVE THIS IT WATCHES YOUR CODE AND AS YOU MAKE CHANGES TO IT IT CAN RUN THE TESTS THAT COVER THAT CODE AND ONLY THE TESTS THAT COVER THAT CODE IN THE BACKGROUND AS YOU TYPE THEN IT BUBBLES UP THE FEEDBACK THROUGH VISUAL STUDIO RIGHT IN THE MARGIN THROUGH THESE LITTLE LIVE UNIT TESTING LIFTS I CAN SEE THERE ARE THREE TESTS COVERING THIS LINE OF CODE AND I CAN DEBUG THEM FROM PRODUCT CODE >> IT IS VERY EASY TO BE EXCITED ABOUT PROJECTS YOU WORK ON ALL THE DAY AND ALL NIGHT

>> SORRY, I'M A TESTING PERSON >> SHE IS GOING TO GET THE LIVE ACTION RESPONSE AS SOON AS I HAVE FIXED IT, WHICH HOPEFULLY I CAN, SHE'LL KNOW IMMEDIATELY WITHOUT HAVING TO SEARCH FOR THE TEST AND WE RUN IT AND WAIT AND SO ON AND SO TO THE I'M GOING TO CONTROL DOT I'M GOING TO GO AHEAD AND USE NULL ARE EMPTY

COOL I HAVE THIS NOW THE CHANGES, THE CODE REFACTORING SHE JUST DID APPEARED IN MY EDITOR >> I'M GOING TO GO AHEAD AND INTO "UNDER 7 DAYS" AND ADD THIS HERE I WANT THIS TO BE NOT NULL OR EMPTY SO THAT IT RUNS PROPERLY

ANOTHER THING THAT DO YOU THINK WE CAN DEBUG IN THIS MODE? WHAT DO YOU THINK WE CAN DO IF I START DEBUGGING IN HERE? WHAT ARE THE ACTIONS YOU'D WANT? BREAKPOINT? OKAY >> SO IF ALLISON CAN SET ABREAKPOINT IN MY DEBUGGER? THAT IS AMBITIOUS I DON'T KNOW >> WHY DON'T YOU START DEBUGGING THIS TEST? >> TOTALLY

I'LL GO AHEAD AND DEBUG IT >> I'M GETTING THE SAME OUTPUT PRETTY COOL AND IF WE WAIT FOR A SECOND WE ALSO HAVE VARIABLES WE HAVE WATCH WINDOWS, WE CAN ADD A WATCH IF WE'D LIKE

AND IF YOU NOTICE UP HERE, WE ACTUALLY HAVE ALL OF THE SIMPLE ACTIONS TO STEP INTO, STEP OVER I'M GOING THE STEP OVER HERE AS YOU NOTICE, WE ALSO GET THE SAME EXCEPTION HELPER NONE OF THIS IS RUNNING LIVE ON MY MACHINE IT IS JUST ON KENDRAS

I'M GETTING ALL THE INFORMATION SHE'D EXPECT AS IF I WERE RIGHT BESIDE HER SO ACTUALLY, LET'S GO AHEAD AND QUIT DEBUGGING AND I'LL GET BACK TO FIXING THAT >> SURE, THANKS >> SO WE ARE GOING TO ADD IN THAT REFACTORING ONE MORE TIME FORTUNATELY MY FINGER SLIPPED THERE

GET RID OF ALL THIS CODE WE DON'T NEED ANYMORE >> YOU CAN SEE LIVE UNIT TESTING, ALL THE TESTS RUNNING THAT LINE ARE NOW PASSING >> I ALSO HAVE ANOTHER PET PEEVE I REALLY LIKE THE SIMPLE RETURN TO BE IN THE BEGINNING WHAT I'M GOING TO DO IS SHOW OFF ANOTHER REFACTORING AND INVERT

NOW IT LOOKS MUCH COOLER TO ME ONE LAST REFACTORING I WANT TO SHOW YOU IS IF YOU LOOK AT THIS "IF" STATEMENT HERE, YOU NOTICE WE ARE RETURNING TRUE OR FALSE I WANT TO MAKE THAT PRETTIER AND CONVERT IT TO CONDITIONAL EXPRESSION NOW IT IS ALL IN ONE LINE AND USES WHAT I LOVE TO CALL THE NICE AND TACTIC SUGAR AND MAKES IT ALL NICE AND NEAT AND BEAUTIFUL I THINK YOU SAID ALL OF THE TESTING IS DONE, KENDRA, RIGHT? ARE YOU ALL SET? >> YES, I CAN MENTALLY KEEP DEVELOPING NOW THAT ALL MY TESTS ARE PASSING

I FEEL MUCH BETTER >> I'M GOING TO GET BACK TO EPCOT AND I'LL SEE YOU LATER >> K, BYE SOMETHING I WAS ALSO NOTICING AS WE WERE DEVELOPING — I'M NOT SURE HOW WELL YOU CAN SEE IT ON THIS SCREEN, BUT THESE PARENTHESES IN THIS L STATEMENT THAT ARE SLIGHTLY GRAYED OUT NOW, I HAVE A PROBLEM

I WAS THAT KID IN ENGLISH CLASS THAT USED WAY TOO MANY COMMAS WHEN I LEARNED TO CODE IT CHANGED INTO PARENTHESES SO ONE OF THE CODE FIXES IN REFACTORINGS WE HAVE IS REMOVE EXTRA PARENTHESES WHY ISN'T IT POPPING? THERE IS "REMOVE UNNECESSARY PARENTHESES" I'M GOING TO USE THAT ALL THE TIME DID WE HAVE IT UP THERE? OH, WE'RE GOOD

I'LL TALK A BIT ABOUT WHAT THESE METHODS ARE DOING IN OUR SMART HOTEL 360 APP, THIS IS OUR METHOD THAT TEXTS HOUSEKEEPING IN A CUSTOMER WOULD LIKE TO GO GREEN SO IF YOU SKIP HOUSEKEEPING FUR FOR A FEW DAYS, SMELL A LITTLE WEIRDER, IT'S ALL RIGHT SOMETHING I WAS NOTICING — OH, AND AS A PART OF THIS, I'M USING AN AZURE COGNITIVE SERVICE TO ACTUALLY ANALYZE WHAT COMMENTS GUESTS ARE LEAVING AND GAUGING WHAT SENTIMENT THAT IS SO HERE I'M ITERATING THROUGH THEIR SENTIMENT BATCH RESULT ITEM, THAT IS PART OF AZURE COGNITIVE SERVICES

I HAVE A 4H LOOP, SOMETHING WE HAVE ADDED IN 158 LATEST VERSION IS CONVERTING 4H2 WHEN I DO THAT I CAN RENAME — WAS IT — I CAN ALSO RENAME THE VARIABLE THAT I'M ITERATING THROUGH AND YOU CAN GO BACK FROM 4 TO 4HWHATEVER YOU PREFER

JUST A NICE LITTLE ADDITION TO MAKE YOUR EDITING EXPERIENCE A BIT SIMPLER SOMETHING WE HAVE ALSO ADDED ALONG THAT SAME VAIN, HERE WE HAVE A LINK QUERY I CAN CONVERT THAT TO A 4 EACH I DON'T KNOW HOW MANY OF YOU HAVE EVER HAD PROBLEMS READING LINK QUERIES EASILY? MAYBE WE WRITE THEM IN OUR SLEEP I WAS GOING TO BE LIKE, THOSE ARE OUR COWORKERS WHO AREN'T FAMILIAR WITH — THIS REFACTORING IS FOR THEM, MAKE IT EASIER FOR THEM TO READ LINK QUERIES RIGHT OFF THE BACK

WE DON'T HAVE A REFACTORING TO GO FROM 4 EACH TO LINK QUERY, BUT WE ARE WORKING ON IT SOMETHING I NOTICED HERE WAS I MAY BE TEXTING HOUSEKEEPING, BUT I'M NOTE ACTUALLY TELLING THEM HOW MANY CHOCOLATES THEY COULD BE LEAVING ON THE PILLOW IF THE SENTIMENT SCORE IS BELOW A CERTAIN NUMBER, I'M TEXTING HOUSEKEEPING TO LEAVE MORE CHOCOLATE TO SWEETEN THE DEAL I'M NOT TAKING THAT SENTIMENT SCORE I COULD ACTUALLY CALCULATE HOW MANY CHOCOLATES I WANT THEM TO LEAVE

IF I ADDED AN INTEGER THAT GOES AND CALCULATES THIS I'M ALREADY DOING THE EXTRA PARENTHESES I CAN ALREADY TELL I'M GOING TO GET A WARNING I'LL GO AHEAD AND FIX THAT REMOVE UNNECESSARY PARENTHESES

I GOT ANOTHER ONE I CAN ADD PARENTHESES FOR CLARITY BECAUSE ORDER OF OPERATIONS IS A BIG DEAL NOW I'M GETTING A WARNING UNDER "TEXT HOUSE KEEPING" BECAUSE THAT METHOD DIDN'T EXPECT TO GET A DOUBLE THERE I CAN ADD THE PARAMETER FROM THE CALL SITE, NEW CODE FIX WE ADDED, AND NOT GETTING A WARNING IF I DO CONTROL, CLICK, TO NAVIGATE TO MY TEXT HOUSEKEEPING METHOD YOU CAN SEE I'M NOW GETTING A DOUBLE

THAT CAUSED A FEW ERRORS WHEN I ADDED THAT BECAUSE I USED THAT ALL OVER MY CODE SET A DEFAULT THERE AND THEN I CAN USE A HANDY STRING TO ACTUALLY INSERT THE NUMBER THERE SO SLICK C#6 FEATURES, VERY GREAT OKAY

>> I FEEL LIKE WE'RE TALKING ABOUT A 1 MILES A MINUTE SO WE ARE GOING TO TAKE A DEEP BREATH >> THE NEXT THING I WANTED TO TALK ABOUT, YOU MIGHT HAVE SEEN THAT A LOT OF THESE LOOKED LIKE NO TESTS WERE COVERING THIS CODE, BUT YOU CAN SEE IT HAS A REFERENCE IT DOES HAVE A TEST COVERING THIS THIS IS A BLUE LINE WHEN IT SAYS NO TESTS ARE RUNNING OVER IT THAT IS BECAUSE THE TEST ISN'T INCLUDED IN THE LIVE TEST SITE IF I NAVIGATE TO THAT TEST — I'LL SHOW YOU WHY

I WANT TO JUMP TO MY — WHAT? HAS YOURS BEEN FREAKING OUT A BIT? OH, IS IT BECAUSE WE ARE STILL SHARING? NO, THAT SHOULDN'T BE IT >> WHY DON'T WE DO THIS YOU CAN USE MINE >> IT STARTED WORKING AGAIN I THINK I'M GOOD

SORRY >> WE CLEARLY DIDN'T SACRIFICE ENOUGH FOE TO OUR DEMO GODS THANKS FOR BEARING WITH US >> I CAN USE A C + T AND SEARCH TO GET MY CHOCOLATE SENTIMENT TEST WHAT IF I DON'T ACTUALLY REMEMBER THE NAME OF THE FILE THAT I WAS RECENTLY WORKING IN? JUST IN 15

8 WE ADDED R, WHICH IS "GO TO RECENT FILES" I HAVE ALWAYS BEEN ABLE TO USE "GO TO ALL" AND I COULD TYPE F TO SEARCH FOR FILES, MEMBERS OR TYPES R IS THE NEW ONE WE HAVE DONE NOW I'M IN MY CHOCOLATE SENTIMENT TEST IT HAS THIS TEST CATEGORY, SKIP RUN LIVE UNIT TESTING

BECAUSE THIS TEST IS RINPUTTING A BUNCH OF GUEST COMMENTS INTO MULTIPLE LANGUAGES INTO MY AZURE COGNITIVE SERVICE IN ORDER TO GET THE SENTIMENT SCORE BACK SINCE LIVE UNIT TESTING RE-RUNS TESTS WITH EVERY SINGLE CODE, I DIDN'T WANT IT TO DO THOSE TRANSACTIONS EFFORT I WAS TYPING CHARACTER IN CODE SOMETHING WE DIDN'T CALL OUT IN THE BEGINNING, REMEMBER WE FIRST DISCOVERED 5,000 TESTS AS PART OF THIS TEST PROJECT? I CAN EXCLUDE ALL THE TESTS I DON'T WANT TO INCLUDE IN LIVE UNIT TESTING FROM THE SOLUTION EXPLORER SO I CAN JUST RIGHT CLICK AND EXCLUDE ANYTHING I DON'T WANT THAT CAN BE SUPER HELPFUL IF THE LARGE TEST PROJECT IS INTEGRATION TEST OR LOADS TEST OR PERF TEST, ANYTHING THAT IS NOT A UNIT TEST THAT YOU DON'T NEED GIVING IN-MARGIN FEEDBACK IN YOUR CODE, YOU CAN EXCLUDE AND IT WILL RUN FASTER IT LOOKS LIKE — LOOK AT MY TEST EXPLORER AND THE RESULTS I GOT BACK THERE

PRETTY SURE I WAS EXPECTING A FEW MORE NEGATIVE SENTIMENTS THAT I'M ACTUALLY SENDING I'LL GO AHEAD AND CLOSE THAT I SHOULD INSERT MORE TEST DATA FOR THIS TEST SO I CAN SELECT MULTIPLE LINES AND HIT CONTROL + D TO DUPLICATE THAT LINE IT DOESN'T COPY ANYTHING INTO YOUR CLIPBOARD, WHICH I LIKE A TON

IF YOU HAVE SOMETHING IN YOUR CLIPBOARD THAT YOU WANT TO BE SAVING, YOU CAN HIT CONTROL + D TO DUPLICATE YOUR SELECTION AND STILL USE WHATEVER WAS PREVIOUSLY IN YOUR CLIPBOARD THAT IS SUPER NICE THE NEXT REALLY BIG THING THAT WE WANT TO TELL YOU ABOUT IS MULTICURSOR, WHICH IS CRIMINAL + ALT + CLICK I CAN USE IT TO EDIT MULTIPLE LINES AT ONCE I A CHANGE THEM TO MORE NEGATIVE SENTIMENTS

PLEASE, MORE CHOCOLATE ALL AT ONCE [APPLAUSE] PEOPLE ARE REALLY EXCITED ABOUT THAT ONE I'LL SHOW YOU MORE

>> THIS IS ONE OF OUR TOP USER VOICE ITEMS, ONE WE ARE REALLY EXCITED TO FINALLY GIVE TO YOU GUYS WE HAVE HEARD A LOT OF GREAT RESPONSE TO IT SO FAR AND WE DEFINITELY HAVE MORE IN STORE WITH THAT FEATURE THAT WE ARE GOING TO SHOW YOU IN A BIT >> IT WAS WRAPPED UP IN EXTENSION FOR A WHILE A LOT OF PEOPLE ARE ABLE TO TRY OUT — SOME PEOPLE WERE TRYING TO ADD IN PREVIEW, KIND OF STATE OR EXPERIMENTAL STATE THANK YOU IF YOU TRIED IT OUT AND GAVE US FEEDBACK ON IT

WE ARE SO HAPPY IT IS IN THE DEFAULT INSTALL OF THE PRODUCT YOU CAN JUST GET IT AND YOU DON'T HAVE TO INSTALL ANYTHING WE ARE REALLY EXCITED ABOUT THAT >> IT WILL WORK WITH ALL THE SAME PERF STANDARDS THAT WE HOLDS AND FEATURES OF VISUAL STUDIO 2 >> IF I RE-RUN MY CHOCOLATE SENTIMENT TEST

IT IS GOING UP TO AZURE COGNITIVE SERVICES AN RE-RUNNING IT IT IS PASSING THANKS TO MY ICON REPORTING THE RESULTS SO I WASN'T SUPER FAMILIAR WITH AZURE COGNITIVE SERVICES WHEN I FIRST STARTED IMPLEMENTING THIS ONE THING THAT WAS SUPER HELPFUL IS EVEN USING REGULAR CONTROL CLICK NAVIGATION IN MY HOLD, I CAN ACTUALLY GO AHEAD AND CONTROL CLICK INTO MY NUGET REFERENCES AS WELL, USING "NAVIGATE TO DECOMPILED SOURCES" IT IS NOT YOUR EXACT REFERENCE, IT IS WHAT WE ARE GUESSING WITH THE [INDISCERNIBLE] THAT IT LOOKS LIKE

THIS IS MY COG NITIVE SERVICES METHOD I DIDN'T KNOW I NEEDED TO TAKE MY STRINGS AND CONVERT THEM INTO THE MULTI-LANGUAGE LIST INPUT AND HOW TO READ OUT THE SENTIMENT BATCH RESULTS IT IS ONLY, LIKE, 30 LINES OF CODE, WHICH IS ACTUALLY REALLY IMPRESSIVE, BUT I WASN'T FAMILIAR WITH WORKING ON IT I WAS ABLE TO USE CONTROL + CLICK TO NAVIGATE TO THE DECOMPILED SOURCE I GET A LITTLE STATEMENT SAYING, HEY, ARE YOU ACTUALLY ALLOWED TO DECOMPILE THIS REFERENCE? BECAUSE WE DON'T ALWAYS KNOW WHAT YOU'RE GETTING INTO

WE ARE JUST YOUR COMPILER, HUMBLY BUT AZURE COGNITIVE SERVICES IS OKAY WITH THAT RIGHT NOW THIS CODE THAT I'M SEEING THAT I JUST NAVIGATED TO, IS NOT PART OF MY SOURCE CODE IF I HOVER OVER THE FILE IN MY EDITOR I CAN SEE THAT IT IS PART OF THE AZURE DOT COGNITIVE SERVICES AND ALL OF THAT IT GIVES ME MORE INFORMATION

I NEEDED TO READ IN — I COULD HAVE KNOWN THROUGH INTELLISENSE I NEEDED THREE STRINGS, A LANGUAGE ID AND TEXT WHAT A DECOMPILER CAN TELL ME IS A LITTLE MORE LANGUAGE, FOR EXAMPLE, SHOULD BE THE TWO LETTER ISO CODE FOR ENGLISH OR SPANISH

THAT IS JUST SUPER HELPFUL THAT IS ACTUALLY AN EXPERIMENTAL FEATURE YOU CAN TURN IT ON IN TOOLS OPTIONS LET'S SEE IF I REMEMBER HOW TO GET THERE, ACTUALLY OH YEAH, IT IS C#

AND GO AHEAD AND DEBUG THIS SO THIS MAJOR FEATURE IS SOURCE LINK DEBUGGING DO WE HAVE A SLIDE ON IT OR SHOULD WE JUST GO? IT'S SOURCE LINK DEBUGGING, GUYS REMEMBER SO WHAT I CAN DO IS STEP INTO THIS REFERENCE

I CAN ACTUALLY SEE HOW MY NUGET REFERENCE IS HANDLING THE INPUTS I HAVE GIVEN IT, IF IT IS OPEN SOURCE SO WHEN YOU HOOK UP SOURCE LINK DEBUGGING AND YOU CAN ACTUALLY SEE WHEN I HOVER OVER THIS FILE, THIS CODE IS NOT PART OF MY SOURCE IT IS ACTUALLY DRAWING FROM MY APP DATA LOCAL FILE ON MY COMPUTER AS LONG AS YOU'RE NUGET REFERENCE PUBLISHED USING THE LATEST NET CORE, YOU CHANGE A COUPLE THINGS

YOU JUST CHANGE A FEW THINGS IN YOUR CS PROJ TO ENABLE THIS FOR PEOPLE WHO CONSUME YOUR PACKAGE SUPER EXCITING ANOTHER THING THAT I WANT TO CALL OUT AS I STEP THROUGH THIS THAT WE ARE REALLY EXCITED TO TALK ABOUT IS THIS TINY STEP BACKWARD ARROW HOW MANY OF YOU HAVE BEEN DEBUGGING AND YOU STEP ONE OR TWO STEPS TOO FAR AND YOU MISS WHATEVER LOCAL VARIABLE YOU WANTED TO SEE WHAT THE DIFFERENCE? THANK YOU GUYS FOR BEING INTERACTIVE IT IS MAKING MY DAY

THIS LITTLE ARROW WHEN YOU HIT IT IS STEP BACK DEBUGGING WE CALL IT HISTORICAL DEBUGGING WE INTRODUCED THIS AT BUILD SO IT IS REALLY NEW AND WE ARE TRYING TO TELL EVERYBODY ABOUT IT SO PLEASE GO BACK AND E VAN JELLIZE YOU CAN SEE MY LOCAL'S HISTORY DOWN HERE

AS I STEP BACKWARDS THROUGH ALL THE STEPS I JUST MADE, IT REMEMBERS WHAT THE VALUES WERE I'M JUST REWINDING THE VARIABLE VIEW SO I CAN SEE HAWAIIS THE HISTORY OF THOSE VALUES SUPER EXCITED ABOUT THAT IF I STEP FORWARD FAR ENOUGH I ENTER REGULAR DEBUGGING MODE [APPLAUSE] [APPLAUSE]

>> THANKS THAT WAS SOURCE LINK DEBUGGING WITH STEP BACK DEBUGGING REALLY EXCITED ABOUT IT OKAY >> WANT TO DO YOUR RECAP? >> OH, GOOD

IT'S THERE THANKS, ALLISON BUNCH OF REFACTORINGS I WENT THROUGH I SHOWED YOU OUR NEW GO-TO ALL FEATURE WITH R FOR RECENT FILES WE SAW MULTICARROT

ALLISON CAN SHOW YOU MORE IT IS EVEN BETTER WE WENT OVER NAVIGATE TO DECOMPILE SOURCES AND STEP BACK DEBUGGING DO ANY OF YOU MAINTAIN NUGET PACKAGES IN HERE AND WOULD BE INTERESTED IN IT? AWESOME IN OUR SOURCE LINK DEBUGGING — SOURCE LINK IS OPEN SOURCE

I JUST NOTICED I'M GETTING A BUNCH OF DOTS UNDER MY BAR I KNOW YOU WERE DOING SOME THINGS WITH MY CODE CLEAN UPSETINGS WHAT IS GOING ON? >> LET'S GO BACK AND SWITCH TO MY SCREEN HERE I'D LIKE TO BE ABLE TO DRIVE NOW >> GEEZ

KENDRA IS RIGHT WE HAVE AVAR HERE, CARROT HERE HOW MANY OF YOU HAVE SPENT TWO WEEKS WITH YOUR TEAM FIGHTING IT OUT OF, THIS IS WHAT WE ARE GOING TO DO FOR OUR CODE STYLES? ARE THE REST OF YOU LIKE, NO, IT'S FUTILE, NOT GOING TO TRY? YEAH, WE HEARD THESE STORIES OVER AND OVER AND OVER AGAIN WE WANTED TO INTRODUCE WAYS TO MAKE THIS EASIER TO GIVE YOU REMINDERS TO HELP ENFORCE THESE RULES TO BE CONSISTENT THE FIRST WAY I'M GOING TO SHOW YOU IS IFYOUR LOCAL MACHINE

IF WE GO TO OUR LOCAL MACHINE HERE AND GO TO TOOLS, OPTIONS, TEXT EDITOR, C#, FORMATTING >> THAT IS A LOT IS THERE A FASTER WAY TO GET THERE >> THERE IS BUT I'LL SHOW YOU THIS ONE FIRST

>> HERE WE HAVE CODE STYLE THIS IS JUST FOR YOUR LOCAL MACHINE ANYTHING I DO ON THIS MACHINE IS ONLY GOING TO AFFECT WHAT MY CURRENT SYSTEM WILL DO ON THIS SPECIFIC MACHINE RIGHT NOW RIGHT NOW YOU'LL SEE — LET ME SCROLL DOWN HERE FOR THESE BAR PREFERENCES, WE ONLY HAVE THE REFACTORING

THAT MEANS THAT VISUAL STUDIO ISN'T GOING TO TELL ME THAT I'M INCONSISTENT IF I REALLY WANTED TO MAKE THINGS INTERESTING, I COULD — YOU CAN GET INTO WARNINGS ERRORS, BUT IT DOESN'T CURRENTLY BLOCK A BUILD, SO IT IS COMING IF YOU REALLY WANT TO ENFORCE YOUR CODE STYLE, YOU CAN ACTUALLY MAKE IT STOP COMPILING UNTIL YOU FIX THEM SO ONE THING THAT WE HAVE HERE, IF WE SCROLL ALL THE WAY TO THE TOP BEFORE WE DEAL WITH FORMATTING ALL OF THESE IS HOW MANY OF YOU ARE FAMILIAR WITH FORMAT DOCUMENT IN GENERAL? YOU KNOW WITH THIS UGLY SPACING IF I DO CONTROL + KD IT MAKES IT WONDERFUL

THAT IS SOMETHING WE HAVE SEEN BEFORE IF I GO CONTROL + Q, DO CLEAN UP AND SPELL IT RIGHT — CONTROL Q NAVIGATION YES >> WE ARE GOING TO APPLY IMPLICIT, EXPLICIT TYPE ENTRIES THERE IF I RE-OPEN MY ERROR LIST YOU SEE MY ERRORS ARE GONE

IT CHANGED THEM >> IT FIXED THEM >> IT TOTALLY FIXED THEM >> I USED AIR QUOTES >> I KNOW

IT FIXED ALL OF THEM JUST LIKE THAT WHICH IS PRETTY GREAT BECAUSE NOW THAT MEANS I CAN JUST WRITE THAT CODE THE WAY I LIKE TO DO A FORMAT DOCUMENT AND THEN IT SNAPS TO WHATEVER THE CODE STYLE THAT I WANT IT TO BE HAS JUST FOR ME ON MY LOCAL MACHINE WHAT IF I WANT TO ENFORCE THIS ON MY TEAM? WHAT IF KENDRA IS LIKE, ALLISON, NO, YOU'RE WRONG WE HAVE TO USE EXPLICIT TYPES >> I HAVE NEVER DONE THAT BEFORE

>> NEVER HOW MANY OF YOU HAVE FAMILIAR WITH EDITOR CONFIG? JUST A FEW EDITOR CONFIG IS OUR SOLUTION TO THIS PROBLEM WHERE YOU WANT TO HAVE CODE STYLE THAT NOT ONLY STAYS ON YOUR MACHINE, BUT THAT TRAVELS WITH YOUR TEAM AND WITH YOUR PROJECT SO WHAT WE ARE GOING TO DO IS WE ARE GOING TO RIGHT CLICK HERE AND ADD A NEW EDITOR CONFIG IN INTEL CODE INTELLICODE EDITOR CONFIG IS TEXT BASED AND WILL GENERATE ALL THESE RULES FOR US

THIS WILL SCAN THROUGH YOUR ENTIRE SOLUTION AND CREATE AN EDITOR CONFIG THAT HAS THE LEAST NUMBER OF VIOLATIONS, BASICALLY IT IS GOING TO TAKE WHAT THE STANDARD CODE STYLE OF YOUR SOLUTION IS AT THIS POINT AND GENERATE AN EDITOR CONFIG OFF OF THAT SOUNDS COOL, RIGHT? WE ARE GOING TO GO AHEAD AND DO IT IT WILL NOT TAKE A FEW MINUTES, ALTHOUGH MAYBE I JUST JINXED MYSELF BY SAYING THAT >> SO ALL OF YOU WHO HAVE USED EDITOR CONFIG AND LEARNED HOW TO WRITE RULES AND EVERYTHING, WE ARE TRYING TO MAKE THAT EASIER TO DO

WE CAN JUST INFER THE STYLE FROM YOUR EXISTING PROJECT WITH THE INTELLICODE EXTENSION >> YEP SO NOW WE SEE THAT WE HAVE ALL THESE DIFFERENT OPTIONS DO WE WANT A NEW LINE, DO WE WANT TO SORT OUR SYSTEM DIRECTIVES IF WE GO — LET'S SEE — DOWN HERE, WHERE DO WE FIND IT

WE HAVE VAR FOR BUILT-IN TYPES WE SAY YES, LET'S USE VAR IT IS A SUGGESTION WHAT IF KENDRA GETS A HOLD OF THIS FILE AND IS LIKE, NO WE ARE GOING TO CHANGE IT

WELL, I HAVE TRUE HIGHLIGHT HERE I WANT TO CHANGE BOTH OF THEM REMEMBER MULTICARROT I COULD DO CONTROL + ALT AND ADD ANOTHER SELECTION, OR I CAN MAKE IT ONE STEP EASIER WITH SHIFT ALT PERIOD AND IT ADDS AN EXTRA SELECTION AND A CARROT IN BOTH PLACES IT ADDS THE NEXT SELECTION THAT MATCHES WHAT YOU HAVE ALREADY SELECTED

I CAN CONTINUE DOING THIS WITH PLUS IF I WANTED IF I GO AHEAD AND DO ANOTHER CONTROL + KD, IT IS GOING TO GET RID OF ALL OF TOEZ FOR ME AND IN ALL THE PLACES WHERE THERE WERE VAR, THERE ARE NOW THE EXPLICIT AND IMPLICIT TYPES, JUST LIKE KENDRA WANTS >> JUST DUPE PLAY KATING — >> THAT IS ONE OF THE EASY WAYS YOU CAN ACTUALLY ENABLE EDITOR CONFIG IN YOUR SOLUTION AGAIN, THIS TRAVELS WITH YOUR REPOSITORY THIS IS A FILE THAT GETS CHECKED IN

SOME OF YOU MIGHT BE WONDERING, OKAY, WHAT IF I WANT TO SLOPE THIS DOWN A LITTLE WHAT IF THERE IS ONLY ONE PROJECT I REALLY CARE ABOUT MAYBE THERE IS A BUNCH OF LEGACY CODE THAT YOU DON'T WANT EDITOR CONFIG MESSING WITH BELIEVE ME, WE HAVE HEARD THAT THE WAY EDITOR CONFIG WORKS IS LIKE CONES OF INFLUENCE

IT WORKS IN A SIMILAR WAY TO CSS IF YOU HAVE ANYTHING THAT IS UNDER A DIRECTORY, A DIRECTORY UNDERNEATH THE ORIGINAL EDITOR CONFIG, IT OVERRIDES IT LET'S TAKE TESTS, YOU CAN DROP IN AN EMPTY EDITOR CONFIG THERE AND IT WON'T CARRY ANY SOLUTION EDITOR CONFIG RULES YOU SET UP ORIGINALLY I FEEL LIKE I HAVE BEEN TALKING FOR A WHILE THE LAST THING I'D LOVE TO SHOW YOU IS OUR FIRST FORAY INTO MACHINE LEARNING AND ARTIFICIAL INTELLIGENCE IN VS

>> OOO, BUZZ WORDS AS I MENTIONED, WE HAVE INTELLICODE YOU SAW THE FIRST INSTANCE OF THAT IN THE EDITOR CONFIG GENERATION AS KENDRA WAS TYPING, OR AS I WAS TYPING EARLIER, YOU MIGHT HAVE NOTICED THAT OUR INTELLISENSE LOOKS A LITTLE DIFFERENT WE ARE GETTING THESE STARS RIGHT HERE

THIS IS INTELLICODE AT WORK IT IS MA SMEEN LEARNING INTELLISENSE WE HAVE SCANNED OVER 2,000 OPEN SOURCE REPOS ON GITHUB THAT HAVE 100 STARS OR MORE IN ORDER TO UNDERSTAND WHAT GENERAL PATTERNS ARE SO THAT YOUR INTELLISENSE RECOMMENDATION — ALPHABETICAL THEY ARE ACTUALLY RELEVANT TO THE CONTEXT YOU ARE IN WE HOPE IT WILL CONTINUE TO GET SMARTER

WE PREVIEWED THIS AT BUILD, BUT YOU CAN TRY IT NOW WE HAVE THIS STRING ARRAY IT SHOWS THAT SPLIT IS SOMETHING YOU ARE GOING TO WANT TO DO IF I CHANGE THIS TO VAR AND THEN LOOK AT IT, LINK IS GENERALLY THE MOST PROMINENT METHOD WE WANT TO CALL ON THIS IF I GO DOWN HERE — LET ME CHANGE THIS BACK BECAUSE I KNOW KENDRA WANTS HER NO VARs

IF I GO TO THE SECOND ONE, IT SAYS YOU HAVE DONE A SPLIT YOU PROBABLY WANT TO DO ANOTHER SPLIT FOLLOWED BY TRIM IF WE CHANGE ALL OF THESE TO VAR, THAT CHANGES USING THAT AWESOME MULTICURSOR WITH SPLIT HERE

IF YOU GUYS EVER LOSE INTELLISENSE AND YOU WANT TO GET IT BACK, YOU CAN GET IT BACK WITH CONTROL + SPACE IF YOU NEED TO SEE SOMETHING UNDERNEATH IT YOU CAN HOLD DOWN CONTROL AND IT GOES TRANSPARENT ONE OF THE NIFTY TRICKS WE HAVE COME ACROSS IN OUR DAYS AS DEMOERS YOU NOTICE THIS SECOND ONE, IF WE CHANGE IT BACK TO VAR, TRIM MIGHT BE WHAT YOU WANT IF YOU GO TO THE THIRD ONE IT SAYS YOU HAVE USED SPLIT TWICE BEFORE SO YOU ARE PROBABLY GOING TO KEEP USING SPLIT

THIS IS A SIMPLE CASE WHERE CHANGING HOW YOU DECLARE THAT VARIABLE WILL HELP US UNDERSTAND WHAT YOU'RE ACTUALLY TRYING TO DO WITH IT AND THE REPEATED PATTERNS THAT YOU USE CAN HELP US LEARN MORE WE ARE NOT ANALYZING YOUR CODE OR SENDING THIS OUT IN ANY WAY THE ONLY THING WE ARE DOING IS A MACHINE LEARNING MODEL SO IT IS ALL STATISTICS IF YOU HAVE BASICALLY A STRING, WHAT ARE YOU MOST LIKELY TO DO WITH THAT STRING I KNOW SOME PEOPLE GET A LITTLE SCARED THAT, LIKE, OH, WE'RE READING YOUR CODE

WE'RE NOT I PROMISE WE DON'T KNOW ANYTHING IT IS ALL JUSTICE STATISTICS OR MACHINE LEARNING WE HAVE A LOT OF RECOMMENDATIONS OFF OF ANYTHING THAT IS COMMONLY KNOWN WITH ASSERT, YOU ARE GOING TO GET THESE LITTLE STARS HERE LETTING YOU KNOW, HEY, THIS IS WHAT YOU SHOULD BE DOING

ANOTHER ONE IS DATE/TIME UP HERE WE'RE OFTEN CONVERTING DATE TIMES TO STRINGS OR CONVERTING TO TIME WE DON'T HAVE ANY INFORMATION ON THIS THAT IS BECAUSE, UNFORTUNATELY, BUS HELPERS ISN'T SOMETHING THAT IS COMMONLY USED IN THE 2000 OPEN SOURCE GITHUB RESUPPOSITORY THAT WE USED OUR TRAINING DATA FOR THIS THIS IS IN TRAINING RIGHT NOW

IT IS IN A SUPER EARLY STAGE AND IF YOU WANT TO HELP DRIVE WHERE THIS GOES AND HOW WE MAKE THIS BETTER, THE CHARACTERISTICS WE USE, WE ENCOURAGE YOU TO TRY IT OUT AND TALK TO ME AT THE BOOTH SO WE CAN MAKE THIS THE COOLEST THING THERE EVER WAS AWESOME I THINK WITH THAT, I'M GOING TO HAND IT BACK OVER TO KENDRA OR RATHER, I'M GOING TO RE-CAP THIS >> EVEN BETTER

>> THINGS WE TALKED ABOUT INTELLICODE I PROBABLY TALKED YOUR EAR OFF ABOUT THAT WE TALKED ABOUT CODE CLEAN UP THIS IS CONTROL + KD

IT IS AN EXTENSION OF THE FORMAT DOCUMENT YOU NEED TO ENABLE WHICH RULES YOU APPLY THROUGH TOOLS OPTIONS YOU CAN ALSO DO A QUICK LAUNCH WITH CONTROL + Q AND TYPE IN CLEANUP AND IT SHOWS UP EDITOR CONFIG, IF YOU WANT TO MAKE EVERYONE FOLLOW YOUR CODE STYLE RULES, JUST CHECK IN THAT FILE INTO THE ROW POLL POLL — REPO AND SEE WHAT HAPPENS YOU CAN ADD ALL INSTANCES WITHIN THAT FILE WITH CONTROL + SHIFT + ALT + COMMA WE ARE GOING TO PASS IT BACK TO KENDRA

>> AWESOME THANK YOU SO SOMETHING THAT I WANTED TO TALK ABOUT THAT TIES ALL OF THIS TOGETHER — WE HAVE TIME? >> WE TALK REAL FAST >> YEA SOMETHING THAT TIES THIS ALL TOGETHER, THE EDITOR CONFIG, THE CODE STYLE RULES, IS ROSELYN

HOW MANY OF YOU KNOW WHAT ROSELYN IS WE HAVE TALKED ABOUT IT BEFORE? AWESOME FOR THOSE WHO DIDN'T RAISE THEIR HANDS OR ARE ASLEEP, ROSELYN IS THE SHARP AND VISUAL BASIC COMPILER WE TOOK A HUGE LEAP AND RE-ARCHITECTED IT IN VISUAL STUDIO 2015 SINCE THAT RELEASE, WE RE-ARCHITECTED IT WITH THE IDEA THAT IT IS A PLATFORM, THAT IT SHOULD BE EXTENDED AS AN ACCESSIBLE API FOR THE COMMUNITY TO TAKE WITH AND RUN WITH

IN DOING SO, WE ALSO WENT OPEN SOURCE, AS MANY OF YOU ARE AWARE I MENTION THAT WE HAVE HAD A TON OF COMMUNITY CONTRIBUTIONS IN THE LAST YEARS THAT IS ACTUALLY WHY THIS WHOLE TALK IS KIND OF AN OMNIBUS OF CODE FIXES AND RE-FACTORINGS AND EVERYTHING WE HAVE ADDED RECENTLY A TON OF THOSE WERE PACKED INTO MINOR VERSIONS OF VISUAL STUDIO WE ARE RELEASING REALLY OFTEN AND A LOT WITH EACH UPDATE

E I WANTED TO SHOW YOU WHAT ANALYZER DEVELOPMENT MEANT AND HOW IT CAN IMPACT YOU YOU CAN DOWNLOAD THE SOFTWARE AND CREATE A NEW PROJECT AND CODE FIX I WANTED TO SNOW YOU WHAT THAT LOOKS LIKE IT IS IN EXTENSIBILITY I HAVE THAT OPEN HERE

WHEN I ACTUALLY GO AHEAD AND DEBUG THIS, IT TAKES A LITTLE BIT EXTRA TIME TO START UP ACTUALLY, THAT IS SURPRISINGLY FAST I'LL TAKE IT THAT IS FINE THE DEMO GODS WERE, LIKE, FOCUSING ON THIS DEMO BECAUSE WE DON'T HAVE AS MUCH TIME

WELL, THAT IS GOOD SO YOU CAN SEE, IT STARTED UP REALLY QUICKLY BUT WHEN I STARTED DATA ESTATE DEBUGGING IT LAUNCHED A DIFFERENT EXPERIENCE OF VS THIS VISUAL STUDIO OVER HERE IS RUNNING THIS VERSION HERE JUST SO IT IS SUPER CLEAR OUR DEFAULT ANALYZER START UP PROJECT THAT WE HAVE IS THE CODE FIX FOR CHANGING THE CLASS NAME TO UPPER CASE

OBVIOUSLY WE DON'T SHIP THIS CODE FIX THIS COAT FIX IS WHAT YOU ARE CURRENTLY DEVELOP ING I'M A LITTLE SPOOKED ABOUT HOW FAST THAT WAS IF I SET A BREAKPOINT AND OPEN THAT LIGHT BULB, THAT IS HOW IT IS INITIALIZING THE CODE FIX THAT IS JUST AN EXAMPLE OF SOMETHING REALLY IMPACTFUL IT IS A TON OF EXTEND BLT THAT YOU WILL HAVE OVER THE COMPILER

WE HAVE HAD AN AWESOME COMMUNITY RESPONSE OVER IT, BUT I WANT TO KEEP TELLING PEOPLE BECAUSE I THINK WE CAN GROW MORE A LOT OF PEOPLE, UNTIL THEY SEE THE DEMO OF YOU'RE LAUNCHING ANOTHER INSTANCE OF VISUAL STUDIO, IT DOESN'T CONNECT COMPLETELY >> HOW MANY LINES OF CODE WAS THAT ANALYZER? >> OH GEEZ, PROBABLY LESS THAN 200 WHAT DOES CASEY USUALLY SAY? I CAN'T REMEMBER >> IT IS, LIKE, 20 LINES

>> IT IS, LIKE, 20 LINES SORRY SO ONE EXAMPLE OF THE COMMUNITY TAKING THIS AND RUNNING WITH IT IS DEFINITELY X UNIT HOW MANY X UNIT USERS ARE IN HERE IT IS SUPER AWESOME TESTING FRAMEWORK

THEY HAVE A NUGET PACKAGE OF X UNIT ANALYZERS THAT THEY DEVELOPED AND YOU CAN JUST INSTALL IT LIKE ANY OTHER DEPENDENCY IN YOUR PROJECT THROUGH THE NUGET PACKAGE MANAGER OR NUGET CONSOLE AND IT WILL INSTALL UNDER THE ANALYZER NODE ON YOUR PROJECT INSTEAD X UNIT HAS THESE RULES FOR HOW YOU USE THEIR TEST FRAMEWORK IT MUST BE PUBLIC AND CAN'T HAVE PARAMETERS IF I TRY TO ADD ONE HERE I'M GOING TO GET AN ERROR THIS IS SAYING, HEY, FACT METHOD SHOULDN'T HAVE PARAMETERS

YOU SHOULD JUST CONVERT THIS TO A THEORY SO MICROSOFT DIDN'T CREATE THAT RULE THE COMMUNITY DID BECAUSE THEY MADE SOMETHING AND THEY HAVE OPINIONS ON THE BEST WAYS TO USE IT SO IT IS JUST A REALLY FANTASTIC WAY TO SORT OF HELP PEOPLE DEVELOP AND USE BEST PRACTICES ON YOUR TOOL THAT YOU ARE GIVING WE ARE REALLY TRYING TO ENABLE OTHER PEOPLE TO CODE BETTER

THIS IS JUST A BUNCH OF AWESOME STUFF YOU CAN DO WITH THIS YOU CAN ACTUALLY RESET THE SEVERITY TO WHAT YOU WANT WHEN I DO THAT I ACTUALLY CHANGED IT FROM AN ERROR TO WARNING SO NOW IT IS JUST GREEN I HAVE A LOT OF CONFIGURE ABILITY OVER THE ANALYZER PACKAGE THAT I INSTALL YOU HAVE A LOT OF POWER OVER YOUR COMPILER AND NOT ONLY HOW IT LOOKS TO THE PEOPLE THAT USE IT, BUT ALSO IN HOW IT APPLIES TO YOUR OWN CODE

AS SOON AS I CHANGED THE SEVERITY LEVEL, I GOT ANOTHER RULE SET ON MY PROJECT I'M NOW ALTERING THE RULES THAT WERE ORIGINALLY INSTALLED, SO IT IS NOW MY RULE SET IT IS JUST A SUPER AMAZING ADDITION TO X UNIT DEVELOPMENT AND I'M SUPER IMPRESSED OF EVERYTHING THEY HAVE MADE >> IF YOU HAVE TEAMS WHERE YOU'RE LIKE, I REALLY WISH WE HAD THIS ANALYZER, IT IS VERY SPECIFIC TO YOUR TEAM ONE OF THE DEMOS WE ALWAYS USE IS CONSOLE LOGS DON'T DO THIS

JUST REMOVE THEM ALL AT THE END CASEY ACTUALLY HAS THIS ANALYZER ON GITHUB YOU CAN CHECK IT OUT WE'LL GIVE YOU RESOURCES AFTERWARDS YOU CAN WRITE THESE ANALYZERS TO FIT THE SCENARIOS THAT YOUR TEAMS HAVE

YOU DON'T HAVE TO WAIT ON US OR WAIT FOR VISUAL STUDIO 2021 TO GET THE THING YOU REALLY LIKE FEEL EMPOWERED TO DO IT YOURSELF >> WE ARE JUST A PLATFORM FOR YOU TO BUILD ON >> WITH THAT, WE ARE GOING TO TALK ABOUT ONE LAST SORT OF COMMUNITY FEATURE HOW MANY OF YOU HAVE COME ACROSS OUR DOCS AND ARE LIKE, THAT IS WRONG? THAT IS A VERY WRONG THING? A COUPLE OF YOU

>> OR EVEN A SELLING ERROR >> HOW MANY OF YOU HAVE A TIP OR TRICK THAT YOU WISH WERE BETTER DOCUMENTED AND SHARED WITH THE COMMUNITY COUPLE? YEAH WE ALSO OPENED SOURCED OUR DOCS THE POWER IS YOUR HANDS TO HELP US OUT

KENDRA AND I COULD WRITE DOCUMENTATION EVERYDAY ALL DAY FOR YEARS AND WE ALL KNOW VISUAL STUDIO WOULD STILL HAVE THINGS THAT ARE LEFT UNDER A ROCK >> IT IS A MASSIVE PLATFORM >> WHERE HE TRY TO ENABLE YOU TO ACTUALLY WORK WITH US AN BE PART OF THE COMMUNITY IF YOU GO TO ANY MICROSOFT DOCS, LIKE HERE, WE HAVE THE PRODUCTIVITY GUIDE YOU CAN ACTUALLY GO AHEAD AND EDIT THIS DOCUMENT

IT WILL TAKE YOU TO THE GITHUB REPO YOU FORK IT, SUBMIT A PULL REQUEST ONE OF OUR WRITERS, WHO SORT OF GATE KEEPS OUR DOCS WILL LOOK OVER IT AND THEN, ASSUMING IT IS ALL SET TO GO AND YOU'RE NOT JUST WRITING, OH, THIS IS THE BEST THING EVER! THEY WILL GO AHEAD AND IMPROVE IT AND YOU'LL SEE YOUR CHANGE LIVE THIS IS A REALLY GREAT WAY TO HELP EACH OTHER, HELP US WE'RE NOT PERFECT

WE MAKE MISTAKES SOMETIMES WE DEFINITELY WANT TO CATCH THEM SOONER RATHER THAN LATER >> YOU'RE ACTUALLY LOOKING AT OUR NET DEVELOPER GUIDE FOR TIPS AND TRICKS EVERYTHING THAT WE JUST COVERED THERE, WE ARE CURRENTLY EDITING THE DOCUMENT FOR

IT OPENS UP ON GITHUB >> JUST TO SORT OF RECAP HERE, WE HAVE TONS OF RESOURCES FOR YOU OUR TIPS AND TRICKS GUIDE, WHICH HAS A BUNCH OF THIS STUFF WE TALKED ABOUT IS AKAMS/VS2017 GUIDE IF YOU ARE INTERESTED IN INTELLICODE, YOU CAN GO TO AKA

MS/INTELLICODE OR YOU CAN TALK TO US AT THE BOOTH IF YOU WANT TO BE ABLE TO SHOWCASE THESE FEATURES TO YOUR TEAM, KEN DA, — KENDRA HAS CREATED THIS SIMPLE TUTORIAL THAT IS AVAILABLE IT HAS COMMENTS IN IT THAT ARE ALL SET SO YOU CAN SHOW PEOPLE THESE AWESOME REFACTORINGS >> IT IS ONE PAGE AND YOU CAN RUN THROUGH AND FIX ALL THE REFACTORING THAT I JUST SHOWED

OUR DOCS ARE OPEN SOURCE HOW MANY OF YOU EVER PARTICIPATED IN A CALL WITH A VISUAL STUDIO PM OVER THE LAST YEAR? >> LIKE US? YEAH, PEOPLE >> DO YOU GUYS WANT TO? DO YOU WANT TO HAVE MORE INFLUENCE ON THE FEATURES WE BUILD AND THINGS WE DO? I WOULD HOPE SO >> IT IS FUN >> IF YOU DO, I WOULD HIGHLY ENCOURAGE YOU TO FILL OUT THIS SURVEY AT THE BOTTOM

PMs LIKE MYSELF AND KENDRA ARE CONSTANTLY TRYING TO FIGURE OUT HOW TO ENGAGE WITH THE COMMUNITY SOMETIMES WE NEED A HALF HOUR, TWO HOURS THE MORE YOU ENGAGE WITH US THE MORE WE KNOW WE ARE BUILDING THE RIGHT THING FOR YOU I WOULD LOVE IN YOU'D TALK TO US MORE >> ESPECIALLY LEARNING SCENARIOS WE NEVER WOULD HAVE IMAGINED WOULD BREAK SOMEONE BECAUSE WE THOUGHT WE WERE FIXING SOMETHING

THOSE ARE THINGS WE CAN'T TEST FOR BECAUSE IT'S BEEN SO FAR EXTENDED INTO SCENARIOS WE DIDN'T IMAGINE WE ARE SUPER THANKFUL FOR COMMUNITY INPUT >> LAST BUT NOT LEAST WE HAVE OTHER TALKS THAT YOU SHOULD GO TO WE DIDN'T REALLY TOUCH ON ANYTHING IN THE BUGGER SPECIFICALLY, BUT YOU SHOULD GO TO THE TALK TOMORROW AT 10:15 THAT IS OUR FRIEND, JACKSON, WHO IS GOING TO BE SHOWING YOU ALL OF YOUR TIPS AND TRICKS FOR DEBUGGING

WE ALSO HAVE THREE OTHER TALKS COVERING VISUAL STUDIO AND VS FOR MAC OR VS CODE WE ARE ALL FAMILY HERE SO WE LIKE TO PUMP UP OUR OTHER FAMILY PRODUCTS PLEASE GIVE US EVALUATIONS I KNOW KENDRA AND I TALK SUPER FAST I HOPE YOU COULD UNDERSTAND US IN THE BEGINNING

PLEASE GIVE US EVALUATIONS WE LOVE DOING THESE TALKS WE ARE ALWAYS TRYING TO GROW AND BE BETTER AND SERVE YOU GUYS BETTER WITH THESE TALKS ANYTHING CAN GIVE US WILL HELP US THE NEXT TIME YOU COME TO IGNITE SO HOPEFULLY YOU HAVE MORE FUN AND LEARN EVEN MORE THINGS WITH THAT, WE HAVE 15 MINUTES FOR QUESTIONS

>> WE WALKED WAY WAY TOO FAST >> IF YOU GUYS HAVE ANY QUESTIONS NOW IS YOUR TIME

Tags: , , , , , , , , , , ,