René's URL Explorer Experiment


Title: asp.net - WebAPI app and integration tests in same solution - Stack Overflow

X Title: WebAPI app and integration tests in same solution

X Description: I have a WebAPI app and an integration test suite for the app that calls the API over HTTP. Currently I run the integration suite in one instance of visual studio 2013 and manually start the WebAP...

Opengraph URL: https://stackoverflow.com/questions/29879799/webapi-app-and-integration-tests-in-same-solution

direct link

Domain: stackoverflow.com


Hey, it has json ld scripts:
    {
  "@context": "https://schema.org",
  "@graph": [
    {
      "@type": "WebSite",
      "@id": "https://stackoverflow.com/#website",
      "name": "Stack Overflow",
      "url": "https://stackoverflow.com",
      "image": "https://stackoverflow.com/Content/Sites/stackoverflow/Img/apple-touch-icon@2.png?v=73d79a89bded",
      "publisher": {
        "@id": "https://stackoverflow.com/#organization"
      }
    },
    {
      "@type": "Organization",
      "@id": "https://stackoverflow.com/#organization",
      "name": "Stack Overflow",
      "url": "https://stackoverflow.com",
      "logo": "https://stackoverflow.com/Content/Sites/stackoverflow/Img/logo.png?v=e47b208316da",
      "sameAs": [
        "https://stackoverflow.co/",
        "https://www.facebook.com/officialstackoverflow/",
        "https://x.com/stackoverflow",
        "https://www.linkedin.com/company/stack-overflow",
        "https://www.youtube.com/c/StackOverflowOfficial",
        "https://twitter.com/stackoverflow"
      ],
      "contactPoint": [
        {
          "@type": "ContactPoint",
          "contactType": "Customer support",
          "url": "https://stackoverflow.com/contact"
        },
        {
          "@type": "ContactPoint",
          "contactType": "Stack Ads",
          "url": "https://stackoverflow.co/advertising/"
        },
        {
          "@type": "ContactPoint",
          "contactType": "Stack Internal",
          "url": "https://stackoverflow.co/teams/"
        },
        {
          "@type": "ContactPoint",
          "contactType": "Stack Data Licensing",
          "url": "https://stackoverflow.co/api-solutions/"
        }
      ],
      "description": "Q\u0026A for professional and enthusiast programmers"
    }
  ]
}

og:typewebsite
og:site_nameStack Overflow
og:imagehttps://stackoverflow.com/Content/Sites/stackoverflow/Img/apple-touch-icon@2.png?v=73d79a89bded
twitter:cardsummary
twitter:domainstackoverflow.com
Nonefabriciorissetto

Links:

