I have a project which contain WebAPI developed using asp.net c# code. Now my requirement is to add a test layer for this API project which will do the load testing for the API's. Is it possible to use Gatling testing tool for load testing within the visual studio code? if not, then what will be best suited for this kind of scenario.
I tried to search for any library for Gatling but I am not able to find any.I did not find any content available online to this task.
Related
I tried some approaches where First, we can install node.js and create a separate application and can externally consume API create in C#.
Second, i downloaded template from below path,
https://github.com/angular/quickstart
imported it to in VS2015 as guided in below link,
https://code4developers.com/angular-4-application-with-visual-studio/
But still i am confused what should be the correct approach to create angularJS project in visual studio 2015 which will occupy web API within same solution.
In my project, I use C# Roslyn scripts for some automation that can my customer write alone. I compile and run this on runtime.
Now I would like to have a web editor for c# with intellisense and spell check. For code completion, I would like also to get some private nugget packets with my API to provide to the script.
Actually, I do that with Visual Studio Code. But it would be nice to have the same behavior on a self-hosted web page.
I have found the Monaco-editor and omnisharp project. I think this is good because Visual Studio Code uses it also.
Does anyone know a sample project or open source project that bring these things together? I am sure I am not the first with this idea.
Not sure if I got your needs correctly but here is a young open-source project to bring c# code completion to Monaco
https://github.com/dotnetprojects/MonacoRoslynCompletionProvider
I am developing a visual studio C# application.
As part of this application I want to conduct a static analysis of C-Code (i.e. the C# application analyzes C-Code).
To this end I want to access some static code analysis tool from within my C#-code and run it over the relevant C-Files.
I hoped that there was some API for "CppCheck", which is installed as a plugin in my Visual Studio Environment:
However, so far I have not found an API through which I would be able to access CppCheck.
My question is: Does anyone know an API for CppCheck or some other C-Code-Analyser that I can use within my C# application?
You can use The CppDepend API from your C# code, a demo project CppDepend.PowerTools is delivered in the install to show you how to do it.
I have a windows 8 app project developed in Visual Studio 2012. Now I would like to write a separate test project and remotely test some functionality without getting into the apps source code. This saparete project should be able to give some input to the main project and also track the output as well. (In this case I think I might have to expose some of those methods in the app to be used externally)
I have this fuzzy idea but Im not sure how exactly to implement it. Any clues about the possibility of it and if yes how can I do it.
Thanks.
I understand that the Express edition doesn't template unit test projects... but being a complete newbie to Microsoft dev tools, I can't figure out how to set up the necessary things manually either. So could someone please walk me through how to get NUnit going?
It's actually quite simple:
Download NUnit.
Set up a new console application or class library in Visual Studio.
Add a reference to the nunit.framework.
Add a reference to the class library you want to test (put the code you want to test into a separate class library)
Follow a tutorial on how to create your own tests.
See this link for a sample MVC 1.0 project and sample templates, or this link for MVC 2.0 templates.