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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T03:13:20+00:00 2026-05-21T03:13:20+00:00

I am about to start a project in C#. I’ve never used c# and

  • 0

I am about to start a project in C#. I’ve never used c# and I was hoping I could get some implementation advice before I make a silly mistake and go down the wrong path.

What I am trying to achieve is basically having a C# application on a server that can be accessed via a Web API. This application will take in some string variables and then return a string. The application will be opening and running some installed programs (not c# programs).

I’ve read about WCF but I think at first glance this might be overkill as the API I am hoping to create will only have one or two request methods and will return a string.

What I am really looking for is advice on what I should be using, what to look into and even links to good tutorials on building web services with C# and how I can make the link between a web API to a C# app.

Thanks all for any advice.

  • 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-21T03:13:21+00:00Added an answer on May 21, 2026 at 3:13 am

    Skip wcf and asmx. Instead just implement this stuff through generic handlers (.ashx) files.

    You have complete control over what comes in and goes out without having to muck around with all the XML garbage. We did this a while back and haven’t looked back.

    In short, I’d use WCF if my endpoints were going to be something other than the web server. I’d use asmx if I had to deliver all of the responses back as XML AND I was assured only .net clients would be accessing it.

    Generic handlers are like .aspx pages but without all of the overhead of the page lifecycle. It gives you get a context object that has access to all of the http post and query string variables and it’s up to you to decide what to emit back.

    They are simple to implement and have none of the “what was that config setting for again?” issues.

    Here are a couple pretty good walkthroughs:
    http://swindelles.com/2008/07/11/creating-rest-web-services-in-c-sharp/
    http://www.codeproject.com/KB/aspnet/RestServicesInASPNET2.aspx

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

Sidebar

Related Questions

I am about to start a project that I hope will some day require
I'm about to start a project where the IoC being used is AutoFac -
We are about to start a project and we believe Symfony framework will make
I'm about to start a pretty large project, so I'm gathering informations about some
I'm about to start a project for a customer who wants CMS-like functionality. They
I'm about to start a project that will record and edit audio files, and
I am about to start a project for a potentially heavily accessed ASPNET MVC
I'm about to start a project that requires XML messages to be sent between
I'm about to start a project where programmers will be contributing from their homes
I'm about to start a project where I will be the only one doing

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.