Skip to main contenthttp://stackoverflow.com/questions/29879799/webapi-app-and-integration-tests-in-same-solution#content
http://stackoverflow.com/questions/29879799/webapi-app-and-integration-tests-in-same-solution
Stack Overflow https://stackoverflow.com
About https://stackoverflow.co/
For Teams https://stackoverflow.co/internal/
Stack Internal Implement a knowledge platform layer to power your enterprise and AI tools. https://stackoverflow.co/internal/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=stack-overflow-for-teams
Stack Data Licensing Get access to top-class technical expertise with trusted & attributed content. https://stackoverflow.co/data-licensing/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=overflow-api
Stack Ads Connect your brand to the world’s most trusted technologist communities. https://stackoverflow.co/advertising/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=stack-overflow-advertising
Releases Keep up-to-date on features we add to Stack Overflow and Stack Internal. https://stackoverflow.blog/releases/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=releases
About the companyhttps://stackoverflow.co/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=about-the-company
Visit the bloghttps://stackoverflow.blog/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=blog
current communityhttps://stackoverflow.com
Stack Overflow https://stackoverflow.com
helphttps://stackoverflow.com/help
chathttps://chat.stackoverflow.com/?tab=explore
Meta Stack Overflow https://meta.stackoverflow.com
Sign uphttps://stackoverflow.com/users/signup?ssrc=site_switcher&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f29879799%2fwebapi-app-and-integration-tests-in-same-solution
log inhttps://stackoverflow.com/users/login?ssrc=site_switcher&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f29879799%2fwebapi-app-and-integration-tests-in-same-solution
more stack exchange communitieshttps://stackexchange.com/sites
company bloghttps://stackoverflow.blog
Log inhttps://stackoverflow.com/users/login?ssrc=head&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f29879799%2fwebapi-app-and-integration-tests-in-same-solution
Sign uphttps://stackoverflow.com/users/signup?ssrc=head&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f29879799%2fwebapi-app-and-integration-tests-in-same-solution
Home http://stackoverflow.com/
Questions http://stackoverflow.com/questions
AI Assist https://stackoverflow.com/ai-assist
Tags http://stackoverflow.com/tags
Challenges http://stackoverflow.com/beta/challenges
Chat https://chat.stackoverflow.com/?tab=explore
Articles https://stackoverflow.blog/contributed?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=so-blog&utm_content=experiment-articles
Users http://stackoverflow.com/users
Jobs http://stackoverflow.com/jobs?source=so-left-nav
Companies https://stackoverflow.com/jobs/companies?so_medium=stackoverflow&so_source=SiteNav
Collectives javascript:void(0)
Explore all Collectiveshttp://stackoverflow.com/collectives-all
Try for freehttps://stackoverflowteams.com/teams/create/free/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=side-bar&utm_content=explore-teams
Learn morehttps://stackoverflow.co/internal/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=side-bar&utm_content=explore-teams
Stack Internal javascript:void(0)
Learn morehttps://stackoverflow.co/internal/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=side-bar&utm_content=explore-teams-compact
Learn more about Collectives http://stackoverflow.com/collectives
Explore Stack Internal https://stackoverflow.co/internal/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=side-bar&utm_content=explore-teams-compact-popover
WebAPI app and integration tests in same solutionhttp://stackoverflow.com/questions/29879799/webapi-app-and-integration-tests-in-same-solution
Ask Question http://stackoverflow.com/questions/ask
10 years, 1 month agohttp://stackoverflow.com/questions/29879799/webapi-app-and-integration-tests-in-same-solution?lastactivity
http://stackoverflow.com/posts/29879799/timeline
asp.nethttp://stackoverflow.com/questions/tagged/asp.net
visual-studio-2013http://stackoverflow.com/questions/tagged/visual-studio-2013
asp.net-web-apihttp://stackoverflow.com/questions/tagged/asp.net-web-api
nunithttp://stackoverflow.com/questions/tagged/nunit
Sharehttp://stackoverflow.com/q/29879799
Improve this questionhttp://stackoverflow.com/posts/29879799/edit
http://stackoverflow.com/users/1022177/myles-mcdonnell
Myles McDonnellhttp://stackoverflow.com/users/1022177/myles-mcdonnell
Add a comment http://stackoverflow.com/questions/29879799/webapi-app-and-integration-tests-in-same-solution
http://stackoverflow.com/questions/29879799/webapi-app-and-integration-tests-in-same-solution
Reset to default http://stackoverflow.com/questions/29879799/webapi-app-and-integration-tests-in-same-solution?answertab=scoredesc#tab-top
http://stackoverflow.com/posts/29879852/timeline
self-hosthttp://www.asp.net/web-api/overview/older-versions/self-host-a-web-api
Sharehttp://stackoverflow.com/a/29879852
Improve this answerhttp://stackoverflow.com/posts/29879852/edit
http://stackoverflow.com/users/29407/darin-dimitrov
Darin Dimitrovhttp://stackoverflow.com/users/29407/darin-dimitrov
http://stackoverflow.com/users/1022177/myles-mcdonnell
Myles McDonnellhttp://stackoverflow.com/users/1022177/myles-mcdonnell
Over a year agohttp://stackoverflow.com/questions/29879799/webapi-app-and-integration-tests-in-same-solution#comment47884361_29879852
asp.net/web-api/overview/hosting-aspnet-web-api/…http://www.asp.net/web-api/overview/hosting-aspnet-web-api/use-owin-to-self-host-web-api
http://stackoverflow.com/users/29407/darin-dimitrov
Darin Dimitrovhttp://stackoverflow.com/users/29407/darin-dimitrov
Over a year agohttp://stackoverflow.com/questions/29879799/webapi-app-and-integration-tests-in-same-solution#comment47884467_29879852
IAssembliesResolverhttps://msdn.microsoft.com/en-us/library/system.web.http.dispatcher.iassembliesresolver(v=vs.118).aspx
developer.com/net/asp/self-hosting-an-asp.net-web-api.htmlhttp://www.developer.com/net/asp/self-hosting-an-asp.net-web-api.html
http://stackoverflow.com/users/1022177/myles-mcdonnell
Myles McDonnellhttp://stackoverflow.com/users/1022177/myles-mcdonnell
Over a year agohttp://stackoverflow.com/questions/29879799/webapi-app-and-integration-tests-in-same-solution#comment47884547_29879852
http://stackoverflow.com/users/29407/darin-dimitrov
Darin Dimitrovhttp://stackoverflow.com/users/29407/darin-dimitrov
Over a year agohttp://stackoverflow.com/questions/29879799/webapi-app-and-integration-tests-in-same-solution#comment47884581_29879852
http://stackoverflow.com/users/1022177/myles-mcdonnell
Myles McDonnellhttp://stackoverflow.com/users/1022177/myles-mcdonnell
Over a year agohttp://stackoverflow.com/questions/29879799/webapi-app-and-integration-tests-in-same-solution#comment47885661_29879852
github.com/webadvanced/Structuremap.WebAPI2https://github.com/webadvanced/Structuremap.WebAPI2
nuget.org/packages/StructureMap.MVC5http://www.nuget.org/packages/StructureMap.MVC5/
http://stackoverflow.com/posts/34682839/timeline
Sharehttp://stackoverflow.com/a/34682839
Improve this answerhttp://stackoverflow.com/posts/34682839/edit
http://stackoverflow.com/users/890890/fabriciorissetto
fabriciorissettohttp://stackoverflow.com/users/890890/fabriciorissetto
http://stackoverflow.com/questions/29879799/webapi-app-and-integration-tests-in-same-solution
tips on writing great answershttp://stackoverflow.com/help/how-to-answer
log inhttp://stackoverflow.com/users/login?ssrc=question_page&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f29879799%2fwebapi-app-and-integration-tests-in-same-solution%23new-answer
terms of servicehttps://stackoverflow.com/legal/terms-of-service/public
privacy policyhttps://stackoverflow.com/legal/privacy-policy
Ask questionhttp://stackoverflow.com/questions/ask
asp.nethttp://stackoverflow.com/questions/tagged/asp.net
visual-studio-2013http://stackoverflow.com/questions/tagged/visual-studio-2013
asp.net-web-apihttp://stackoverflow.com/questions/tagged/asp.net-web-api
nunithttp://stackoverflow.com/questions/tagged/nunit
Data is the new oil, and your database is the only way to extract ithttps://stackoverflow.blog/2026/02/17/data-is-the-new-oil/
Even GenAI uses Wikipedia as a sourcehttps://stackoverflow.blog/2026/02/20/even-genai-uses-wikipedia-as-a-source/
All users on Stack Exchange can now participate in chathttps://meta.stackexchange.com/questions/417109/all-users-on-stack-exchange-can-now-participate-in-chat
Logo updates to Stack Overflow's visual identityhttps://meta.stackexchange.com/questions/417394/logo-updates-to-stack-overflows-visual-identity
Policy: Generative AI (e.g., ChatGPT) is bannedhttps://meta.stackoverflow.com/questions/421831/policy-generative-ai-e-g-chatgpt-is-banned
New site design and philosophy for Stack Overflow: Starting February 24, 2026...https://meta.stackoverflow.com/questions/438177/new-site-design-and-philosophy-for-stack-overflow-starting-february-24-2026-at
10 http://stackoverflow.com/questions/11676828/using-nunit-to-perform-integration-tests-with-asp-net-webapi-controllers
Using NUnit to perform integration tests with ASP.NET WebApi controllershttp://stackoverflow.com/questions/11676828/using-nunit-to-perform-integration-tests-with-asp-net-webapi-controllers
8 http://stackoverflow.com/questions/14420633/visual-studio-unit-testing-a-web-project-in-the-same-solution
Visual Studio: Unit Testing a web project in the same solutionhttp://stackoverflow.com/questions/14420633/visual-studio-unit-testing-a-web-project-in-the-same-solution
0 http://stackoverflow.com/questions/24615308/integration-testing-an-asp-net-web-api-project
Integration testing an asp.net Web Api Projecthttp://stackoverflow.com/questions/24615308/integration-testing-an-asp-net-web-api-project
19 http://stackoverflow.com/questions/33286260/how-to-debug-unit-test-webapi-in-one-solution
How to debug/unit test webAPi in one solutionhttp://stackoverflow.com/questions/33286260/how-to-debug-unit-test-webapi-in-one-solution
3 http://stackoverflow.com/questions/39828669/how-can-we-create-unit-tests-for-webapi-with-3rd-party-apis
How Can We Create Unit Tests For Webapi With 3rd Party API'shttp://stackoverflow.com/questions/39828669/how-can-we-create-unit-tests-for-webapi-with-3rd-party-apis
2 http://stackoverflow.com/questions/45949151/testing-webapi-and-front-end-in-the-same-solution
Testing WebAPI and front end in the same solution?http://stackoverflow.com/questions/45949151/testing-webapi-and-front-end-in-the-same-solution
13 http://stackoverflow.com/questions/51505680/integration-testing-c-sharp-webapi-asp-net-framework-4-6-1
Integration testing C# WebAPI asp.NET Framework 4.6.1http://stackoverflow.com/questions/51505680/integration-testing-c-sharp-webapi-asp-net-framework-4-6-1
11 http://stackoverflow.com/questions/52813368/aspnetcore-web-api-integration-tests-using-test-host-or-webapplicationfactory
ASPNetCore Web API integration tests using Test Host or WebApplicationFactoryhttp://stackoverflow.com/questions/52813368/aspnetcore-web-api-integration-tests-using-test-host-or-webapplicationfactory
0 http://stackoverflow.com/questions/52936781/nunit-integration-tests-on-web-api-how-to-create-destroy-integration-test-db
NUnit Integration Tests on Web API - how to create/destroy integration test dbhttp://stackoverflow.com/questions/52936781/nunit-integration-tests-on-web-api-how-to-create-destroy-integration-test-db
1 http://stackoverflow.com/questions/70702488/running-asp-net-web-api-application-in-integration-tests
running asp.net web api application in integration testshttp://stackoverflow.com/questions/70702488/running-asp-net-web-api-application-in-integration-tests
Hot Network Questions https://stackexchange.com/questions?tab=hot
how to put a character between dollars https://tex.stackexchange.com/questions/759910/how-to-put-a-character-between-dollars
Intuition of unique roles behind flow and diffusion models for AI generation https://mathoverflow.net/questions/508325/intuition-of-unique-roles-behind-flow-and-diffusion-models-for-ai-generation
Seeming inconsistency between methods in derivation of equations for physical pendulum https://physics.stackexchange.com/questions/869310/seeming-inconsistency-between-methods-in-derivation-of-equations-for-physical-pe
Divergent series https://mathoverflow.net/questions/508312/divergent-series
Make a distorted circle a circle again, after rescaling in the `axis` environment https://tex.stackexchange.com/questions/759948/make-a-distorted-circle-a-circle-again-after-rescaling-in-the-axis-environmen
How to prevent AI usage on play-by-post RPGs (or incentivize human-made text) https://rpg.stackexchange.com/questions/218811/how-to-prevent-ai-usage-on-play-by-post-rpgs-or-incentivize-human-made-text
How to deal with a programmer who acts as a proxy for AI? https://softwareengineering.stackexchange.com/questions/460875/how-to-deal-with-a-programmer-who-acts-as-a-proxy-for-ai
Can I wire two 120V Microwave Oven Transformers (primary) in series to 240V? https://electronics.stackexchange.com/questions/766039/can-i-wire-two-120v-microwave-oven-transformers-primary-in-series-to-240v
Why two NaNs with the same binary are still not equal to each other but two infs are? https://stackoverflow.com/questions/79891117/why-two-nans-with-the-same-binary-are-still-not-equal-to-each-other-but-two-infs
Customfield on ContentVersion is empty after creation https://salesforce.stackexchange.com/questions/438881/customfield-on-contentversion-is-empty-after-creation
Circular Linked List Implementation https://codereview.stackexchange.com/questions/301377/circular-linked-list-implementation
Is there a way that some devices can communicate in the local network but not the wider Internet? https://superuser.com/questions/1935006/is-there-a-way-that-some-devices-can-communicate-in-the-local-network-but-not-th
Accepting a maths postdoc position at a low-rank university https://academia.stackexchange.com/questions/225991/accepting-a-maths-postdoc-position-at-a-low-rank-university
How to modify the contents of the initrd image in-place? https://unix.stackexchange.com/questions/804588/how-to-modify-the-contents-of-the-initrd-image-in-place
How should I patch drywall around a new subpanel? https://diy.stackexchange.com/questions/329289/how-should-i-patch-drywall-around-a-new-subpanel
What is the Technique/approach to these type of problems - Carded Pair (Question from Quant guide) https://math.stackexchange.com/questions/5125310/what-is-the-technique-approach-to-these-type-of-problems-carded-pair-question
Switch losing ARP table and broadcasting unicast packets https://networkengineering.stackexchange.com/questions/88741/switch-losing-arp-table-and-broadcasting-unicast-packets
Why does 74x138 have 3 EN and why does it have to be 1 EN active high and 2 active low? https://electronics.stackexchange.com/questions/765956/why-does-74x138-have-3-en-and-why-does-it-have-to-be-1-en-active-high-and-2-acti
Who's the first adult woman protagonist to involuntarily go to another universe / reality / world? https://scifi.stackexchange.com/questions/303308/whos-the-first-adult-woman-protagonist-to-involuntarily-go-to-another-universe
Would the Catholic Church excommunicate parents who are otherwise faithful, over only their being credo baptists? https://christianity.stackexchange.com/questions/113153/would-the-catholic-church-excommunicate-parents-who-are-otherwise-faithful-over
Please tell me a construction of an example in which the above fact is not true if one uses the box topology instead of the product topology. Munkres. https://math.stackexchange.com/questions/5125269/please-tell-me-a-construction-of-an-example-in-which-the-above-fact-is-not-true
Can commit messages include volatile information? https://softwareengineering.stackexchange.com/questions/460870/can-commit-messages-include-volatile-information
Identify tv episode, everyone's got a brain chip - except one man who ultimately must destroy it https://scifi.stackexchange.com/questions/303324/identify-tv-episode-everyones-got-a-brain-chip-except-one-man-who-ultimately
What are the consequences of mass murder? https://gaming.stackexchange.com/questions/417862/what-are-the-consequences-of-mass-murder
more hot questions http://stackoverflow.com/questions/29879799/webapi-app-and-integration-tests-in-same-solution
Question feed http://stackoverflow.com/feeds/question/29879799
http://stackoverflow.com/questions/29879799/webapi-app-and-integration-tests-in-same-solution
https://stackoverflow.com
Stack Overflowhttps://stackoverflow.com
Questionshttp://stackoverflow.com/questions
Helphttp://stackoverflow.com/help
Chathttps://chat.stackoverflow.com/?tab=explore
Businesshttps://stackoverflow.co/
Stack Internalhttps://stackoverflow.co/internal/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=footer&utm_content=teams
Stack Data Licensinghttps://stackoverflow.co/data-licensing/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=footer&utm_content=data-licensing
Stack Adshttps://stackoverflow.co/advertising/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=footer&utm_content=advertising
Companyhttps://stackoverflow.co/
Abouthttps://stackoverflow.co/
Presshttps://stackoverflow.co/company/press/
Work Herehttps://stackoverflow.co/company/work-here/
Legalhttps://stackoverflow.com/legal
Privacy Policyhttps://stackoverflow.com/legal/privacy-policy
Terms of Servicehttps://stackoverflow.com/legal/terms-of-service/public
Contact Ushttp://stackoverflow.com/contact
Cookie Policyhttps://policies.stackoverflow.co/stack-overflow/cookie-policy
Stack Exchange Networkhttps://stackexchange.com
Technology https://stackexchange.com/sites#technology
Culture & recreation https://stackexchange.com/sites#culturerecreation
Life & arts https://stackexchange.com/sites#lifearts
Science https://stackexchange.com/sites#science
Professional https://stackexchange.com/sites#professional
Business https://stackexchange.com/sites#business
API https://api.stackexchange.com/
Data https://data.stackexchange.com/
Bloghttps://stackoverflow.blog?blb=1
Facebookhttps://www.facebook.com/officialstackoverflow/
Twitterhttps://twitter.com/stackoverflow
LinkedInhttps://linkedin.com/company/stack-overflow
Instagramhttps://www.instagram.com/thestackoverflow
CC BY-SAhttps://stackoverflow.com/help/licensing

Viewport: width=device-width, height=device-height, initial-scale=1.0, minimum-scale=1.0


URLs of crawlers that visited me.