• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

C# ASP

chronodekar

Senior member
I'm looking for a way to host a web-page using .NET . Preferably compatible with .NET ver 2.0 so that it'll work with Mono (for Linux).

My company has developed some custom hardware that can be connected to the PC using USB. We've made an application with .NET that will let us access the hardware from the local machine.

Now we're thinking about making a web interface instead. Initially, I was going to search for some web servers made with C#, but then one of my friends told me that I could do the job using ASP.

I need some help. Do you think ASP.NET will work? What is ASP.NET anyway?
 
ASP.Net is a .Net web technology that was originally built for windows, but a compatible version has been created for linux.

The mono web server XSP is a standalone web server written in C#. It should work for you as it is mostly compatible with .Net 2.0 and runs on linux. http://www.mono-project.com/ASP.NET
 
Thanks for the link KB. But I've already been there.

For the most part I'm still confused 😕 about what ASP.NET is.

What I'm looking for is a way to make a program in C#, but instead of using a Windows form for the front-end, I want to use a web-page.

Do you think ASP.NET will help me?
 
Yes. ASP.NET is just the name for a .NET web application. It doesn't matter what language your code behind the pages is, any .NET language will do just fine.
 
Your best bet then is to get Visual Studio and go to "File", "New project" and choose website. You will then be creating an ASP.Net web application much like a windows form application. You can drag controls onto the form and respond there their events. I bet you can figure it out from there.
 
Originally posted by: chronodekar
Thanks for the link KB. But I've already been there.

For the most part I'm still confused 😕 about what ASP.NET is.

What I'm looking for is a way to make a program in C#, but instead of using a Windows form for the front-end, I want to use a web-page.

Do you think ASP.NET will help me?

That's pretty much the intent of ASP.NET, so yes 🙂 Have a browse around http://asp.net and learn about MVC. Do a search for tutorials on Data Access Layers, Business Logic Layers and Master Pages, that should give you the info you need to replace a Windows Form interface with a web interface. Is it a database driven application?
 
Originally posted by: KB
Your best bet then is to get Visual Studio and go to "File", "New project" and choose website. You will then be creating an ASP.Net web application much like a windows form application. You can drag controls onto the form and respond there their events. I bet you can figure it out from there.


I tried that. Not to say it didn't work. But I got hesitant upon seeing the HTML-like code. Not that I hate HTML or anything, in fact, I know the basics of it.

But I was hoping to code in a language similar to C.

Also, I only spent 15 mins on it. I think I'll have to go back and check it out again. I'll post back here on how I'm doing.
 
Originally posted by: GodlessAstronomer
Do a search for tutorials on Data Access Layers, Business Logic Layers and Master Pages, that should give you the info you need to replace a Windows Form interface with a web interface.


This I'll do.


No, it's not a database app.
 
An application still needs data to do something, regardless of where it's stored. I don't understand why you think you won't have to look at HTML code when writing a web application... that's part of the job! C# will control the application... but you still need a way to display your results(HTML). It's the same way with any web application, you have to write HTML + language in order to get anything done.
 
It's not that I don't want to look at HTML, don't get me wrong there. Or perhaps, I'm not sure what I want myself...

Let me put it this way,

What I'm looking for is a way to design the layout of a web-page with as little HTML exposure as possible. I hope I'm not asking for the moon here.

What I have in mind is something similar to Frontpage's interface. Just drag and drop stuff in!

 
Visual Studio 2003 had a drag and a drop interface for web page design, but the results were always kind of....well, iffy.
 
Back
Top