Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8613695
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T04:56:44+00:00 2026-06-12T04:56:44+00:00

I am running a .net application using TopShelf , part of which is to

  • 0

I am running a .net application using TopShelf, part of which is to process and save data into a Sql Server database.

I’ve found that the process is quite slow so I want to look into profiling the application to see if there are any major bottlenecks in terms of method calls etc, however, since TopShelf is running the application, any profiling tools I use just sit on the Run method in the main program and do not show any results from the remainder methods.

Is there a way to allow a profiling tool to continue profiling past the point where TopShelf runs the application?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T04:56:45+00:00Added an answer on June 12, 2026 at 4:56 am

    With Topshelf, you can run your service as a console application for debugging and profiling purposes. To do this, make sure that your service is not installed, and just run it from the console (or set it as the program to profile inside your profiler). Then once your service has run for enough time to get a good profile trace, stop it with Control+C in the console, and it will exit gracefully allowing the profiler to get a good trace.

    I do this all the time with dotTRACE on my system.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am running ASP.NET application written in C# and using SQL Server 2005. I
I'm running into a case where an ASP.NET application using the built-in globalization facilities
I'm running a .NET remoting application built using .NET 2.0. It is a console
I'm running into some problems using my .NET 4.0 libraries in .NET 2.0 applications.
I am running an ASP.NET application. The web server is located on the same
I have an ASP.NET application running on multiple IIS6 web servers, with a SQL
I am using SQL Server 2008, developer edition. I connect to my database from
We have a single ASP .NET application running on a single web server (no
I am using a VB.net application connected with a .mdf database file. The application
Am running asp.net application.I try to build sample site using gridview.I got compilation error

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.