Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. new to asp.net

new to asp.net

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netsysadminquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    likefood
    wrote on last edited by
    #1

    I'm just starting to get into ASP.net, so forgive my noob-ness. Normally, I use straight C# for client apps. I have a little project I'm trying to start, but things aren't working right (even with VisualStudio). What I want to do is this: - a client C# app sends a string to an aspx page - the aspx page sends the string to a server-side C# file - the server-side cs file processes the string and sends back a string to the aspx file - the aspx file sends the processed string to the client C# app I have to have the server-side C# file because it won't let me use some Windows.Forms objects in just an aspx file. Where do I start at accomplishing this?

    -Daniel Typing too fast fro my owngood

    N 1 Reply Last reply
    0
    • L likefood

      I'm just starting to get into ASP.net, so forgive my noob-ness. Normally, I use straight C# for client apps. I have a little project I'm trying to start, but things aren't working right (even with VisualStudio). What I want to do is this: - a client C# app sends a string to an aspx page - the aspx page sends the string to a server-side C# file - the server-side cs file processes the string and sends back a string to the aspx file - the aspx file sends the processed string to the client C# app I have to have the server-side C# file because it won't let me use some Windows.Forms objects in just an aspx file. Where do I start at accomplishing this?

      -Daniel Typing too fast fro my owngood

      N Offline
      N Offline
      N a v a n e e t h
      wrote on last edited by
      #2

      I think you want to pass some string to the server and process it there and return to the client app ? If so no need to do like this. You can go for webservices. Create a webservice that accepts this string value. Do the processing inside the webservice method and return the answer.

      Heritos Gger wrote:

      the aspx page sends the string to a server-side C# file - the server-side cs file processes the string and sends back a string to the aspx file

      When an aspx file is loaded, I think it will call cs file automatically. I am not getting what do you mean by sending string to a server side c# file ?

      Navaneeth My Website

      L 1 Reply Last reply
      0
      • N N a v a n e e t h

        I think you want to pass some string to the server and process it there and return to the client app ? If so no need to do like this. You can go for webservices. Create a webservice that accepts this string value. Do the processing inside the webservice method and return the answer.

        Heritos Gger wrote:

        the aspx page sends the string to a server-side C# file - the server-side cs file processes the string and sends back a string to the aspx file

        When an aspx file is loaded, I think it will call cs file automatically. I am not getting what do you mean by sending string to a server side c# file ?

        Navaneeth My Website

        L Offline
        L Offline
        likefood
        wrote on last edited by
        #3

        When I use VisualStudio, I add a class to the website project. It adds a cs file to an App_Code folder (or something similar). You think I should use a webservice instead? I'll look into it. Thanks for the info! Basically, the client app should pass a string to the server, and the server should process it and return another string. That's basically it (and I don't know how to do it). The whole thing about an aspx file and a cs file is from what I was able to figure out by myself. If there's a better way, I'm more than willing to give it a try.

        -Daniel Typing too fast fro my owngood

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups