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 1104721
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T01:31:22+00:00 2026-05-17T01:31:22+00:00

In my project I have 2 main files – a C# Windows Service that

  • 0

In my project I have 2 main files – a C# Windows Service that uses Quartz.NET (using a database rather than RAM based scheduling) for scheduling and actually running the jobs, and an ASP.NET (using C#) backend for adding jobs to the Quartz.NET scheduler. All job ‘types’ are defined in the Windows Service file, so when I try to add a job to a certain category on the ASP.NET backend, it doesn’t pick up the category. This is because all categories are simply their own classes in the file, and they are all int he Windows Service file – so when I reference them in the ASP.NET file it doesn’t know what they are.

How can I link it to the Windows Service file? The code is like this if it’s any help

In the ASP.NET page when adding a job:

JobDetail jobDetail = new JobDetail("myJob", null, typeof(copyJob));

In the Windows Service file:

       public copyJob()
    {
     //
    }

Thanks

  • 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-05-17T01:31:22+00:00Added an answer on May 17, 2026 at 1:31 am

    If sharing the same class in both the projects is your problem then create class library project and put your shared class in that library. You can then reference your class library project in both windows service and asp.net projects.

    For creating class library you can see this article

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

Sidebar

Related Questions

In a C project, I have a main() function in several files. When I
We have a main visual studio project stored in SVN using the standard trunk/branches/tags
I have a project consisting of two files, main.c and logoff.c. When I try
So in my XCode project I have a handful of XIB files that for
If you have a project that utilizes a makefile which compiles multiple files and
I have a project that includes some Java APIs, some resource files, and some
In my project i have 2 ui files (mainwindow.ui,myform.ui),2 source files(main.cpp,mainwindow.cpp) and 1 header
I have the following situation. My project has a main.scala.html file and a folder
I'm working on a pygame project and have the main engine layed out. The
I have a project with a main MDI form. There is a child MDI

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.